llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp_ms9_fd2.c'
source_filename = "/tmp/tmp_ms9_fd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, ptr }
@AF_LOCAL = dso_local global ptr null, align 8
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"/tmp/unix_domain_sockfd\00", align 1
@stdin = dso_local global i32 0, align 4
@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
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_un, align 8
%9 = alloca %struct.sockaddr_un, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr @AF_LOCAL, align 8
%11 = load i32, ptr @SOCK_DGRAM, align 4
%12 = call i32 @socket(ptr noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %2
%19 = call i32 @bzero(ptr noundef %9, i32 noundef 16)
%20 = load ptr, ptr @AF_LOCAL, align 8
%21 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
store ptr %20, ptr %21, align 8
%22 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
%23 = load i32, ptr %22, align 8
%24 = call ptr @tmpnam(ptr noundef null)
%25 = call i32 @strcpy(i32 noundef %23, ptr noundef %24)
%26 = load i32, ptr %6, align 4
%27 = call i64 @bind(i32 noundef %26, ptr noundef %9, i32 noundef 16)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %18
%30 = call i32 @perror(ptr noundef @.str.1)
%31 = load i32, ptr %6, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %18
%36 = call i32 @bzero(ptr noundef %8, i32 noundef 16)
%37 = load ptr, ptr @AF_LOCAL, align 8
%38 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 1
store ptr %37, ptr %38, align 8
%39 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = call i32 @strcpy(i32 noundef %40, ptr noundef @.str.2)
%42 = load i32, ptr @stdin, align 4
%43 = load i32, ptr %6, align 4
%44 = call i32 @dg_cli(i32 noundef %42, i32 noundef %43, ptr noundef %8, i32 noundef 16)
%45 = load i32, ptr @EXIT_SUCCESS, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
}
declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare ptr @tmpnam(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @dg_cli(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp_ms9_fd2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, ptr }
@AF_LOCAL = dso_local global ptr null, align 8
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"bind\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"/tmp/unix_domain_sockfd\00", align 1
@stdin = dso_local global i32 0, align 4
@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
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_un, align 8
%9 = alloca %struct.sockaddr_un, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr @AF_LOCAL, align 8
%11 = load i32, ptr @SOCK_DGRAM, align 4
%12 = call i32 @socket(ptr noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
%16 = load i32, ptr @EXIT_FAILURE, align 4
%17 = call i32 @exit(i32 noundef %16) #3
unreachable
18: ; preds = %2
%19 = call i32 @bzero(ptr noundef %9, i32 noundef 16)
%20 = load ptr, ptr @AF_LOCAL, align 8
%21 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 1
store ptr %20, ptr %21, align 8
%22 = getelementptr inbounds %struct.sockaddr_un, ptr %9, i32 0, i32 0
%23 = load i32, ptr %22, align 8
%24 = call ptr @tmpnam(ptr noundef null)
%25 = call i32 @strcpy(i32 noundef %23, ptr noundef %24)
%26 = load i32, ptr %6, align 4
%27 = call i64 @bind(i32 noundef %26, ptr noundef %9, i32 noundef 16)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %18
%30 = call i32 @perror(ptr noundef @.str.1)
%31 = load i32, ptr %6, align 4
%32 = call i32 @close(i32 noundef %31)
%33 = load i32, ptr @EXIT_FAILURE, align 4
%34 = call i32 @exit(i32 noundef %33) #3
unreachable
35: ; preds = %18
%36 = call i32 @bzero(ptr noundef %8, i32 noundef 16)
%37 = load ptr, ptr @AF_LOCAL, align 8
%38 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 1
store ptr %37, ptr %38, align 8
%39 = getelementptr inbounds %struct.sockaddr_un, ptr %8, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = call i32 @strcpy(i32 noundef %40, ptr noundef @.str.2)
%42 = load i32, ptr @stdin, align 4
%43 = load i32, ptr %6, align 4
%44 = call i32 @dg_cli(i32 noundef %42, i32 noundef %43, ptr noundef %8, i32 noundef 16)
%45 = load i32, ptr @EXIT_SUCCESS, align 4
%46 = call i32 @exit(i32 noundef %45) #3
unreachable
}
declare i32 @socket(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strcpy(i32 noundef, ptr noundef) #1
declare ptr @tmpnam(ptr noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @dg_cli(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpeoelqu_1.c'
source_filename = "/tmp/tmpeoelqu_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeoelqu_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphg8b5kb1.c'
source_filename = "/tmp/tmphg8b5kb1.c"
target datalayout = "e-m:e-p270: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/tmphg8b5kb1.c"
target datalayout = "e-m:e-p270: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/tmp00e8uotw.c'
source_filename = "/tmp/tmp00e8uotw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_stream_to_stream(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [65536 x i8], align 16
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %10
10: ; preds = %2, %33
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0
%13 = call i64 @full_fread(ptr noundef %11, ptr noundef %12, i32 noundef 65536)
store i64 %13, ptr %8, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp sle i64 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %10
%17 = load i64, ptr %6, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16
store i64 -1, ptr %3, align 8
br label %39
20: ; preds = %16
br label %37
21: ; preds = %10
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0
%24 = load i64, ptr %8, align 8
%25 = call i64 @full_fwrite(ptr noundef %22, ptr noundef %23, i64 noundef %24)
store i64 %25, ptr %9, align 8
%26 = load i64, ptr %9, align 8
%27 = icmp eq i64 %26, -1
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load i64, ptr %6, align 8
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %28
store i64 -1, ptr %3, align 8
br label %39
32: ; preds = %28
br label %37
33: ; preds = %21
%34 = load i64, ptr %9, align 8
%35 = load i64, ptr %6, align 8
%36 = add nsw i64 %35, %34
store i64 %36, ptr %6, align 8
br label %10
37: ; preds = %32, %20
%38 = load i64, ptr %6, align 8
store i64 %38, ptr %3, align 8
br label %39
39: ; preds = %37, %31, %19
%40 = load i64, ptr %3, align 8
ret i64 %40
}
declare i64 @full_fread(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @full_fwrite(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp00e8uotw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_stream_to_stream(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [65536 x i8], align 16
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0
%12 = call i64 @full_fread(ptr noundef %10, ptr noundef %11, i32 noundef 65536)
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp sle i64 %13, 0
br i1 %14, label %15, label %.lr.ph
.lr.ph: ; preds = %2
br label %20
._crit_edge: ; preds = %32
br label %15
15: ; preds = %._crit_edge, %2
%16 = load i64, ptr %6, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %15
store i64 -1, ptr %3, align 8
br label %42
19: ; preds = %15
br label %40
20: ; preds = %.lr.ph, %32
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds [65536 x i8], ptr %7, i64 0, i64 0
%23 = load i64, ptr %8, align 8
%24 = call i64 @full_fwrite(ptr noundef %21, ptr noundef %22, i64 noundef %23)
store i64 %24, ptr %9, align 8
%25 = load i64, ptr %9, align 8
%26 = icmp eq i64 %25, -1
br i1 %26, label %27, label %32
27: ; preds = %20
%28 = load i64, ptr %6, align 8
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %27
store i64 -1, ptr %3, align 8
br label %42
31: ; preds = %27
br label %40
32: ; preds = %20
%33 = load i64, ptr %9, align 8
%34 = load i64, ptr %6, align 8
%35 = add nsw i64 %34, %33
store i64 %35, ptr %6, align 8
%36 = load ptr, ptr %4, align 8
%37 = call i64 @full_fread(ptr noundef %36, ptr noundef %11, i32 noundef 65536)
store i64 %37, ptr %8, align 8
%38 = load i64, ptr %8, align 8
%39 = icmp sle i64 %38, 0
br i1 %39, label %._crit_edge, label %20
40: ; preds = %31, %19
%41 = load i64, ptr %6, align 8
store i64 %41, ptr %3, align 8
br label %42
42: ; preds = %40, %30, %18
%43 = load i64, ptr %3, align 8
ret i64 %43
}
declare i64 @full_fread(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @full_fwrite(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_izteqze.c'
source_filename = "/tmp/tmp_izteqze.c"
target datalayout = "e-m:e-p270: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_izteqze.c"
target datalayout = "e-m:e-p270: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/tmp3afwpw7x.c'
source_filename = "/tmp/tmp3afwpw7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse_adjust_seed_8(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = shl i32 %4, 8
%6 = xor i32 %3, %5
%7 = load i32, ptr %2, align 4
%8 = shl i32 %7, 16
%9 = xor i32 %6, %8
%10 = load i32, ptr %2, align 4
%11 = shl i32 %10, 24
%12 = xor i32 %9, %11
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3afwpw7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inverse_adjust_seed_8(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = shl i32 %4, 8
%6 = xor i32 %3, %5
%7 = load i32, ptr %2, align 4
%8 = shl i32 %7, 16
%9 = xor i32 %6, %8
%10 = load i32, ptr %2, align 4
%11 = shl i32 %10, 24
%12 = xor i32 %9, %11
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1rfsvk4k.c'
source_filename = "/tmp/tmp1rfsvk4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_61() #0 {
%1 = call i32 @handle_61(i32 noundef 0)
ret i32 0
}
declare i32 @handle_61(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/tmp1rfsvk4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_61() #0 {
%1 = call i32 @handle_61(i32 noundef 0)
ret i32 0
}
declare i32 @handle_61(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/tmp6avhf6_3.c'
source_filename = "/tmp/tmp6avhf6_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"ingame_radio\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CG_ShowRadioMenus() #0 {
%1 = call i32 @Menus_OpenByName(ptr noundef @.str)
ret void
}
declare i32 @Menus_OpenByName(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6avhf6_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"ingame_radio\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CG_ShowRadioMenus() #0 {
%1 = call i32 @Menus_OpenByName(ptr noundef @.str)
ret void
}
declare i32 @Menus_OpenByName(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ax5o5xd.c'
source_filename = "/tmp/tmp1ax5o5xd.c"
target datalayout = "e-m:e-p270: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/tmp1ax5o5xd.c"
target datalayout = "e-m:e-p270: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/tmpcequ9cs0.c'
source_filename = "/tmp/tmpcequ9cs0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htmlPrintJointAlignment(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call i32 @validateSeqs(ptr noundef %14, ptr noundef %15)
store i32 0, ptr %13, align 4
br label %17
17: ; preds = %42, %6
%18 = load i32, ptr %13, align 4
%19 = load ptr, ptr %7, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = icmp slt i32 %18, %20
br i1 %21, label %22, label %46
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %13, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %26, %27
%29 = load ptr, ptr %7, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = icmp slt i32 %28, %30
br i1 %31, label %32, label %36
32: ; preds = %22
%33 = load i32, ptr %13, align 4
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %33, %34
br label %39
36: ; preds = %22
%37 = load ptr, ptr %7, align 8
%38 = call i32 @strlen(ptr noundef %37)
br label %39
39: ; preds = %36, %32
%40 = phi i32 [ %35, %32 ], [ %38, %36 ]
%41 = call i32 @htmlPrintJointAlignmentLine(ptr noundef %23, ptr noundef %24, i32 noundef %25, i32 noundef %40)
br label %42
42: ; preds = %39
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, %43
store i32 %45, ptr %13, align 4
br label %17, !llvm.loop !6
46: ; preds = %17
ret void
}
declare i32 @validateSeqs(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @htmlPrintJointAlignmentLine(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcequ9cs0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @htmlPrintJointAlignment(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call i32 @validateSeqs(ptr noundef %14, ptr noundef %15)
store i32 0, ptr %13, align 4
%17 = load i32, ptr %13, align 4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = icmp slt i32 %17, %19
br i1 %20, label %.lr.ph, label %49
.lr.ph: ; preds = %6
br label %21
21: ; preds = %.lr.ph, %41
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %13, align 4
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %25, %26
%28 = load ptr, ptr %7, align 8
%29 = call i32 @strlen(ptr noundef %28)
%30 = icmp slt i32 %27, %29
br i1 %30, label %31, label %35
31: ; preds = %21
%32 = load i32, ptr %13, align 4
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %32, %33
br label %38
35: ; preds = %21
%36 = load ptr, ptr %7, align 8
%37 = call i32 @strlen(ptr noundef %36)
br label %38
38: ; preds = %35, %31
%39 = phi i32 [ %34, %31 ], [ %37, %35 ]
%40 = call i32 @htmlPrintJointAlignmentLine(ptr noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %39)
br label %41
41: ; preds = %38
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %13, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %13, align 4
%45 = load i32, ptr %13, align 4
%46 = load ptr, ptr %7, align 8
%47 = call i32 @strlen(ptr noundef %46)
%48 = icmp slt i32 %45, %47
br i1 %48, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %49
49: ; preds = %._crit_edge, %6
ret void
}
declare i32 @validateSeqs(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @htmlPrintJointAlignmentLine(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ee8kaw4.c'
source_filename = "/tmp/tmp5ee8kaw4.c"
target datalayout = "e-m:e-p270: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/tmp5ee8kaw4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_3cjkldr.c'
source_filename = "/tmp/tmp_3cjkldr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = call i32 (...) @d()
ret void
}
declare i32 @d(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_3cjkldr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = call i32 (...) @d()
ret void
}
declare i32 @d(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbg6rj633.c'
source_filename = "/tmp/tmpbg6rj633.c"
target datalayout = "e-m:e-p270: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/tmpbg6rj633.c"
target datalayout = "e-m:e-p270: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/tmprtdz6pop.c'
source_filename = "/tmp/tmprtdz6pop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jw_atoi(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %3, align 4
br label %13
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10, %8
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprtdz6pop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jw_atoi(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i32, ptr %5, align 4
store i32 %9, ptr %3, align 4
br label %13
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %3, align 4
br label %13
13: ; preds = %10, %8
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2sen991_.c'
source_filename = "/tmp/tmp2sen991_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"read:%s\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.sockaddr_in, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [16 x i8], align 16
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr @AF_INET, align 4
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %13, ptr %14, align 4
%15 = call i32 @htons(i32 noundef 8080)
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 @bind(i32 noundef %17, ptr noundef %3, i32 noundef 4)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %2, align 4
%20 = call i32 @listen(i32 noundef %19, i32 noundef 10)
store i32 %20, ptr %5, align 4
store i32 4, ptr %6, align 4
%21 = load i32, ptr %2, align 4
%22 = call i32 @accept(i32 noundef %21, ptr noundef %4, ptr noundef %6)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 16)
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %0
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 %30
store i8 0, ptr %31, align 1
%32 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
br label %34
34: ; preds = %28, %0
%35 = load i32, ptr %7, align 4
%36 = call i32 @close(i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = call i32 @close(i32 noundef %37)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2sen991_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"read:%s\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.sockaddr_in, align 4
%4 = alloca %struct.sockaddr_in, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [16 x i8], align 16
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %2, align 4
%13 = load i32, ptr @AF_INET, align 4
%14 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %13, ptr %14, align 4
%15 = call i32 @htons(i32 noundef 8080)
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
store i32 %15, ptr %16, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 @bind(i32 noundef %17, ptr noundef %3, i32 noundef 4)
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %2, align 4
%20 = call i32 @listen(i32 noundef %19, i32 noundef 10)
store i32 %20, ptr %5, align 4
store i32 4, ptr %6, align 4
%21 = load i32, ptr %2, align 4
%22 = call i32 @accept(i32 noundef %21, ptr noundef %4, ptr noundef %6)
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 16)
store i32 %25, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %0
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 %30
store i8 0, ptr %31, align 1
%32 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%33 = call i32 @printf(ptr noundef @.str, ptr noundef %32)
br label %34
34: ; preds = %28, %0
%35 = load i32, ptr %7, align 4
%36 = call i32 @close(i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = call i32 @close(i32 noundef %37)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbfxq7b9m.c'
source_filename = "/tmp/tmpbfxq7b9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdc_name2idx(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %9, align 4
br label %13
13: ; preds = %41, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %42
17: ; preds = %13
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %18, %19
%21 = sdiv i32 %20, 2
store i32 %21, ptr %10, align 4
%22 = load ptr, ptr %7, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i32 @strcmp(ptr noundef %22, ptr noundef %27)
store i32 %28, ptr %11, align 4
%29 = load i32, ptr %11, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %17
%32 = load i32, ptr %10, align 4
store i32 %32, ptr %4, align 4
br label %43
33: ; preds = %17
%34 = load i32, ptr %11, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = load i32, ptr %10, align 4
store i32 %37, ptr %9, align 4
br label %41
38: ; preds = %33
%39 = load i32, ptr %10, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
br label %41
41: ; preds = %38, %36
br label %13, !llvm.loop !6
42: ; preds = %13
store i32 -1, ptr %4, align 4
br label %43
43: ; preds = %42, %31
%44 = load i32, ptr %4, align 4
ret i32 %44
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfxq7b9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pdc_name2idx(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %.lr.ph, label %44
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %40
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %17, %18
%20 = sdiv i32 %19, 2
store i32 %20, ptr %10, align 4
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcmp(ptr noundef %21, ptr noundef %26)
store i32 %27, ptr %11, align 4
%28 = load i32, ptr %11, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %16
%31 = load i32, ptr %10, align 4
store i32 %31, ptr %4, align 4
br label %45
32: ; preds = %16
%33 = load i32, ptr %11, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = load i32, ptr %10, align 4
store i32 %36, ptr %9, align 4
br label %40
37: ; preds = %32
%38 = load i32, ptr %10, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
br label %40
40: ; preds = %37, %35
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %41, %42
br i1 %43, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %44
44: ; preds = %._crit_edge, %3
store i32 -1, ptr %4, align 4
br label %45
45: ; preds = %44, %30
%46 = load i32, ptr %4, align 4
ret i32 %46
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphg_i32jp.c'
source_filename = "/tmp/tmphg_i32jp.c"
target datalayout = "e-m:e-p270: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/tmphg_i32jp.c"
target datalayout = "e-m:e-p270: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/tmp1w_zbrap.c'
source_filename = "/tmp/tmp1w_zbrap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dir_up.Path = internal global [150 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dir_up(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strcpy(ptr noundef @dir_up.Path, ptr noundef %4)
%6 = call i32 @strlen(ptr noundef @dir_up.Path)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %20
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [150 x i8], ptr @dir_up.Path, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 47
br i1 %16, label %17, label %20
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %17, %9, %1
br label %21
21: ; preds = %34, %20
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [150 x i8], ptr @dir_up.Path, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 47
br i1 %28, label %29, label %32
29: ; preds = %21
%30 = load i32, ptr %3, align 4
%31 = icmp sgt i32 %30, 1
br label %32
32: ; preds = %29, %21
%33 = phi i1 [ false, %21 ], [ %31, %29 ]
br i1 %33, label %34, label %37
34: ; preds = %32
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %3, align 4
br label %21, !llvm.loop !6
37: ; preds = %32
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [150 x i8], ptr @dir_up.Path, i64 0, i64 %39
store i8 0, ptr %40, align 1
ret ptr @dir_up.Path
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1w_zbrap.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dir_up.Path = internal global [150 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @dir_up(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strcpy(ptr noundef @dir_up.Path, ptr noundef %4)
%6 = call i32 @strlen(ptr noundef @dir_up.Path)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 1
br i1 %8, label %9, label %20
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [150 x i8], ptr @dir_up.Path, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 47
br i1 %16, label %17, label %20
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %17, %9, %1
br label %21
21: ; preds = %34, %20
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [150 x i8], ptr @dir_up.Path, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 47
br i1 %28, label %29, label %32
29: ; preds = %21
%30 = load i32, ptr %3, align 4
%31 = icmp sgt i32 %30, 1
br label %32
32: ; preds = %29, %21
%33 = phi i1 [ false, %21 ], [ %31, %29 ]
br i1 %33, label %34, label %37
34: ; preds = %32
%35 = load i32, ptr %3, align 4
%36 = add nsw i32 %35, -1
store i32 %36, ptr %3, align 4
br label %21, !llvm.loop !6
37: ; preds = %32
%38 = load i32, ptr %3, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [150 x i8], ptr @dir_up.Path, i64 0, i64 %39
store i8 0, ptr %40, align 1
ret ptr @dir_up.Path
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl1nig1mk.c'
source_filename = "/tmp/tmpl1nig1mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \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 @onedot_info(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %26, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %29
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = icmp ne i32 %20, 0
%22 = zext i1 %21 to i64
%23 = select i1 %21, i32 120, i32 46
%24 = trunc i32 %23 to i8
%25 = call i32 @putchar(i8 noundef signext %24)
br label %26
26: ; preds = %14
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %10, !llvm.loop !6
29: ; preds = %10
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl1nig1mk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \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 @onedot_info(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %25
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i32 120, i32 46
%23 = trunc i32 %22 to i8
%24 = call i32 @putchar(i8 noundef signext %23)
br label %25
25: ; preds = %13
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %3
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeec3qdzb.c'
source_filename = "/tmp/tmpeec3qdzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: hotelgwclient list <hostname>\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c" hotelgwclient book <hostname> [type] <guest>\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" hotelgwclient guests <hostname>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage_error() #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 = load i32, ptr @EXIT_FAILURE, align 4
%5 = call i32 @exit(i32 noundef %4) #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/tmpeec3qdzb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: hotelgwclient list <hostname>\0A\00", align 1
@.str.1 = private unnamed_addr constant [53 x i8] c" hotelgwclient book <hostname> [type] <guest>\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" hotelgwclient guests <hostname>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage_error() #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 = load i32, ptr @EXIT_FAILURE, align 4
%5 = call i32 @exit(i32 noundef %4) #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/tmpev6_8raj.c'
source_filename = "/tmp/tmpev6_8raj.c"
target datalayout = "e-m:e-p270: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/tmpev6_8raj.c"
target datalayout = "e-m:e-p270: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/tmpvyjonmy7.c'
source_filename = "/tmp/tmpvyjonmy7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 2, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %4, align 4
%7 = srem i32 %5, %6
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %22
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
br label %12
12: ; preds = %17, %9
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %4, align 4
%15 = srem i32 %13, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %2, align 4
%20 = sdiv i32 %19, %18
store i32 %20, ptr %2, align 4
br label %12, !llvm.loop !6
21: ; preds = %12
br label %22
22: ; preds = %21, %1
store i32 3, ptr %4, align 4
br label %23
23: ; preds = %47, %22
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr %2, align 4
%26 = call i32 @sqrt(i32 noundef %25)
%27 = icmp slt i32 %24, %26
br i1 %27, label %28, label %50
28: ; preds = %23
%29 = load i32, ptr %2, align 4
%30 = load i32, ptr %4, align 4
%31 = srem i32 %29, %30
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %46
33: ; preds = %28
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
br label %36
36: ; preds = %41, %33
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %4, align 4
%39 = srem i32 %37, %38
%40 = icmp eq i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %2, align 4
%44 = sdiv i32 %43, %42
store i32 %44, ptr %2, align 4
br label %36, !llvm.loop !8
45: ; preds = %36
br label %46
46: ; preds = %45, %28
br label %47
47: ; preds = %46
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 2
store i32 %49, ptr %4, align 4
br label %23, !llvm.loop !9
50: ; preds = %23
%51 = load i32, ptr %2, align 4
%52 = icmp eq i32 %51, 1
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = load i32, ptr %3, align 4
br label %58
55: ; preds = %50
%56 = load i32, ptr %3, align 4
%57 = add nsw i32 %56, 1
br label %58
58: ; preds = %55, %53
%59 = phi i32 [ %54, %53 ], [ %57, %55 ]
ret i32 %59
}
declare i32 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvyjonmy7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 2, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %4, align 4
%7 = srem i32 %5, %6
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %25
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = srem i32 %12, %13
%15 = icmp eq i32 %14, 0
br i1 %15, label %.lr.ph, label %24
.lr.ph: ; preds = %9
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %2, align 4
%19 = sdiv i32 %18, %17
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %4, align 4
%22 = srem i32 %20, %21
%23 = icmp eq i32 %22, 0
br i1 %23, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %24
24: ; preds = %._crit_edge, %9
br label %25
25: ; preds = %24, %1
store i32 3, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = call i32 @sqrt(i32 noundef %27)
%29 = icmp slt i32 %26, %28
br i1 %29, label %.lr.ph5, label %59
.lr.ph5: ; preds = %25
br label %30
30: ; preds = %.lr.ph5, %52
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %4, align 4
%33 = srem i32 %31, %32
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %51
35: ; preds = %30
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %4, align 4
%40 = srem i32 %38, %39
%41 = icmp eq i32 %40, 0
br i1 %41, label %.lr.ph2, label %50
.lr.ph2: ; preds = %35
br label %42
42: ; preds = %.lr.ph2, %42
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %2, align 4
%45 = sdiv i32 %44, %43
store i32 %45, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %4, align 4
%48 = srem i32 %46, %47
%49 = icmp eq i32 %48, 0
br i1 %49, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %50
50: ; preds = %._crit_edge3, %35
br label %51
51: ; preds = %50, %30
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 2
store i32 %54, ptr %4, align 4
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %2, align 4
%57 = call i32 @sqrt(i32 noundef %56)
%58 = icmp slt i32 %55, %57
br i1 %58, label %30, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %52
br label %59
59: ; preds = %._crit_edge6, %25
%60 = load i32, ptr %2, align 4
%61 = icmp eq i32 %60, 1
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = load i32, ptr %3, align 4
br label %67
64: ; preds = %59
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
br label %67
67: ; preds = %64, %62
%68 = phi i32 [ %63, %62 ], [ %66, %64 ]
ret i32 %68
}
declare i32 @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp1xafmg2c.c'
source_filename = "/tmp/tmp1xafmg2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @divide(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %19, label %12
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @INT_MIN, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %16, %2
%20 = load i32, ptr @INT_MAX, align 4
store i32 %20, ptr %3, align 4
br label %90
21: ; preds = %16, %12
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
br label %31
27: ; preds = %21
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = sub nsw i64 0, %29
br label %31
31: ; preds = %27, %24
%32 = phi i64 [ %26, %24 ], [ %30, %27 ]
store i64 %32, ptr %6, align 8
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
br label %42
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = sub nsw i64 0, %40
br label %42
42: ; preds = %38, %35
%43 = phi i64 [ %37, %35 ], [ %41, %38 ]
store i64 %43, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %44
44: ; preds = %59, %42
%45 = load i64, ptr %6, align 8
%46 = load i64, ptr %7, align 8
%47 = icmp sge i64 %45, %46
br i1 %47, label %48, label %71
48: ; preds = %44
store i64 0, ptr %9, align 8
br label %49
49: ; preds = %56, %48
%50 = load i64, ptr %6, align 8
%51 = load i64, ptr %7, align 8
%52 = load i64, ptr %9, align 8
%53 = shl i64 %51, %52
%54 = sub nsw i64 %50, %53
%55 = icmp sge i64 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %49
%57 = load i64, ptr %9, align 8
%58 = add nsw i64 %57, 1
store i64 %58, ptr %9, align 8
br label %49, !llvm.loop !6
59: ; preds = %49
%60 = load i64, ptr %9, align 8
%61 = sub nsw i64 %60, 1
%62 = shl i64 1, %61
%63 = load i64, ptr %8, align 8
%64 = add nsw i64 %63, %62
store i64 %64, ptr %8, align 8
%65 = load i64, ptr %7, align 8
%66 = load i64, ptr %9, align 8
%67 = sub nsw i64 %66, 1
%68 = shl i64 %65, %67
%69 = load i64, ptr %6, align 8
%70 = sub nsw i64 %69, %68
store i64 %70, ptr %6, align 8
br label %44, !llvm.loop !8
71: ; preds = %44
%72 = load i32, ptr %4, align 4
%73 = icmp sgt i32 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = load i32, ptr %5, align 4
%76 = icmp sgt i32 %75, 0
br i1 %76, label %83, label %77
77: ; preds = %74, %71
%78 = load i32, ptr %4, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %86
80: ; preds = %77
%81 = load i32, ptr %5, align 4
%82 = icmp slt i32 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %80, %74
%84 = load i64, ptr %8, align 8
%85 = trunc i64 %84 to i32
store i32 %85, ptr %3, align 4
br label %90
86: ; preds = %80, %77
%87 = load i64, ptr %8, align 8
%88 = sub nsw i64 0, %87
%89 = trunc i64 %88 to i32
store i32 %89, ptr %3, align 4
br label %90
90: ; preds = %86, %83, %19
%91 = load i32, ptr %3, align 4
ret i32 %91
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1xafmg2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @divide(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %19, label %12
12: ; preds = %2
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr @INT_MIN, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %16, %2
%20 = load i32, ptr @INT_MAX, align 4
store i32 %20, ptr %3, align 4
br label %97
21: ; preds = %16, %12
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
br label %31
27: ; preds = %21
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = sub nsw i64 0, %29
br label %31
31: ; preds = %27, %24
%32 = phi i64 [ %26, %24 ], [ %30, %27 ]
store i64 %32, ptr %6, align 8
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
br label %42
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = sub nsw i64 0, %40
br label %42
42: ; preds = %38, %35
%43 = phi i64 [ %37, %35 ], [ %41, %38 ]
store i64 %43, ptr %7, align 8
store i64 0, ptr %8, align 8
%44 = load i64, ptr %6, align 8
%45 = load i64, ptr %7, align 8
%46 = icmp sge i64 %44, %45
br i1 %46, label %.lr.ph2, label %78
.lr.ph2: ; preds = %42
br label %47
47: ; preds = %.lr.ph2, %63
store i64 0, ptr %9, align 8
%48 = load i64, ptr %6, align 8
%49 = load i64, ptr %7, align 8
%50 = load i64, ptr %9, align 8
%51 = shl i64 %49, %50
%52 = sub nsw i64 %48, %51
%53 = icmp sge i64 %52, 0
br i1 %53, label %.lr.ph, label %63
.lr.ph: ; preds = %47
br label %54
54: ; preds = %.lr.ph, %54
%55 = load i64, ptr %9, align 8
%56 = add nsw i64 %55, 1
store i64 %56, ptr %9, align 8
%57 = load i64, ptr %6, align 8
%58 = load i64, ptr %7, align 8
%59 = load i64, ptr %9, align 8
%60 = shl i64 %58, %59
%61 = sub nsw i64 %57, %60
%62 = icmp sge i64 %61, 0
br i1 %62, label %54, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %63
63: ; preds = %._crit_edge, %47
%64 = load i64, ptr %9, align 8
%65 = sub nsw i64 %64, 1
%66 = shl i64 1, %65
%67 = load i64, ptr %8, align 8
%68 = add nsw i64 %67, %66
store i64 %68, ptr %8, align 8
%69 = load i64, ptr %7, align 8
%70 = load i64, ptr %9, align 8
%71 = sub nsw i64 %70, 1
%72 = shl i64 %69, %71
%73 = load i64, ptr %6, align 8
%74 = sub nsw i64 %73, %72
store i64 %74, ptr %6, align 8
%75 = load i64, ptr %6, align 8
%76 = load i64, ptr %7, align 8
%77 = icmp sge i64 %75, %76
br i1 %77, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %78
78: ; preds = %._crit_edge3, %42
%79 = load i32, ptr %4, align 4
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = load i32, ptr %5, align 4
%83 = icmp sgt i32 %82, 0
br i1 %83, label %90, label %84
84: ; preds = %81, %78
%85 = load i32, ptr %4, align 4
%86 = icmp slt i32 %85, 0
br i1 %86, label %87, label %93
87: ; preds = %84
%88 = load i32, ptr %5, align 4
%89 = icmp slt i32 %88, 0
br i1 %89, label %90, label %93
90: ; preds = %87, %81
%91 = load i64, ptr %8, align 8
%92 = trunc i64 %91 to i32
store i32 %92, ptr %3, align 4
br label %97
93: ; preds = %87, %84
%94 = load i64, ptr %8, align 8
%95 = sub nsw i64 0, %94
%96 = trunc i64 %95 to i32
store i32 %96, ptr %3, align 4
br label %97
97: ; preds = %93, %90, %19
%98 = load i32, ptr %3, align 4
ret i32 %98
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpl7h5m1rv.c'
source_filename = "/tmp/tmpl7h5m1rv.c"
target datalayout = "e-m:e-p270: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/tmpl7h5m1rv.c"
target datalayout = "e-m:e-p270: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/tmpj_o1k4ih.c'
source_filename = "/tmp/tmpj_o1k4ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter choice : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Enter an element : \00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"The element popped out : %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"The stack is : \0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Enter A Number : \00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Wrong Choice. Try again.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (...) @DisplayMenu()
br label %9
9: ; preds = %0, %45
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load i32, ptr %4, align 4
switch i32 %12, label %39 [
i32 1, label %13
i32 2, label %19
i32 3, label %28
i32 4, label %33
i32 5, label %38
]
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%17 = load i32, ptr %5, align 4
%18 = call i32 @Push(ptr noundef %16, ptr noundef %3, i32 noundef %17)
br label %41
19: ; preds = %9
%20 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%21 = call i32 @Pop(ptr noundef %20, ptr noundef %3)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, -9999
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25)
br label %27
27: ; preds = %24, %19
br label %41
28: ; preds = %9
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%31 = load i32, ptr %3, align 4
%32 = call i32 @DisplayStack(ptr noundef %30, i32 noundef %31)
br label %41
33: ; preds = %9
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%36 = load i32, ptr %6, align 4
%37 = call i32 @Palindrome(i32 noundef %36)
br label %41
38: ; preds = %9
store i32 1, ptr %7, align 4
br label %41
39: ; preds = %9
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %41
41: ; preds = %39, %38, %33, %28, %27, %13
%42 = load i32, ptr %7, align 4
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %45
44: ; preds = %41
br label %46
45: ; preds = %41
br label %9
46: ; preds = %44
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @DisplayMenu(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @Push(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Pop(ptr noundef, ptr noundef) #1
declare i32 @DisplayStack(ptr noundef, i32 noundef) #1
declare i32 @Palindrome(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/tmpj_o1k4ih.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter choice : \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Enter an element : \00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"The element popped out : %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"The stack is : \0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"Enter A Number : \00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"Wrong Choice. Try again.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
store i32 0, ptr %7, align 4
%8 = call i32 (...) @DisplayMenu()
br label %9
9: ; preds = %41, %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%12 = load i32, ptr %4, align 4
switch i32 %12, label %39 [
i32 1, label %13
i32 2, label %19
i32 3, label %28
i32 4, label %33
i32 5, label %38
]
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%17 = load i32, ptr %5, align 4
%18 = call i32 @Push(ptr noundef %16, ptr noundef %3, i32 noundef %17)
br label %41
19: ; preds = %9
%20 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%21 = call i32 @Pop(ptr noundef %20, ptr noundef %3)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp ne i32 %22, -9999
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %25)
br label %27
27: ; preds = %24, %19
br label %41
28: ; preds = %9
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%31 = load i32, ptr %3, align 4
%32 = call i32 @DisplayStack(ptr noundef %30, i32 noundef %31)
br label %41
33: ; preds = %9
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%36 = load i32, ptr %6, align 4
%37 = call i32 @Palindrome(i32 noundef %36)
br label %41
38: ; preds = %9
store i32 1, ptr %7, align 4
br label %41
39: ; preds = %9
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %41
41: ; preds = %39, %38, %33, %28, %27, %13
%42 = load i32, ptr %7, align 4
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %9
44: ; preds = %41
br label %45
45: ; preds = %44
%46 = load i32, ptr %1, align 4
ret i32 %46
}
declare i32 @DisplayMenu(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @Push(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @Pop(ptr noundef, ptr noundef) #1
declare i32 @DisplayStack(ptr noundef, i32 noundef) #1
declare i32 @Palindrome(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/tmpmorvx4_a.c'
source_filename = "/tmp/tmpmorvx4_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outlyer(i32 noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store float %3, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load float, ptr %9, align 4
store float %16, ptr %5, align 4
br label %47
17: ; preds = %4
store i32 0, ptr %12, align 4
br label %18
18: ; preds = %34, %17
%19 = load i32, ptr %12, 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 %8, align 8
%24 = load i32, ptr %12, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %28, i64 %30
%32 = load float, ptr %31, align 4
%33 = fdiv float %32, %27
store float %33, ptr %31, align 4
br label %34
34: ; preds = %22
%35 = load i32, ptr %12, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %12, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load i32, ptr %6, align 4
%39 = load ptr, ptr %7, align 8
%40 = call float @floatmax(i32 noundef %38, ptr noundef %39)
store float %40, ptr %10, align 4
%41 = load i32, ptr %6, align 4
%42 = load ptr, ptr %7, align 8
%43 = call float @floatmedian(i32 noundef %41, ptr noundef %42)
store float %43, ptr %11, align 4
%44 = load float, ptr %10, align 4
%45 = load float, ptr %11, align 4
%46 = fsub float %44, %45
store float %46, ptr %5, align 4
br label %47
47: ; preds = %37, %15
%48 = load float, ptr %5, align 4
ret float %48
}
declare float @floatmax(i32 noundef, ptr noundef) #1
declare float @floatmedian(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmorvx4_a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @outlyer(i32 noundef %0, ptr noundef %1, ptr noundef %2, float noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store float %3, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %17
15: ; preds = %4
%16 = load float, ptr %9, align 4
store float %16, ptr %5, align 4
br label %49
17: ; preds = %4
store i32 0, ptr %12, align 4
%18 = load i32, ptr %12, 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 %8, align 8
%23 = load i32, ptr %12, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %12, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds float, ptr %27, i64 %29
%31 = load float, ptr %30, align 4
%32 = fdiv float %31, %26
store float %32, ptr %30, align 4
br label %33
33: ; preds = %21
%34 = load i32, ptr %12, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, 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 i32, ptr %6, align 4
%41 = load ptr, ptr %7, align 8
%42 = call float @floatmax(i32 noundef %40, ptr noundef %41)
store float %42, ptr %10, align 4
%43 = load i32, ptr %6, align 4
%44 = load ptr, ptr %7, align 8
%45 = call float @floatmedian(i32 noundef %43, ptr noundef %44)
store float %45, ptr %11, align 4
%46 = load float, ptr %10, align 4
%47 = load float, ptr %11, align 4
%48 = fsub float %46, %47
store float %48, ptr %5, align 4
br label %49
49: ; preds = %39, %15
%50 = load float, ptr %5, align 4
ret float %50
}
declare float @floatmax(i32 noundef, ptr noundef) #1
declare float @floatmedian(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3_s8d1j6.c'
source_filename = "/tmp/tmp3_s8d1j6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_malloc(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 @malloc(i32 noundef %3)
ret ptr %4
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3_s8d1j6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_malloc(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 @malloc(i32 noundef %3)
ret ptr %4
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsvgdg8ag.c'
source_filename = "/tmp/tmpsvgdg8ag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsvgdg8ag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpipz_pez2.c'
source_filename = "/tmp/tmpipz_pez2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i32, i64, ptr }
@SIGSTKSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [63 x i8] c"Unexpected error while attempting to setup test pre-conditions\00", align 1
@.str.1 = private unnamed_addr constant [84 x i8] c"Test FAILED: Attempt to set change alternate stack while inside handler succeeded.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler() #0 {
%1 = alloca %struct.TYPE_4__, align 8
%2 = load i32, ptr @SIGSTKSZ, align 4
%3 = call ptr @malloc(i32 noundef %2)
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i32 0, i32 2
store ptr %3, ptr %4, align 8
%5 = icmp eq ptr %3, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @perror(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 2) #3
unreachable
9: ; preds = %0
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i32 0, i32 1
store i64 0, ptr %10, align 8
%11 = load i32, ptr @SIGSTKSZ, align 4
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i32 0, i32 0
store i32 %11, ptr %12, align 8
%13 = call i32 @sigaltstack(ptr noundef %1, ptr noundef null)
%14 = icmp ne i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %9
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sigaltstack(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" }
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/tmpipz_pez2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i32, i64, ptr }
@SIGSTKSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [63 x i8] c"Unexpected error while attempting to setup test pre-conditions\00", align 1
@.str.1 = private unnamed_addr constant [84 x i8] c"Test FAILED: Attempt to set change alternate stack while inside handler succeeded.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler() #0 {
%1 = alloca %struct.TYPE_4__, align 8
%2 = load i32, ptr @SIGSTKSZ, align 4
%3 = call ptr @malloc(i32 noundef %2)
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i32 0, i32 2
store ptr %3, ptr %4, align 8
%5 = icmp eq ptr %3, null
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = call i32 @perror(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 2) #3
unreachable
9: ; preds = %0
%10 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i32 0, i32 1
store i64 0, ptr %10, align 8
%11 = load i32, ptr @SIGSTKSZ, align 4
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %1, i32 0, i32 0
store i32 %11, ptr %12, align 8
%13 = call i32 @sigaltstack(ptr noundef %1, ptr noundef null)
%14 = icmp ne i32 %13, -1
br i1 %14, label %15, label %18
15: ; preds = %9
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %9
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sigaltstack(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" }
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/tmpena6bwpf.c'
source_filename = "/tmp/tmpena6bwpf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"File not specified\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.24s\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"\0A\0Afile: %s (%d lines) - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca [20 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %6, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %8, align 8
%23 = call i32 @time(ptr noundef null)
store i32 %23, ptr %10, align 4
%24 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%25 = call ptr @ctime(ptr noundef %10)
%26 = call i32 @snprintf(ptr noundef %24, i32 noundef 20, ptr noundef @.str.2, ptr noundef %25)
%27 = load ptr, ptr %8, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %20
%30 = call i32 @perror(ptr noundef @.str.3)
br label %49
31: ; preds = %20
store i32 0, ptr %11, align 4
br label %32
32: ; preds = %36, %31
%33 = load ptr, ptr %8, align 8
%34 = call i64 @feof(ptr noundef %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %44
36: ; preds = %32
%37 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%38 = load ptr, ptr %8, align 8
%39 = call i32 @fgets(ptr noundef %37, i32 noundef 1024, ptr noundef %38)
%40 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %40)
%42 = load i32, ptr %11, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %11, align 4
br label %32, !llvm.loop !6
44: ; preds = %32
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %11, align 4
%47 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %45, i32 noundef %46, ptr noundef %47)
br label %49
49: ; preds = %44, %29
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpena6bwpf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"File not specified\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.24s\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Error opening file\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"\0A\0Afile: %s (%d lines) - %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca [20 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load ptr, ptr %6, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %8, align 8
%23 = call i32 @time(ptr noundef null)
store i32 %23, ptr %10, align 4
%24 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%25 = call ptr @ctime(ptr noundef %10)
%26 = call i32 @snprintf(ptr noundef %24, i32 noundef 20, ptr noundef @.str.2, ptr noundef %25)
%27 = load ptr, ptr %8, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %20
%30 = call i32 @perror(ptr noundef @.str.3)
br label %51
31: ; preds = %20
store i32 0, ptr %11, align 4
%32 = load ptr, ptr %8, align 8
%33 = call i64 @feof(ptr noundef %32)
%34 = icmp eq i64 %33, 0
br i1 %34, label %.lr.ph, label %46
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %35
%36 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%37 = load ptr, ptr %8, align 8
%38 = call i32 @fgets(ptr noundef %36, i32 noundef 1024, ptr noundef %37)
%39 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39)
%41 = load i32, ptr %11, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %11, align 4
%43 = load ptr, ptr %8, align 8
%44 = call i64 @feof(ptr noundef %43)
%45 = icmp eq i64 %44, 0
br i1 %45, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %46
46: ; preds = %._crit_edge, %31
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %11, align 4
%49 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %47, i32 noundef %48, ptr noundef %49)
br label %51
51: ; preds = %46, %29
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjtar48ph.c'
source_filename = "/tmp/tmpjtar48ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bits(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %7, %1
%5 = load i32, ptr %2, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = ashr i32 %10, 1
store i32 %11, ptr %2, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
%13 = load i32, ptr %3, align 4
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjtar48ph.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bits(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %.lr.ph, label %13
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = ashr i32 %9, 1
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %13
13: ; preds = %._crit_edge, %1
%14 = load i32, ptr %3, align 4
ret i32 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm5hqncfn.c'
source_filename = "/tmp/tmpm5hqncfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Succes!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Failed!\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %27
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i64 @atol(ptr noundef %13)
store i64 %14, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %10
store i32 -1, ptr %3, align 4
br label %27
18: ; preds = %10
%19 = load i64, ptr %6, align 8
%20 = call i64 @syscall(i32 noundef 286, i64 noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 @printf(ptr noundef @.str)
br label %26
24: ; preds = %18
%25 = call i32 @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %22
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %17, %9
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i64 @atol(ptr noundef) #1
declare i64 @syscall(i32 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5hqncfn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Succes!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Failed!\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %27
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i64 @atol(ptr noundef %13)
store i64 %14, ptr %6, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %10
store i32 -1, ptr %3, align 4
br label %27
18: ; preds = %10
%19 = load i64, ptr %6, align 8
%20 = call i64 @syscall(i32 noundef 286, i64 noundef %19)
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %18
%23 = call i32 @printf(ptr noundef @.str)
br label %26
24: ; preds = %18
%25 = call i32 @printf(ptr noundef @.str.1)
br label %26
26: ; preds = %24, %22
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %17, %9
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i64 @atol(ptr noundef) #1
declare i64 @syscall(i32 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn2mubd28.c'
source_filename = "/tmp/tmpn2mubd28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Vectors\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Index\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"Low\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Successfully computed eigenpairs!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %8, align 4
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %23, %25
%27 = mul i64 %26, 8
%28 = call i64 @malloc(i64 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
%30 = load ptr, ptr %11, align 8
%31 = icmp ne ptr %30, null
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 %35, %37
%39 = mul i64 %38, 8
%40 = call i64 @malloc(i64 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %12, align 8
%42 = load ptr, ptr %12, align 8
%43 = icmp ne ptr %42, null
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = mul i64 %47, 8
%49 = call i64 @malloc(i64 noundef %48)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %13, align 8
%51 = load ptr, ptr %13, align 8
%52 = icmp ne ptr %51, null
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %9, align 4
%58 = call i32 @init_symmetric_matrix(ptr noundef %55, i32 noundef %56, i32 noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = load i32, ptr %8, align 4
%61 = load i32, ptr %10, align 4
%62 = call i32 @init_symmetric_matrix(ptr noundef %59, i32 noundef %60, i32 noundef %61)
store i32 0, ptr %6, align 4
br label %63
63: ; preds = %80, %2
%64 = load i32, ptr %6, align 4
%65 = load i32, ptr %8, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %83
67: ; preds = %63
%68 = load i32, ptr %8, align 4
%69 = sitofp i32 %68 to double
%70 = load ptr, ptr %12, align 8
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %10, align 4
%74 = mul nsw i32 %72, %73
%75 = add nsw i32 %71, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %70, i64 %76
%78 = load double, ptr %77, align 8
%79 = fadd double %78, %69
store double %79, ptr %77, align 8
br label %80
80: ; preds = %67
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
br label %63, !llvm.loop !6
83: ; preds = %63
store i32 1, ptr %19, align 4
store i32 1, ptr %16, align 4
%84 = load i32, ptr %8, align 4
%85 = sdiv i32 %84, 2
%86 = add nsw i32 %85, 1
store i32 %86, ptr %17, align 4
%87 = load ptr, ptr %11, align 8
%88 = load ptr, ptr %12, align 8
%89 = load ptr, ptr %13, align 8
%90 = call i32 @dsygeig(ptr noundef %19, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %8, ptr noundef %87, ptr noundef %9, ptr noundef %88, ptr noundef %10, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %89)
store i32 %90, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = icmp eq i32 %91, 0
%93 = zext i1 %92 to i32
%94 = call i32 @assert(i32 noundef %93)
%95 = call i32 @printf(ptr noundef @.str.3)
%96 = load ptr, ptr %11, align 8
%97 = call i32 @free(ptr noundef %96)
%98 = load ptr, ptr %12, align 8
%99 = call i32 @free(ptr noundef %98)
%100 = load ptr, ptr %13, align 8
%101 = call i32 @free(ptr noundef %100)
ret i32 0
}
declare i64 @malloc(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @init_symmetric_matrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @dsygeig(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn2mubd28.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Vectors\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Index\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"Low\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"Successfully computed eigenpairs!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 100, ptr %8, align 4
%20 = load i32, ptr %8, align 4
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %8, align 4
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %23, %25
%27 = mul i64 %26, 8
%28 = call i64 @malloc(i64 noundef %27)
%29 = inttoptr i64 %28 to ptr
store ptr %29, ptr %11, align 8
%30 = load ptr, ptr %11, align 8
%31 = icmp ne ptr %30, null
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = mul i64 %35, %37
%39 = mul i64 %38, 8
%40 = call i64 @malloc(i64 noundef %39)
%41 = inttoptr i64 %40 to ptr
store ptr %41, ptr %12, align 8
%42 = load ptr, ptr %12, align 8
%43 = icmp ne ptr %42, null
%44 = zext i1 %43 to i32
%45 = call i32 @assert(i32 noundef %44)
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = mul i64 %47, 8
%49 = call i64 @malloc(i64 noundef %48)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %13, align 8
%51 = load ptr, ptr %13, align 8
%52 = icmp ne ptr %51, null
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
%55 = load ptr, ptr %11, align 8
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %9, align 4
%58 = call i32 @init_symmetric_matrix(ptr noundef %55, i32 noundef %56, i32 noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = load i32, ptr %8, align 4
%61 = load i32, ptr %10, align 4
%62 = call i32 @init_symmetric_matrix(ptr noundef %59, i32 noundef %60, i32 noundef %61)
store i32 0, ptr %6, align 4
%63 = load i32, ptr %6, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph, label %85
.lr.ph: ; preds = %2
br label %66
66: ; preds = %.lr.ph, %79
%67 = load i32, ptr %8, align 4
%68 = sitofp i32 %67 to double
%69 = load ptr, ptr %12, align 8
%70 = load i32, ptr %6, align 4
%71 = load i32, ptr %6, align 4
%72 = load i32, ptr %10, align 4
%73 = mul nsw i32 %71, %72
%74 = add nsw i32 %70, %73
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %69, i64 %75
%77 = load double, ptr %76, align 8
%78 = fadd double %77, %68
store double %78, ptr %76, align 8
br label %79
79: ; preds = %66
%80 = load i32, ptr %6, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %6, align 4
%82 = load i32, ptr %6, align 4
%83 = load i32, ptr %8, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %66, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %79
br label %85
85: ; preds = %._crit_edge, %2
store i32 1, ptr %19, align 4
store i32 1, ptr %16, align 4
%86 = load i32, ptr %8, align 4
%87 = sdiv i32 %86, 2
%88 = add nsw i32 %87, 1
store i32 %88, ptr %17, align 4
%89 = load ptr, ptr %11, align 8
%90 = load ptr, ptr %12, align 8
%91 = load ptr, ptr %13, align 8
%92 = call i32 @dsygeig(ptr noundef %19, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %8, ptr noundef %89, ptr noundef %9, ptr noundef %90, ptr noundef %10, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %91)
store i32 %92, ptr %7, align 4
%93 = load i32, ptr %7, align 4
%94 = icmp eq i32 %93, 0
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 noundef %95)
%97 = call i32 @printf(ptr noundef @.str.3)
%98 = load ptr, ptr %11, align 8
%99 = call i32 @free(ptr noundef %98)
%100 = load ptr, ptr %12, align 8
%101 = call i32 @free(ptr noundef %100)
%102 = load ptr, ptr %13, align 8
%103 = call i32 @free(ptr noundef %102)
ret i32 0
}
declare i64 @malloc(i64 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @init_symmetric_matrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @dsygeig(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzghb4g2q.c'
source_filename = "/tmp/tmpzghb4g2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sd_array_pop(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %9, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %25
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %17, %20
%22 = getelementptr inbounds i8, ptr %16, i64 %21
%23 = load i64, ptr %6, align 8
%24 = call i32 @memcpy(ptr noundef %15, ptr noundef %22, i64 noundef %23)
br label %25
25: ; preds = %14, %4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzghb4g2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sd_array_pop(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %9, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %25
14: ; preds = %4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %18, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %17, %20
%22 = getelementptr inbounds i8, ptr %16, i64 %21
%23 = load i64, ptr %6, align 8
%24 = call i32 @memcpy(ptr noundef %15, ptr noundef %22, i64 noundef %23)
br label %25
25: ; preds = %14, %4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9xm_fq48.c'
source_filename = "/tmp/tmp9xm_fq48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [344 x i8] c"---------------------------------------------------------\0ATo invoke the Traceroute server please enter:\0A./traceroute PORT <port_no> RATE <no_requests,duration> MAX_USERS <max_user> STRICT_DEST <0/1>\0AAny or all of these parameters are optional\0A<port_no> should be between 1025 and 65536\0A--------------------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DisplayHelpServer() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9xm_fq48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [344 x i8] c"---------------------------------------------------------\0ATo invoke the Traceroute server please enter:\0A./traceroute PORT <port_no> RATE <no_requests,duration> MAX_USERS <max_user> STRICT_DEST <0/1>\0AAny or all of these parameters are optional\0A<port_no> should be between 1025 and 65536\0A--------------------------------------------------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @DisplayHelpServer() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptwmk4frz.c'
source_filename = "/tmp/tmptwmk4frz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %27, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 6
br i1 %7, label %8, label %30
8: ; preds = %5
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %22, %8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [5 x i32], ptr %13, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [5 x i32], ptr %16, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20)
br label %22
22: ; preds = %12
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %5, !llvm.loop !8
30: ; preds = %5
ret 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/tmptwmk4frz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %.lr.ph2, label %32
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %27
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [5 x i32], ptr %11, i64 %13
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [5 x i32], ptr %14, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %10
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %23, 5
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %7
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 6
br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphrvh21na.c'
source_filename = "/tmp/tmphrvh21na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xconfigurerequest_window(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphrvh21na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xconfigurerequest_window(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5av654px.c'
source_filename = "/tmp/tmp5av654px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [4 x [4 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %27, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %30
8: ; preds = %5
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %23, %8
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %26
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4 x [4 x i32]], ptr %4, i64 0, i64 %17
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %20
store i32 %15, ptr %21, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15)
br label %23
23: ; preds = %12
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %5, !llvm.loop !8
30: ; preds = %5
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%32 = load i32, ptr %1, align 4
ret i32 %32
}
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/tmp5av654px.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [4 x [4 x i32]], align 16
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %27
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %21
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [4 x [4 x i32]], ptr %4, i64 0, i64 %15
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %18
store i32 %13, ptr %19, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
br label %21
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 5
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %7
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %30, 5
br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%34 = load i32, ptr %1, align 4
ret i32 %34
}
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/tmp0l5656dv.c'
source_filename = "/tmp/tmp0l5656dv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Case %d: %.0lf\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 double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %12, %0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = load double, ptr %3, align 8
%10 = fcmp oeq double %9, 0.000000e+00
br i1 %10, label %11, label %12
11: ; preds = %8
br label %27
12: ; preds = %8
%13 = load double, ptr %3, align 8
%14 = call double @llvm.fmuladd.f64(double 8.000000e+00, double %13, double 9.000000e+00)
%15 = fptosi double %14 to i32
%16 = call i32 @sqrt(i32 noundef %15)
%17 = add nsw i32 %16, 3
%18 = sdiv i32 %17, 2
%19 = sitofp i32 %18 to double
store double %19, ptr %4, align 8
%20 = load double, ptr %4, align 8
%21 = call double @llvm.ceil.f64(double %20)
store double %21, ptr %4, align 8
%22 = load i32, ptr %2, align 4
%23 = load double, ptr %4, align 8
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, double noundef %23)
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %5, !llvm.loop !6
27: ; preds = %11, %5
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp0l5656dv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Case %d: %.0lf\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 double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = icmp eq i32 %5, 1
br i1 %6, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %11
%8 = load double, ptr %3, align 8
%9 = fcmp oeq double %8, 0.000000e+00
br i1 %9, label %10, label %11
10: ; preds = %7
br label %28
11: ; preds = %7
%12 = load double, ptr %3, align 8
%13 = call double @llvm.fmuladd.f64(double 8.000000e+00, double %12, double 9.000000e+00)
%14 = fptosi double %13 to i32
%15 = call i32 @sqrt(i32 noundef %14)
%16 = add nsw i32 %15, 3
%17 = sdiv i32 %16, 2
%18 = sitofp i32 %17 to double
store double %18, ptr %4, align 8
%19 = load double, ptr %4, align 8
%20 = call double @llvm.ceil.f64(double %19)
store double %20, ptr %4, align 8
%21 = load i32, ptr %2, align 4
%22 = load double, ptr %4, align 8
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21, double noundef %22)
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
%26 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%27 = icmp eq i32 %26, 1
br i1 %27, label %7, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %11
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %28
28: ; preds = %.loopexit, %10
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sqrt(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.ceil.f64(double) #2
declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpd9gfuo79.c'
source_filename = "/tmp/tmpd9gfuo79.c"
target datalayout = "e-m:e-p270: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/tmpd9gfuo79.c"
target datalayout = "e-m:e-p270: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/tmpbw8foub4.c'
source_filename = "/tmp/tmpbw8foub4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"\0A\0A=============================== Clean =============================== \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"make.exe\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" clean\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"exec_done_cb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @btnClean_Click() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @mbed_get_target_path()
store ptr %2, ptr %1, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %1, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 @UI_Enable(i32 noundef 0)
%7 = call i32 @sleep(i32 noundef 300)
%8 = call i32 @exec_redirect_io(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare ptr @mbed_get_target_path(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @UI_Enable(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @exec_redirect_io(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/tmpbw8foub4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [74 x i8] c"\0A\0A=============================== Clean =============================== \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%s\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"make.exe\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" clean\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"exec_done_cb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @btnClean_Click() #0 {
%1 = alloca ptr, align 8
%2 = call ptr (...) @mbed_get_target_path()
store ptr %2, ptr %1, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %1, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 @UI_Enable(i32 noundef 0)
%7 = call i32 @sleep(i32 noundef 300)
%8 = call i32 @exec_redirect_io(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4)
ret void
}
declare ptr @mbed_get_target_path(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @UI_Enable(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @exec_redirect_io(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/tmpm_icbe93.c'
source_filename = "/tmp/tmpm_icbe93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This message should not appear!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hex2dec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i8 0, ptr %4, align 1
br label %5
5: ; preds = %100, %1
%6 = load ptr, ptr %2, align 8
%7 = load i8, ptr %4, align 1
%8 = zext i8 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %103
13: ; preds = %5
%14 = load i32, ptr %3, align 4
%15 = shl i32 %14, 4
store i32 %15, ptr %3, align 4
%16 = load ptr, ptr %2, align 8
%17 = load i8, ptr %4, align 1
%18 = zext i8 %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 = icmp sle i32 %21, 90
br i1 %22, label %23, label %42
23: ; preds = %13
%24 = load ptr, ptr %2, align 8
%25 = load i8, ptr %4, align 1
%26 = zext i8 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp sge i32 %29, 65
br i1 %30, label %31, label %42
31: ; preds = %23
%32 = load ptr, ptr %2, align 8
%33 = load i8, ptr %4, align 1
%34 = zext i8 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = add nsw i32 10, %37
%39 = sub nsw i32 %38, 65
%40 = load i32, ptr %3, align 4
%41 = add i32 %40, %39
store i32 %41, ptr %3, align 4
br label %99
42: ; preds = %23, %13
%43 = load ptr, ptr %2, align 8
%44 = load i8, ptr %4, align 1
%45 = zext i8 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 122
br i1 %49, label %50, label %69
50: ; preds = %42
%51 = load ptr, ptr %2, align 8
%52 = load i8, ptr %4, align 1
%53 = zext i8 %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 = icmp sge i32 %56, 97
br i1 %57, label %58, label %69
58: ; preds = %50
%59 = load ptr, ptr %2, align 8
%60 = load i8, ptr %4, align 1
%61 = zext i8 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = add nsw i32 10, %64
%66 = sub nsw i32 %65, 97
%67 = load i32, ptr %3, align 4
%68 = add i32 %67, %66
store i32 %68, ptr %3, align 4
br label %98
69: ; preds = %50, %42
%70 = load ptr, ptr %2, align 8
%71 = load i8, ptr %4, align 1
%72 = zext i8 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp sle i32 %75, 57
br i1 %76, label %77, label %95
77: ; preds = %69
%78 = load ptr, ptr %2, align 8
%79 = load i8, ptr %4, align 1
%80 = zext i8 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp sge i32 %83, 48
br i1 %84, label %85, label %95
85: ; preds = %77
%86 = load ptr, ptr %2, align 8
%87 = load i8, ptr %4, align 1
%88 = zext i8 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = sub nsw i32 %91, 48
%93 = load i32, ptr %3, align 4
%94 = add i32 %93, %92
store i32 %94, ptr %3, align 4
br label %97
95: ; preds = %77, %69
%96 = call i32 @puts(ptr noundef @.str)
br label %97
97: ; preds = %95, %85
br label %98
98: ; preds = %97, %58
br label %99
99: ; preds = %98, %31
br label %100
100: ; preds = %99
%101 = load i8, ptr %4, align 1
%102 = add i8 %101, 1
store i8 %102, ptr %4, align 1
br label %5, !llvm.loop !6
103: ; preds = %5
%104 = load i32, ptr %3, align 4
ret i32 %104
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm_icbe93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This message should not appear!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hex2dec(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i8 0, ptr %4, align 1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %4, align 1
%7 = zext i8 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %109
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %99
%13 = load i32, ptr %3, align 4
%14 = shl i32 %13, 4
store i32 %14, ptr %3, align 4
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %4, align 1
%17 = zext i8 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp sle i32 %20, 90
br i1 %21, label %22, label %41
22: ; preds = %12
%23 = load ptr, ptr %2, align 8
%24 = load i8, ptr %4, align 1
%25 = zext i8 %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 = icmp sge i32 %28, 65
br i1 %29, label %30, label %41
30: ; preds = %22
%31 = load ptr, ptr %2, align 8
%32 = load i8, ptr %4, align 1
%33 = zext i8 %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 = add nsw i32 10, %36
%38 = sub nsw i32 %37, 65
%39 = load i32, ptr %3, align 4
%40 = add i32 %39, %38
store i32 %40, ptr %3, align 4
br label %98
41: ; preds = %22, %12
%42 = load ptr, ptr %2, align 8
%43 = load i8, ptr %4, align 1
%44 = zext i8 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp sle i32 %47, 122
br i1 %48, label %49, label %68
49: ; preds = %41
%50 = load ptr, ptr %2, align 8
%51 = load i8, ptr %4, align 1
%52 = zext i8 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp sge i32 %55, 97
br i1 %56, label %57, label %68
57: ; preds = %49
%58 = load ptr, ptr %2, align 8
%59 = load i8, ptr %4, align 1
%60 = zext i8 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = add nsw i32 10, %63
%65 = sub nsw i32 %64, 97
%66 = load i32, ptr %3, align 4
%67 = add i32 %66, %65
store i32 %67, ptr %3, align 4
br label %97
68: ; preds = %49, %41
%69 = load ptr, ptr %2, align 8
%70 = load i8, ptr %4, align 1
%71 = zext i8 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp sle i32 %74, 57
br i1 %75, label %76, label %94
76: ; preds = %68
%77 = load ptr, ptr %2, align 8
%78 = load i8, ptr %4, align 1
%79 = zext i8 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp sge i32 %82, 48
br i1 %83, label %84, label %94
84: ; preds = %76
%85 = load ptr, ptr %2, align 8
%86 = load i8, ptr %4, align 1
%87 = zext i8 %86 to i64
%88 = getelementptr inbounds i8, ptr %85, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = sub nsw i32 %90, 48
%92 = load i32, ptr %3, align 4
%93 = add i32 %92, %91
store i32 %93, ptr %3, align 4
br label %96
94: ; preds = %76, %68
%95 = call i32 @puts(ptr noundef @.str)
br label %96
96: ; preds = %94, %84
br label %97
97: ; preds = %96, %57
br label %98
98: ; preds = %97, %30
br label %99
99: ; preds = %98
%100 = load i8, ptr %4, align 1
%101 = add i8 %100, 1
store i8 %101, ptr %4, align 1
%102 = load ptr, ptr %2, align 8
%103 = load i8, ptr %4, align 1
%104 = zext i8 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp ne i32 %107, 0
br i1 %108, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %99
br label %109
109: ; preds = %._crit_edge, %1
%110 = load i32, ptr %3, align 4
ret i32 %110
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpv74yim8w.c'
source_filename = "/tmp/tmpv74yim8w.c"
target datalayout = "e-m:e-p270: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/tmpv74yim8w.c"
target datalayout = "e-m:e-p270: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/tmpsbt0zznt.c'
source_filename = "/tmp/tmpsbt0zznt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
br label %7
7: ; preds = %10, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = load i32, ptr %2, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %3, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbt0zznt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %2, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp196txnrz.c'
source_filename = "/tmp/tmp196txnrz.c"
target datalayout = "e-m:e-p270: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/tmp196txnrz.c"
target datalayout = "e-m:e-p270: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/tmppztdzqds.c'
source_filename = "/tmp/tmppztdzqds.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"error: zero divisor\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\09%.8g\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"error: unknown command %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"use 'h' to get help\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 double, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %69, %0
%7 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @getop(ptr noundef %7)
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 %70
11: ; preds = %6
%12 = load i32, ptr %2, align 4
switch i32 %12, label %65 [
i32 48, label %13
i32 43, label %17
i32 42, label %22
i32 45, label %27
i32 47, label %33
i32 37, label %45
i32 10, label %57
i32 32, label %64
]
13: ; preds = %11
%14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%15 = call double @atof(ptr noundef %14)
%16 = call i32 @push(double noundef %15)
br label %69
17: ; preds = %11
%18 = call double (...) @pop()
%19 = call double (...) @pop()
%20 = fadd double %18, %19
%21 = call i32 @push(double noundef %20)
br label %69
22: ; preds = %11
%23 = call double (...) @pop()
%24 = call double (...) @pop()
%25 = fmul double %23, %24
%26 = call i32 @push(double noundef %25)
br label %69
27: ; preds = %11
%28 = call double (...) @pop()
store double %28, ptr %3, align 8
%29 = call double (...) @pop()
%30 = load double, ptr %3, align 8
%31 = fsub double %29, %30
%32 = call i32 @push(double noundef %31)
br label %69
33: ; preds = %11
%34 = call double (...) @pop()
store double %34, ptr %3, align 8
%35 = load double, ptr %3, align 8
%36 = fcmp une double %35, 0.000000e+00
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = call double (...) @pop()
%39 = load double, ptr %3, align 8
%40 = fdiv double %38, %39
%41 = call i32 @push(double noundef %40)
br label %44
42: ; preds = %33
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %44
44: ; preds = %42, %37
br label %69
45: ; preds = %11
%46 = call double (...) @pop()
store double %46, ptr %3, align 8
%47 = load double, ptr %3, align 8
%48 = fcmp une double %47, 0.000000e+00
br i1 %48, label %49, label %54
49: ; preds = %45
%50 = call double (...) @pop()
%51 = load double, ptr %3, align 8
%52 = call double @fmod(double noundef %50, double noundef %51) #3
%53 = call i32 @push(double noundef %52)
br label %56
54: ; preds = %45
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %56
56: ; preds = %54, %49
br label %69
57: ; preds = %11
%58 = load i32, ptr %5, align 4
%59 = icmp ne i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %57
%61 = call double (...) @pop()
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %61)
br label %63
63: ; preds = %60, %57
store i32 0, ptr %5, align 4
br label %69
64: ; preds = %11
store i32 1, ptr %5, align 4
br label %69
65: ; preds = %11
%66 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %66)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %69
69: ; preds = %65, %64, %63, %56, %44, %27, %22, %17, %13
br label %6, !llvm.loop !6
70: ; preds = %6
ret i32 0
}
declare i32 @getop(ptr noundef) #1
declare i32 @push(double noundef) #1
declare double @atof(ptr noundef) #1
declare double @pop(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nounwind
declare double @fmod(double noundef, 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/tmppztdzqds.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"error: zero divisor\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\09%.8g\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"error: unknown command %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"use 'h' to get help\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 double, align 8
%4 = alloca [100 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%7 = call i32 @getop(ptr noundef %6)
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 %72
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %68
%11 = load i32, ptr %2, align 4
switch i32 %11, label %64 [
i32 48, label %12
i32 43, label %16
i32 42, label %21
i32 45, label %26
i32 47, label %32
i32 37, label %44
i32 10, label %56
i32 32, label %63
]
12: ; preds = %10
%13 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%14 = call double @atof(ptr noundef %13)
%15 = call i32 @push(double noundef %14)
br label %68
16: ; preds = %10
%17 = call double (...) @pop()
%18 = call double (...) @pop()
%19 = fadd double %17, %18
%20 = call i32 @push(double noundef %19)
br label %68
21: ; preds = %10
%22 = call double (...) @pop()
%23 = call double (...) @pop()
%24 = fmul double %22, %23
%25 = call i32 @push(double noundef %24)
br label %68
26: ; preds = %10
%27 = call double (...) @pop()
store double %27, ptr %3, align 8
%28 = call double (...) @pop()
%29 = load double, ptr %3, align 8
%30 = fsub double %28, %29
%31 = call i32 @push(double noundef %30)
br label %68
32: ; preds = %10
%33 = call double (...) @pop()
store double %33, ptr %3, align 8
%34 = load double, ptr %3, align 8
%35 = fcmp une double %34, 0.000000e+00
br i1 %35, label %36, label %41
36: ; preds = %32
%37 = call double (...) @pop()
%38 = load double, ptr %3, align 8
%39 = fdiv double %37, %38
%40 = call i32 @push(double noundef %39)
br label %43
41: ; preds = %32
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %43
43: ; preds = %41, %36
br label %68
44: ; preds = %10
%45 = call double (...) @pop()
store double %45, ptr %3, align 8
%46 = load double, ptr %3, align 8
%47 = fcmp une double %46, 0.000000e+00
br i1 %47, label %48, label %53
48: ; preds = %44
%49 = call double (...) @pop()
%50 = load double, ptr %3, align 8
%51 = call double @fmod(double noundef %49, double noundef %50) #3
%52 = call i32 @push(double noundef %51)
br label %55
53: ; preds = %44
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %55
55: ; preds = %53, %48
br label %68
56: ; preds = %10
%57 = load i32, ptr %5, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %62, label %59
59: ; preds = %56
%60 = call double (...) @pop()
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %60)
br label %62
62: ; preds = %59, %56
store i32 0, ptr %5, align 4
br label %68
63: ; preds = %10
store i32 1, ptr %5, align 4
br label %68
64: ; preds = %10
%65 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %65)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %68
68: ; preds = %64, %63, %62, %55, %43, %26, %21, %16, %12
%69 = call i32 @getop(ptr noundef %6)
store i32 %69, ptr %2, align 4
%70 = load i32, ptr @EOF, align 4
%71 = icmp ne i32 %69, %70
br i1 %71, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %72
72: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getop(ptr noundef) #1
declare i32 @push(double noundef) #1
declare double @atof(ptr noundef) #1
declare double @pop(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nounwind
declare double @fmod(double noundef, 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/tmpeca_wtpd.c'
source_filename = "/tmp/tmpeca_wtpd.c"
target datalayout = "e-m:e-p270: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/tmpeca_wtpd.c"
target datalayout = "e-m:e-p270: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/tmp2afi_u3t.c'
source_filename = "/tmp/tmp2afi_u3t.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getfloat(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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 %7, align 4
br label %8
8: ; preds = %12, %1
%9 = call i32 (...) @getch()
store i32 %9, ptr %4, align 4
%10 = call i64 @isspace(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %8
br label %8, !llvm.loop !6
13: ; preds = %8
%14 = load i32, ptr %4, align 4
%15 = call i64 @isdigit(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %31, label %17
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %31
21: ; preds = %17
%22 = load i32, ptr %4, align 4
%23 = icmp ne i32 %22, 43
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = icmp ne i32 %25, 45
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %4, align 4
%29 = icmp ne i32 %28, 46
br i1 %29, label %30, label %31
30: ; preds = %27
store i32 0, ptr %2, align 4
br label %128
31: ; preds = %27, %24, %21, %17, %13
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 45
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 -1, i32 1
store i32 %35, ptr %5, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp eq i32 %36, 43
br i1 %37, label %41, label %38
38: ; preds = %31
%39 = load i32, ptr %4, align 4
%40 = icmp eq i32 %39, 45
br i1 %40, label %41, label %61
41: ; preds = %38, %31
%42 = call i32 (...) @getch()
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %6, align 4
%44 = call i64 @isdigit(i32 noundef %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %58, label %46
46: ; preds = %41
%47 = load i32, ptr %6, align 4
%48 = icmp ne i32 %47, 46
br i1 %48, label %49, label %58
49: ; preds = %46
%50 = load i32, ptr %6, align 4
%51 = load i32, ptr @EOF, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %49
%54 = load i32, ptr %6, align 4
%55 = call i32 @ungetch(i32 noundef %54)
store i32 0, ptr %2, align 4
br label %128
56: ; preds = %49
%57 = load i32, ptr @EOF, align 4
store i32 %57, ptr %2, align 4
br label %128
58: ; preds = %46, %41
%59 = load i32, ptr %6, align 4
store i32 %59, ptr %4, align 4
br label %60
60: ; preds = %58
br label %61
61: ; preds = %60, %38
%62 = load ptr, ptr %3, align 8
store float 0.000000e+00, ptr %62, align 4
br label %63
63: ; preds = %75, %61
%64 = load i32, ptr %4, align 4
%65 = call i64 @isdigit(i32 noundef %64)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %77
67: ; preds = %63
%68 = load ptr, ptr %3, align 8
%69 = load float, ptr %68, align 4
%70 = load i32, ptr %4, align 4
%71 = sub nsw i32 %70, 48
%72 = sitofp i32 %71 to float
%73 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %69, float %72)
%74 = load ptr, ptr %3, align 8
store float %73, ptr %74, align 4
br label %75
75: ; preds = %67
%76 = call i32 (...) @getch()
store i32 %76, ptr %4, align 4
br label %63, !llvm.loop !8
77: ; preds = %63
%78 = load i32, ptr %4, align 4
%79 = icmp eq i32 %78, 46
br i1 %79, label %80, label %93
80: ; preds = %77
%81 = call i32 (...) @getch()
store i32 %81, ptr %4, align 4
%82 = call i64 @isdigit(i32 noundef %81)
%83 = icmp ne i64 %82, 0
br i1 %83, label %93, label %84
84: ; preds = %80
%85 = load i32, ptr %4, align 4
%86 = load i32, ptr @EOF, align 4
%87 = icmp ne i32 %85, %86
br i1 %87, label %88, label %91
88: ; preds = %84
%89 = load i32, ptr %4, align 4
%90 = call i32 @ungetch(i32 noundef %89)
store i32 0, ptr %2, align 4
br label %128
91: ; preds = %84
%92 = load i32, ptr @EOF, align 4
store i32 %92, ptr %2, align 4
br label %128
93: ; preds = %80, %77
br label %94
94: ; preds = %98, %93
%95 = load i32, ptr %4, align 4
%96 = call i64 @isdigit(i32 noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %109
98: ; preds = %94
%99 = load ptr, ptr %3, align 8
%100 = load float, ptr %99, align 4
%101 = load i32, ptr %4, align 4
%102 = sub nsw i32 %101, 48
%103 = sitofp i32 %102 to float
%104 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %100, float %103)
%105 = load ptr, ptr %3, align 8
store float %104, ptr %105, align 4
%106 = load i32, ptr %7, align 4
%107 = mul nsw i32 %106, 10
store i32 %107, ptr %7, align 4
%108 = call i32 (...) @getch()
store i32 %108, ptr %4, align 4
br label %94, !llvm.loop !9
109: ; preds = %94
%110 = load i32, ptr %7, align 4
%111 = sitofp i32 %110 to float
%112 = load ptr, ptr %3, align 8
%113 = load float, ptr %112, align 4
%114 = fdiv float %113, %111
store float %114, ptr %112, align 4
%115 = load i32, ptr %5, align 4
%116 = sitofp i32 %115 to float
%117 = load ptr, ptr %3, align 8
%118 = load float, ptr %117, align 4
%119 = fmul float %118, %116
store float %119, ptr %117, align 4
%120 = load i32, ptr %4, align 4
%121 = load i32, ptr @EOF, align 4
%122 = icmp ne i32 %120, %121
br i1 %122, label %123, label %126
123: ; preds = %109
%124 = load i32, ptr %4, align 4
%125 = call i32 @ungetch(i32 noundef %124)
br label %126
126: ; preds = %123, %109
%127 = load i32, ptr %4, align 4
store i32 %127, ptr %2, align 4
br label %128
128: ; preds = %126, %91, %88, %56, %53, %30
%129 = load i32, ptr %2, align 4
ret i32 %129
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch(...) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetch(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2afi_u3t.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getfloat(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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 %7, align 4
br label %8
8: ; preds = %8, %1
%9 = call i32 (...) @getch()
store i32 %9, ptr %4, align 4
%10 = call i64 @isspace(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %8, label %12, !llvm.loop !6
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = call i64 @isdigit(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %30, label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr @EOF, align 4
%19 = icmp ne i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 43
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i32, ptr %4, align 4
%25 = icmp ne i32 %24, 45
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = load i32, ptr %4, align 4
%28 = icmp ne i32 %27, 46
br i1 %28, label %29, label %30
29: ; preds = %26
store i32 0, ptr %2, align 4
br label %131
30: ; preds = %26, %23, %20, %16, %12
%31 = load i32, ptr %4, align 4
%32 = icmp eq i32 %31, 45
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 -1, i32 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %35, 43
br i1 %36, label %40, label %37
37: ; preds = %30
%38 = load i32, ptr %4, align 4
%39 = icmp eq i32 %38, 45
br i1 %39, label %40, label %60
40: ; preds = %37, %30
%41 = call i32 (...) @getch()
store i32 %41, ptr %6, align 4
%42 = load i32, ptr %6, align 4
%43 = call i64 @isdigit(i32 noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %57, label %45
45: ; preds = %40
%46 = load i32, ptr %6, align 4
%47 = icmp ne i32 %46, 46
br i1 %47, label %48, label %57
48: ; preds = %45
%49 = load i32, ptr %6, align 4
%50 = load i32, ptr @EOF, align 4
%51 = icmp ne i32 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %48
%53 = load i32, ptr %6, align 4
%54 = call i32 @ungetch(i32 noundef %53)
store i32 0, ptr %2, align 4
br label %131
55: ; preds = %48
%56 = load i32, ptr @EOF, align 4
store i32 %56, ptr %2, align 4
br label %131
57: ; preds = %45, %40
%58 = load i32, ptr %6, align 4
store i32 %58, ptr %4, align 4
br label %59
59: ; preds = %57
br label %60
60: ; preds = %59, %37
%61 = load ptr, ptr %3, align 8
store float 0.000000e+00, ptr %61, align 4
%62 = load i32, ptr %4, align 4
%63 = call i64 @isdigit(i32 noundef %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %.lr.ph, label %78
.lr.ph: ; preds = %60
br label %65
65: ; preds = %.lr.ph, %73
%66 = load ptr, ptr %3, align 8
%67 = load float, ptr %66, align 4
%68 = load i32, ptr %4, align 4
%69 = sub nsw i32 %68, 48
%70 = sitofp i32 %69 to float
%71 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %67, float %70)
%72 = load ptr, ptr %3, align 8
store float %71, ptr %72, align 4
br label %73
73: ; preds = %65
%74 = call i32 (...) @getch()
store i32 %74, ptr %4, align 4
%75 = load i32, ptr %4, align 4
%76 = call i64 @isdigit(i32 noundef %75)
%77 = icmp ne i64 %76, 0
br i1 %77, label %65, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %73
br label %78
78: ; preds = %._crit_edge, %60
%79 = load i32, ptr %4, align 4
%80 = icmp eq i32 %79, 46
br i1 %80, label %81, label %94
81: ; preds = %78
%82 = call i32 (...) @getch()
store i32 %82, ptr %4, align 4
%83 = call i64 @isdigit(i32 noundef %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %94, label %85
85: ; preds = %81
%86 = load i32, ptr %4, align 4
%87 = load i32, ptr @EOF, align 4
%88 = icmp ne i32 %86, %87
br i1 %88, label %89, label %92
89: ; preds = %85
%90 = load i32, ptr %4, align 4
%91 = call i32 @ungetch(i32 noundef %90)
store i32 0, ptr %2, align 4
br label %131
92: ; preds = %85
%93 = load i32, ptr @EOF, align 4
store i32 %93, ptr %2, align 4
br label %131
94: ; preds = %81, %78
%95 = load i32, ptr %4, align 4
%96 = call i64 @isdigit(i32 noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %.lr.ph2, label %112
.lr.ph2: ; preds = %94
br label %98
98: ; preds = %.lr.ph2, %98
%99 = load ptr, ptr %3, align 8
%100 = load float, ptr %99, align 4
%101 = load i32, ptr %4, align 4
%102 = sub nsw i32 %101, 48
%103 = sitofp i32 %102 to float
%104 = call float @llvm.fmuladd.f32(float 1.000000e+01, float %100, float %103)
%105 = load ptr, ptr %3, align 8
store float %104, ptr %105, align 4
%106 = load i32, ptr %7, align 4
%107 = mul nsw i32 %106, 10
store i32 %107, ptr %7, align 4
%108 = call i32 (...) @getch()
store i32 %108, ptr %4, align 4
%109 = load i32, ptr %4, align 4
%110 = call i64 @isdigit(i32 noundef %109)
%111 = icmp ne i64 %110, 0
br i1 %111, label %98, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %98
br label %112
112: ; preds = %._crit_edge3, %94
%113 = load i32, ptr %7, align 4
%114 = sitofp i32 %113 to float
%115 = load ptr, ptr %3, align 8
%116 = load float, ptr %115, align 4
%117 = fdiv float %116, %114
store float %117, ptr %115, align 4
%118 = load i32, ptr %5, align 4
%119 = sitofp i32 %118 to float
%120 = load ptr, ptr %3, align 8
%121 = load float, ptr %120, align 4
%122 = fmul float %121, %119
store float %122, ptr %120, align 4
%123 = load i32, ptr %4, align 4
%124 = load i32, ptr @EOF, align 4
%125 = icmp ne i32 %123, %124
br i1 %125, label %126, label %129
126: ; preds = %112
%127 = load i32, ptr %4, align 4
%128 = call i32 @ungetch(i32 noundef %127)
br label %129
129: ; preds = %126, %112
%130 = load i32, ptr %4, align 4
store i32 %130, ptr %2, align 4
br label %131
131: ; preds = %129, %92, %89, %55, %52, %29
%132 = load i32, ptr %2, align 4
ret i32 %132
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch(...) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetch(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpq0ygjbvc.c'
source_filename = "/tmp/tmpq0ygjbvc.c"
target datalayout = "e-m:e-p270: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/tmpq0ygjbvc.c"
target datalayout = "e-m:e-p270: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/tmphd9xiu38.c'
source_filename = "/tmp/tmphd9xiu38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_clear_quaddobl_system() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 387, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphd9xiu38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syscon_clear_quaddobl_system() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 387, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsnhs73ko.c'
source_filename = "/tmp/tmpsnhs73ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @start_measurement()
%4 = call i32 @fib(i32 noundef 15)
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @end_measurement()
%6 = load i32, ptr %2, align 4
%7 = call i32 @print_int(i32 noundef %6)
ret i32 0
}
declare i32 @start_measurement(...) #1
declare i32 @fib(i32 noundef) #1
declare i32 @end_measurement(...) #1
declare i32 @print_int(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/tmpsnhs73ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @start_measurement()
%4 = call i32 @fib(i32 noundef 15)
store i32 %4, ptr %2, align 4
%5 = call i32 (...) @end_measurement()
%6 = load i32, ptr %2, align 4
%7 = call i32 @print_int(i32 noundef %6)
ret i32 0
}
declare i32 @start_measurement(...) #1
declare i32 @fib(i32 noundef) #1
declare i32 @end_measurement(...) #1
declare i32 @print_int(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/tmp7cjd89c8.c'
source_filename = "/tmp/tmp7cjd89c8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MemManage_Handler() #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7cjd89c8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MemManage_Handler() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkgolbsn6.c'
source_filename = "/tmp/tmpkgolbsn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"\0A\0A ERROR! BINARY has only 1 and 0!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bin2dec(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
store i64 %12, ptr %8, align 8
store i32 0, ptr %5, align 4
br label %13
13: ; preds = %46, %1
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = load i64, ptr %8, align 8
%17 = icmp ule i64 %15, %16
br i1 %17, label %18, label %49
18: ; preds = %13
store i32 1, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = sub nsw i32 %24, 48
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp sgt i32 %26, 1
br i1 %27, label %31, label %28
28: ; preds = %18
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %28, %18
%32 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %51
33: ; preds = %28
%34 = load i32, ptr %4, align 4
%35 = load i64, ptr %8, align 8
%36 = load i32, ptr %5, align 4
%37 = sext i32 %36 to i64
%38 = sub i64 %35, %37
%39 = trunc i64 %38 to i32
%40 = shl i32 %34, %39
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %6, align 4
%43 = load i32, ptr %4, align 4
%44 = mul nsw i32 %42, %43
%45 = add nsw i32 %41, %44
store i32 %45, ptr %7, align 4
br label %46
46: ; preds = %33
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %5, align 4
br label %13, !llvm.loop !6
49: ; preds = %13
%50 = load i32, ptr %7, align 4
store i32 %50, ptr %2, align 4
br label %51
51: ; preds = %49, %31
%52 = load i32, ptr %2, align 4
ret i32 %52
}
declare i32 @strlen(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkgolbsn6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"\0A\0A ERROR! BINARY has only 1 and 0!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bin2dec(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%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
%8 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
store i64 %12, ptr %8, align 8
store i32 0, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = load i64, ptr %8, align 8
%16 = icmp ule i64 %14, %15
br i1 %16, label %.lr.ph, label %52
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %45
store i32 1, ptr %4, align 4
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = sub nsw i32 %23, 48
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp sgt i32 %25, 1
br i1 %26, label %30, label %27
27: ; preds = %17
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27, %17
%31 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %54
32: ; preds = %27
%33 = load i32, ptr %4, align 4
%34 = load i64, ptr %8, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = sub i64 %34, %36
%38 = trunc i64 %37 to i32
%39 = shl i32 %33, %38
store i32 %39, ptr %4, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %4, align 4
%43 = mul nsw i32 %41, %42
%44 = add nsw i32 %40, %43
store i32 %44, ptr %7, align 4
br label %45
45: ; preds = %32
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = load i64, ptr %8, align 8
%51 = icmp ule i64 %49, %50
br i1 %51, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %52
52: ; preds = %._crit_edge, %1
%53 = load i32, ptr %7, align 4
store i32 %53, ptr %2, align 4
br label %54
54: ; preds = %52, %30
%55 = load i32, ptr %2, align 4
ret i32 %55
}
declare i32 @strlen(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdz07dgel.c'
source_filename = "/tmp/tmpdz07dgel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"stack_head\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fixA\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"PCP(P3F, %s);\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"P03\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__define_user_function_return() #0 {
%1 = call i32 (...) @pop_stackframe()
%2 = call i32 @pop_callstack(ptr noundef @.str)
%3 = call i32 @push_stack(ptr noundef @.str.1)
%4 = call i32 (...) @pop_labelstack()
%5 = call i32 @pA(ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @pop_stackframe(...) #1
declare i32 @pop_callstack(ptr noundef) #1
declare i32 @push_stack(ptr noundef) #1
declare i32 @pop_labelstack(...) #1
declare i32 @pA(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/tmpdz07dgel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"stack_head\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fixA\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"PCP(P3F, %s);\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"P03\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__define_user_function_return() #0 {
%1 = call i32 (...) @pop_stackframe()
%2 = call i32 @pop_callstack(ptr noundef @.str)
%3 = call i32 @push_stack(ptr noundef @.str.1)
%4 = call i32 (...) @pop_labelstack()
%5 = call i32 @pA(ptr noundef @.str.2, ptr noundef @.str.3)
ret void
}
declare i32 @pop_stackframe(...) #1
declare i32 @pop_callstack(ptr noundef) #1
declare i32 @push_stack(ptr noundef) #1
declare i32 @pop_labelstack(...) #1
declare i32 @pA(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/tmpb1mimm56.c'
source_filename = "/tmp/tmpb1mimm56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @test_if(i32 noundef 1)
%2 = call i32 @test_if(i32 noundef 2)
%3 = call i32 @test_if(i32 noundef 3)
%4 = call i32 @test_if(i32 noundef 4)
ret i32 0
}
declare i32 @test_if(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/tmpb1mimm56.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @test_if(i32 noundef 1)
%2 = call i32 @test_if(i32 noundef 2)
%3 = call i32 @test_if(i32 noundef 3)
%4 = call i32 @test_if(i32 noundef 4)
ret i32 0
}
declare i32 @test_if(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/tmpm3ffuhu7.c'
source_filename = "/tmp/tmpm3ffuhu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-c\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Usage: sh [-c command]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @check_timing()
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %9, %2
%13 = call i32 (...) @interactive()
br label %31
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 3
br i1 %16, label %17, label %28
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str)
%22 = icmp ne i32 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @docommand(ptr noundef %26)
store i32 %27, ptr %3, align 4
br label %32
28: ; preds = %17, %14
%29 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1)
br label %30
30: ; preds = %28
br label %31
31: ; preds = %30, %12
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %23
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @check_timing(...) #1
declare i32 @interactive(...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @docommand(ptr noundef) #1
declare i32 @errx(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/tmpm3ffuhu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-c\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Usage: sh [-c command]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @check_timing()
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %9, %2
%13 = call i32 (...) @interactive()
br label %31
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 3
br i1 %16, label %17, label %28
17: ; preds = %14
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str)
%22 = icmp ne i32 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %17
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @docommand(ptr noundef %26)
store i32 %27, ptr %3, align 4
br label %32
28: ; preds = %17, %14
%29 = call i32 @errx(i32 noundef 1, ptr noundef @.str.1)
br label %30
30: ; preds = %28
br label %31
31: ; preds = %30, %12
store i32 0, ptr %3, align 4
br label %32
32: ; preds = %31, %23
%33 = load i32, ptr %3, align 4
ret i32 %33
}
declare i32 @check_timing(...) #1
declare i32 @interactive(...) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @docommand(ptr noundef) #1
declare i32 @errx(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/tmpsfq3xrpa.c'
source_filename = "/tmp/tmpsfq3xrpa.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c" - type: \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"unused\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"ntfs\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"linux-swap\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"linux\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"extended-doc\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"extended-windows\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_partition_type(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr %2, align 4
switch i32 %5, label %24 [
i32 0, label %6
i32 7, label %9
i32 130, label %12
i32 131, label %15
i32 5, label %18
i32 15, label %21
]
6: ; preds = %1
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.1)
br label %27
9: ; preds = %1
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2)
br label %27
12: ; preds = %1
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.3)
br label %27
15: ; preds = %1
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.4)
br label %27
18: ; preds = %1
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.5)
br label %27
21: ; preds = %1
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.6)
br label %27
24: ; preds = %1
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.7)
br label %27
27: ; preds = %24, %21, %18, %15, %12, %9, %6
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsfq3xrpa.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c" - type: \00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"unused\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"ntfs\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"linux-swap\0A\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"linux\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"extended-doc\0A\00", align 1
@.str.6 = private unnamed_addr constant [18 x i8] c"extended-windows\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"unknown\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_partition_type(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str)
%5 = load i32, ptr %2, align 4
switch i32 %5, label %24 [
i32 0, label %6
i32 7, label %9
i32 130, label %12
i32 131, label %15
i32 5, label %18
i32 15, label %21
]
6: ; preds = %1
%7 = load i32, ptr @stdout, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.1)
br label %27
9: ; preds = %1
%10 = load i32, ptr @stdout, align 4
%11 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str.2)
br label %27
12: ; preds = %1
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.3)
br label %27
15: ; preds = %1
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.4)
br label %27
18: ; preds = %1
%19 = load i32, ptr @stdout, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.5)
br label %27
21: ; preds = %1
%22 = load i32, ptr @stdout, align 4
%23 = call i32 @fprintf(i32 noundef %22, ptr noundef @.str.6)
br label %27
24: ; preds = %1
%25 = load i32, ptr @stdout, align 4
%26 = call i32 @fprintf(i32 noundef %25, ptr noundef @.str.7)
br label %27
27: ; preds = %24, %21, %18, %15, %12, %9, %6
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpguodgqpk.c'
source_filename = "/tmp/tmpguodgqpk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Usage: %s /name_of_shm\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"[shmread] shm_open failed\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"[shmread] fstat failed\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [22 x i8] c"[shmread] mmap failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca %struct.stat, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 2
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %22)
store i32 1, ptr %3, align 4
br label %124
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr @O_RDONLY, align 4
%29 = call i32 @shm_open(ptr noundef %27, i32 noundef %28, i32 noundef 420)
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %24
%33 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %124
34: ; preds = %24
%35 = load i32, ptr %12, align 4
%36 = call i64 @fstat(i32 noundef %35, ptr noundef %13)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %34
%39 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %124
40: ; preds = %34
%41 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0
%42 = load i64, ptr %41, align 8
store i64 %42, ptr %10, align 8
%43 = load i64, ptr %10, align 8
%44 = sub i64 %43, 8
store i64 %44, ptr %11, align 8
%45 = load i64, ptr %10, align 8
%46 = load i32, ptr @PROT_READ, align 4
%47 = load i32, ptr @MAP_SHARED, align 4
%48 = load i32, ptr %12, align 4
%49 = call ptr @mmap(i32 noundef 0, i64 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef 0)
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr @MAP_FAILED, align 8
%52 = icmp eq ptr %50, %51
br i1 %52, label %53, label %55
53: ; preds = %40
%54 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %124
55: ; preds = %40
%56 = load ptr, ptr %6, align 8
%57 = load i64, ptr %11, align 8
%58 = getelementptr i8, ptr %56, i64 %57
store ptr %58, ptr %9, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i64, ptr %59, align 8
store i64 %60, ptr %8, align 8
%61 = load i64, ptr %8, align 8
%62 = load i64, ptr %11, align 8
%63 = icmp ult i64 %61, %62
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 noundef %64)
br label %66
66: ; preds = %123, %55
%67 = load ptr, ptr %9, align 8
%68 = load i64, ptr %67, align 8
store i64 %68, ptr %7, align 8
%69 = load i64, ptr %7, align 8
%70 = load i64, ptr %11, align 8
%71 = icmp ult i64 %69, %70
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 noundef %72)
%74 = load i64, ptr %7, align 8
%75 = load i64, ptr %8, align 8
%76 = icmp ugt i64 %74, %75
br i1 %76, label %77, label %94
77: ; preds = %66
%78 = load i64, ptr %7, align 8
%79 = load i64, ptr %8, align 8
%80 = sub i64 %78, %79
store i64 %80, ptr %14, align 8
%81 = load ptr, ptr %6, align 8
%82 = load i64, ptr %8, align 8
%83 = getelementptr i8, ptr %81, i64 %82
%84 = load i64, ptr %14, align 8
%85 = call i64 @write(i32 noundef 1, ptr noundef %83, i64 noundef %84)
store i64 %85, ptr %15, align 8
%86 = load i64, ptr %15, align 8
%87 = load i64, ptr %8, align 8
%88 = add i64 %87, %86
store i64 %88, ptr %8, align 8
%89 = load i64, ptr %8, align 8
%90 = load i64, ptr %11, align 8
%91 = icmp ule i64 %89, %90
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
br label %123
94: ; preds = %66
%95 = load i64, ptr %7, align 8
%96 = load i64, ptr %8, align 8
%97 = icmp ult i64 %95, %96
br i1 %97, label %98, label %120
98: ; preds = %94
%99 = load i64, ptr %11, align 8
%100 = load i64, ptr %8, align 8
%101 = sub i64 %99, %100
store i64 %101, ptr %14, align 8
%102 = load ptr, ptr %6, align 8
%103 = load i64, ptr %8, align 8
%104 = getelementptr i8, ptr %102, i64 %103
%105 = load i64, ptr %14, align 8
%106 = call i64 @write(i32 noundef 1, ptr noundef %104, i64 noundef %105)
store i64 %106, ptr %15, align 8
%107 = load i64, ptr %15, align 8
%108 = load i64, ptr %8, align 8
%109 = add i64 %108, %107
store i64 %109, ptr %8, align 8
%110 = load i64, ptr %8, align 8
%111 = load i64, ptr %11, align 8
%112 = icmp eq i64 %110, %111
br i1 %112, label %113, label %114
113: ; preds = %98
store i64 0, ptr %8, align 8
br label %114
114: ; preds = %113, %98
%115 = load i64, ptr %8, align 8
%116 = load i64, ptr %11, align 8
%117 = icmp ule i64 %115, %116
%118 = zext i1 %117 to i32
%119 = call i32 @assert(i32 noundef %118)
br label %122
120: ; preds = %94
%121 = call i32 @usleep(i32 noundef 50000)
br label %122
122: ; preds = %120, %114
br label %123
123: ; preds = %122, %77
br label %66
124: ; preds = %53, %38, %32, %18
%125 = load i32, ptr %3, align 4
ret i32 %125
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @usleep(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/tmpguodgqpk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Usage: %s /name_of_shm\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [26 x i8] c"[shmread] shm_open failed\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"[shmread] fstat failed\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [22 x i8] c"[shmread] mmap failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
%13 = alloca %struct.stat, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 2
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load i32, ptr @stderr, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str, ptr noundef %22)
store i32 1, ptr %3, align 4
br label %124
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr @O_RDONLY, align 4
%29 = call i32 @shm_open(ptr noundef %27, i32 noundef %28, i32 noundef 420)
store i32 %29, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %24
%33 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %124
34: ; preds = %24
%35 = load i32, ptr %12, align 4
%36 = call i64 @fstat(i32 noundef %35, ptr noundef %13)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %34
%39 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %124
40: ; preds = %34
%41 = getelementptr inbounds %struct.stat, ptr %13, i32 0, i32 0
%42 = load i64, ptr %41, align 8
store i64 %42, ptr %10, align 8
%43 = load i64, ptr %10, align 8
%44 = sub i64 %43, 8
store i64 %44, ptr %11, align 8
%45 = load i64, ptr %10, align 8
%46 = load i32, ptr @PROT_READ, align 4
%47 = load i32, ptr @MAP_SHARED, align 4
%48 = load i32, ptr %12, align 4
%49 = call ptr @mmap(i32 noundef 0, i64 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef %48, i32 noundef 0)
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr @MAP_FAILED, align 8
%52 = icmp eq ptr %50, %51
br i1 %52, label %53, label %55
53: ; preds = %40
%54 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %3, align 4
br label %124
55: ; preds = %40
%56 = load ptr, ptr %6, align 8
%57 = load i64, ptr %11, align 8
%58 = getelementptr i8, ptr %56, i64 %57
store ptr %58, ptr %9, align 8
%59 = load ptr, ptr %9, align 8
%60 = load i64, ptr %59, align 8
store i64 %60, ptr %8, align 8
%61 = load i64, ptr %8, align 8
%62 = load i64, ptr %11, align 8
%63 = icmp ult i64 %61, %62
%64 = zext i1 %63 to i32
%65 = call i32 @assert(i32 noundef %64)
br label %66
66: ; preds = %123, %55
%67 = load ptr, ptr %9, align 8
%68 = load i64, ptr %67, align 8
store i64 %68, ptr %7, align 8
%69 = load i64, ptr %7, align 8
%70 = load i64, ptr %11, align 8
%71 = icmp ult i64 %69, %70
%72 = zext i1 %71 to i32
%73 = call i32 @assert(i32 noundef %72)
%74 = load i64, ptr %7, align 8
%75 = load i64, ptr %8, align 8
%76 = icmp ugt i64 %74, %75
br i1 %76, label %77, label %94
77: ; preds = %66
%78 = load i64, ptr %7, align 8
%79 = load i64, ptr %8, align 8
%80 = sub i64 %78, %79
store i64 %80, ptr %14, align 8
%81 = load ptr, ptr %6, align 8
%82 = load i64, ptr %8, align 8
%83 = getelementptr i8, ptr %81, i64 %82
%84 = load i64, ptr %14, align 8
%85 = call i64 @write(i32 noundef 1, ptr noundef %83, i64 noundef %84)
store i64 %85, ptr %15, align 8
%86 = load i64, ptr %15, align 8
%87 = load i64, ptr %8, align 8
%88 = add i64 %87, %86
store i64 %88, ptr %8, align 8
%89 = load i64, ptr %8, align 8
%90 = load i64, ptr %11, align 8
%91 = icmp ule i64 %89, %90
%92 = zext i1 %91 to i32
%93 = call i32 @assert(i32 noundef %92)
br label %123
94: ; preds = %66
%95 = load i64, ptr %7, align 8
%96 = load i64, ptr %8, align 8
%97 = icmp ult i64 %95, %96
br i1 %97, label %98, label %120
98: ; preds = %94
%99 = load i64, ptr %11, align 8
%100 = load i64, ptr %8, align 8
%101 = sub i64 %99, %100
store i64 %101, ptr %14, align 8
%102 = load ptr, ptr %6, align 8
%103 = load i64, ptr %8, align 8
%104 = getelementptr i8, ptr %102, i64 %103
%105 = load i64, ptr %14, align 8
%106 = call i64 @write(i32 noundef 1, ptr noundef %104, i64 noundef %105)
store i64 %106, ptr %15, align 8
%107 = load i64, ptr %15, align 8
%108 = load i64, ptr %8, align 8
%109 = add i64 %108, %107
store i64 %109, ptr %8, align 8
%110 = load i64, ptr %8, align 8
%111 = load i64, ptr %11, align 8
%112 = icmp eq i64 %110, %111
br i1 %112, label %113, label %114
113: ; preds = %98
store i64 0, ptr %8, align 8
br label %114
114: ; preds = %113, %98
%115 = load i64, ptr %8, align 8
%116 = load i64, ptr %11, align 8
%117 = icmp ule i64 %115, %116
%118 = zext i1 %117 to i32
%119 = call i32 @assert(i32 noundef %118)
br label %122
120: ; preds = %94
%121 = call i32 @usleep(i32 noundef 50000)
br label %122
122: ; preds = %120, %114
br label %123
123: ; preds = %122, %77
br label %66
124: ; preds = %53, %38, %32, %18
%125 = load i32, ptr %3, align 4
ret i32 %125
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @usleep(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/tmpb5rrd07y.c'
source_filename = "/tmp/tmpb5rrd07y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %10, %0
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %10, label %15
10: ; preds = %6
%11 = load i64, ptr %2, align 8
%12 = call i32 @phi(i64 noundef %11)
%13 = sdiv i32 %12, 2
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
br label %6, !llvm.loop !6
15: ; preds = %6
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @phi(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/tmpb5rrd07y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr %5, align 8
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i64, ptr %2, align 8
%11 = call i32 @phi(i64 noundef %10)
%12 = sdiv i32 %11, 2
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = call i64 @scanf(ptr noundef @.str, ptr noundef %2)
%15 = load i64, ptr @EOF, align 8
%16 = icmp ne i64 %14, %15
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @phi(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/tmpnj_12l9w.c'
source_filename = "/tmp/tmpnj_12l9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [86 x i8] c"A PoC to bruteforce the Cryptsetup implementation of Linux Unified Key Setup (LUKS).\0A\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"See http://crypt.coffee/research/luks.html for more information.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Usage: skul [-h] [-v] <filename>\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c" -h\09display this help text and exit\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c" -v\09display version information and exit\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"Filename:\0A\00", align 1
@.str.7 = private unnamed_addr constant [66 x i8] c" The name of the file containing the LUKS encrypted partition.\0A\00", align 1
@.str.8 = private unnamed_addr constant [75 x i8] c" For testing purposes Skul comes with an example cryptsetup's encrypted\0A\00", align 1
@.str.9 = private unnamed_addr constant [48 x i8] c" partition header in the `disks/` directory.\0A\00", align 1
@.str.10 = private unnamed_addr constant [83 x i8] c" To test your own disk you first need to dump the LUKS header of the partition:\0A\00", align 1
@.str.11 = private unnamed_addr constant [56 x i8] c" # dd if=/dev/sdX of=./my_dump bs=1024 count=3072\0A\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c" # chown myusr:myusr ./my_dump\0A\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c" Then you can run:\0A\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c" $ skul ./my_dump\0A\0A\00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"Configuring Skul:\0A\00", align 1
@.str.16 = private unnamed_addr constant [76 x i8] c" You can configure Skul through it's configuration file `conf/skul.cfg`\0A\0A\00", align 1
@.str.17 = private unnamed_addr constant [31 x i8] c"** For BlackArch Linux users:\0A\00", align 1
@.str.18 = private unnamed_addr constant [58 x i8] c" You can find the Skul directory at `/usr/share/skul`\0A\0A\00", align 1
@.str.19 = private unnamed_addr constant [33 x i8] c"Report bugs to sha@crypt.coffee\0A\00", align 1
@.str.20 = private unnamed_addr constant [65 x i8] c"Cryptcoffee Skul home page: https://github.com/cryptcoffee/skul\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 (...) @print_version()
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
%18 = call i32 @printf(ptr noundef @.str.16)
%19 = call i32 @printf(ptr noundef @.str.17)
%20 = call i32 @printf(ptr noundef @.str.18)
%21 = call i32 @printf(ptr noundef @.str.19)
%22 = call i32 @printf(ptr noundef @.str.20)
ret void
}
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnj_12l9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [86 x i8] c"A PoC to bruteforce the Cryptsetup implementation of Linux Unified Key Setup (LUKS).\0A\00", align 1
@.str.1 = private unnamed_addr constant [67 x i8] c"See http://crypt.coffee/research/luks.html for more information.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Usage: skul [-h] [-v] <filename>\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.4 = private unnamed_addr constant [39 x i8] c" -h\09display this help text and exit\0A\00", align 1
@.str.5 = private unnamed_addr constant [45 x i8] c" -v\09display version information and exit\0A\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"Filename:\0A\00", align 1
@.str.7 = private unnamed_addr constant [66 x i8] c" The name of the file containing the LUKS encrypted partition.\0A\00", align 1
@.str.8 = private unnamed_addr constant [75 x i8] c" For testing purposes Skul comes with an example cryptsetup's encrypted\0A\00", align 1
@.str.9 = private unnamed_addr constant [48 x i8] c" partition header in the `disks/` directory.\0A\00", align 1
@.str.10 = private unnamed_addr constant [83 x i8] c" To test your own disk you first need to dump the LUKS header of the partition:\0A\00", align 1
@.str.11 = private unnamed_addr constant [56 x i8] c" # dd if=/dev/sdX of=./my_dump bs=1024 count=3072\0A\00", align 1
@.str.12 = private unnamed_addr constant [37 x i8] c" # chown myusr:myusr ./my_dump\0A\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c" Then you can run:\0A\00", align 1
@.str.14 = private unnamed_addr constant [25 x i8] c" $ skul ./my_dump\0A\0A\00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"Configuring Skul:\0A\00", align 1
@.str.16 = private unnamed_addr constant [76 x i8] c" You can configure Skul through it's configuration file `conf/skul.cfg`\0A\0A\00", align 1
@.str.17 = private unnamed_addr constant [31 x i8] c"** For BlackArch Linux users:\0A\00", align 1
@.str.18 = private unnamed_addr constant [58 x i8] c" You can find the Skul directory at `/usr/share/skul`\0A\0A\00", align 1
@.str.19 = private unnamed_addr constant [33 x i8] c"Report bugs to sha@crypt.coffee\0A\00", align 1
@.str.20 = private unnamed_addr constant [65 x i8] c"Cryptcoffee Skul home page: https://github.com/cryptcoffee/skul\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help() #0 {
%1 = call i32 (...) @print_version()
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.12)
%15 = call i32 @printf(ptr noundef @.str.13)
%16 = call i32 @printf(ptr noundef @.str.14)
%17 = call i32 @printf(ptr noundef @.str.15)
%18 = call i32 @printf(ptr noundef @.str.16)
%19 = call i32 @printf(ptr noundef @.str.17)
%20 = call i32 @printf(ptr noundef @.str.18)
%21 = call i32 @printf(ptr noundef @.str.19)
%22 = call i32 @printf(ptr noundef @.str.20)
ret void
}
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpei7ery0y.c'
source_filename = "/tmp/tmpei7ery0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c".torrent\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_torrent_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %1
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strstr(ptr noundef %8, ptr noundef %9)
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %27
12: ; preds = %7
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strstr(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %3, align 8
%18 = call i64 @strcmp(ptr noundef %16, ptr noundef %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %12
store i32 1, ptr %5, align 4
br label %27
21: ; preds = %12
%22 = load ptr, ptr %3, align 8
%23 = call i32 @strlen(ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %24, i64 %25
store ptr %26, ptr %4, align 8
br label %7, !llvm.loop !6
27: ; preds = %20, %7
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpei7ery0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c".torrent\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_torrent_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strstr(ptr noundef %7, ptr noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %20
%12 = load ptr, ptr %4, align 8
%13 = load ptr, ptr %3, align 8
%14 = call ptr @strstr(ptr noundef %12, ptr noundef %13)
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = call i64 @strcmp(ptr noundef %15, ptr noundef %16)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %11
store i32 1, ptr %5, align 4
br label %30
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr %4, align 8
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %3, align 8
%28 = call ptr @strstr(ptr noundef %26, ptr noundef %27)
%29 = icmp ne ptr %28, null
br i1 %29, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %30
30: ; preds = %.loopexit, %19
%31 = load i32, ptr %5, align 4
ret i32 %31
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxznffsux.c'
source_filename = "/tmp/tmpxznffsux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat3_mul_vec(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [3 x double], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds [3 x double], ptr %8, i64 0
%10 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds double, ptr %12, i64 0
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds [3 x double], ptr %15, i64 0
%17 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds double, ptr %19, i64 1
%21 = load double, ptr %20, align 8
%22 = fmul double %18, %21
%23 = call double @llvm.fmuladd.f64(double %11, double %14, double %22)
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds [3 x double], ptr %24, i64 0
%26 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load double, ptr %29, align 8
%31 = call double @llvm.fmuladd.f64(double %27, double %30, double %23)
%32 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
store double %31, ptr %32, align 16
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds [3 x double], ptr %33, i64 1
%35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds double, ptr %37, i64 0
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds [3 x double], ptr %40, i64 1
%42 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds double, ptr %44, i64 1
%46 = load double, ptr %45, align 8
%47 = fmul double %43, %46
%48 = call double @llvm.fmuladd.f64(double %36, double %39, double %47)
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds [3 x double], ptr %49, i64 1
%51 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 2
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds double, ptr %53, i64 2
%55 = load double, ptr %54, align 8
%56 = call double @llvm.fmuladd.f64(double %52, double %55, double %48)
%57 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 1
store double %56, ptr %57, align 8
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds [3 x double], ptr %58, i64 2
%60 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 0
%61 = load double, ptr %60, align 8
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds double, ptr %62, i64 0
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds [3 x double], ptr %65, i64 2
%67 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1
%68 = load double, ptr %67, align 8
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds double, ptr %69, i64 1
%71 = load double, ptr %70, align 8
%72 = fmul double %68, %71
%73 = call double @llvm.fmuladd.f64(double %61, double %64, double %72)
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds [3 x double], ptr %74, i64 2
%76 = getelementptr inbounds [3 x double], ptr %75, i64 0, i64 2
%77 = load double, ptr %76, align 8
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds double, ptr %78, i64 2
%80 = load double, ptr %79, align 8
%81 = call double @llvm.fmuladd.f64(double %77, double %80, double %73)
%82 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 2
store double %81, ptr %82, align 16
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%85 = call i32 @memcpy(ptr noundef %83, ptr noundef %84, i32 noundef 24)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmpxznffsux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mat3_mul_vec(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [3 x double], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds [3 x double], ptr %8, i64 0
%10 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds double, ptr %12, i64 0
%14 = load double, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds [3 x double], ptr %15, i64 0
%17 = getelementptr inbounds [3 x double], ptr %16, i64 0, i64 1
%18 = load double, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds double, ptr %19, i64 1
%21 = load double, ptr %20, align 8
%22 = fmul double %18, %21
%23 = call double @llvm.fmuladd.f64(double %11, double %14, double %22)
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds [3 x double], ptr %24, i64 0
%26 = getelementptr inbounds [3 x double], ptr %25, i64 0, i64 2
%27 = load double, ptr %26, align 8
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 2
%30 = load double, ptr %29, align 8
%31 = call double @llvm.fmuladd.f64(double %27, double %30, double %23)
%32 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
store double %31, ptr %32, align 16
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds [3 x double], ptr %33, i64 1
%35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds double, ptr %37, i64 0
%39 = load double, ptr %38, align 8
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds [3 x double], ptr %40, i64 1
%42 = getelementptr inbounds [3 x double], ptr %41, i64 0, i64 1
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %6, align 8
%45 = getelementptr inbounds double, ptr %44, i64 1
%46 = load double, ptr %45, align 8
%47 = fmul double %43, %46
%48 = call double @llvm.fmuladd.f64(double %36, double %39, double %47)
%49 = load ptr, ptr %5, align 8
%50 = getelementptr inbounds [3 x double], ptr %49, i64 1
%51 = getelementptr inbounds [3 x double], ptr %50, i64 0, i64 2
%52 = load double, ptr %51, align 8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds double, ptr %53, i64 2
%55 = load double, ptr %54, align 8
%56 = call double @llvm.fmuladd.f64(double %52, double %55, double %48)
%57 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 1
store double %56, ptr %57, align 8
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds [3 x double], ptr %58, i64 2
%60 = getelementptr inbounds [3 x double], ptr %59, i64 0, i64 0
%61 = load double, ptr %60, align 8
%62 = load ptr, ptr %6, align 8
%63 = getelementptr inbounds double, ptr %62, i64 0
%64 = load double, ptr %63, align 8
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds [3 x double], ptr %65, i64 2
%67 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1
%68 = load double, ptr %67, align 8
%69 = load ptr, ptr %6, align 8
%70 = getelementptr inbounds double, ptr %69, i64 1
%71 = load double, ptr %70, align 8
%72 = fmul double %68, %71
%73 = call double @llvm.fmuladd.f64(double %61, double %64, double %72)
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds [3 x double], ptr %74, i64 2
%76 = getelementptr inbounds [3 x double], ptr %75, i64 0, i64 2
%77 = load double, ptr %76, align 8
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds double, ptr %78, i64 2
%80 = load double, ptr %79, align 8
%81 = call double @llvm.fmuladd.f64(double %77, double %80, double %73)
%82 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 2
store double %81, ptr %82, align 16
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds [3 x double], ptr %7, i64 0, i64 0
%85 = call i32 @memcpy(ptr noundef %83, ptr noundef %84, i32 noundef 24)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmpmslgu611.c'
source_filename = "/tmp/tmpmslgu611.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"f2 received: %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
ret i32 %10
}
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/tmpmslgu611.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"f2 received: %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @f2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %8, %9
ret i32 %10
}
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/tmpcx4m99z5.c'
source_filename = "/tmp/tmpcx4m99z5.c"
target datalayout = "e-m:e-p270: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/tmpcx4m99z5.c"
target datalayout = "e-m:e-p270: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/tmpwpzdngyr.c'
source_filename = "/tmp/tmpwpzdngyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linsys(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 float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %15, align 8
store i32 0, ptr %14, align 4
br label %22
22: ; preds = %253, %3
%23 = load i32, ptr %14, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %256
26: ; preds = %22
%27 = load i32, ptr %14, align 4
%28 = load ptr, ptr %15, align 8
%29 = load i32, ptr %14, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %14, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %14, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = call float @fabs(float noundef %40)
store float %41, ptr %8, align 4
%42 = load i32, ptr %14, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %12, align 4
br label %44
44: ; preds = %70, %26
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %73
48: ; preds = %44
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %12, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %53, i64 %55
%57 = load float, ptr %56, align 4
%58 = call float @fabs(float noundef %57)
store float %58, ptr %7, align 4
%59 = load float, ptr %7, align 4
%60 = load float, ptr %8, align 4
%61 = fcmp ogt float %59, %60
br i1 %61, label %62, label %69
62: ; preds = %48
%63 = load i32, ptr %12, align 4
%64 = load ptr, ptr %15, align 8
%65 = load i32, ptr %14, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
store i32 %63, ptr %67, align 4
%68 = load float, ptr %7, align 4
store float %68, ptr %8, align 4
br label %69
69: ; preds = %62, %48
br label %70
70: ; preds = %69
%71 = load i32, ptr %12, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %12, align 4
br label %44, !llvm.loop !6
73: ; preds = %44
%74 = load float, ptr %8, align 4
%75 = fpext float %74 to double
%76 = fcmp oeq double %75, 0.000000e+00
br i1 %76, label %77, label %78
77: ; preds = %73
br label %330
78: ; preds = %73
%79 = load ptr, ptr %15, align 8
%80 = load i32, ptr %14, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load i32, ptr %14, align 4
%85 = icmp ne i32 %83, %84
br i1 %85, label %86, label %156
86: ; preds = %78
%87 = load ptr, ptr %15, align 8
%88 = load i32, ptr %14, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
%91 = load i32, ptr %90, align 4
store i32 %91, ptr %12, align 4
%92 = load ptr, ptr %5, align 8
%93 = load i32, ptr %14, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds float, ptr %92, i64 %94
%96 = load float, ptr %95, align 4
store float %96, ptr %9, align 4
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %12, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds float, ptr %97, i64 %99
%101 = load float, ptr %100, align 4
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %14, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %102, i64 %104
store float %101, ptr %105, align 4
%106 = load float, ptr %9, align 4
%107 = load ptr, ptr %5, align 8
%108 = load i32, ptr %12, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds float, ptr %107, i64 %109
store float %106, ptr %110, align 4
%111 = load i32, ptr %14, align 4
store i32 %111, ptr %13, align 4
br label %112
112: ; preds = %152, %86
%113 = load i32, ptr %13, align 4
%114 = load i32, ptr %6, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %116, label %155
116: ; preds = %112
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %14, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds ptr, ptr %117, i64 %119
%121 = load ptr, ptr %120, align 8
%122 = load i32, ptr %13, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %121, i64 %123
%125 = load float, ptr %124, align 4
store float %125, ptr %9, align 4
%126 = load ptr, ptr %4, align 8
%127 = load i32, ptr %12, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds ptr, ptr %126, i64 %128
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %13, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %130, i64 %132
%134 = load float, ptr %133, align 4
%135 = load ptr, ptr %4, align 8
%136 = load i32, ptr %14, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %135, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = load i32, ptr %13, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds float, ptr %139, i64 %141
store float %134, ptr %142, align 4
%143 = load float, ptr %9, align 4
%144 = load ptr, ptr %4, align 8
%145 = load i32, ptr %12, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds ptr, ptr %144, i64 %146
%148 = load ptr, ptr %147, align 8
%149 = load i32, ptr %13, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds float, ptr %148, i64 %150
store float %143, ptr %151, align 4
br label %152
152: ; preds = %116
%153 = load i32, ptr %13, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %13, align 4
br label %112, !llvm.loop !8
155: ; preds = %112
br label %156
156: ; preds = %155, %78
%157 = load i32, ptr %14, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %12, align 4
br label %159
159: ; preds = %249, %156
%160 = load i32, ptr %12, align 4
%161 = load i32, ptr %6, align 4
%162 = icmp slt i32 %160, %161
br i1 %162, label %163, label %252
163: ; preds = %159
%164 = load ptr, ptr %4, align 8
%165 = load i32, ptr %12, align 4
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds ptr, ptr %164, i64 %166
%168 = load ptr, ptr %167, align 8
%169 = load i32, ptr %14, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds float, ptr %168, i64 %170
%172 = load float, ptr %171, align 4
%173 = load ptr, ptr %4, align 8
%174 = load i32, ptr %14, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds ptr, ptr %173, i64 %175
%177 = load ptr, ptr %176, align 8
%178 = load i32, ptr %14, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds float, ptr %177, i64 %179
%181 = load float, ptr %180, align 4
%182 = fdiv float %172, %181
store float %182, ptr %10, align 4
%183 = load float, ptr %10, align 4
%184 = load ptr, ptr %4, align 8
%185 = load i32, ptr %12, align 4
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds ptr, ptr %184, i64 %186
%188 = load ptr, ptr %187, align 8
%189 = load i32, ptr %14, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds float, ptr %188, i64 %190
store float %183, ptr %191, align 4
%192 = load ptr, ptr %5, align 8
%193 = load i32, ptr %12, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds float, ptr %192, i64 %194
%196 = load float, ptr %195, align 4
%197 = load float, ptr %10, align 4
%198 = load ptr, ptr %5, align 8
%199 = load i32, ptr %14, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds float, ptr %198, i64 %200
%202 = load float, ptr %201, align 4
%203 = fneg float %197
%204 = call float @llvm.fmuladd.f32(float %203, float %202, float %196)
%205 = load ptr, ptr %5, align 8
%206 = load i32, ptr %12, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds float, ptr %205, i64 %207
store float %204, ptr %208, align 4
%209 = load i32, ptr %14, align 4
%210 = add nsw i32 %209, 1
store i32 %210, ptr %13, align 4
br label %211
211: ; preds = %245, %163
%212 = load i32, ptr %13, align 4
%213 = load i32, ptr %6, align 4
%214 = icmp slt i32 %212, %213
br i1 %214, label %215, label %248
215: ; preds = %211
%216 = load ptr, ptr %4, align 8
%217 = load i32, ptr %12, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds ptr, ptr %216, i64 %218
%220 = load ptr, ptr %219, align 8
%221 = load i32, ptr %13, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds float, ptr %220, i64 %222
%224 = load float, ptr %223, align 4
%225 = load float, ptr %10, align 4
%226 = load ptr, ptr %4, align 8
%227 = load i32, ptr %14, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds ptr, ptr %226, i64 %228
%230 = load ptr, ptr %229, align 8
%231 = load i32, ptr %13, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds float, ptr %230, i64 %232
%234 = load float, ptr %233, align 4
%235 = fneg float %225
%236 = call float @llvm.fmuladd.f32(float %235, float %234, float %224)
%237 = load ptr, ptr %4, align 8
%238 = load i32, ptr %12, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds ptr, ptr %237, i64 %239
%241 = load ptr, ptr %240, align 8
%242 = load i32, ptr %13, align 4
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds float, ptr %241, i64 %243
store float %236, ptr %244, align 4
br label %245
245: ; preds = %215
%246 = load i32, ptr %13, align 4
%247 = add nsw i32 %246, 1
store i32 %247, ptr %13, align 4
br label %211, !llvm.loop !9
248: ; preds = %211
br label %249
249: ; preds = %248
%250 = load i32, ptr %12, align 4
%251 = add nsw i32 %250, 1
store i32 %251, ptr %12, align 4
br label %159, !llvm.loop !10
252: ; preds = %159
br label %253
253: ; preds = %252
%254 = load i32, ptr %14, align 4
%255 = add nsw i32 %254, 1
store i32 %255, ptr %14, align 4
br label %22, !llvm.loop !11
256: ; preds = %22
%257 = load ptr, ptr %4, align 8
%258 = load i32, ptr %6, align 4
%259 = sub nsw i32 %258, 1
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds ptr, ptr %257, i64 %260
%262 = load ptr, ptr %261, align 8
%263 = load i32, ptr %6, align 4
%264 = sub nsw i32 %263, 1
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds float, ptr %262, i64 %265
%267 = load float, ptr %266, align 4
%268 = fpext float %267 to double
%269 = fcmp oeq double %268, 0.000000e+00
br i1 %269, label %270, label %271
270: ; preds = %256
br label %330
271: ; preds = %256
%272 = load i32, ptr %6, align 4
%273 = sub nsw i32 %272, 1
store i32 %273, ptr %12, align 4
br label %274
274: ; preds = %326, %271
%275 = load i32, ptr %12, align 4
%276 = icmp sge i32 %275, 0
br i1 %276, label %277, label %329
277: ; preds = %274
store float 0.000000e+00, ptr %11, align 4
%278 = load i32, ptr %12, align 4
%279 = add nsw i32 %278, 1
store i32 %279, ptr %13, align 4
br label %280
280: ; preds = %301, %277
%281 = load i32, ptr %13, align 4
%282 = load i32, ptr %6, align 4
%283 = icmp slt i32 %281, %282
br i1 %283, label %284, label %304
284: ; preds = %280
%285 = load float, ptr %11, align 4
%286 = load ptr, ptr %4, align 8
%287 = load i32, ptr %12, align 4
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds ptr, ptr %286, i64 %288
%290 = load ptr, ptr %289, align 8
%291 = load i32, ptr %13, align 4
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds float, ptr %290, i64 %292
%294 = load float, ptr %293, align 4
%295 = load ptr, ptr %5, align 8
%296 = load i32, ptr %13, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds float, ptr %295, i64 %297
%299 = load float, ptr %298, align 4
%300 = call float @llvm.fmuladd.f32(float %294, float %299, float %285)
store float %300, ptr %11, align 4
br label %301
301: ; preds = %284
%302 = load i32, ptr %13, align 4
%303 = add nsw i32 %302, 1
store i32 %303, ptr %13, align 4
br label %280, !llvm.loop !12
304: ; preds = %280
%305 = load ptr, ptr %5, align 8
%306 = load i32, ptr %12, align 4
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds float, ptr %305, i64 %307
%309 = load float, ptr %308, align 4
%310 = load float, ptr %11, align 4
%311 = fsub float %309, %310
%312 = load ptr, ptr %4, align 8
%313 = load i32, ptr %12, align 4
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds ptr, ptr %312, i64 %314
%316 = load ptr, ptr %315, align 8
%317 = load i32, ptr %12, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds float, ptr %316, i64 %318
%320 = load float, ptr %319, align 4
%321 = fdiv float %311, %320
%322 = load ptr, ptr %5, align 8
%323 = load i32, ptr %12, align 4
%324 = sext i32 %323 to i64
%325 = getelementptr inbounds float, ptr %322, i64 %324
store float %321, ptr %325, align 4
br label %326
326: ; preds = %304
%327 = load i32, ptr %12, align 4
%328 = add nsw i32 %327, -1
store i32 %328, ptr %12, align 4
br label %274, !llvm.loop !13
329: ; preds = %274
br label %330
330: ; preds = %329, %270, %77
ret i32 1
}
declare i64 @malloc(i32 noundef) #1
declare float @fabs(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwpzdngyr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @linsys(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 float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %15, align 8
store i32 0, ptr %14, align 4
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph11, label %266
.lr.ph11: ; preds = %3
br label %25
25: ; preds = %.lr.ph11, %260
%26 = load i32, ptr %14, align 4
%27 = load ptr, ptr %15, align 8
%28 = load i32, ptr %14, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %14, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = load i32, ptr %14, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %35, i64 %37
%39 = load float, ptr %38, align 4
%40 = call float @fabs(float noundef %39)
store float %40, ptr %8, align 4
%41 = load i32, ptr %14, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
%43 = load i32, ptr %12, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph, label %74
.lr.ph: ; preds = %25
br label %46
46: ; preds = %.lr.ph, %68
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %14, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
%55 = load float, ptr %54, align 4
%56 = call float @fabs(float noundef %55)
store float %56, ptr %7, align 4
%57 = load float, ptr %7, align 4
%58 = load float, ptr %8, align 4
%59 = fcmp ogt float %57, %58
br i1 %59, label %60, label %67
60: ; preds = %46
%61 = load i32, ptr %12, align 4
%62 = load ptr, ptr %15, align 8
%63 = load i32, ptr %14, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
store i32 %61, ptr %65, align 4
%66 = load float, ptr %7, align 4
store float %66, ptr %8, align 4
br label %67
67: ; preds = %60, %46
br label %68
68: ; preds = %67
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %6, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %25
%75 = load float, ptr %8, align 4
%76 = fpext float %75 to double
%77 = fcmp oeq double %76, 0.000000e+00
br i1 %77, label %78, label %79
78: ; preds = %74
br label %343
79: ; preds = %74
%80 = load ptr, ptr %15, align 8
%81 = load i32, ptr %14, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %14, align 4
%86 = icmp ne i32 %84, %85
br i1 %86, label %87, label %159
87: ; preds = %79
%88 = load ptr, ptr %15, align 8
%89 = load i32, ptr %14, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
store i32 %92, ptr %12, align 4
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %14, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, ptr %93, i64 %95
%97 = load float, ptr %96, align 4
store float %97, ptr %9, align 4
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %12, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds float, ptr %98, i64 %100
%102 = load float, ptr %101, align 4
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %14, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %103, i64 %105
store float %102, ptr %106, align 4
%107 = load float, ptr %9, align 4
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %12, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds float, ptr %108, i64 %110
store float %107, ptr %111, align 4
%112 = load i32, ptr %14, align 4
store i32 %112, ptr %13, align 4
%113 = load i32, ptr %13, align 4
%114 = load i32, ptr %6, align 4
%115 = icmp slt i32 %113, %114
br i1 %115, label %.lr.ph2, label %158
.lr.ph2: ; preds = %87
br label %116
116: ; preds = %.lr.ph2, %152
%117 = load ptr, ptr %4, align 8
%118 = load i32, ptr %14, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds ptr, ptr %117, i64 %119
%121 = load ptr, ptr %120, align 8
%122 = load i32, ptr %13, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds float, ptr %121, i64 %123
%125 = load float, ptr %124, align 4
store float %125, ptr %9, align 4
%126 = load ptr, ptr %4, align 8
%127 = load i32, ptr %12, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds ptr, ptr %126, i64 %128
%130 = load ptr, ptr %129, align 8
%131 = load i32, ptr %13, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %130, i64 %132
%134 = load float, ptr %133, align 4
%135 = load ptr, ptr %4, align 8
%136 = load i32, ptr %14, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %135, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = load i32, ptr %13, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds float, ptr %139, i64 %141
store float %134, ptr %142, align 4
%143 = load float, ptr %9, align 4
%144 = load ptr, ptr %4, align 8
%145 = load i32, ptr %12, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds ptr, ptr %144, i64 %146
%148 = load ptr, ptr %147, align 8
%149 = load i32, ptr %13, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds float, ptr %148, i64 %150
store float %143, ptr %151, align 4
br label %152
152: ; preds = %116
%153 = load i32, ptr %13, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %13, align 4
%155 = load i32, ptr %13, align 4
%156 = load i32, ptr %6, align 4
%157 = icmp slt i32 %155, %156
br i1 %157, label %116, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %152
br label %158
158: ; preds = %._crit_edge3, %87
br label %159
159: ; preds = %158, %79
%160 = load i32, ptr %14, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %12, align 4
%162 = load i32, ptr %12, align 4
%163 = load i32, ptr %6, align 4
%164 = icmp slt i32 %162, %163
br i1 %164, label %.lr.ph8, label %259
.lr.ph8: ; preds = %159
br label %165
165: ; preds = %.lr.ph8, %253
%166 = load ptr, ptr %4, align 8
%167 = load i32, ptr %12, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds ptr, ptr %166, i64 %168
%170 = load ptr, ptr %169, align 8
%171 = load i32, ptr %14, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds float, ptr %170, i64 %172
%174 = load float, ptr %173, align 4
%175 = load ptr, ptr %4, align 8
%176 = load i32, ptr %14, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %175, i64 %177
%179 = load ptr, ptr %178, align 8
%180 = load i32, ptr %14, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds float, ptr %179, i64 %181
%183 = load float, ptr %182, align 4
%184 = fdiv float %174, %183
store float %184, ptr %10, align 4
%185 = load float, ptr %10, align 4
%186 = load ptr, ptr %4, align 8
%187 = load i32, ptr %12, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds ptr, ptr %186, i64 %188
%190 = load ptr, ptr %189, align 8
%191 = load i32, ptr %14, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds float, ptr %190, i64 %192
store float %185, ptr %193, align 4
%194 = load ptr, ptr %5, align 8
%195 = load i32, ptr %12, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds float, ptr %194, i64 %196
%198 = load float, ptr %197, align 4
%199 = load float, ptr %10, align 4
%200 = load ptr, ptr %5, align 8
%201 = load i32, ptr %14, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds float, ptr %200, i64 %202
%204 = load float, ptr %203, align 4
%205 = fneg float %199
%206 = call float @llvm.fmuladd.f32(float %205, float %204, float %198)
%207 = load ptr, ptr %5, align 8
%208 = load i32, ptr %12, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds float, ptr %207, i64 %209
store float %206, ptr %210, align 4
%211 = load i32, ptr %14, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %13, align 4
%213 = load i32, ptr %13, align 4
%214 = load i32, ptr %6, align 4
%215 = icmp slt i32 %213, %214
br i1 %215, label %.lr.ph5, label %252
.lr.ph5: ; preds = %165
br label %216
216: ; preds = %.lr.ph5, %246
%217 = load ptr, ptr %4, align 8
%218 = load i32, ptr %12, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds ptr, ptr %217, i64 %219
%221 = load ptr, ptr %220, align 8
%222 = load i32, ptr %13, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds float, ptr %221, i64 %223
%225 = load float, ptr %224, align 4
%226 = load float, ptr %10, align 4
%227 = load ptr, ptr %4, align 8
%228 = load i32, ptr %14, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds ptr, ptr %227, i64 %229
%231 = load ptr, ptr %230, align 8
%232 = load i32, ptr %13, align 4
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds float, ptr %231, i64 %233
%235 = load float, ptr %234, align 4
%236 = fneg float %226
%237 = call float @llvm.fmuladd.f32(float %236, float %235, float %225)
%238 = load ptr, ptr %4, align 8
%239 = load i32, ptr %12, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds ptr, ptr %238, i64 %240
%242 = load ptr, ptr %241, align 8
%243 = load i32, ptr %13, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds float, ptr %242, i64 %244
store float %237, ptr %245, align 4
br label %246
246: ; preds = %216
%247 = load i32, ptr %13, align 4
%248 = add nsw i32 %247, 1
store i32 %248, ptr %13, align 4
%249 = load i32, ptr %13, align 4
%250 = load i32, ptr %6, align 4
%251 = icmp slt i32 %249, %250
br i1 %251, label %216, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %246
br label %252
252: ; preds = %._crit_edge6, %165
br label %253
253: ; preds = %252
%254 = load i32, ptr %12, align 4
%255 = add nsw i32 %254, 1
store i32 %255, ptr %12, align 4
%256 = load i32, ptr %12, align 4
%257 = load i32, ptr %6, align 4
%258 = icmp slt i32 %256, %257
br i1 %258, label %165, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %253
br label %259
259: ; preds = %._crit_edge9, %159
br label %260
260: ; preds = %259
%261 = load i32, ptr %14, align 4
%262 = add nsw i32 %261, 1
store i32 %262, ptr %14, align 4
%263 = load i32, ptr %14, align 4
%264 = load i32, ptr %6, align 4
%265 = icmp slt i32 %263, %264
br i1 %265, label %25, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %260
br label %266
266: ; preds = %._crit_edge12, %3
%267 = load ptr, ptr %4, align 8
%268 = load i32, ptr %6, align 4
%269 = sub nsw i32 %268, 1
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds ptr, ptr %267, i64 %270
%272 = load ptr, ptr %271, align 8
%273 = load i32, ptr %6, align 4
%274 = sub nsw i32 %273, 1
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds float, ptr %272, i64 %275
%277 = load float, ptr %276, align 4
%278 = fpext float %277 to double
%279 = fcmp oeq double %278, 0.000000e+00
br i1 %279, label %280, label %281
280: ; preds = %266
br label %343
281: ; preds = %266
%282 = load i32, ptr %6, align 4
%283 = sub nsw i32 %282, 1
store i32 %283, ptr %12, align 4
%284 = load i32, ptr %12, align 4
%285 = icmp sge i32 %284, 0
br i1 %285, label %.lr.ph17, label %342
.lr.ph17: ; preds = %281
br label %286
286: ; preds = %.lr.ph17, %337
store float 0.000000e+00, ptr %11, align 4
%287 = load i32, ptr %12, align 4
%288 = add nsw i32 %287, 1
store i32 %288, ptr %13, align 4
%289 = load i32, ptr %13, align 4
%290 = load i32, ptr %6, align 4
%291 = icmp slt i32 %289, %290
br i1 %291, label %.lr.ph14, label %315
.lr.ph14: ; preds = %286
br label %292
292: ; preds = %.lr.ph14, %309
%293 = load float, ptr %11, align 4
%294 = load ptr, ptr %4, align 8
%295 = load i32, ptr %12, align 4
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds ptr, ptr %294, i64 %296
%298 = load ptr, ptr %297, align 8
%299 = load i32, ptr %13, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds float, ptr %298, i64 %300
%302 = load float, ptr %301, align 4
%303 = load ptr, ptr %5, align 8
%304 = load i32, ptr %13, align 4
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds float, ptr %303, i64 %305
%307 = load float, ptr %306, align 4
%308 = call float @llvm.fmuladd.f32(float %302, float %307, float %293)
store float %308, ptr %11, align 4
br label %309
309: ; preds = %292
%310 = load i32, ptr %13, align 4
%311 = add nsw i32 %310, 1
store i32 %311, ptr %13, align 4
%312 = load i32, ptr %13, align 4
%313 = load i32, ptr %6, align 4
%314 = icmp slt i32 %312, %313
br i1 %314, label %292, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %309
br label %315
315: ; preds = %._crit_edge15, %286
%316 = load ptr, ptr %5, align 8
%317 = load i32, ptr %12, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds float, ptr %316, i64 %318
%320 = load float, ptr %319, align 4
%321 = load float, ptr %11, align 4
%322 = fsub float %320, %321
%323 = load ptr, ptr %4, align 8
%324 = load i32, ptr %12, align 4
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds ptr, ptr %323, i64 %325
%327 = load ptr, ptr %326, align 8
%328 = load i32, ptr %12, align 4
%329 = sext i32 %328 to i64
%330 = getelementptr inbounds float, ptr %327, i64 %329
%331 = load float, ptr %330, align 4
%332 = fdiv float %322, %331
%333 = load ptr, ptr %5, align 8
%334 = load i32, ptr %12, align 4
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds float, ptr %333, i64 %335
store float %332, ptr %336, align 4
br label %337
337: ; preds = %315
%338 = load i32, ptr %12, align 4
%339 = add nsw i32 %338, -1
store i32 %339, ptr %12, align 4
%340 = load i32, ptr %12, align 4
%341 = icmp sge i32 %340, 0
br i1 %341, label %286, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %337
br label %342
342: ; preds = %._crit_edge18, %281
br label %343
343: ; preds = %342, %280, %78
ret i32 1
}
declare i64 @malloc(i32 noundef) #1
declare float @fabs(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmpg8m6n0fk.c'
source_filename = "/tmp/tmpg8m6n0fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"hello world \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/tmpg8m6n0fk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"hello world \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/tmphsexc8ax.c'
source_filename = "/tmp/tmphsexc8ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hilfe() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphsexc8ax.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hilfe() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb72yes1q.c'
source_filename = "/tmp/tmpb72yes1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_it_prime_eratosthenes(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb72yes1q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_it_prime_eratosthenes(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdxziz9bt.c'
source_filename = "/tmp/tmpdxziz9bt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TL_Enable() #0 {
%1 = call i32 (...) @HW_IPCC_Enable()
ret void
}
declare i32 @HW_IPCC_Enable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdxziz9bt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TL_Enable() #0 {
%1 = call i32 (...) @HW_IPCC_Enable()
ret void
}
declare i32 @HW_IPCC_Enable(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3de71kss.c'
source_filename = "/tmp/tmp3de71kss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendboard(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str)
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %26, %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = mul nsw i32 %14, %15
%17 = icmp sle i32 %13, %16
br i1 %17, label %18, label %30
18: ; preds = %12
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i32, ptr %8, align 4
%25 = call i32 @strncat(ptr noundef %19, ptr noundef %23, i32 noundef %24)
br label %26
26: ; preds = %18
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %9, align 4
br label %12, !llvm.loop !6
30: ; preds = %12
%31 = load i32, ptr %5, align 4
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = call i32 @send(i32 noundef %31, ptr noundef %32, i32 noundef %34, i32 noundef 0)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3de71kss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"b\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sendboard(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strcpy(ptr noundef %10, ptr noundef @.str)
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %8, align 4
%15 = mul nsw i32 %13, %14
%16 = icmp sle i32 %12, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %25
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i32, ptr %8, align 4
%24 = call i32 @strncat(ptr noundef %18, ptr noundef %22, i32 noundef %23)
br label %25
25: ; preds = %17
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, %26
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = mul nsw i32 %30, %31
%33 = icmp sle i32 %29, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %34
34: ; preds = %._crit_edge, %4
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %6, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strlen(ptr noundef %37)
%39 = call i32 @send(i32 noundef %35, ptr noundef %36, i32 noundef %38, i32 noundef 0)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_jg4jnos.c'
source_filename = "/tmp/tmp_jg4jnos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
@.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_key(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [11 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.timeval, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null)
%11 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = trunc i64 %12 to i32
%14 = call i32 @srand(i32 noundef %13)
br label %15
15: ; preds = %51, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp ult i32 %16, %17
br i1 %18, label %19, label %52
19: ; preds = %15
%20 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 11)
%22 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%23 = call i32 (...) @rand()
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str, i32 noundef %23)
%25 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%26 = call i32 @strlen(ptr noundef %25)
store i32 %26, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %46, %19
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i32, ptr %6, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp ult i32 %32, %33
br label %35
35: ; preds = %31, %27
%36 = phi i1 [ false, %27 ], [ %34, %31 ]
br i1 %36, label %37, label %51
37: ; preds = %35
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = zext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %37
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %6, align 4
%50 = add i32 %49, 1
store i32 %50, ptr %6, align 4
br label %27, !llvm.loop !6
51: ; preds = %35
br label %15, !llvm.loop !8
52: ; preds = %15
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %6, align 4
%55 = zext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
store i8 0, ptr %56, align 1
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_jg4jnos.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
@.str = private unnamed_addr constant [3 x i8] c"%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_key(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [11 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.timeval, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null)
%11 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = trunc i64 %12 to i32
%14 = call i32 @srand(i32 noundef %13)
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp ult i32 %15, %16
br i1 %17, label %.lr.ph, label %54
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %50
%19 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 11)
%21 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%22 = call i32 (...) @rand()
%23 = call i32 @sprintf(ptr noundef %21, ptr noundef @.str, i32 noundef %22)
%24 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @strlen(ptr noundef %24)
store i32 %25, ptr %8, align 4
store i32 0, ptr %7, align 4
br label %26
26: ; preds = %45, %18
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp ult i32 %31, %32
br label %34
34: ; preds = %30, %26
%35 = phi i1 [ false, %26 ], [ %33, %30 ]
br i1 %35, label %36, label %50
36: ; preds = %34
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 %38
%40 = load i8, ptr %39, align 1
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %6, align 4
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 %40, ptr %44, align 1
br label %45
45: ; preds = %36
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
%48 = load i32, ptr %6, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %6, align 4
br label %26, !llvm.loop !6
50: ; preds = %34
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %4, align 4
%53 = icmp ult i32 %51, %52
br i1 %53, label %18, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %50
br label %54
54: ; preds = %._crit_edge, %2
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %6, align 4
%57 = zext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
store i8 0, ptr %58, align 1
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpkgyl_op8.c'
source_filename = "/tmp/tmpkgyl_op8.c"
target datalayout = "e-m:e-p270: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/tmpkgyl_op8.c"
target datalayout = "e-m:e-p270: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/tmp7pl47mwd.c'
source_filename = "/tmp/tmp7pl47mwd.c"
target datalayout = "e-m:e-p270: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/tmp7pl47mwd.c"
target datalayout = "e-m:e-p270: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/tmpbyr_jndp.c'
source_filename = "/tmp/tmpbyr_jndp.c"
target datalayout = "e-m:e-p270: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.foo = private unnamed_addr constant [9 x i8] c"abcdefgh\00", align 1
@.str = private unnamed_addr constant [22 x i8] c"Before foo[] = '%s'\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"After foo[] = '%s'\0A\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 [9 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.foo, i64 9, i1 false)
%7 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 3
store i8 64, ptr %9, align 1
%10 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
; 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, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbyr_jndp.c"
target datalayout = "e-m:e-p270: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.foo = private unnamed_addr constant [9 x i8] c"abcdefgh\00", align 1
@.str = private unnamed_addr constant [22 x i8] c"Before foo[] = '%s'\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"After foo[] = '%s'\0A\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 [9 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.foo, i64 9, i1 false)
%7 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 3
store i8 64, ptr %9, align 1
%10 = getelementptr inbounds [9 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
%12 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %12
}
; 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, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd29u2zit.c'
source_filename = "/tmp/tmpd29u2zit.c"
target datalayout = "e-m:e-p270: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/tmpd29u2zit.c"
target datalayout = "e-m:e-p270: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/tmpilreadkt.c'
source_filename = "/tmp/tmpilreadkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %8, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 30
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = call i32 @sleep(i32 noundef 1)
br label %8
8: ; preds = %6
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %2, align 4
br label %3, !llvm.loop !6
11: ; preds = %3
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpilreadkt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 30
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %7
%6 = call i32 @sleep(i32 noundef 1)
br label %7
7: ; preds = %5
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 30
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpod2zlsbc.c'
source_filename = "/tmp/tmpod2zlsbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_covariance(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 8
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %8, align 8
store i32 0, ptr %10, align 4
br label %21
21: ; preds = %43, %3
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %46
25: ; preds = %21
store i32 0, ptr %9, align 4
br label %26
26: ; preds = %39, %25
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %42
30: ; preds = %26
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %5, align 4
%35 = mul nsw i32 %33, %34
%36 = add nsw i32 %32, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %31, i64 %37
store double 0.000000e+00, ptr %38, align 8
br label %39
39: ; preds = %30
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %9, align 4
br label %26, !llvm.loop !6
42: ; preds = %26
br label %43
43: ; preds = %42
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
br label %21, !llvm.loop !8
46: ; preds = %21
%47 = load i32, ptr %6, align 4
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %68
49: ; preds = %46
store i32 0, ptr %9, align 4
br label %50
50: ; preds = %63, %49
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %5, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %5, align 4
%59 = mul nsw i32 %57, %58
%60 = add nsw i32 %56, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %55, i64 %61
store double 1.000000e+00, ptr %62, align 8
br label %63
63: ; preds = %54
%64 = load i32, ptr %9, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %9, align 4
br label %50, !llvm.loop !9
66: ; preds = %50
%67 = load ptr, ptr %8, align 8
store ptr %67, ptr %4, align 8
br label %245
68: ; preds = %46
%69 = load i32, ptr %5, align 4
%70 = sext i32 %69 to i64
%71 = mul i64 %70, 8
%72 = trunc i64 %71 to i32
%73 = call i64 @malloc(i32 noundef %72)
%74 = inttoptr i64 %73 to ptr
store ptr %74, ptr %12, align 8
store i32 0, ptr %9, align 4
br label %75
75: ; preds = %124, %68
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %5, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %79, label %127
79: ; preds = %75
%80 = load ptr, ptr %12, align 8
%81 = load i32, ptr %9, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %80, i64 %82
store double 0.000000e+00, ptr %83, align 8
store i32 0, ptr %10, align 4
br label %84
84: ; preds = %108, %79
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %6, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %111
88: ; preds = %84
%89 = load ptr, ptr %12, align 8
%90 = load i32, ptr %9, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
%93 = load double, ptr %92, align 8
%94 = load ptr, ptr %7, align 8
%95 = load i32, ptr %9, align 4
%96 = load i32, ptr %10, align 4
%97 = load i32, ptr %5, align 4
%98 = mul nsw i32 %96, %97
%99 = add nsw i32 %95, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %94, i64 %100
%102 = load double, ptr %101, align 8
%103 = fadd double %93, %102
%104 = load ptr, ptr %12, align 8
%105 = load i32, ptr %9, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
store double %103, ptr %107, align 8
br label %108
108: ; preds = %88
%109 = load i32, ptr %10, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %10, align 4
br label %84, !llvm.loop !10
111: ; preds = %84
%112 = load ptr, ptr %12, align 8
%113 = load i32, ptr %9, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %112, i64 %114
%116 = load double, ptr %115, align 8
%117 = load i32, ptr %6, align 4
%118 = sitofp i32 %117 to double
%119 = fdiv double %116, %118
%120 = load ptr, ptr %12, align 8
%121 = load i32, ptr %9, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
store double %119, ptr %123, align 8
br label %124
124: ; preds = %111
%125 = load i32, ptr %9, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %9, align 4
br label %75, !llvm.loop !11
127: ; preds = %75
store i32 0, ptr %10, align 4
br label %128
128: ; preds = %199, %127
%129 = load i32, ptr %10, align 4
%130 = load i32, ptr %5, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %132, label %202
132: ; preds = %128
store i32 0, ptr %9, align 4
br label %133
133: ; preds = %195, %132
%134 = load i32, ptr %9, align 4
%135 = load i32, ptr %5, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %137, label %198
137: ; preds = %133
store i32 0, ptr %11, align 4
br label %138
138: ; preds = %191, %137
%139 = load i32, ptr %11, align 4
%140 = load i32, ptr %6, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %194
142: ; preds = %138
%143 = load ptr, ptr %8, align 8
%144 = load i32, ptr %9, align 4
%145 = load i32, ptr %10, align 4
%146 = load i32, ptr %5, align 4
%147 = mul nsw i32 %145, %146
%148 = add nsw i32 %144, %147
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %143, i64 %149
%151 = load double, ptr %150, align 8
%152 = load ptr, ptr %7, align 8
%153 = load i32, ptr %9, align 4
%154 = load i32, ptr %11, align 4
%155 = load i32, ptr %5, align 4
%156 = mul nsw i32 %154, %155
%157 = add nsw i32 %153, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, ptr %152, i64 %158
%160 = load double, ptr %159, align 8
%161 = load ptr, ptr %12, align 8
%162 = load i32, ptr %9, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
%165 = load double, ptr %164, align 8
%166 = fsub double %160, %165
%167 = load ptr, ptr %7, align 8
%168 = load i32, ptr %10, align 4
%169 = load i32, ptr %11, align 4
%170 = load i32, ptr %5, align 4
%171 = mul nsw i32 %169, %170
%172 = add nsw i32 %168, %171
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, ptr %167, i64 %173
%175 = load double, ptr %174, align 8
%176 = load ptr, ptr %12, align 8
%177 = load i32, ptr %10, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds double, ptr %176, i64 %178
%180 = load double, ptr %179, align 8
%181 = fsub double %175, %180
%182 = call double @llvm.fmuladd.f64(double %166, double %181, double %151)
%183 = load ptr, ptr %8, align 8
%184 = load i32, ptr %9, align 4
%185 = load i32, ptr %10, align 4
%186 = load i32, ptr %5, align 4
%187 = mul nsw i32 %185, %186
%188 = add nsw i32 %184, %187
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds double, ptr %183, i64 %189
store double %182, ptr %190, align 8
br label %191
191: ; preds = %142
%192 = load i32, ptr %11, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %11, align 4
br label %138, !llvm.loop !12
194: ; preds = %138
br label %195
195: ; preds = %194
%196 = load i32, ptr %9, align 4
%197 = add nsw i32 %196, 1
store i32 %197, ptr %9, align 4
br label %133, !llvm.loop !13
198: ; preds = %133
br label %199
199: ; preds = %198
%200 = load i32, ptr %10, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %10, align 4
br label %128, !llvm.loop !14
202: ; preds = %128
store i32 0, ptr %10, align 4
br label %203
203: ; preds = %238, %202
%204 = load i32, ptr %10, align 4
%205 = load i32, ptr %5, align 4
%206 = icmp slt i32 %204, %205
br i1 %206, label %207, label %241
207: ; preds = %203
store i32 0, ptr %9, align 4
br label %208
208: ; preds = %234, %207
%209 = load i32, ptr %9, align 4
%210 = load i32, ptr %5, align 4
%211 = icmp slt i32 %209, %210
br i1 %211, label %212, label %237
212: ; preds = %208
%213 = load ptr, ptr %8, align 8
%214 = load i32, ptr %9, align 4
%215 = load i32, ptr %10, align 4
%216 = load i32, ptr %5, align 4
%217 = mul nsw i32 %215, %216
%218 = add nsw i32 %214, %217
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds double, ptr %213, i64 %219
%221 = load double, ptr %220, align 8
%222 = load i32, ptr %6, align 4
%223 = sub nsw i32 %222, 1
%224 = sitofp i32 %223 to double
%225 = fdiv double %221, %224
%226 = load ptr, ptr %8, align 8
%227 = load i32, ptr %9, align 4
%228 = load i32, ptr %10, align 4
%229 = load i32, ptr %5, align 4
%230 = mul nsw i32 %228, %229
%231 = add nsw i32 %227, %230
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %226, i64 %232
store double %225, ptr %233, align 8
br label %234
234: ; preds = %212
%235 = load i32, ptr %9, align 4
%236 = add nsw i32 %235, 1
store i32 %236, ptr %9, align 4
br label %208, !llvm.loop !15
237: ; preds = %208
br label %238
238: ; preds = %237
%239 = load i32, ptr %10, align 4
%240 = add nsw i32 %239, 1
store i32 %240, ptr %10, align 4
br label %203, !llvm.loop !16
241: ; preds = %203
%242 = load ptr, ptr %12, align 8
%243 = call i32 @free(ptr noundef %242)
%244 = load ptr, ptr %8, align 8
store ptr %244, ptr %4, align 8
br label %245
245: ; preds = %241, %66
%246 = load ptr, ptr %4, align 8
ret ptr %246
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpod2zlsbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_covariance(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = mul nsw i32 %13, %14
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 8
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %8, align 8
store i32 0, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph2, label %50
.lr.ph2: ; preds = %3
br label %24
24: ; preds = %.lr.ph2, %44
store i32 0, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %43
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %37
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %5, align 4
%33 = mul nsw i32 %31, %32
%34 = add nsw i32 %30, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %29, i64 %35
store double 0.000000e+00, ptr %36, align 8
br label %37
37: ; preds = %28
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %24
br label %44
44: ; preds = %43
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %5, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %50
50: ; preds = %._crit_edge3, %3
%51 = load i32, ptr %6, align 4
%52 = icmp eq i32 %51, 1
br i1 %52, label %53, label %74
53: ; preds = %50
store i32 0, ptr %9, align 4
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %5, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %.lr.ph26, label %72
.lr.ph26: ; preds = %53
br label %57
57: ; preds = %.lr.ph26, %66
%58 = load ptr, ptr %8, align 8
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %5, align 4
%62 = mul nsw i32 %60, %61
%63 = add nsw i32 %59, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %58, i64 %64
store double 1.000000e+00, ptr %65, align 8
br label %66
66: ; preds = %57
%67 = load i32, ptr %9, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %5, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %57, label %._crit_edge27, !llvm.loop !9
._crit_edge27: ; preds = %66
br label %72
72: ; preds = %._crit_edge27, %53
%73 = load ptr, ptr %8, align 8
store ptr %73, ptr %4, align 8
br label %265
74: ; preds = %50
%75 = load i32, ptr %5, align 4
%76 = sext i32 %75 to i64
%77 = mul i64 %76, 8
%78 = trunc i64 %77 to i32
%79 = call i64 @malloc(i32 noundef %78)
%80 = inttoptr i64 %79 to ptr
store ptr %80, ptr %12, align 8
store i32 0, ptr %9, align 4
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %5, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %.lr.ph8, label %137
.lr.ph8: ; preds = %74
br label %84
84: ; preds = %.lr.ph8, %131
%85 = load ptr, ptr %12, align 8
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
store double 0.000000e+00, ptr %88, align 8
store i32 0, ptr %10, align 4
%89 = load i32, ptr %10, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph5, label %118
.lr.ph5: ; preds = %84
br label %92
92: ; preds = %.lr.ph5, %112
%93 = load ptr, ptr %12, align 8
%94 = load i32, ptr %9, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load double, ptr %96, align 8
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %9, align 4
%100 = load i32, ptr %10, align 4
%101 = load i32, ptr %5, align 4
%102 = mul nsw i32 %100, %101
%103 = add nsw i32 %99, %102
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %98, i64 %104
%106 = load double, ptr %105, align 8
%107 = fadd double %97, %106
%108 = load ptr, ptr %12, align 8
%109 = load i32, ptr %9, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
store double %107, ptr %111, align 8
br label %112
112: ; preds = %92
%113 = load i32, ptr %10, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %10, align 4
%115 = load i32, ptr %10, align 4
%116 = load i32, ptr %6, align 4
%117 = icmp slt i32 %115, %116
br i1 %117, label %92, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %112
br label %118
118: ; preds = %._crit_edge6, %84
%119 = load ptr, ptr %12, align 8
%120 = load i32, ptr %9, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
%123 = load double, ptr %122, align 8
%124 = load i32, ptr %6, align 4
%125 = sitofp i32 %124 to double
%126 = fdiv double %123, %125
%127 = load ptr, ptr %12, align 8
%128 = load i32, ptr %9, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %127, i64 %129
store double %126, ptr %130, align 8
br label %131
131: ; preds = %118
%132 = load i32, ptr %9, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %9, align 4
%134 = load i32, ptr %9, align 4
%135 = load i32, ptr %5, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %84, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %131
br label %137
137: ; preds = %._crit_edge9, %74
store i32 0, ptr %10, align 4
%138 = load i32, ptr %10, align 4
%139 = load i32, ptr %5, align 4
%140 = icmp slt i32 %138, %139
br i1 %140, label %.lr.ph17, label %218
.lr.ph17: ; preds = %137
br label %141
141: ; preds = %.lr.ph17, %212
store i32 0, ptr %9, align 4
%142 = load i32, ptr %9, align 4
%143 = load i32, ptr %5, align 4
%144 = icmp slt i32 %142, %143
br i1 %144, label %.lr.ph14, label %211
.lr.ph14: ; preds = %141
br label %145
145: ; preds = %.lr.ph14, %205
store i32 0, ptr %11, align 4
%146 = load i32, ptr %11, align 4
%147 = load i32, ptr %6, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %.lr.ph11, label %204
.lr.ph11: ; preds = %145
br label %149
149: ; preds = %.lr.ph11, %198
%150 = load ptr, ptr %8, align 8
%151 = load i32, ptr %9, align 4
%152 = load i32, ptr %10, align 4
%153 = load i32, ptr %5, align 4
%154 = mul nsw i32 %152, %153
%155 = add nsw i32 %151, %154
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, ptr %150, i64 %156
%158 = load double, ptr %157, align 8
%159 = load ptr, ptr %7, align 8
%160 = load i32, ptr %9, align 4
%161 = load i32, ptr %11, align 4
%162 = load i32, ptr %5, align 4
%163 = mul nsw i32 %161, %162
%164 = add nsw i32 %160, %163
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds double, ptr %159, i64 %165
%167 = load double, ptr %166, align 8
%168 = load ptr, ptr %12, align 8
%169 = load i32, ptr %9, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, ptr %168, i64 %170
%172 = load double, ptr %171, align 8
%173 = fsub double %167, %172
%174 = load ptr, ptr %7, align 8
%175 = load i32, ptr %10, align 4
%176 = load i32, ptr %11, align 4
%177 = load i32, ptr %5, align 4
%178 = mul nsw i32 %176, %177
%179 = add nsw i32 %175, %178
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %174, i64 %180
%182 = load double, ptr %181, align 8
%183 = load ptr, ptr %12, align 8
%184 = load i32, ptr %10, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %183, i64 %185
%187 = load double, ptr %186, align 8
%188 = fsub double %182, %187
%189 = call double @llvm.fmuladd.f64(double %173, double %188, double %158)
%190 = load ptr, ptr %8, align 8
%191 = load i32, ptr %9, align 4
%192 = load i32, ptr %10, align 4
%193 = load i32, ptr %5, align 4
%194 = mul nsw i32 %192, %193
%195 = add nsw i32 %191, %194
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds double, ptr %190, i64 %196
store double %189, ptr %197, align 8
br label %198
198: ; preds = %149
%199 = load i32, ptr %11, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %11, align 4
%201 = load i32, ptr %11, align 4
%202 = load i32, ptr %6, align 4
%203 = icmp slt i32 %201, %202
br i1 %203, label %149, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %198
br label %204
204: ; preds = %._crit_edge12, %145
br label %205
205: ; preds = %204
%206 = load i32, ptr %9, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %9, align 4
%208 = load i32, ptr %9, align 4
%209 = load i32, ptr %5, align 4
%210 = icmp slt i32 %208, %209
br i1 %210, label %145, label %._crit_edge15, !llvm.loop !13
._crit_edge15: ; preds = %205
br label %211
211: ; preds = %._crit_edge15, %141
br label %212
212: ; preds = %211
%213 = load i32, ptr %10, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %10, align 4
%215 = load i32, ptr %10, align 4
%216 = load i32, ptr %5, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %141, label %._crit_edge18, !llvm.loop !14
._crit_edge18: ; preds = %212
br label %218
218: ; preds = %._crit_edge18, %137
store i32 0, ptr %10, align 4
%219 = load i32, ptr %10, align 4
%220 = load i32, ptr %5, align 4
%221 = icmp slt i32 %219, %220
br i1 %221, label %.lr.ph23, label %261
.lr.ph23: ; preds = %218
br label %222
222: ; preds = %.lr.ph23, %255
store i32 0, ptr %9, align 4
%223 = load i32, ptr %9, align 4
%224 = load i32, ptr %5, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %.lr.ph20, label %254
.lr.ph20: ; preds = %222
br label %226
226: ; preds = %.lr.ph20, %248
%227 = load ptr, ptr %8, align 8
%228 = load i32, ptr %9, align 4
%229 = load i32, ptr %10, align 4
%230 = load i32, ptr %5, align 4
%231 = mul nsw i32 %229, %230
%232 = add nsw i32 %228, %231
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds double, ptr %227, i64 %233
%235 = load double, ptr %234, align 8
%236 = load i32, ptr %6, align 4
%237 = sub nsw i32 %236, 1
%238 = sitofp i32 %237 to double
%239 = fdiv double %235, %238
%240 = load ptr, ptr %8, align 8
%241 = load i32, ptr %9, align 4
%242 = load i32, ptr %10, align 4
%243 = load i32, ptr %5, align 4
%244 = mul nsw i32 %242, %243
%245 = add nsw i32 %241, %244
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds double, ptr %240, i64 %246
store double %239, ptr %247, align 8
br label %248
248: ; preds = %226
%249 = load i32, ptr %9, align 4
%250 = add nsw i32 %249, 1
store i32 %250, ptr %9, align 4
%251 = load i32, ptr %9, align 4
%252 = load i32, ptr %5, align 4
%253 = icmp slt i32 %251, %252
br i1 %253, label %226, label %._crit_edge21, !llvm.loop !15
._crit_edge21: ; preds = %248
br label %254
254: ; preds = %._crit_edge21, %222
br label %255
255: ; preds = %254
%256 = load i32, ptr %10, align 4
%257 = add nsw i32 %256, 1
store i32 %257, ptr %10, align 4
%258 = load i32, ptr %10, align 4
%259 = load i32, ptr %5, align 4
%260 = icmp slt i32 %258, %259
br i1 %260, label %222, label %._crit_edge24, !llvm.loop !16
._crit_edge24: ; preds = %255
br label %261
261: ; preds = %._crit_edge24, %218
%262 = load ptr, ptr %12, align 8
%263 = call i32 @free(ptr noundef %262)
%264 = load ptr, ptr %8, align 8
store ptr %264, ptr %4, align 8
br label %265
265: ; preds = %261, %72
%266 = load ptr, ptr %4, align 8
ret ptr %266
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
|
; ModuleID = '/tmp/tmp2oz7kl65.c'
source_filename = "/tmp/tmp2oz7kl65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TCSBRK = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcsendbreak(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 %5, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @TCSBRK, align 4
%11 = call i32 @ioctl(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %3, align 4
br label %15
12: ; preds = %2
%13 = load i32, ptr @EINVAL, align 4
%14 = call i32 @__set_errno(i32 noundef %13)
store i32 -1, ptr %3, align 4
br label %15
15: ; preds = %12, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2oz7kl65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TCSBRK = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcsendbreak(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 %5, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @TCSBRK, align 4
%11 = call i32 @ioctl(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %3, align 4
br label %15
12: ; preds = %2
%13 = load i32, ptr @EINVAL, align 4
%14 = call i32 @__set_errno(i32 noundef %13)
store i32 -1, ptr %3, align 4
br label %15
15: ; preds = %12, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @ioctl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv15j07kk.c'
source_filename = "/tmp/tmpv15j07kk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i8 0, align 1
@AF_INET6 = dso_local global i8 0, align 1
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv15j07kk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i8 0, align 1
@AF_INET6 = dso_local global i8 0, align 1
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwopk6dyh.c'
source_filename = "/tmp/tmpwopk6dyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @adpcm_coder() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = call i32 (...) @nondetpos()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 2, %9
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load i32, ptr %3, align 4
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %6, align 8
store i32 1, ptr %2, align 4
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %1, align 4
br label %18
18: ; preds = %40, %0
%19 = load i32, ptr %1, align 4
%20 = icmp slt i32 1, %19
br i1 %20, label %21, label %43
21: ; preds = %18
%22 = load ptr, ptr %5, align 8
%23 = call i32 @validptr(ptr noundef %22)
%24 = load ptr, ptr %5, align 8
store i32 0, ptr %24, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i32, ptr %25, i32 1
store ptr %26, ptr %5, align 8
%27 = load i32, ptr %2, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %21
%30 = load ptr, ptr %6, align 8
%31 = call i32 @validptr(ptr noundef %30)
%32 = load ptr, ptr %6, align 8
store i32 0, ptr %32, align 4
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds i32, ptr %33, i32 1
store ptr %34, ptr %6, align 8
br label %37
35: ; preds = %21
%36 = call i32 (...) @nondet()
br label %37
37: ; preds = %35, %29
%38 = load i32, ptr %2, align 4
%39 = sub nsw i32 1, %38
store i32 %39, ptr %2, align 4
br label %40
40: ; preds = %37
%41 = load i32, ptr %1, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %1, align 4
br label %18, !llvm.loop !6
43: ; preds = %18
%44 = load i32, ptr %2, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load ptr, ptr %6, align 8
%48 = call i32 @validptr(ptr noundef %47)
br label %49
49: ; preds = %46, %43
ret i32 0
}
declare i32 @nondetpos(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @validptr(ptr noundef) #1
declare i32 @nondet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwopk6dyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @adpcm_coder() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = call i32 (...) @nondetpos()
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = mul nsw i32 2, %9
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load i32, ptr %3, align 4
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %6, align 8
store i32 1, ptr %2, align 4
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %1, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp slt i32 1, %18
br i1 %19, label %.lr.ph, label %44
.lr.ph: ; preds = %0
br label %20
20: ; preds = %.lr.ph, %39
%21 = load ptr, ptr %5, align 8
%22 = call i32 @validptr(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
store i32 0, ptr %23, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %24, i32 1
store ptr %25, ptr %5, align 8
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %20
%29 = load ptr, ptr %6, align 8
%30 = call i32 @validptr(ptr noundef %29)
%31 = load ptr, ptr %6, align 8
store i32 0, ptr %31, align 4
%32 = load ptr, ptr %6, align 8
%33 = getelementptr inbounds i32, ptr %32, i32 1
store ptr %33, ptr %6, align 8
br label %36
34: ; preds = %20
%35 = call i32 (...) @nondet()
br label %36
36: ; preds = %34, %28
%37 = load i32, ptr %2, align 4
%38 = sub nsw i32 1, %37
store i32 %38, ptr %2, align 4
br label %39
39: ; preds = %36
%40 = load i32, ptr %1, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %1, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp slt i32 1, %42
br i1 %43, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %44
44: ; preds = %._crit_edge, %0
%45 = load i32, ptr %2, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = load ptr, ptr %6, align 8
%49 = call i32 @validptr(ptr noundef %48)
br label %50
50: ; preds = %47, %44
ret i32 0
}
declare i32 @nondetpos(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @validptr(ptr noundef) #1
declare i32 @nondet(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptbfglav0.c'
source_filename = "/tmp/tmptbfglav0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"truncate %s %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_truncate(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @url_encode(ptr noundef %10, ptr noundef %11, i32 noundef 1024)
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%16 = load i32, ptr %7, align 4
%17 = call i32 @simple_command(ptr noundef %13, i32 noundef %14, ptr noundef @.str, ptr noundef %15, i32 noundef %16)
ret i32 %17
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbfglav0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"truncate %s %lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @chirp_client_truncate(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1024 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @url_encode(ptr noundef %10, ptr noundef %11, i32 noundef 1024)
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %8, align 4
%15 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0
%16 = load i32, ptr %7, align 4
%17 = call i32 @simple_command(ptr noundef %13, i32 noundef %14, ptr noundef @.str, ptr noundef %15, i32 noundef %16)
ret i32 %17
}
declare i32 @url_encode(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @simple_command(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzoi06rim.c'
source_filename = "/tmp/tmpzoi06rim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @icmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @nicmp(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @nicmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzoi06rim.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @icmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @nicmp(ptr noundef %5, ptr noundef %6, i32 noundef %8)
ret i32 %9
}
declare i32 @nicmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxgxf7stq.c'
source_filename = "/tmp/tmpxgxf7stq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"malloc, memset and write\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i64 @malloc(i32 noundef -1610612736)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @memset(ptr noundef %7, i8 noundef signext 0, i32 noundef -1610612736)
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %17, %0
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 671088640
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
store i32 1, ptr %16, align 4
br label %17
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxgxf7stq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"malloc, memset and write\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 ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i64 @malloc(i32 noundef -1610612736)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @memset(ptr noundef %7, i8 noundef signext 0, i32 noundef -1610612736)
store i32 0, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 671088640
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
store i32 1, ptr %15, align 4
br label %16
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 671088640
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeq1hl4_z.c'
source_filename = "/tmp/tmpeq1hl4_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeq1hl4_z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8o8c1nh.c'
source_filename = "/tmp/tmps8o8c1nh.c"
target datalayout = "e-m:e-p270: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/tmps8o8c1nh.c"
target datalayout = "e-m:e-p270: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/tmpl9gi0e6f.c'
source_filename = "/tmp/tmpl9gi0e6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Hash_index(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %20, %1
%7 = load i32, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %23
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = add nsw i32 %12, %18
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %11
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
br label %6, !llvm.loop !6
23: ; preds = %6
%24 = load i32, ptr %3, align 4
%25 = srem i32 %24, 100
%26 = sdiv i32 %25, 10
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl9gi0e6f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Hash_index(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %19
%11 = load i32, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = add nsw i32 %11, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %10
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %2, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = icmp slt i32 %22, %24
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %1
%27 = load i32, ptr %3, align 4
%28 = srem i32 %27, 100
%29 = sdiv i32 %28, 10
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
ret i32 %30
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqe51vmbr.c'
source_filename = "/tmp/tmpqe51vmbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# Push\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"MOV REGIST%02X REGIST%02X\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"# Restore\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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 127, ptr %2, align 4
br label %4
4: ; preds = %12, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %25, %15
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 127
br i1 %19, label %20, label %28
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %23)
br label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
br label %17, !llvm.loop !8
28: ; preds = %17
%29 = load i32, ptr %1, align 4
ret i32 %29
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqe51vmbr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# Push\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"MOV REGIST%02X REGIST%02X\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"# Restore\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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 127, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7, i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 127
br i1 %19, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %20
20: ; preds = %.lr.ph2, %25
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %23)
br label %25
25: ; preds = %20
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 127
br i1 %29, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %16
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplndpqs5l.c'
source_filename = "/tmp/tmplndpqs5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"DASHBOARD_TEST_FROM_CTEST\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"DASHBOARD_TEST_FROM_CTEST = %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"%s: This test intentionally fails\0A\00", align 1
@.str.4 = private unnamed_addr constant [82 x i8] c"The version of ctest is not able to handle intentionally failing tests, so pass.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @testFail(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @getenv(ptr noundef @.str)
store ptr %8, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 1, ptr %7, align 4
br label %16
16: ; preds = %15, %11
%17 = load ptr, ptr %6, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17)
br label %19
19: ; preds = %16, %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22)
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %30
28: ; preds = %19
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %28, %26
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare ptr @getenv(ptr noundef) #1
declare i64 @strcmp(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplndpqs5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"DASHBOARD_TEST_FROM_CTEST\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"DASHBOARD_TEST_FROM_CTEST = %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"%s: This test intentionally fails\0A\00", align 1
@.str.4 = private unnamed_addr constant [82 x i8] c"The version of ctest is not able to handle intentionally failing tests, so pass.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @testFail(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @getenv(ptr noundef @.str)
store ptr %8, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load ptr, ptr %6, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp eq i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
store i32 1, ptr %7, align 4
br label %16
16: ; preds = %15, %11
%17 = load ptr, ptr %6, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17)
br label %19
19: ; preds = %16, %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %22)
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %3, align 4
br label %30
28: ; preds = %19
%29 = load i32, ptr %4, align 4
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %28, %26
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare ptr @getenv(ptr noundef) #1
declare i64 @strcmp(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"}
|
; ModuleID = '/tmp/tmp52c1s1nt.c'
source_filename = "/tmp/tmp52c1s1nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %11, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %5
br label %11
11: ; preds = %10
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %2, align 8
%17 = ptrtoint ptr %15 to i64
%18 = ptrtoint ptr %16 to i64
%19 = sub i64 %17, %18
%20 = trunc i64 %19 to i32
ret i32 %20
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp52c1s1nt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %10
br label %10
10: ; preds = %9
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %3, align 8
%19 = load ptr, ptr %2, align 8
%20 = ptrtoint ptr %18 to i64
%21 = ptrtoint ptr %19 to i64
%22 = sub i64 %20, %21
%23 = trunc i64 %22 to i32
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp7o8gr26w.c'
source_filename = "/tmp/tmp7o8gr26w.c"
target datalayout = "e-m:e-p270: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/tmp7o8gr26w.c"
target datalayout = "e-m:e-p270: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/tmpuox92xc6.c'
source_filename = "/tmp/tmpuox92xc6.c"
target datalayout = "e-m:e-p270: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.V = private unnamed_addr constant [9 x i32] [i32 1, i32 3, i32 5, i32 6, i32 8, i32 10, i32 13, i32 16, i32 19], align 16
@.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 [9 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.V, i64 36, i1 false)
%2 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @binsearch(i32 noundef 5, ptr noundef %2, i32 noundef 9)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuox92xc6.c"
target datalayout = "e-m:e-p270: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.V = private unnamed_addr constant [9 x i32] [i32 1, i32 3, i32 5, i32 6, i32 8, i32 10, i32 13, i32 16, i32 19], align 16
@.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 [9 x i32], align 16
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.V, i64 36, i1 false)
%2 = getelementptr inbounds [9 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @binsearch(i32 noundef 5, ptr noundef %2, i32 noundef 9)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @binsearch(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbd4bm8e1.c'
source_filename = "/tmp/tmpbd4bm8e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Bir sayi giriniz: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [94 x i8] c"1: Sayinin karekokunu al\0A2: Sayinin karesini al\0A3: Sayinin mutlak degerini al\0ASecim giriniz: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"sqrt(%f): %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"pow(%f,2): %f\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"fabs(%f): %f\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"yanlis secim yaptiniz!\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 float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%9 = load i32, ptr %2, align 4
switch i32 %9, label %36 [
i32 1, label %10
i32 2, label %18
i32 3, label %26
]
10: ; preds = %0
%11 = load float, ptr %3, align 4
%12 = call float @sqrt(float noundef %11)
store float %12, ptr %4, align 4
%13 = load float, ptr %3, align 4
%14 = fpext float %13 to double
%15 = load float, ptr %4, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %14, double noundef %16)
br label %36
18: ; preds = %0
%19 = load float, ptr %3, align 4
%20 = call float @pow(float noundef %19, i32 noundef 2)
store float %20, ptr %4, align 4
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = load float, ptr %4, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22, double noundef %24)
br label %36
26: ; preds = %0
%27 = load float, ptr %3, align 4
%28 = call float @fabs(float noundef %27)
store float %28, ptr %4, align 4
%29 = load float, ptr %3, align 4
%30 = fpext float %29 to double
%31 = load float, ptr %4, align 4
%32 = fpext float %31 to double
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %30, double noundef %32)
br label %36
34: ; No predecessors!
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %36
36: ; preds = %0, %34, %26, %18, %10
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare float @sqrt(float noundef) #1
declare float @pow(float noundef, i32 noundef) #1
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbd4bm8e1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Bir sayi giriniz: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [94 x i8] c"1: Sayinin karekokunu al\0A2: Sayinin karesini al\0A3: Sayinin mutlak degerini al\0ASecim giriniz: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"sqrt(%f): %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"pow(%f,2): %f\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"fabs(%f): %f\0A\00", align 1
@.str.7 = private unnamed_addr constant [24 x i8] c"yanlis secim yaptiniz!\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 float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %2)
%9 = load i32, ptr %2, align 4
switch i32 %9, label %36 [
i32 1, label %10
i32 2, label %18
i32 3, label %26
]
10: ; preds = %0
%11 = load float, ptr %3, align 4
%12 = call float @sqrt(float noundef %11)
store float %12, ptr %4, align 4
%13 = load float, ptr %3, align 4
%14 = fpext float %13 to double
%15 = load float, ptr %4, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %14, double noundef %16)
br label %36
18: ; preds = %0
%19 = load float, ptr %3, align 4
%20 = call float @pow(float noundef %19, i32 noundef 2)
store float %20, ptr %4, align 4
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = load float, ptr %4, align 4
%24 = fpext float %23 to double
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %22, double noundef %24)
br label %36
26: ; preds = %0
%27 = load float, ptr %3, align 4
%28 = call float @fabs(float noundef %27)
store float %28, ptr %4, align 4
%29 = load float, ptr %3, align 4
%30 = fpext float %29 to double
%31 = load float, ptr %4, align 4
%32 = fpext float %31 to double
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %30, double noundef %32)
br label %36
34: ; No predecessors!
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %36
36: ; preds = %34, %26, %18, %10, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ...) #1
declare float @sqrt(float noundef) #1
declare float @pow(float noundef, i32 noundef) #1
declare float @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoxadfz_g.c'
source_filename = "/tmp/tmpoxadfz_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"
@.str = private unnamed_addr constant [14 x i8] c"irq_dvz!%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @irq_dvz(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = call i32 (...) @halt()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @halt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxadfz_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"
@.str = private unnamed_addr constant [14 x i8] c"irq_dvz!%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @irq_dvz(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
%8 = call i32 (...) @halt()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @halt(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsb1cchiy.c'
source_filename = "/tmp/tmpsb1cchiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rxsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %10, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %4
store i32 -1, ptr %5, align 4
br label %158
25: ; preds = %4
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 4
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %11, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %25
store i32 -1, ptr %5, align 4
br label %158
34: ; preds = %25
store i32 0, ptr %16, align 4
br label %35
35: ; preds = %150, %34
%36 = load i32, ptr %16, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %153
39: ; preds = %35
store i32 0, ptr %14, align 4
br label %40
40: ; preds = %49, %39
%41 = load i32, ptr %14, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %52
44: ; preds = %40
%45 = load ptr, ptr %10, align 8
%46 = load i32, ptr %14, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
store i32 0, ptr %48, align 4
br label %49
49: ; preds = %44
%50 = load i32, ptr %14, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %14, align 4
br label %40, !llvm.loop !6
52: ; preds = %40
%53 = load i32, ptr %9, align 4
%54 = sitofp i32 %53 to double
%55 = load i32, ptr %16, align 4
%56 = sitofp i32 %55 to double
%57 = call i64 @pow(double noundef %54, double noundef %56)
%58 = trunc i64 %57 to i32
store i32 %58, ptr %13, align 4
store i32 0, ptr %15, align 4
br label %59
59: ; preds = %79, %52
%60 = load i32, ptr %15, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %82
63: ; preds = %59
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %15, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %13, align 4
%70 = sdiv i32 %68, %69
%71 = load i32, ptr %9, align 4
%72 = srem i32 %70, %71
store i32 %72, ptr %12, align 4
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %76, align 4
br label %79
79: ; preds = %63
%80 = load i32, ptr %15, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %15, align 4
br label %59, !llvm.loop !8
82: ; preds = %59
store i32 1, ptr %14, align 4
br label %83
83: ; preds = %100, %82
%84 = load i32, ptr %14, align 4
%85 = load i32, ptr %9, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %103
87: ; preds = %83
%88 = load ptr, ptr %10, align 8
%89 = load i32, ptr %14, align 4
%90 = sub nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %88, i64 %91
%93 = load i32, ptr %92, align 4
%94 = load ptr, ptr %10, align 8
%95 = load i32, ptr %14, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = add nsw i32 %98, %93
store i32 %99, ptr %97, align 4
br label %100
100: ; preds = %87
%101 = load i32, ptr %14, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %14, align 4
br label %83, !llvm.loop !9
103: ; preds = %83
%104 = load i32, ptr %7, align 4
%105 = sub nsw i32 %104, 1
store i32 %105, ptr %15, align 4
br label %106
106: ; preds = %139, %103
%107 = load i32, ptr %15, align 4
%108 = icmp sge i32 %107, 0
br i1 %108, label %109, label %142
109: ; preds = %106
%110 = load ptr, ptr %6, align 8
%111 = load i32, ptr %15, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
%114 = load i32, ptr %113, align 4
%115 = load i32, ptr %13, align 4
%116 = sdiv i32 %114, %115
%117 = load i32, ptr %9, align 4
%118 = srem i32 %116, %117
store i32 %118, ptr %12, align 4
%119 = load ptr, ptr %6, align 8
%120 = load i32, ptr %15, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
%123 = load i32, ptr %122, align 4
%124 = load ptr, ptr %11, align 8
%125 = load ptr, ptr %10, align 8
%126 = load i32, ptr %12, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
%129 = load i32, ptr %128, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %124, i64 %131
store i32 %123, ptr %132, align 4
%133 = load ptr, ptr %10, align 8
%134 = load i32, ptr %12, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %133, i64 %135
%137 = load i32, ptr %136, align 4
%138 = sub nsw i32 %137, 1
store i32 %138, ptr %136, align 4
br label %139
139: ; preds = %109
%140 = load i32, ptr %15, align 4
%141 = add nsw i32 %140, -1
store i32 %141, ptr %15, align 4
br label %106, !llvm.loop !10
142: ; preds = %106
%143 = load ptr, ptr %6, align 8
%144 = load ptr, ptr %11, align 8
%145 = load i32, ptr %7, align 4
%146 = sext i32 %145 to i64
%147 = mul i64 %146, 4
%148 = trunc i64 %147 to i32
%149 = call i32 @memcpy(ptr noundef %143, ptr noundef %144, i32 noundef %148)
br label %150
150: ; preds = %142
%151 = load i32, ptr %16, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %16, align 4
br label %35, !llvm.loop !11
153: ; preds = %35
%154 = load ptr, ptr %10, align 8
%155 = call i32 @free(ptr noundef %154)
%156 = load ptr, ptr %11, align 8
%157 = call i32 @free(ptr noundef %156)
store i32 0, ptr %5, align 4
br label %158
158: ; preds = %153, %33, %24
%159 = load i32, ptr %5, align 4
ret i32 %159
}
declare i64 @malloc(i32 noundef) #1
declare i64 @pow(double noundef, double noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsb1cchiy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rxsort(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 4
%20 = trunc i64 %19 to i32
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %10, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %4
store i32 -1, ptr %5, align 4
br label %167
25: ; preds = %4
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 4
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %11, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %34
33: ; preds = %25
store i32 -1, ptr %5, align 4
br label %167
34: ; preds = %25
store i32 0, ptr %16, align 4
%35 = load i32, ptr %16, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %.lr.ph11, label %162
.lr.ph11: ; preds = %34
br label %38
38: ; preds = %.lr.ph11, %156
store i32 0, ptr %14, align 4
%39 = load i32, ptr %14, align 4
%40 = load i32, ptr %9, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph, label %53
.lr.ph: ; preds = %38
br label %42
42: ; preds = %.lr.ph, %47
%43 = load ptr, ptr %10, align 8
%44 = load i32, ptr %14, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 0, ptr %46, align 4
br label %47
47: ; preds = %42
%48 = load i32, ptr %14, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %14, align 4
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %9, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %53
53: ; preds = %._crit_edge, %38
%54 = load i32, ptr %9, align 4
%55 = sitofp i32 %54 to double
%56 = load i32, ptr %16, align 4
%57 = sitofp i32 %56 to double
%58 = call i64 @pow(double noundef %55, double noundef %57)
%59 = trunc i64 %58 to i32
store i32 %59, ptr %13, align 4
store i32 0, ptr %15, align 4
%60 = load i32, ptr %15, align 4
%61 = load i32, ptr %7, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %.lr.ph2, label %85
.lr.ph2: ; preds = %53
br label %63
63: ; preds = %.lr.ph2, %79
%64 = load ptr, ptr %6, align 8
%65 = load i32, ptr %15, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %13, align 4
%70 = sdiv i32 %68, %69
%71 = load i32, ptr %9, align 4
%72 = srem i32 %70, %71
store i32 %72, ptr %12, align 4
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %76, align 4
br label %79
79: ; preds = %63
%80 = load i32, ptr %15, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %15, align 4
%82 = load i32, ptr %15, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %63, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %85
85: ; preds = %._crit_edge3, %53
store i32 1, ptr %14, align 4
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph5, label %108
.lr.ph5: ; preds = %85
br label %89
89: ; preds = %.lr.ph5, %102
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %14, align 4
%92 = sub nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %90, i64 %93
%95 = load i32, ptr %94, align 4
%96 = load ptr, ptr %10, align 8
%97 = load i32, ptr %14, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %96, i64 %98
%100 = load i32, ptr %99, align 4
%101 = add nsw i32 %100, %95
store i32 %101, ptr %99, align 4
br label %102
102: ; preds = %89
%103 = load i32, ptr %14, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %14, align 4
%105 = load i32, ptr %14, align 4
%106 = load i32, ptr %9, align 4
%107 = icmp slt i32 %105, %106
br i1 %107, label %89, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %102
br label %108
108: ; preds = %._crit_edge6, %85
%109 = load i32, ptr %7, align 4
%110 = sub nsw i32 %109, 1
store i32 %110, ptr %15, align 4
%111 = load i32, ptr %15, align 4
%112 = icmp sge i32 %111, 0
br i1 %112, label %.lr.ph8, label %148
.lr.ph8: ; preds = %108
br label %113
113: ; preds = %.lr.ph8, %143
%114 = load ptr, ptr %6, align 8
%115 = load i32, ptr %15, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
%118 = load i32, ptr %117, align 4
%119 = load i32, ptr %13, align 4
%120 = sdiv i32 %118, %119
%121 = load i32, ptr %9, align 4
%122 = srem i32 %120, %121
store i32 %122, ptr %12, align 4
%123 = load ptr, ptr %6, align 8
%124 = load i32, ptr %15, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
%127 = load i32, ptr %126, align 4
%128 = load ptr, ptr %11, align 8
%129 = load ptr, ptr %10, align 8
%130 = load i32, ptr %12, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
%133 = load i32, ptr %132, align 4
%134 = sub nsw i32 %133, 1
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i32, ptr %128, i64 %135
store i32 %127, ptr %136, align 4
%137 = load ptr, ptr %10, align 8
%138 = load i32, ptr %12, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds i32, ptr %137, i64 %139
%141 = load i32, ptr %140, align 4
%142 = sub nsw i32 %141, 1
store i32 %142, ptr %140, align 4
br label %143
143: ; preds = %113
%144 = load i32, ptr %15, align 4
%145 = add nsw i32 %144, -1
store i32 %145, ptr %15, align 4
%146 = load i32, ptr %15, align 4
%147 = icmp sge i32 %146, 0
br i1 %147, label %113, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %143
br label %148
148: ; preds = %._crit_edge9, %108
%149 = load ptr, ptr %6, align 8
%150 = load ptr, ptr %11, align 8
%151 = load i32, ptr %7, align 4
%152 = sext i32 %151 to i64
%153 = mul i64 %152, 4
%154 = trunc i64 %153 to i32
%155 = call i32 @memcpy(ptr noundef %149, ptr noundef %150, i32 noundef %154)
br label %156
156: ; preds = %148
%157 = load i32, ptr %16, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %16, align 4
%159 = load i32, ptr %16, align 4
%160 = load i32, ptr %8, align 4
%161 = icmp slt i32 %159, %160
br i1 %161, label %38, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %156
br label %162
162: ; preds = %._crit_edge12, %34
%163 = load ptr, ptr %10, align 8
%164 = call i32 @free(ptr noundef %163)
%165 = load ptr, ptr %11, align 8
%166 = call i32 @free(ptr noundef %165)
store i32 0, ptr %5, align 4
br label %167
167: ; preds = %162, %33, %24
%168 = load i32, ptr %5, align 4
ret i32 %168
}
declare i64 @malloc(i32 noundef) #1
declare i64 @pow(double noundef, double noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpic0_fvlh.c'
source_filename = "/tmp/tmpic0_fvlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %29, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 80
br i1 %7, label %8, label %32
8: ; preds = %5
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %25, %8
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %28
12: ; preds = %9
store i32 1, ptr %4, align 4
br label %13
13: ; preds = %21, %12
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 6
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @dump_sector(i32 noundef %17, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %13, !llvm.loop !6
24: ; preds = %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %9, !llvm.loop !8
28: ; preds = %9
br label %29
29: ; preds = %28
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %2, align 4
br label %5, !llvm.loop !9
32: ; preds = %5
ret i32 0
}
declare i32 @dump_sector(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpic0_fvlh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 80
br i1 %6, label %.lr.ph5, label %35
.lr.ph5: ; preds = %0
br label %7
7: ; preds = %.lr.ph5, %30
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %.lr.ph2, label %29
.lr.ph2: ; preds = %7
br label %10
10: ; preds = %.lr.ph2, %24
store i32 1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 6
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %18
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = call i32 @dump_sector(i32 noundef %14, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 6
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %10
br label %24
24: ; preds = %23
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 2
br i1 %28, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %29
29: ; preds = %._crit_edge3, %7
br label %30
30: ; preds = %29
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 80
br i1 %34, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %30
br label %35
35: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @dump_sector(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpzk4wfbsc.c'
source_filename = "/tmp/tmpzk4wfbsc.c"
target datalayout = "e-m:e-p270: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/tmpzk4wfbsc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_8qwe1c_.c'
source_filename = "/tmp/tmp_8qwe1c_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multiply_sse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %9, align 8
store i32 0, ptr %13, align 4
br label %18
18: ; preds = %56, %3
%19 = load i32, ptr %13, align 4
%20 = icmp slt i32 %19, 16
br i1 %20, label %21, label %59
21: ; preds = %18
%22 = call i32 @memset(ptr noundef %12, i8 noundef signext 0, i32 noundef 4)
store i32 0, ptr %14, align 4
br label %23
23: ; preds = %46, %21
%24 = load i32, ptr %14, align 4
%25 = icmp slt i32 %24, 4
br i1 %25, label %26, label %49
26: ; preds = %23
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %14, align 4
%29 = mul nsw i32 %28, 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds float, ptr %27, i64 %30
%32 = call i32 @_mm_load_ps(ptr noundef %31)
store i32 %32, ptr %10, align 4
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %14, align 4
%36 = add nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds float, ptr %33, i64 %37
%39 = load float, ptr %38, align 4
%40 = call i32 @_mm_set1_ps(float noundef %39)
store i32 %40, ptr %11, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %11, align 4
%43 = call i32 @_mm_mul_ps(i32 noundef %41, i32 noundef %42)
%44 = load i32, ptr %12, align 4
%45 = call i32 @_mm_add_ps(i32 noundef %43, i32 noundef %44)
store i32 %45, ptr %12, align 4
br label %46
46: ; preds = %26
%47 = load i32, ptr %14, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %14, align 4
br label %23, !llvm.loop !6
49: ; preds = %23
%50 = load ptr, ptr %9, align 8
%51 = load i32, ptr %13, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %50, i64 %52
%54 = load i32, ptr %12, align 4
%55 = call i32 @_mm_store_ps(ptr noundef %53, i32 noundef %54)
br label %56
56: ; preds = %49
%57 = load i32, ptr %13, align 4
%58 = add nsw i32 %57, 4
store i32 %58, ptr %13, align 4
br label %18, !llvm.loop !8
59: ; preds = %18
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @_mm_load_ps(ptr noundef) #1
declare i32 @_mm_set1_ps(float noundef) #1
declare i32 @_mm_add_ps(i32 noundef, i32 noundef) #1
declare i32 @_mm_mul_ps(i32 noundef, i32 noundef) #1
declare i32 @_mm_store_ps(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_8qwe1c_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multiply_sse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %7, align 8
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %6, align 8
store ptr %17, ptr %9, align 8
store i32 0, ptr %13, align 4
%18 = load i32, ptr %13, align 4
%19 = icmp slt i32 %18, 16
br i1 %19, label %.lr.ph2, label %61
.lr.ph2: ; preds = %3
br label %20
20: ; preds = %.lr.ph2, %56
%21 = call i32 @memset(ptr noundef %12, i8 noundef signext 0, i32 noundef 4)
store i32 0, ptr %14, align 4
%22 = load i32, ptr %14, align 4
%23 = icmp slt i32 %22, 4
br i1 %23, label %.lr.ph, label %49
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %44
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %14, align 4
%27 = mul nsw i32 %26, 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds float, ptr %25, i64 %28
%30 = call i32 @_mm_load_ps(ptr noundef %29)
store i32 %30, ptr %10, align 4
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %13, align 4
%33 = load i32, ptr %14, align 4
%34 = add nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds float, ptr %31, i64 %35
%37 = load float, ptr %36, align 4
%38 = call i32 @_mm_set1_ps(float noundef %37)
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %11, align 4
%41 = call i32 @_mm_mul_ps(i32 noundef %39, i32 noundef %40)
%42 = load i32, ptr %12, align 4
%43 = call i32 @_mm_add_ps(i32 noundef %41, i32 noundef %42)
store i32 %43, ptr %12, align 4
br label %44
44: ; preds = %24
%45 = load i32, ptr %14, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %14, align 4
%47 = load i32, ptr %14, align 4
%48 = icmp slt i32 %47, 4
br i1 %48, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %49
49: ; preds = %._crit_edge, %20
%50 = load ptr, ptr %9, align 8
%51 = load i32, ptr %13, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %50, i64 %52
%54 = load i32, ptr %12, align 4
%55 = call i32 @_mm_store_ps(ptr noundef %53, i32 noundef %54)
br label %56
56: ; preds = %49
%57 = load i32, ptr %13, align 4
%58 = add nsw i32 %57, 4
store i32 %58, ptr %13, align 4
%59 = load i32, ptr %13, align 4
%60 = icmp slt i32 %59, 16
br i1 %60, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %61
61: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @_mm_load_ps(ptr noundef) #1
declare i32 @_mm_set1_ps(float noundef) #1
declare i32 @_mm_add_ps(i32 noundef, i32 noundef) #1
declare i32 @_mm_mul_ps(i32 noundef, i32 noundef) #1
declare i32 @_mm_store_ps(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpw9qlpxtv.c'
source_filename = "/tmp/tmpw9qlpxtv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \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 @printArray(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 = %16, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 6
br i1 %8, label %9, label %19
9: ; preds = %6
%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
br label %6, !llvm.loop !6
19: ; preds = %6
%20 = 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/tmpw9qlpxtv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \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 @printArray(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 = icmp slt i32 %6, 6
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %15
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %8
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 6
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %2
%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 = '/tmp/tmpi1ms4zg_.c'
source_filename = "/tmp/tmpi1ms4zg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"Started Folly v%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c" _____ _____ __ __ __ __ \0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c" /\\_____\\ ) ___ ( /\\_\\ /\\_\\ /\\ /\\ /\\ \0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" ( ( ___// /\\_/\\ \\( ( ( ( ( ( \\ \\ \\/ / / \0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c" \\ \\ \\_ / /_/ (_\\ \\\\ \\_\\ \\ \\_\\ \\ \\__/ / \0A\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c" / / /_\\\\ \\ )_/ / // / /__ / / /__ \\__/ / \0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c" / /____/ \\ \\/_\\/ /( (_____(( (_____(/ / / \0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" \\/_/ )_____( \\/_____/ \\/_____/\\/_/ \0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"RANDOM SEED: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTitleAndWait(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%21 = call i32 @usleep(i32 noundef 200000)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @usleep(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/tmpi1ms4zg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [19 x i8] c"Started Folly v%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c" _____ _____ __ __ __ __ \0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c" /\\_____\\ ) ___ ( /\\_\\ /\\_\\ /\\ /\\ /\\ \0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c" ( ( ___// /\\_/\\ \\( ( ( ( ( ( \\ \\ \\/ / / \0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c" \\ \\ \\_ / /_/ (_\\ \\\\ \\_\\ \\ \\_\\ \\ \\__/ / \0A\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c" / / /_\\\\ \\ )_/ / // / /__ / / /__ \\__/ / \0A\00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c" / /____/ \\ \\/_\\/ /( (_____(( (_____(/ / / \0A\00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c" \\/_/ )_____( \\/_____/ \\/_____/\\/_/ \0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"RANDOM SEED: %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printTitleAndWait(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = load ptr, ptr %3, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%21 = call i32 @usleep(i32 noundef 200000)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @usleep(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/tmpeacyx968.c'
source_filename = "/tmp/tmpeacyx968.c"
target datalayout = "e-m:e-p270: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/tmpeacyx968.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.