llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmptbauzana.c'
source_filename = "/tmp/tmptbauzana.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"blubber\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = call ptr @memchr(ptr noundef @.str.1, i8 noundef signext 120, i32 noundef 4)
%4 = icmp eq ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = call ptr @memchr(ptr noundef null, i8 noundef signext 120, i32 noundef 0)
%8 = icmp eq ptr %7, null
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call ptr @memchr(ptr noundef %11, i8 noundef signext 117, i32 noundef 2)
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %2, align 8
%17 = call ptr @memchr(ptr noundef %16, i8 noundef signext 117, i32 noundef 7)
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
%20 = icmp eq ptr %17, %19
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = call ptr @memchr(ptr noundef %23, i8 noundef signext 98, i32 noundef 7)
%25 = load ptr, ptr %2, align 8
%26 = icmp eq ptr %24, %25
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 6
%31 = call ptr @memchr(ptr noundef %30, i8 noundef signext 114, i32 noundef 1)
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 6
%34 = icmp eq ptr %31, %33
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 7
%39 = call ptr @memchr(ptr noundef %38, i8 noundef signext 0, i32 noundef 100)
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 7
%42 = icmp eq ptr %39, %41
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare ptr @memchr(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbauzana.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"blubber\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"aaaa\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = call ptr @memchr(ptr noundef @.str.1, i8 noundef signext 120, i32 noundef 4)
%4 = icmp eq ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = call ptr @memchr(ptr noundef null, i8 noundef signext 120, i32 noundef 0)
%8 = icmp eq ptr %7, null
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call ptr @memchr(ptr noundef %11, i8 noundef signext 117, i32 noundef 2)
%13 = icmp eq ptr %12, null
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
%16 = load ptr, ptr %2, align 8
%17 = call ptr @memchr(ptr noundef %16, i8 noundef signext 117, i32 noundef 7)
%18 = load ptr, ptr %2, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
%20 = icmp eq ptr %17, %19
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = call ptr @memchr(ptr noundef %23, i8 noundef signext 98, i32 noundef 7)
%25 = load ptr, ptr %2, align 8
%26 = icmp eq ptr %24, %25
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 6
%31 = call ptr @memchr(ptr noundef %30, i8 noundef signext 114, i32 noundef 1)
%32 = load ptr, ptr %2, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 6
%34 = icmp eq ptr %31, %33
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 7
%39 = call ptr @memchr(ptr noundef %38, i8 noundef signext 0, i32 noundef 100)
%40 = load ptr, ptr %2, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 7
%42 = icmp eq ptr %39, %41
%43 = zext i1 %42 to i32
%44 = call i32 @assert(i32 noundef %43)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare ptr @memchr(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"}
|
; ModuleID = '/tmp/tmphy86sv59.c'
source_filename = "/tmp/tmphy86sv59.c"
target datalayout = "e-m:e-p270: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/tmphy86sv59.c"
target datalayout = "e-m:e-p270: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/tmpuwouqcaq.c'
source_filename = "/tmp/tmpuwouqcaq.c"
target datalayout = "e-m:e-p270: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/tmpuwouqcaq.c"
target datalayout = "e-m:e-p270: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/tmpnloto7nw.c'
source_filename = "/tmp/tmpnloto7nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fork_error() #0 {
%1 = call i32 @perror(ptr noundef @.str)
ret void
}
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnloto7nw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fork_error() #0 {
%1 = call i32 @perror(ptr noundef @.str)
ret void
}
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo5_9gpy8.c'
source_filename = "/tmp/tmpo5_9gpy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdv40_spiffs_lazy_mount_rollback(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %14
7: ; preds = %1
%8 = call i64 (...) @rdv40_spiffs_mounted()
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (...) @rdv40_spiffs_unmount()
store i32 %11, ptr %2, align 4
br label %14
12: ; preds = %7
%13 = call i32 (...) @rdv40_spiffs_mount()
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %12, %10, %6
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @rdv40_spiffs_mounted(...) #1
declare i32 @rdv40_spiffs_unmount(...) #1
declare i32 @rdv40_spiffs_mount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5_9gpy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rdv40_spiffs_lazy_mount_rollback(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %7, label %6
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %14
7: ; preds = %1
%8 = call i64 (...) @rdv40_spiffs_mounted()
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 (...) @rdv40_spiffs_unmount()
store i32 %11, ptr %2, align 4
br label %14
12: ; preds = %7
%13 = call i32 (...) @rdv40_spiffs_mount()
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %12, %10, %6
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i64 @rdv40_spiffs_mounted(...) #1
declare i32 @rdv40_spiffs_unmount(...) #1
declare i32 @rdv40_spiffs_mount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsbql53xf.c'
source_filename = "/tmp/tmpsbql53xf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CANInit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 0
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
store volatile i64 1, ptr %7, align 8
br label %8
8: ; preds = %16, %1
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 32
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
%13 = load volatile i64, ptr %12, align 8
%14 = and i64 %13, 32768
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %8
br label %8, !llvm.loop !6
17: ; preds = %8
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 36
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to ptr
store volatile i64 176, ptr %21, align 8
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 52
%24 = sext i32 %23 to i64
%25 = inttoptr i64 %24 to ptr
store volatile i64 0, ptr %25, align 8
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 56
%28 = sext i32 %27 to i64
%29 = inttoptr i64 %28 to ptr
store volatile i64 0, ptr %29, align 8
store i32 1, ptr %3, align 4
br label %30
30: ; preds = %50, %17
%31 = load i32, ptr %3, align 4
%32 = icmp sle i32 %31, 32
br i1 %32, label %33, label %53
33: ; preds = %30
br label %34
34: ; preds = %42, %33
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 32
%37 = sext i32 %36 to i64
%38 = inttoptr i64 %37 to ptr
%39 = load volatile i64, ptr %38, align 8
%40 = and i64 %39, 32768
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %34
br label %34, !llvm.loop !8
43: ; preds = %34
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 32
%48 = sext i32 %47 to i64
%49 = inttoptr i64 %48 to ptr
store volatile i64 %45, ptr %49, align 8
br label %50
50: ; preds = %43
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
br label %30, !llvm.loop !9
53: ; preds = %30
%54 = load i32, ptr %2, align 4
%55 = add nsw i32 %54, 36
%56 = sext i32 %55 to i64
%57 = inttoptr i64 %56 to ptr
store volatile i64 12, ptr %57, align 8
store i32 1, ptr %3, align 4
br label %58
58: ; preds = %78, %53
%59 = load i32, ptr %3, align 4
%60 = icmp sle i32 %59, 32
br i1 %60, label %61, label %81
61: ; preds = %58
br label %62
62: ; preds = %70, %61
%63 = load i32, ptr %2, align 4
%64 = add nsw i32 %63, 32
%65 = sext i32 %64 to i64
%66 = inttoptr i64 %65 to ptr
%67 = load volatile i64, ptr %66, align 8
%68 = and i64 %67, 32768
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %62
br label %62, !llvm.loop !10
71: ; preds = %62
%72 = load i32, ptr %3, align 4
%73 = sext i32 %72 to i64
%74 = load i32, ptr %2, align 4
%75 = add nsw i32 %74, 32
%76 = sext i32 %75 to i64
%77 = inttoptr i64 %76 to ptr
store volatile i64 %73, ptr %77, align 8
br label %78
78: ; preds = %71
%79 = load i32, ptr %3, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %3, align 4
br label %58, !llvm.loop !11
81: ; preds = %58
%82 = load i32, ptr %2, align 4
%83 = add nsw i32 %82, 4
%84 = sext i32 %83 to i64
%85 = inttoptr i64 %84 to ptr
%86 = load volatile i64, ptr %85, 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"}
!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/tmpsbql53xf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CANInit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 0
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
store volatile i64 1, ptr %7, align 8
br label %8
8: ; preds = %8, %1
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, 32
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
%13 = load volatile i64, ptr %12, align 8
%14 = and i64 %13, 32768
%15 = icmp ne i64 %14, 0
br i1 %15, label %8, label %16, !llvm.loop !6
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 36
%19 = sext i32 %18 to i64
%20 = inttoptr i64 %19 to ptr
store volatile i64 176, ptr %20, align 8
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 52
%23 = sext i32 %22 to i64
%24 = inttoptr i64 %23 to ptr
store volatile i64 0, ptr %24, align 8
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 56
%27 = sext i32 %26 to i64
%28 = inttoptr i64 %27 to ptr
store volatile i64 0, ptr %28, align 8
store i32 1, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp sle i32 %29, 32
br i1 %30, label %.lr.ph, label %52
.lr.ph: ; preds = %16
br label %31
31: ; preds = %.lr.ph, %47
br label %32
32: ; preds = %32, %31
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 32
%35 = sext i32 %34 to i64
%36 = inttoptr i64 %35 to ptr
%37 = load volatile i64, ptr %36, align 8
%38 = and i64 %37, 32768
%39 = icmp ne i64 %38, 0
br i1 %39, label %32, label %40, !llvm.loop !8
40: ; preds = %32
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 32
%45 = sext i32 %44 to i64
%46 = inttoptr i64 %45 to ptr
store volatile i64 %42, ptr %46, align 8
br label %47
47: ; preds = %40
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp sle i32 %50, 32
br i1 %51, label %31, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %47
br label %52
52: ; preds = %._crit_edge, %16
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 36
%55 = sext i32 %54 to i64
%56 = inttoptr i64 %55 to ptr
store volatile i64 12, ptr %56, align 8
store i32 1, ptr %3, align 4
%57 = load i32, ptr %3, align 4
%58 = icmp sle i32 %57, 32
br i1 %58, label %.lr.ph2, label %80
.lr.ph2: ; preds = %52
br label %59
59: ; preds = %.lr.ph2, %75
br label %60
60: ; preds = %60, %59
%61 = load i32, ptr %2, align 4
%62 = add nsw i32 %61, 32
%63 = sext i32 %62 to i64
%64 = inttoptr i64 %63 to ptr
%65 = load volatile i64, ptr %64, align 8
%66 = and i64 %65, 32768
%67 = icmp ne i64 %66, 0
br i1 %67, label %60, label %68, !llvm.loop !10
68: ; preds = %60
%69 = load i32, ptr %3, align 4
%70 = sext i32 %69 to i64
%71 = load i32, ptr %2, align 4
%72 = add nsw i32 %71, 32
%73 = sext i32 %72 to i64
%74 = inttoptr i64 %73 to ptr
store volatile i64 %70, ptr %74, align 8
br label %75
75: ; preds = %68
%76 = load i32, ptr %3, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %3, align 4
%78 = load i32, ptr %3, align 4
%79 = icmp sle i32 %78, 32
br i1 %79, label %59, label %._crit_edge3, !llvm.loop !11
._crit_edge3: ; preds = %75
br label %80
80: ; preds = %._crit_edge3, %52
%81 = load i32, ptr %2, align 4
%82 = add nsw i32 %81, 4
%83 = sext i32 %82 to i64
%84 = inttoptr i64 %83 to ptr
%85 = load volatile i64, ptr %84, 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"}
!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/tmpbkdn5qi2.c'
source_filename = "/tmp/tmpbkdn5qi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"Failed : appendtostring (buf) in posixwrapper:fortranrmdir\00", align 1
@errno = external global i32, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"%d %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Failed : rmdir in posixwrapper:fortranrmdir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fortranrmdir_(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
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 %5, align 8
store i32 -1, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %6, align 4
%11 = call ptr @appendtostring(ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %3
store i32 0, ptr @errno, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i32 @rmdir(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %30
23: ; preds = %16
%24 = load i32, ptr @errno, align 4
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24, ptr noundef %26)
%28 = call i32 @perror(ptr noundef @.str.2)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %16
%31 = load ptr, ptr %5, align 8
store i32 0, ptr %31, align 4
ret void
}
declare ptr @appendtostring(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @rmdir(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(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/tmpbkdn5qi2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"Failed : appendtostring (buf) in posixwrapper:fortranrmdir\00", align 1
@errno = external global i32, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"%d %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Failed : rmdir in posixwrapper:fortranrmdir\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fortranrmdir_(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
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 %5, align 8
store i32 -1, ptr %8, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %6, align 4
%11 = call ptr @appendtostring(ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %3
%14 = call i32 @perror(ptr noundef @.str)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %3
store i32 0, ptr @errno, align 4
%17 = load ptr, ptr %7, align 8
%18 = call i32 @rmdir(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
store i32 %18, ptr %19, align 4
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %30
23: ; preds = %16
%24 = load i32, ptr @errno, align 4
%25 = load i32, ptr @errno, align 4
%26 = call ptr @strerror(i32 noundef %25)
%27 = call i32 @printf(ptr noundef @.str.1, i32 noundef %24, ptr noundef %26)
%28 = call i32 @perror(ptr noundef @.str.2)
%29 = call i32 @exit(i32 noundef 1) #3
unreachable
30: ; preds = %16
%31 = load ptr, ptr %5, align 8
store i32 0, ptr %31, align 4
ret void
}
declare ptr @appendtostring(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @rmdir(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strerror(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/tmpzvapjriw.c'
source_filename = "/tmp/tmpzvapjriw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ringbuffer_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %27, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %30
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i32 @ringbuffer_push(ptr noundef %14, i8 noundef zeroext %19)
%21 = icmp ne i32 %20, 0
br i1 %21, label %25, label %22
22: ; preds = %13
%23 = load i32, ptr %7, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %7, align 4
br label %26
25: ; preds = %13
br label %30
26: ; preds = %22
br label %27
27: ; preds = %26
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
br label %9, !llvm.loop !6
30: ; preds = %25, %9
%31 = load i32, ptr %7, align 4
ret i32 %31
}
declare i32 @ringbuffer_push(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzvapjriw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ringbuffer_write(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %26
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i32 @ringbuffer_push(ptr noundef %13, i8 noundef zeroext %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %24, label %21
21: ; preds = %12
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %7, align 4
br label %25
24: ; preds = %12
br label %32
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp ult i32 %29, %30
br i1 %31, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %26
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %32
32: ; preds = %.loopexit, %24
%33 = load i32, ptr %7, align 4
ret i32 %33
}
declare i32 @ringbuffer_push(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk85c8_bu.c'
source_filename = "/tmp/tmpk85c8_bu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @is_solvable(ptr noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call signext i16 @find_pos(ptr noundef %6)
store i16 %7, ptr %4, align 2
%8 = load ptr, ptr %3, align 8
%9 = call signext i16 @num_inversions(ptr noundef %8)
store i16 %9, ptr %5, align 2
%10 = load i16, ptr %4, align 2
%11 = sext i16 %10 to i32
%12 = sdiv i32 %11, 4
%13 = sub nsw i32 4, %12
%14 = srem i32 %13, 2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %1
%17 = load i16, ptr %5, align 2
%18 = sext i16 %17 to i32
%19 = srem i32 %18, 2
%20 = icmp eq i32 %19, 1
%21 = zext i1 %20 to i32
%22 = trunc i32 %21 to i16
store i16 %22, ptr %2, align 2
br label %30
23: ; preds = %1
%24 = load i16, ptr %5, align 2
%25 = sext i16 %24 to i32
%26 = srem i32 %25, 2
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
%29 = trunc i32 %28 to i16
store i16 %29, ptr %2, align 2
br label %30
30: ; preds = %23, %16
%31 = load i16, ptr %2, align 2
ret i16 %31
}
declare signext i16 @find_pos(ptr noundef) #1
declare signext i16 @num_inversions(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk85c8_bu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @is_solvable(ptr noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call signext i16 @find_pos(ptr noundef %6)
store i16 %7, ptr %4, align 2
%8 = load ptr, ptr %3, align 8
%9 = call signext i16 @num_inversions(ptr noundef %8)
store i16 %9, ptr %5, align 2
%10 = load i16, ptr %4, align 2
%11 = sext i16 %10 to i32
%12 = sdiv i32 %11, 4
%13 = sub nsw i32 4, %12
%14 = srem i32 %13, 2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %1
%17 = load i16, ptr %5, align 2
%18 = sext i16 %17 to i32
%19 = srem i32 %18, 2
%20 = icmp eq i32 %19, 1
%21 = zext i1 %20 to i32
%22 = trunc i32 %21 to i16
store i16 %22, ptr %2, align 2
br label %30
23: ; preds = %1
%24 = load i16, ptr %5, align 2
%25 = sext i16 %24 to i32
%26 = srem i32 %25, 2
%27 = icmp eq i32 %26, 0
%28 = zext i1 %27 to i32
%29 = trunc i32 %28 to i16
store i16 %29, ptr %2, align 2
br label %30
30: ; preds = %23, %16
%31 = load i16, ptr %2, align 2
ret i16 %31
}
declare signext i16 @find_pos(ptr noundef) #1
declare signext i16 @num_inversions(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq4bvvvsp.c'
source_filename = "/tmp/tmpq4bvvvsp.c"
target datalayout = "e-m:e-p270: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/tmpq4bvvvsp.c"
target datalayout = "e-m:e-p270: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/tmpf9hv2r50.c'
source_filename = "/tmp/tmpf9hv2r50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
br label %7
7: ; preds = %11, %0
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 @movimento(i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %15)
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
%18 = load i32, ptr %4, align 4
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %5, align 4
store i32 %19, ptr %3, align 4
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = call i32 @puts(ptr noundef @.str.2)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @movimento(i32 noundef, i32 noundef, i32 noundef, i32 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/tmpf9hv2r50.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%8 = load i64, ptr @EOF, align 8
%9 = icmp ne i64 %7, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %10
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = call i32 @movimento(i32 noundef %11, i32 noundef %12, i32 noundef %13, i32 noundef %14)
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %5, align 4
store i32 %18, ptr %3, align 4
%19 = call i64 @scanf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
%20 = load i64, ptr @EOF, align 8
%21 = icmp ne i64 %19, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @puts(ptr noundef @.str.2)
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @movimento(i32 noundef, i32 noundef, i32 noundef, i32 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/tmpxzhqmsg3.c'
source_filename = "/tmp/tmpxzhqmsg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxzhqmsg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiuujxm4o.c'
source_filename = "/tmp/tmpiuujxm4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_get_number_of_pipelines_() #0 {
%1 = call i32 (...) @g5_get_number_of_pipelines()
ret i32 %1
}
declare i32 @g5_get_number_of_pipelines(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiuujxm4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_get_number_of_pipelines_() #0 {
%1 = call i32 (...) @g5_get_number_of_pipelines()
ret i32 %1
}
declare i32 @g5_get_number_of_pipelines(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpati6omy8.c'
source_filename = "/tmp/tmpati6omy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getSizeOfDenominations(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fclose(ptr noundef %9)
store i32 0, ptr %2, align 4
br label %45
11: ; preds = %1
br label %12
12: ; preds = %26, %11
%13 = load ptr, ptr %3, align 8
%14 = call i32 @feof(ptr noundef %13)
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = load ptr, ptr %3, align 8
%19 = call signext i8 @fgetc(ptr noundef %18)
store i8 %19, ptr %5, align 1
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 10
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = load i32, ptr %4, align 4
%25 = add i32 %24, 1
store i32 %25, ptr %4, align 4
br label %26
26: ; preds = %23, %17
br label %12, !llvm.loop !6
27: ; preds = %12
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %40
30: ; preds = %27
%31 = load ptr, ptr %3, align 8
%32 = call i64 @ftell(ptr noundef %31)
%33 = icmp sgt i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load ptr, ptr %3, align 8
%36 = call i32 @rewind(ptr noundef %35)
store i32 1, ptr %2, align 4
br label %45
37: ; preds = %30
%38 = load ptr, ptr %3, align 8
%39 = call i32 @rewind(ptr noundef %38)
store i32 0, ptr %2, align 4
br label %45
40: ; preds = %27
%41 = load ptr, ptr %3, align 8
%42 = call i32 @rewind(ptr noundef %41)
%43 = load i32, ptr %4, align 4
%44 = add i32 %43, 1
store i32 %44, ptr %4, align 4
store i32 %44, ptr %2, align 4
br label %45
45: ; preds = %40, %37, %34, %8
%46 = load i32, ptr %2, align 4
ret i32 %46
}
declare i32 @fclose(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpati6omy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getSizeOfDenominations(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @fclose(ptr noundef %9)
store i32 0, ptr %2, align 4
br label %48
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @feof(ptr noundef %12)
%14 = icmp ne i32 %13, 0
%15 = xor i1 %14, true
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %11
br label %16
16: ; preds = %.lr.ph, %25
%17 = load ptr, ptr %3, align 8
%18 = call signext i8 @fgetc(ptr noundef %17)
store i8 %18, ptr %5, align 1
%19 = load i8, ptr %5, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 10
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %4, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %22, %16
%26 = load ptr, ptr %3, align 8
%27 = call i32 @feof(ptr noundef %26)
%28 = icmp ne i32 %27, 0
%29 = xor i1 %28, true
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %11
%31 = load i32, ptr %4, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %30
%34 = load ptr, ptr %3, align 8
%35 = call i64 @ftell(ptr noundef %34)
%36 = icmp sgt i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = load ptr, ptr %3, align 8
%39 = call i32 @rewind(ptr noundef %38)
store i32 1, ptr %2, align 4
br label %48
40: ; preds = %33
%41 = load ptr, ptr %3, align 8
%42 = call i32 @rewind(ptr noundef %41)
store i32 0, ptr %2, align 4
br label %48
43: ; preds = %30
%44 = load ptr, ptr %3, align 8
%45 = call i32 @rewind(ptr noundef %44)
%46 = load i32, ptr %4, align 4
%47 = add i32 %46, 1
store i32 %47, ptr %4, align 4
store i32 %47, ptr %2, align 4
br label %48
48: ; preds = %43, %40, %37, %8
%49 = load i32, ptr %2, align 4
ret i32 %49
}
declare i32 @fclose(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8bg83ypv.c'
source_filename = "/tmp/tmp8bg83ypv.c"
target datalayout = "e-m:e-p270: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/tmp8bg83ypv.c"
target datalayout = "e-m:e-p270: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/tmpjqpmfjiv.c'
source_filename = "/tmp/tmpjqpmfjiv.c"
target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [4 x i8] c"\FF\FF\E0?", align 1
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"buf=\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"val=%g\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 float, align 4
%8 = alloca [4 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 %8, ptr align 1 @__const.main.buf, i64 4, i1 false)
%9 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @ConvertToFloat(ptr noundef %9, ptr noundef %7)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %24, %2
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load i32, ptr @stdout, align 4
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = zext i8 %21 to i32
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %16
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %13, !llvm.loop !6
27: ; preds = %13
%28 = load i32, ptr @stdout, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.2)
%30 = load i32, ptr @stdout, align 4
%31 = load float, ptr %7, align 4
%32 = fpext float %31 to double
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.3, double noundef %32)
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 @ConvertToFloat(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqpmfjiv.c"
target datalayout = "e-m:e-p270: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.buf = private unnamed_addr constant [4 x i8] c"\FF\FF\E0?", align 1
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"buf=\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%.2x\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"val=%g\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 float, align 4
%8 = alloca [4 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 %8, ptr align 1 @__const.main.buf, i64 4, i1 false)
%9 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @ConvertToFloat(ptr noundef %9, ptr noundef %7)
%11 = load i32, ptr @stdout, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 8
br i1 %14, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %23
%16 = load i32, ptr @stdout, align 4
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = zext i8 %20 to i32
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1, i32 noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 8
br i1 %27, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %2
%29 = load i32, ptr @stdout, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.2)
%31 = load i32, ptr @stdout, align 4
%32 = load float, ptr %7, align 4
%33 = fpext float %32 to double
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.3, double noundef %33)
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 @ConvertToFloat(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe8e6_uww.c'
source_filename = "/tmp/tmpe8e6_uww.c"
target datalayout = "e-m:e-p270: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/tmpe8e6_uww.c"
target datalayout = "e-m:e-p270: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/tmp5x94if7n.c'
source_filename = "/tmp/tmp5x94if7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Line %3d of File %s \0A\00", align 1
@.str.1 = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/master/OPERATORS/AX_EQUALS_B/src/positive_solver.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @full_posdef_positive_solver_fast(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %12
12: ; preds = %25, %4
%13 = load i32, ptr %10, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %10, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = sext i32 %17 to i64
%24 = getelementptr inbounds double, ptr %22, i64 %23
store ptr %24, ptr %21, align 8
br label %25
25: ; preds = %16
%26 = load i32, ptr %10, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %10, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
%29 = load ptr, ptr %5, align 8
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %8, align 4
%33 = call i32 @_positive_solver_rec(ptr noundef %29, ptr noundef %30, ptr noundef %31, i32 noundef %32)
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %40
36: ; preds = %28
%37 = load i32, ptr @stderr, align 4
%38 = call i32 @fprintf(i32 noundef %37, ptr noundef @.str, i32 noundef 193, ptr noundef @.str.1)
%39 = load i32, ptr %9, align 4
store i32 %39, ptr %9, align 4
br label %41
40: ; preds = %28
br label %41
41: ; preds = %40, %36
store i32 0, ptr %11, align 4
br label %42
42: ; preds = %56, %41
%43 = load i32, ptr %11, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %59
46: ; preds = %42
%47 = load i32, ptr %11, align 4
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = sext i32 %47 to i64
%54 = sub i64 0, %53
%55 = getelementptr inbounds double, ptr %52, i64 %54
store ptr %55, ptr %51, align 8
br label %56
56: ; preds = %46
%57 = load i32, ptr %11, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %11, align 4
br label %42, !llvm.loop !8
59: ; preds = %42
%60 = load i32, ptr %9, align 4
ret i32 %60
}
declare i32 @_positive_solver_rec(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5x94if7n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Line %3d of File %s \0A\00", align 1
@.str.1 = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/NerdWalletOSS/Q/refs/heads/master/OPERATORS/AX_EQUALS_B/src/positive_solver.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @full_posdef_positive_solver_fast(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load i32, ptr %10, align 4
%13 = load i32, ptr %8, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %24
%16 = load i32, ptr %10, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %10, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = sext i32 %16 to i64
%23 = getelementptr inbounds double, ptr %21, i64 %22
store ptr %23, ptr %20, align 8
br label %24
24: ; preds = %15
%25 = load i32, ptr %10, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %4
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i32, ptr %8, align 4
%35 = call i32 @_positive_solver_rec(ptr noundef %31, ptr noundef %32, ptr noundef %33, i32 noundef %34)
store i32 %35, ptr %9, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %30
%39 = load i32, ptr @stderr, align 4
%40 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str, i32 noundef 193, ptr noundef @.str.1)
%41 = load i32, ptr %9, align 4
store i32 %41, ptr %9, align 4
br label %43
42: ; preds = %30
br label %43
43: ; preds = %42, %38
store i32 0, ptr %11, align 4
%44 = load i32, ptr %11, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph2, label %63
.lr.ph2: ; preds = %43
br label %47
47: ; preds = %.lr.ph2, %57
%48 = load i32, ptr %11, align 4
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %11, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = sext i32 %48 to i64
%55 = sub i64 0, %54
%56 = getelementptr inbounds double, ptr %53, i64 %55
store ptr %56, ptr %52, align 8
br label %57
57: ; preds = %47
%58 = load i32, ptr %11, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %11, align 4
%60 = load i32, ptr %11, align 4
%61 = load i32, ptr %8, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %63
63: ; preds = %._crit_edge3, %43
%64 = load i32, ptr %9, align 4
ret i32 %64
}
declare i32 @_positive_solver_rec(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpoy9iv0lx.c'
source_filename = "/tmp/tmpoy9iv0lx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_float_token(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @GetToken(i32 noundef 0, ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call double @small_atof(ptr noundef %11)
%13 = load ptr, ptr %3, align 8
store double %12, ptr %13, align 8
br label %14
14: ; preds = %10, %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @GetToken(i32 noundef, ptr noundef) #1
declare double @small_atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoy9iv0lx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_float_token(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @GetToken(i32 noundef 0, ptr noundef %6)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = call double @small_atof(ptr noundef %11)
%13 = load ptr, ptr %3, align 8
store double %12, ptr %13, align 8
br label %14
14: ; preds = %10, %2
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
declare ptr @GetToken(i32 noundef, ptr noundef) #1
declare double @small_atof(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp68su21sx.c'
source_filename = "/tmp/tmp68su21sx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"Ikilik Taban Sekizlik Taban Onluk Taban Onaltilik Taban\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%12d%15d%12o%16X\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %2, align 4
br label %8
8: ; preds = %48, %0
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %9, 255
br i1 %10, label %11, label %51
11: ; preds = %8
store i32 0, ptr %3, align 4
store i32 7, ptr %6, align 4
%12 = load i32, ptr %2, align 4
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %39, %11
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %42
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %6, align 4
%19 = call i32 @pow(i32 noundef 2, i32 noundef %18)
%20 = sdiv i32 %17, %19
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = call i32 @pow(i32 noundef 10, i32 noundef %22)
%24 = mul nsw i32 %21, %23
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %25, %26
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 @pow(i32 noundef 2, i32 noundef %29)
%31 = sub nsw i32 %28, %30
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %39
34: ; preds = %16
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %6, align 4
%37 = call i32 @pow(i32 noundef 2, i32 noundef %36)
%38 = add nsw i32 %35, %37
store i32 %38, ptr %4, align 4
br label %39
39: ; preds = %34, %16
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %6, align 4
br label %13, !llvm.loop !6
42: ; preds = %13
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %42
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %2, align 4
br label %8, !llvm.loop !8
51: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68su21sx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"Ikilik Taban Sekizlik Taban Onluk Taban Onaltilik Taban\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%12d%15d%12o%16X\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp sle i32 %8, 255
br i1 %9, label %.lr.ph2, label %53
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %48
store i32 0, ptr %3, align 4
store i32 7, ptr %6, align 4
%11 = load i32, ptr %2, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %42
.lr.ph: ; preds = %10
br label %14
14: ; preds = %.lr.ph, %37
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @pow(i32 noundef 2, i32 noundef %16)
%18 = sdiv i32 %15, %17
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 @pow(i32 noundef 10, i32 noundef %20)
%22 = mul nsw i32 %19, %21
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %23, %24
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %6, align 4
%28 = call i32 @pow(i32 noundef 2, i32 noundef %27)
%29 = sub nsw i32 %26, %28
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %14
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %6, align 4
%35 = call i32 @pow(i32 noundef 2, i32 noundef %34)
%36 = add nsw i32 %33, %35
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %32, %14
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %10
%43 = load i32, ptr %3, align 4
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %42
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %2, align 4
%51 = load i32, ptr %2, align 4
%52 = icmp sle i32 %51, 255
br i1 %52, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %53
53: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprwptt7g7.c'
source_filename = "/tmp/tmprwptt7g7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeComparator(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 @GPIODirModeSet(i32 noundef %5, i32 noundef %6, i32 noundef 0)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @GPIOPadConfigSet(i32 noundef %8, i32 noundef %9, i32 noundef 1, i32 noundef 0)
ret void
}
declare i32 @GPIODirModeSet(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwptt7g7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GPIOPinTypeComparator(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 @GPIODirModeSet(i32 noundef %5, i32 noundef %6, i32 noundef 0)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @GPIOPadConfigSet(i32 noundef %8, i32 noundef %9, i32 noundef 1, i32 noundef 0)
ret void
}
declare i32 @GPIODirModeSet(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpknfb3eqr.c'
source_filename = "/tmp/tmpknfb3eqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeWindow() #0 {
%1 = call i32 (...) @ezdCleanUp()
ret void
}
declare i32 @ezdCleanUp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpknfb3eqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeWindow() #0 {
%1 = call i32 (...) @ezdCleanUp()
ret void
}
declare i32 @ezdCleanUp(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpocmlhdcr.c'
source_filename = "/tmp/tmpocmlhdcr.c"
target datalayout = "e-m:e-p270: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/tmpocmlhdcr.c"
target datalayout = "e-m:e-p270: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/tmp55ynxi6v.c'
source_filename = "/tmp/tmp55ynxi6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"prn Num == %d\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"prn num error\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"usage\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [1023 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %43
10: ; preds = %2
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4092, i1 false)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %23, label %20
20: ; preds = %10
%21 = load i32, ptr %6, align 4
%22 = icmp sgt i32 %21, 32
br i1 %22, label %23, label %26
23: ; preds = %20, %10
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 0) #4
unreachable
26: ; preds = %20
%27 = getelementptr inbounds [1023 x i32], ptr %5, i64 0, i64 0
%28 = load i32, ptr %6, align 4
%29 = call i32 @codegen(ptr noundef %27, i32 noundef %28)
store i32 0, ptr %7, align 4
br label %30
30: ; preds = %39, %26
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %31, 1023
br i1 %32, label %33, label %42
33: ; preds = %30
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [1023 x i32], ptr %5, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37)
br label %39
39: ; preds = %33
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
br label %30, !llvm.loop !6
42: ; preds = %30
br label %45
43: ; preds = %2
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
45: ; preds = %43, %42
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @atoi(ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @codegen(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmp55ynxi6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"prn Num == %d\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"prn num error\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d,\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"usage\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [1023 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 2
br i1 %9, label %10, label %44
10: ; preds = %2
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 4092, i1 false)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @atoi(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr @stderr, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 1
br i1 %19, label %23, label %20
20: ; preds = %10
%21 = load i32, ptr %6, align 4
%22 = icmp sgt i32 %21, 32
br i1 %22, label %23, label %26
23: ; preds = %20, %10
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 0) #4
unreachable
26: ; preds = %20
%27 = getelementptr inbounds [1023 x i32], ptr %5, i64 0, i64 0
%28 = load i32, ptr %6, align 4
%29 = call i32 @codegen(ptr noundef %27, i32 noundef %28)
store i32 0, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %30, 1023
br i1 %31, label %.lr.ph, label %43
.lr.ph: ; preds = %26
br label %32
32: ; preds = %.lr.ph, %38
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [1023 x i32], ptr %5, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %36)
br label %38
38: ; preds = %32
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %41, 1023
br i1 %42, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %43
43: ; preds = %._crit_edge, %26
br label %46
44: ; preds = %2
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %46
46: ; preds = %44, %43
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @atoi(ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @codegen(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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/tmp0xusy4ds.c'
source_filename = "/tmp/tmp0xusy4ds.c"
target datalayout = "e-m:e-p270: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/tmp0xusy4ds.c"
target datalayout = "e-m:e-p270: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/tmpai5w1iyp.c'
source_filename = "/tmp/tmpai5w1iyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\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 [100000 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7)
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %21, %2
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [100000 x i32], ptr %10, i64 0, i64 %18
%20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
%25 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %24
store i32 0, ptr %6, align 4
%31 = load i32, ptr %9, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
br label %37
33: ; preds = %24
store i32 1, ptr %6, align 4
%34 = getelementptr inbounds [100000 x i32], ptr %10, i64 0, i64 0
%35 = load i32, ptr %34, align 16
%36 = call i32 @printf(ptr noundef @.str, i32 noundef %35)
br label %37
37: ; preds = %33, %30
br label %38
38: ; preds = %58, %37
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %61
42: ; preds = %38
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %43, %44
br i1 %45, label %46, label %52
46: ; preds = %42
%47 = load i32, ptr %8, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = load i32, ptr %9, align 4
%51 = call i32 @printf(ptr noundef @.str.2, i32 noundef %50)
br label %52
52: ; preds = %49, %46, %42
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [100000 x i32], ptr %10, i64 0, i64 %54
%56 = load i32, ptr %55, align 4
%57 = call i32 @printf(ptr noundef @.str.2, i32 noundef %56)
br label %58
58: ; preds = %52
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %6, align 4
br label %38, !llvm.loop !8
61: ; preds = %38
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp sge i32 %62, %63
br i1 %64, label %65, label %68
65: ; preds = %61
%66 = load i32, ptr %9, align 4
%67 = call i32 @printf(ptr noundef @.str.2, i32 noundef %66)
br label %68
68: ; preds = %65, %61
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpai5w1iyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %d\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 [100000 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %7)
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %20
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [100000 x i32], ptr %10, i64 0, i64 %17
%19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
%27 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %8, ptr noundef %9)
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp eq i32 %30, 0
br i1 %31, label %32, label %35
32: ; preds = %26
store i32 0, ptr %6, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @printf(ptr noundef @.str, i32 noundef %33)
br label %39
35: ; preds = %26
store i32 1, ptr %6, align 4
%36 = getelementptr inbounds [100000 x i32], ptr %10, i64 0, i64 0
%37 = load i32, ptr %36, align 16
%38 = call i32 @printf(ptr noundef @.str, i32 noundef %37)
br label %39
39: ; preds = %35, %32
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph2, label %65
.lr.ph2: ; preds = %39
br label %43
43: ; preds = %.lr.ph2, %59
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp eq i32 %44, %45
br i1 %46, label %47, label %53
47: ; preds = %43
%48 = load i32, ptr %8, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr %9, align 4
%52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %51)
br label %53
53: ; preds = %50, %47, %43
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [100000 x i32], ptr %10, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = call i32 @printf(ptr noundef @.str.2, i32 noundef %57)
br label %59
59: ; preds = %53
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %39
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %7, align 4
%68 = icmp sge i32 %66, %67
br i1 %68, label %69, label %72
69: ; preds = %65
%70 = load i32, ptr %9, align 4
%71 = call i32 @printf(ptr noundef @.str.2, i32 noundef %70)
br label %72
72: ; preds = %69, %65
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp23gm8qdx.c'
source_filename = "/tmp/tmp23gm8qdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @get_version_1()
%3 = icmp ne i32 %2, 104
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, ptr %1, align 4
br label %10
5: ; preds = %0
%6 = call i32 (...) @get_version_2()
%7 = icmp ne i32 %6, 104
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 2, ptr %1, align 4
br label %10
9: ; preds = %5
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %9, %8, %4
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @get_version_1(...) #1
declare i32 @get_version_2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp23gm8qdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @get_version_1()
%3 = icmp ne i32 %2, 104
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 1, ptr %1, align 4
br label %10
5: ; preds = %0
%6 = call i32 (...) @get_version_2()
%7 = icmp ne i32 %6, 104
br i1 %7, label %8, label %9
8: ; preds = %5
store i32 2, ptr %1, align 4
br label %10
9: ; preds = %5
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %9, %8, %4
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @get_version_1(...) #1
declare i32 @get_version_2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiehuk1i8.c'
source_filename = "/tmp/tmpiehuk1i8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E4\B8\BB\E7\A8\8B\E5\BA\8F\E7\9A\84\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ps\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"\E8\BF\99\E6\98\AF\E7\88\B6\E8\BF\9B\E7\A8\8B\EF\BC\8C\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"\E5\AD\90\E8\BF\9B\E7\A8\8B\E7\9A\84\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"\E8\BF\99\E6\98\AF\E5\AD\90\E8\BF\9B\E7\A8\8B\EF\BC\8C\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @getpid()
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @system(ptr noundef @.str.1)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call i32 (...) @fork()
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %2
%17 = call i32 (...) @getpid()
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19)
%21 = call i32 @system(ptr noundef @.str.1)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %26
23: ; preds = %2
%24 = call i32 (...) @getpid()
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24)
br label %26
26: ; preds = %23, %16
%27 = call i32 @system(ptr noundef @.str.1)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @system(ptr noundef) #1
declare i32 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiehuk1i8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\E4\B8\BB\E7\A8\8B\E5\BA\8F\E7\9A\84\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"ps\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"\E8\BF\99\E6\98\AF\E7\88\B6\E8\BF\9B\E7\A8\8B\EF\BC\8C\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"\E5\AD\90\E8\BF\9B\E7\A8\8B\E7\9A\84\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"\E8\BF\99\E6\98\AF\E5\AD\90\E8\BF\9B\E7\A8\8B\EF\BC\8C\E8\BF\9B\E7\A8\8B\E5\8F\B7\E6\98\AF\EF\BC\9A%d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @getpid()
store i32 %8, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = call i32 @system(ptr noundef @.str.1)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%13 = call i32 (...) @fork()
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %2
%17 = call i32 (...) @getpid()
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %19)
%21 = call i32 @system(ptr noundef @.str.1)
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %26
23: ; preds = %2
%24 = call i32 (...) @getpid()
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %24)
br label %26
26: ; preds = %23, %16
%27 = call i32 @system(ptr noundef @.str.1)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @getpid(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @system(ptr noundef) #1
declare i32 @fork(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_0985y_a.c'
source_filename = "/tmp/tmp_0985y_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 void @aligned_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 -1
%5 = load ptr, ptr %4, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_0985y_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 void @aligned_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds ptr, ptr %3, i64 -1
%5 = load ptr, ptr %4, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_6sioref.c'
source_filename = "/tmp/tmp_6sioref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_RGB_D_Set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %3
store volatile i32 8, ptr inttoptr (i64 1073893408 to ptr), align 4
br label %11
10: ; preds = %3
store volatile i32 0, ptr inttoptr (i64 1073893408 to ptr), align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store volatile i32 8, ptr inttoptr (i64 1073762336 to ptr), align 4
br label %16
15: ; preds = %11
store volatile i32 0, ptr inttoptr (i64 1073762336 to ptr), align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16
store volatile i32 16, ptr inttoptr (i64 1073766464 to ptr), align 4
br label %21
20: ; preds = %16
store volatile i32 0, ptr inttoptr (i64 1073766464 to ptr), align 4
br label %21
21: ; preds = %20, %19
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/tmp_6sioref.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BSP_RGB_D_Set(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %3
store volatile i32 8, ptr inttoptr (i64 1073893408 to ptr), align 4
br label %11
10: ; preds = %3
store volatile i32 0, ptr inttoptr (i64 1073893408 to ptr), align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store volatile i32 8, ptr inttoptr (i64 1073762336 to ptr), align 4
br label %16
15: ; preds = %11
store volatile i32 0, ptr inttoptr (i64 1073762336 to ptr), align 4
br label %16
16: ; preds = %15, %14
%17 = load i32, ptr %6, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16
store volatile i32 16, ptr inttoptr (i64 1073766464 to ptr), align 4
br label %21
20: ; preds = %16
store volatile i32 0, ptr inttoptr (i64 1073766464 to ptr), align 4
br label %21
21: ; preds = %20, %19
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/tmpbirk9i4u.c'
source_filename = "/tmp/tmpbirk9i4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_random_seed(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timeval, align 8
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%5 = call i32 @gettimeofday(ptr noundef %3, i32 noundef 0)
%6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = call i32 @srandom(i64 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @srandom(i64 noundef 0)
br label %13
13: ; preds = %11, %1
%14 = call i64 (...) @random()
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = call i32 @srandom(i64 noundef %15)
ret void
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @srandom(i64 noundef) #1
declare i64 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbirk9i4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_random_seed(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.timeval, align 8
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%5 = call i32 @gettimeofday(ptr noundef %3, i32 noundef 0)
%6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = call i32 @srandom(i64 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %1
%12 = call i32 @srandom(i64 noundef 0)
br label %13
13: ; preds = %11, %1
%14 = call i64 (...) @random()
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = call i32 @srandom(i64 noundef %15)
ret void
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i32 @srandom(i64 noundef) #1
declare i64 @random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuh7ebz5w.c'
source_filename = "/tmp/tmpuh7ebz5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 9223372036854775807, ptr %2, align 8
store i64 -9223372036854775808, ptr %3, align 8
%4 = call i32 @check_ll(x86_fp80 noundef 0xK4006CE3B87160956C000, i64 noundef 206)
%5 = call i32 @check_ull(x86_fp80 noundef 0xK4006CE3B87160956C000, i64 noundef 206)
%6 = call i32 @check_ll(x86_fp80 noundef 0xK403DFFFFFFFFFFFFFFFE, i64 noundef 9223372036854775807)
%7 = call i32 @check_ull(x86_fp80 noundef 0xK403DFFFFFFFFFFFFFFFE, i64 noundef 9223372036854775807)
%8 = call i32 @check_ll(x86_fp80 noundef 0xKC03E8000000000000000, i64 noundef -9223372036854775808)
%9 = call i32 @check_ll(x86_fp80 noundef 0xK00000000000000000000, i64 noundef 0)
%10 = call i32 @check_ull(x86_fp80 noundef 0xK00000000000000000000, i64 noundef 0)
%11 = call i32 @check_ll(x86_fp80 noundef 0xKBFFF8000000000000000, i64 noundef -1)
%12 = call i32 @check_ll(x86_fp80 noundef 0xK403EFFFFFFFFFFFFFFFF, i64 noundef 9223372036854775807)
%13 = call i32 @check_ull(x86_fp80 noundef 0xK403EFFFFFFFFFFFFFFFF, i64 noundef -1)
ret i32 0
}
declare i32 @check_ll(x86_fp80 noundef, i64 noundef) #1
declare i32 @check_ull(x86_fp80 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/tmpuh7ebz5w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64, align 8
%3 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 9223372036854775807, ptr %2, align 8
store i64 -9223372036854775808, ptr %3, align 8
%4 = call i32 @check_ll(x86_fp80 noundef 0xK4006CE3B87160956C000, i64 noundef 206)
%5 = call i32 @check_ull(x86_fp80 noundef 0xK4006CE3B87160956C000, i64 noundef 206)
%6 = call i32 @check_ll(x86_fp80 noundef 0xK403DFFFFFFFFFFFFFFFE, i64 noundef 9223372036854775807)
%7 = call i32 @check_ull(x86_fp80 noundef 0xK403DFFFFFFFFFFFFFFFE, i64 noundef 9223372036854775807)
%8 = call i32 @check_ll(x86_fp80 noundef 0xKC03E8000000000000000, i64 noundef -9223372036854775808)
%9 = call i32 @check_ll(x86_fp80 noundef 0xK00000000000000000000, i64 noundef 0)
%10 = call i32 @check_ull(x86_fp80 noundef 0xK00000000000000000000, i64 noundef 0)
%11 = call i32 @check_ll(x86_fp80 noundef 0xKBFFF8000000000000000, i64 noundef -1)
%12 = call i32 @check_ll(x86_fp80 noundef 0xK403EFFFFFFFFFFFFFFFF, i64 noundef 9223372036854775807)
%13 = call i32 @check_ull(x86_fp80 noundef 0xK403EFFFFFFFFFFFFFFFF, i64 noundef -1)
ret i32 0
}
declare i32 @check_ll(x86_fp80 noundef, i64 noundef) #1
declare i32 @check_ull(x86_fp80 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/tmpfg_dx3s0.c'
source_filename = "/tmp/tmpfg_dx3s0.c"
target datalayout = "e-m:e-p270: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/tmpfg_dx3s0.c"
target datalayout = "e-m:e-p270: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/tmpdq17ediw.c'
source_filename = "/tmp/tmpdq17ediw.c"
target datalayout = "e-m:e-p270: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/tmpdq17ediw.c"
target datalayout = "e-m:e-p270: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/tmpqe_c_b0c.c'
source_filename = "/tmp/tmpqe_c_b0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error(betai):bad input x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @betai(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
%9 = load float, ptr %7, align 4
%10 = fpext float %9 to double
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load float, ptr %7, align 4
%14 = fpext float %13 to double
%15 = fcmp ogt double %14, 1.000000e+00
br i1 %15, label %16, label %18
16: ; preds = %12, %3
%17 = call i32 @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %4, align 4
br label %87
18: ; preds = %12
%19 = load float, ptr %7, align 4
%20 = fpext float %19 to double
%21 = fcmp oeq double %20, 0.000000e+00
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load float, ptr %7, align 4
%24 = fpext float %23 to double
%25 = fcmp oeq double %24, 1.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %22, %18
store float 0.000000e+00, ptr %8, align 4
br label %50
27: ; preds = %22
%28 = load float, ptr %5, align 4
%29 = load float, ptr %6, align 4
%30 = fadd float %28, %29
%31 = call float @gammln(float noundef %30)
%32 = load float, ptr %5, align 4
%33 = call float @gammln(float noundef %32)
%34 = fsub float %31, %33
%35 = load float, ptr %6, align 4
%36 = call float @gammln(float noundef %35)
%37 = fsub float %34, %36
%38 = load float, ptr %5, align 4
%39 = load float, ptr %7, align 4
%40 = fpext float %39 to double
%41 = call float @log(double noundef %40)
%42 = call float @llvm.fmuladd.f32(float %38, float %41, float %37)
%43 = load float, ptr %6, align 4
%44 = load float, ptr %7, align 4
%45 = fpext float %44 to double
%46 = fsub double 1.000000e+00, %45
%47 = call float @log(double noundef %46)
%48 = call float @llvm.fmuladd.f32(float %43, float %47, float %42)
%49 = call float @exp(float noundef %48)
store float %49, ptr %8, align 4
br label %50
50: ; preds = %27, %26
%51 = load float, ptr %7, align 4
%52 = fpext float %51 to double
%53 = load float, ptr %5, align 4
%54 = fpext float %53 to double
%55 = fadd double %54, 1.000000e+00
%56 = load float, ptr %5, align 4
%57 = load float, ptr %6, align 4
%58 = fadd float %56, %57
%59 = fpext float %58 to double
%60 = fadd double %59, 2.000000e+00
%61 = fdiv double %55, %60
%62 = fcmp olt double %52, %61
br i1 %62, label %63, label %72
63: ; preds = %50
%64 = load float, ptr %8, align 4
%65 = load float, ptr %5, align 4
%66 = load float, ptr %6, align 4
%67 = load float, ptr %7, align 4
%68 = call float @betacf(float noundef %65, float noundef %66, float noundef %67)
%69 = fmul float %64, %68
%70 = load float, ptr %5, align 4
%71 = fdiv float %69, %70
store float %71, ptr %4, align 4
br label %87
72: ; preds = %50
%73 = load float, ptr %8, align 4
%74 = load float, ptr %6, align 4
%75 = load float, ptr %5, align 4
%76 = load float, ptr %7, align 4
%77 = fpext float %76 to double
%78 = fsub double 1.000000e+00, %77
%79 = fptrunc double %78 to float
%80 = call float @betacf(float noundef %74, float noundef %75, float noundef %79)
%81 = fmul float %73, %80
%82 = load float, ptr %6, align 4
%83 = fdiv float %81, %82
%84 = fpext float %83 to double
%85 = fsub double 1.000000e+00, %84
%86 = fptrunc double %85 to float
store float %86, ptr %4, align 4
br label %87
87: ; preds = %72, %63, %16
%88 = load float, ptr %4, align 4
ret float %88
}
declare i32 @printf(ptr noundef) #1
declare float @exp(float noundef) #1
declare float @gammln(float noundef) #1
declare float @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @betacf(float noundef, float noundef, 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqe_c_b0c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Error(betai):bad input x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @betai(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
%9 = load float, ptr %7, align 4
%10 = fpext float %9 to double
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load float, ptr %7, align 4
%14 = fpext float %13 to double
%15 = fcmp ogt double %14, 1.000000e+00
br i1 %15, label %16, label %18
16: ; preds = %12, %3
%17 = call i32 @printf(ptr noundef @.str)
store float 0.000000e+00, ptr %4, align 4
br label %87
18: ; preds = %12
%19 = load float, ptr %7, align 4
%20 = fpext float %19 to double
%21 = fcmp oeq double %20, 0.000000e+00
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load float, ptr %7, align 4
%24 = fpext float %23 to double
%25 = fcmp oeq double %24, 1.000000e+00
br i1 %25, label %26, label %27
26: ; preds = %22, %18
store float 0.000000e+00, ptr %8, align 4
br label %50
27: ; preds = %22
%28 = load float, ptr %5, align 4
%29 = load float, ptr %6, align 4
%30 = fadd float %28, %29
%31 = call float @gammln(float noundef %30)
%32 = load float, ptr %5, align 4
%33 = call float @gammln(float noundef %32)
%34 = fsub float %31, %33
%35 = load float, ptr %6, align 4
%36 = call float @gammln(float noundef %35)
%37 = fsub float %34, %36
%38 = load float, ptr %5, align 4
%39 = load float, ptr %7, align 4
%40 = fpext float %39 to double
%41 = call float @log(double noundef %40)
%42 = call float @llvm.fmuladd.f32(float %38, float %41, float %37)
%43 = load float, ptr %6, align 4
%44 = load float, ptr %7, align 4
%45 = fpext float %44 to double
%46 = fsub double 1.000000e+00, %45
%47 = call float @log(double noundef %46)
%48 = call float @llvm.fmuladd.f32(float %43, float %47, float %42)
%49 = call float @exp(float noundef %48)
store float %49, ptr %8, align 4
br label %50
50: ; preds = %27, %26
%51 = load float, ptr %7, align 4
%52 = fpext float %51 to double
%53 = load float, ptr %5, align 4
%54 = fpext float %53 to double
%55 = fadd double %54, 1.000000e+00
%56 = load float, ptr %5, align 4
%57 = load float, ptr %6, align 4
%58 = fadd float %56, %57
%59 = fpext float %58 to double
%60 = fadd double %59, 2.000000e+00
%61 = fdiv double %55, %60
%62 = fcmp olt double %52, %61
br i1 %62, label %63, label %72
63: ; preds = %50
%64 = load float, ptr %8, align 4
%65 = load float, ptr %5, align 4
%66 = load float, ptr %6, align 4
%67 = load float, ptr %7, align 4
%68 = call float @betacf(float noundef %65, float noundef %66, float noundef %67)
%69 = fmul float %64, %68
%70 = load float, ptr %5, align 4
%71 = fdiv float %69, %70
store float %71, ptr %4, align 4
br label %87
72: ; preds = %50
%73 = load float, ptr %8, align 4
%74 = load float, ptr %6, align 4
%75 = load float, ptr %5, align 4
%76 = load float, ptr %7, align 4
%77 = fpext float %76 to double
%78 = fsub double 1.000000e+00, %77
%79 = fptrunc double %78 to float
%80 = call float @betacf(float noundef %74, float noundef %75, float noundef %79)
%81 = fmul float %73, %80
%82 = load float, ptr %6, align 4
%83 = fdiv float %81, %82
%84 = fpext float %83 to double
%85 = fsub double 1.000000e+00, %84
%86 = fptrunc double %85 to float
store float %86, ptr %4, align 4
br label %87
87: ; preds = %72, %63, %16
%88 = load float, ptr %4, align 4
ret float %88
}
declare i32 @printf(ptr noundef) #1
declare float @exp(float noundef) #1
declare float @gammln(float noundef) #1
declare float @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @betacf(float noundef, float noundef, 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6z0q1y58.c'
source_filename = "/tmp/tmp6z0q1y58.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangle(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 = call i32 @abs(i32 noundef %5) #2
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %6, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6z0q1y58.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @triangle(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 = call i32 @abs(i32 noundef %5) #2
%7 = load i32, ptr %4, align 4
%8 = icmp sle i32 %6, %7
%9 = zext i1 %8 to i32
ret i32 %9
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppavfey2t.c'
source_filename = "/tmp/tmppavfey2t.c"
target datalayout = "e-m:e-p270: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/tmppavfey2t.c"
target datalayout = "e-m:e-p270: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/tmp068zt4o2.c'
source_filename = "/tmp/tmp068zt4o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UtilSemiSortFloatIndex(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 float, align 4
%10 = alloca float, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = 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
%22 = load i32, ptr %5, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %201
24: ; preds = %4
%25 = load i32, ptr %5, align 4
%26 = mul nsw i32 %25, 2
%27 = call i64 @calloc(i32 noundef 4, i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %16, align 8
%29 = load ptr, ptr %16, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store ptr %32, ptr %17, align 8
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds float, ptr %33, i64 0
%35 = load float, ptr %34, align 4
store float %35, ptr %9, align 4
store float %35, ptr %10, align 4
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds float, ptr %36, i64 1
store ptr %37, ptr %11, align 8
store i32 1, ptr %15, align 4
br label %38
38: ; preds = %58, %24
%39 = load i32, ptr %15, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %61
42: ; preds = %38
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds float, ptr %43, i32 1
store ptr %44, ptr %11, align 8
%45 = load float, ptr %43, align 4
store float %45, ptr %12, align 4
%46 = load float, ptr %10, align 4
%47 = load float, ptr %12, align 4
%48 = fcmp olt float %46, %47
br i1 %48, label %49, label %51
49: ; preds = %42
%50 = load float, ptr %12, align 4
store float %50, ptr %10, align 4
br label %51
51: ; preds = %49, %42
%52 = load float, ptr %9, align 4
%53 = load float, ptr %12, align 4
%54 = fcmp ogt float %52, %53
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = load float, ptr %12, align 4
store float %56, ptr %9, align 4
br label %57
57: ; preds = %55, %51
br label %58
58: ; preds = %57
%59 = load i32, ptr %15, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %15, align 4
br label %38, !llvm.loop !6
61: ; preds = %38
%62 = load float, ptr %10, align 4
%63 = load float, ptr %9, align 4
%64 = fsub float %62, %63
%65 = fmul float %64, 0x3FF00068E0000000
store float %65, ptr %13, align 4
%66 = load float, ptr %13, align 4
%67 = fcmp olt float %66, 0x3E45798EE0000000
br i1 %67, label %68, label %83
68: ; preds = %61
store i32 0, ptr %15, align 4
br label %69
69: ; preds = %79, %68
%70 = load i32, ptr %15, align 4
%71 = load i32, ptr %5, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %82
73: ; preds = %69
%74 = load i32, ptr %15, align 4
%75 = load ptr, ptr %7, align 8
%76 = load i32, ptr %15, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %75, i64 %77
store i32 %74, ptr %78, align 4
br label %79
79: ; preds = %73
%80 = load i32, ptr %15, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %15, align 4
br label %69, !llvm.loop !8
82: ; preds = %69
br label %198
83: ; preds = %61
%84 = load i32, ptr %5, align 4
%85 = sitofp i32 %84 to float
%86 = load float, ptr %13, align 4
%87 = fdiv float %85, %86
store float %87, ptr %14, align 4
%88 = load ptr, ptr %6, align 8
store ptr %88, ptr %11, align 8
%89 = load i32, ptr %8, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %124
91: ; preds = %83
store i32 0, ptr %15, align 4
br label %92
92: ; preds = %120, %91
%93 = load i32, ptr %15, align 4
%94 = load i32, ptr %5, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %96, label %123
96: ; preds = %92
%97 = load ptr, ptr %11, align 8
%98 = getelementptr inbounds float, ptr %97, i32 1
store ptr %98, ptr %11, align 8
%99 = load float, ptr %97, align 4
%100 = load float, ptr %9, align 4
%101 = fsub float %99, %100
%102 = load float, ptr %14, align 4
%103 = fmul float %101, %102
%104 = fptosi float %103 to i32
store i32 %104, ptr %18, align 4
%105 = load ptr, ptr %16, align 8
%106 = load i32, ptr %18, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
%109 = load i32, ptr %108, align 4
%110 = load ptr, ptr %17, align 8
%111 = load i32, ptr %15, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
store i32 %109, ptr %113, align 4
%114 = load i32, ptr %15, align 4
%115 = add nsw i32 %114, 1
%116 = load ptr, ptr %16, align 8
%117 = load i32, ptr %18, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %116, i64 %118
store i32 %115, ptr %119, align 4
br label %120
120: ; preds = %96
%121 = load i32, ptr %15, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %15, align 4
br label %92, !llvm.loop !9
123: ; preds = %92
br label %161
124: ; preds = %83
%125 = load i32, ptr %5, align 4
%126 = sub nsw i32 %125, 1
store i32 %126, ptr %19, align 4
store i32 0, ptr %15, align 4
br label %127
127: ; preds = %157, %124
%128 = load i32, ptr %15, align 4
%129 = load i32, ptr %5, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %131, label %160
131: ; preds = %127
%132 = load i32, ptr %19, align 4
%133 = load ptr, ptr %11, align 8
%134 = getelementptr inbounds float, ptr %133, i32 1
store ptr %134, ptr %11, align 8
%135 = load float, ptr %133, align 4
%136 = load float, ptr %9, align 4
%137 = fsub float %135, %136
%138 = load float, ptr %14, align 4
%139 = fmul float %137, %138
%140 = fptosi float %139 to i32
%141 = sub nsw i32 %132, %140
store i32 %141, ptr %18, align 4
%142 = load ptr, ptr %16, align 8
%143 = load i32, ptr %18, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i32, ptr %142, i64 %144
%146 = load i32, ptr %145, align 4
%147 = load ptr, ptr %17, align 8
%148 = load i32, ptr %15, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
store i32 %146, ptr %150, align 4
%151 = load i32, ptr %15, align 4
%152 = add nsw i32 %151, 1
%153 = load ptr, ptr %16, align 8
%154 = load i32, ptr %18, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds i32, ptr %153, i64 %155
store i32 %152, ptr %156, align 4
br label %157
157: ; preds = %131
%158 = load i32, ptr %15, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %15, align 4
br label %127, !llvm.loop !10
160: ; preds = %127
br label %161
161: ; preds = %160, %123
store i32 0, ptr %20, align 4
store i32 0, ptr %15, align 4
br label %162
162: ; preds = %194, %161
%163 = load i32, ptr %15, align 4
%164 = load i32, ptr %5, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %166, label %197
166: ; preds = %162
%167 = load ptr, ptr %16, align 8
%168 = load i32, ptr %15, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i32, ptr %167, i64 %169
%171 = load i32, ptr %170, align 4
store i32 %171, ptr %21, align 4
%172 = icmp ne i32 %171, 0
br i1 %172, label %173, label %194
173: ; preds = %166
%174 = load i32, ptr %21, align 4
%175 = sub nsw i32 %174, 1
store i32 %175, ptr %18, align 4
br label %176
176: ; preds = %173, %190
%177 = load i32, ptr %18, align 4
%178 = load ptr, ptr %7, align 8
%179 = load i32, ptr %20, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %20, align 4
%181 = sext i32 %179 to i64
%182 = getelementptr inbounds i32, ptr %178, i64 %181
store i32 %177, ptr %182, align 4
%183 = load ptr, ptr %17, align 8
%184 = load i32, ptr %18, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i32, ptr %183, i64 %185
%187 = load i32, ptr %186, align 4
store i32 %187, ptr %21, align 4
%188 = icmp ne i32 %187, 0
br i1 %188, label %190, label %189
189: ; preds = %176
br label %193
190: ; preds = %176
%191 = load i32, ptr %21, align 4
%192 = sub nsw i32 %191, 1
store i32 %192, ptr %18, align 4
br label %176
193: ; preds = %189
br label %194
194: ; preds = %193, %166
%195 = load i32, ptr %15, align 4
%196 = add nsw i32 %195, 1
store i32 %196, ptr %15, align 4
br label %162, !llvm.loop !11
197: ; preds = %162
br label %198
198: ; preds = %197, %82
%199 = load ptr, ptr %16, align 8
%200 = call i32 @free(ptr noundef %199)
br label %201
201: ; preds = %198, %4
ret void
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp068zt4o2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UtilSemiSortFloatIndex(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 float, align 4
%10 = alloca float, align 4
%11 = alloca ptr, align 8
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = 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
%22 = load i32, ptr %5, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %222
24: ; preds = %4
%25 = load i32, ptr %5, align 4
%26 = mul nsw i32 %25, 2
%27 = call i64 @calloc(i32 noundef 4, i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
store ptr %28, ptr %16, align 8
%29 = load ptr, ptr %16, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
store ptr %32, ptr %17, align 8
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds float, ptr %33, i64 0
%35 = load float, ptr %34, align 4
store float %35, ptr %9, align 4
store float %35, ptr %10, align 4
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds float, ptr %36, i64 1
store ptr %37, ptr %11, align 8
store i32 1, ptr %15, align 4
%38 = load i32, ptr %15, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph, label %63
.lr.ph: ; preds = %24
br label %41
41: ; preds = %.lr.ph, %57
%42 = load ptr, ptr %11, align 8
%43 = getelementptr inbounds float, ptr %42, i32 1
store ptr %43, ptr %11, align 8
%44 = load float, ptr %42, align 4
store float %44, ptr %12, align 4
%45 = load float, ptr %10, align 4
%46 = load float, ptr %12, align 4
%47 = fcmp olt float %45, %46
br i1 %47, label %48, label %50
48: ; preds = %41
%49 = load float, ptr %12, align 4
store float %49, ptr %10, align 4
br label %50
50: ; preds = %48, %41
%51 = load float, ptr %9, align 4
%52 = load float, ptr %12, align 4
%53 = fcmp ogt float %51, %52
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = load float, ptr %12, align 4
store float %55, ptr %9, align 4
br label %56
56: ; preds = %54, %50
br label %57
57: ; preds = %56
%58 = load i32, ptr %15, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %15, align 4
%60 = load i32, ptr %15, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %41, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %24
%64 = load float, ptr %10, align 4
%65 = load float, ptr %9, align 4
%66 = fsub float %64, %65
%67 = fmul float %66, 0x3FF00068E0000000
store float %67, ptr %13, align 4
%68 = load float, ptr %13, align 4
%69 = fcmp olt float %68, 0x3E45798EE0000000
br i1 %69, label %70, label %87
70: ; preds = %63
store i32 0, ptr %15, align 4
%71 = load i32, ptr %15, align 4
%72 = load i32, ptr %5, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %.lr.ph14, label %86
.lr.ph14: ; preds = %70
br label %74
74: ; preds = %.lr.ph14, %80
%75 = load i32, ptr %15, align 4
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %15, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
store i32 %75, ptr %79, align 4
br label %80
80: ; preds = %74
%81 = load i32, ptr %15, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %15, align 4
%83 = load i32, ptr %15, align 4
%84 = load i32, ptr %5, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %74, label %._crit_edge15, !llvm.loop !8
._crit_edge15: ; preds = %80
br label %86
86: ; preds = %._crit_edge15, %70
br label %219
87: ; preds = %63
%88 = load i32, ptr %5, align 4
%89 = sitofp i32 %88 to float
%90 = load float, ptr %13, align 4
%91 = fdiv float %89, %90
store float %91, ptr %14, align 4
%92 = load ptr, ptr %6, align 8
store ptr %92, ptr %11, align 8
%93 = load i32, ptr %8, align 4
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %130
95: ; preds = %87
store i32 0, ptr %15, align 4
%96 = load i32, ptr %15, align 4
%97 = load i32, ptr %5, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %.lr.ph5, label %129
.lr.ph5: ; preds = %95
br label %99
99: ; preds = %.lr.ph5, %123
%100 = load ptr, ptr %11, align 8
%101 = getelementptr inbounds float, ptr %100, i32 1
store ptr %101, ptr %11, align 8
%102 = load float, ptr %100, align 4
%103 = load float, ptr %9, align 4
%104 = fsub float %102, %103
%105 = load float, ptr %14, align 4
%106 = fmul float %104, %105
%107 = fptosi float %106 to i32
store i32 %107, ptr %18, align 4
%108 = load ptr, ptr %16, align 8
%109 = load i32, ptr %18, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %108, i64 %110
%112 = load i32, ptr %111, align 4
%113 = load ptr, ptr %17, align 8
%114 = load i32, ptr %15, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %113, i64 %115
store i32 %112, ptr %116, align 4
%117 = load i32, ptr %15, align 4
%118 = add nsw i32 %117, 1
%119 = load ptr, ptr %16, align 8
%120 = load i32, ptr %18, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i32, ptr %119, i64 %121
store i32 %118, ptr %122, align 4
br label %123
123: ; preds = %99
%124 = load i32, ptr %15, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %15, align 4
%126 = load i32, ptr %15, align 4
%127 = load i32, ptr %5, align 4
%128 = icmp slt i32 %126, %127
br i1 %128, label %99, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %123
br label %129
129: ; preds = %._crit_edge6, %95
br label %169
130: ; preds = %87
%131 = load i32, ptr %5, align 4
%132 = sub nsw i32 %131, 1
store i32 %132, ptr %19, align 4
store i32 0, ptr %15, align 4
%133 = load i32, ptr %15, align 4
%134 = load i32, ptr %5, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %.lr.ph2, label %168
.lr.ph2: ; preds = %130
br label %136
136: ; preds = %.lr.ph2, %162
%137 = load i32, ptr %19, align 4
%138 = load ptr, ptr %11, align 8
%139 = getelementptr inbounds float, ptr %138, i32 1
store ptr %139, ptr %11, align 8
%140 = load float, ptr %138, align 4
%141 = load float, ptr %9, align 4
%142 = fsub float %140, %141
%143 = load float, ptr %14, align 4
%144 = fmul float %142, %143
%145 = fptosi float %144 to i32
%146 = sub nsw i32 %137, %145
store i32 %146, ptr %18, align 4
%147 = load ptr, ptr %16, align 8
%148 = load i32, ptr %18, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i32, ptr %147, i64 %149
%151 = load i32, ptr %150, align 4
%152 = load ptr, ptr %17, align 8
%153 = load i32, ptr %15, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
store i32 %151, ptr %155, align 4
%156 = load i32, ptr %15, align 4
%157 = add nsw i32 %156, 1
%158 = load ptr, ptr %16, align 8
%159 = load i32, ptr %18, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i32, ptr %158, i64 %160
store i32 %157, ptr %161, align 4
br label %162
162: ; preds = %136
%163 = load i32, ptr %15, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %15, align 4
%165 = load i32, ptr %15, align 4
%166 = load i32, ptr %5, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %136, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %162
br label %168
168: ; preds = %._crit_edge3, %130
br label %169
169: ; preds = %168, %129
store i32 0, ptr %20, align 4
store i32 0, ptr %15, align 4
%170 = load i32, ptr %15, align 4
%171 = load i32, ptr %5, align 4
%172 = icmp slt i32 %170, %171
br i1 %172, label %.lr.ph11, label %218
.lr.ph11: ; preds = %169
br label %173
173: ; preds = %.lr.ph11, %212
%174 = load ptr, ptr %16, align 8
%175 = load i32, ptr %15, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
%178 = load i32, ptr %177, align 4
store i32 %178, ptr %21, align 4
%179 = icmp ne i32 %178, 0
br i1 %179, label %180, label %212
180: ; preds = %173
%181 = load i32, ptr %21, align 4
%182 = sub nsw i32 %181, 1
store i32 %182, ptr %18, align 4
%183 = load i32, ptr %18, align 4
%184 = load ptr, ptr %7, align 8
%185 = load i32, ptr %20, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %20, align 4
%187 = sext i32 %185 to i64
%188 = getelementptr inbounds i32, ptr %184, i64 %187
store i32 %183, ptr %188, align 4
%189 = load ptr, ptr %17, align 8
%190 = load i32, ptr %18, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i32, ptr %189, i64 %191
%193 = load i32, ptr %192, align 4
store i32 %193, ptr %21, align 4
%194 = icmp ne i32 %193, 0
br i1 %194, label %.lr.ph8, label %195
.lr.ph8: ; preds = %180
br label %196
._crit_edge9: ; preds = %196
br label %195
195: ; preds = %._crit_edge9, %180
br label %211
196: ; preds = %.lr.ph8, %196
%197 = load i32, ptr %21, align 4
%198 = sub nsw i32 %197, 1
store i32 %198, ptr %18, align 4
%199 = load i32, ptr %18, align 4
%200 = load ptr, ptr %7, align 8
%201 = load i32, ptr %20, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %20, align 4
%203 = sext i32 %201 to i64
%204 = getelementptr inbounds i32, ptr %200, i64 %203
store i32 %199, ptr %204, align 4
%205 = load ptr, ptr %17, align 8
%206 = load i32, ptr %18, align 4
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i32, ptr %205, i64 %207
%209 = load i32, ptr %208, align 4
store i32 %209, ptr %21, align 4
%210 = icmp ne i32 %209, 0
br i1 %210, label %196, label %._crit_edge9
211: ; preds = %195
br label %212
212: ; preds = %211, %173
%213 = load i32, ptr %15, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %15, align 4
%215 = load i32, ptr %15, align 4
%216 = load i32, ptr %5, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %173, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %212
br label %218
218: ; preds = %._crit_edge12, %169
br label %219
219: ; preds = %218, %86
%220 = load ptr, ptr %16, align 8
%221 = call i32 @free(ptr noundef %220)
br label %222
222: ; preds = %219, %4
ret void
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp8hvr1j5k.c'
source_filename = "/tmp/tmp8hvr1j5k.c"
target datalayout = "e-m:e-p270: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_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XConfigureRequestEvent_parent(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_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, 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/tmp8hvr1j5k.c"
target datalayout = "e-m:e-p270: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_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XConfigureRequestEvent_parent(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_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, 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/tmpgzbz7oue.c'
source_filename = "/tmp/tmpgzbz7oue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spline(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 4
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %19, align 8
%26 = load float, ptr %10, align 4
%27 = fpext float %26 to double
%28 = fcmp ogt double %27, 9.900000e+29
br i1 %28, label %29, label %34
29: ; preds = %6
%30 = load ptr, ptr %19, align 8
%31 = getelementptr inbounds float, ptr %30, i64 1
store float 0.000000e+00, ptr %31, align 4
%32 = load ptr, ptr %12, align 8
%33 = getelementptr inbounds float, ptr %32, i64 1
store float 0.000000e+00, ptr %33, align 4
br label %68
34: ; preds = %6
%35 = load ptr, ptr %12, align 8
%36 = getelementptr inbounds float, ptr %35, i64 1
store float -5.000000e-01, ptr %36, align 4
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds float, ptr %37, i64 2
%39 = load float, ptr %38, align 4
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds float, ptr %40, i64 1
%42 = load float, ptr %41, align 4
%43 = fsub float %39, %42
%44 = fpext float %43 to double
%45 = fdiv double 3.000000e+00, %44
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds float, ptr %46, i64 2
%48 = load float, ptr %47, align 4
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds float, ptr %49, i64 1
%51 = load float, ptr %50, align 4
%52 = fsub float %48, %51
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds float, ptr %53, i64 2
%55 = load float, ptr %54, align 4
%56 = load ptr, ptr %7, align 8
%57 = getelementptr inbounds float, ptr %56, i64 1
%58 = load float, ptr %57, align 4
%59 = fsub float %55, %58
%60 = fdiv float %52, %59
%61 = load float, ptr %10, align 4
%62 = fsub float %60, %61
%63 = fpext float %62 to double
%64 = fmul double %45, %63
%65 = fptrunc double %64 to float
%66 = load ptr, ptr %19, align 8
%67 = getelementptr inbounds float, ptr %66, i64 1
store float %65, ptr %67, align 4
br label %68
68: ; preds = %34, %29
store i32 2, ptr %13, align 4
br label %69
69: ; preds = %218, %68
%70 = load i32, ptr %13, align 4
%71 = load i32, ptr %9, align 4
%72 = sub nsw i32 %71, 1
%73 = icmp sle i32 %70, %72
br i1 %73, label %74, label %221
74: ; preds = %69
%75 = load ptr, ptr %7, align 8
%76 = load i32, ptr %13, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds float, ptr %75, i64 %77
%79 = load float, ptr %78, align 4
%80 = load ptr, ptr %7, align 8
%81 = load i32, ptr %13, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %80, i64 %83
%85 = load float, ptr %84, align 4
%86 = fsub float %79, %85
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %13, align 4
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds float, ptr %87, i64 %90
%92 = load float, ptr %91, align 4
%93 = load ptr, ptr %7, align 8
%94 = load i32, ptr %13, align 4
%95 = sub nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds float, ptr %93, i64 %96
%98 = load float, ptr %97, align 4
%99 = fsub float %92, %98
%100 = fdiv float %86, %99
store float %100, ptr %17, align 4
%101 = load float, ptr %17, align 4
%102 = load ptr, ptr %12, align 8
%103 = load i32, ptr %13, align 4
%104 = sub nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %102, i64 %105
%107 = load float, ptr %106, align 4
%108 = fmul float %101, %107
%109 = fpext float %108 to double
%110 = fadd double %109, 2.000000e+00
%111 = fptrunc double %110 to float
store float %111, ptr %15, align 4
%112 = load float, ptr %17, align 4
%113 = fpext float %112 to double
%114 = fsub double %113, 1.000000e+00
%115 = load float, ptr %15, align 4
%116 = fpext float %115 to double
%117 = fdiv double %114, %116
%118 = fptrunc double %117 to float
%119 = load ptr, ptr %12, align 8
%120 = load i32, ptr %13, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds float, ptr %119, i64 %121
store float %118, ptr %122, align 4
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %13, align 4
%125 = add nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds float, ptr %123, i64 %126
%128 = load float, ptr %127, align 4
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %13, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds float, ptr %129, i64 %131
%133 = load float, ptr %132, align 4
%134 = fsub float %128, %133
%135 = load ptr, ptr %7, align 8
%136 = load i32, ptr %13, align 4
%137 = add nsw i32 %136, 1
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds float, ptr %135, i64 %138
%140 = load float, ptr %139, align 4
%141 = load ptr, ptr %7, align 8
%142 = load i32, ptr %13, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds float, ptr %141, i64 %143
%145 = load float, ptr %144, align 4
%146 = fsub float %140, %145
%147 = fdiv float %134, %146
%148 = load ptr, ptr %8, align 8
%149 = load i32, ptr %13, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds float, ptr %148, i64 %150
%152 = load float, ptr %151, align 4
%153 = load ptr, ptr %8, align 8
%154 = load i32, ptr %13, align 4
%155 = sub nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds float, ptr %153, i64 %156
%158 = load float, ptr %157, align 4
%159 = fsub float %152, %158
%160 = load ptr, ptr %7, align 8
%161 = load i32, ptr %13, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds float, ptr %160, i64 %162
%164 = load float, ptr %163, align 4
%165 = load ptr, ptr %7, align 8
%166 = load i32, ptr %13, align 4
%167 = sub nsw i32 %166, 1
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds float, ptr %165, i64 %168
%170 = load float, ptr %169, align 4
%171 = fsub float %164, %170
%172 = fdiv float %159, %171
%173 = fsub float %147, %172
%174 = load ptr, ptr %19, align 8
%175 = load i32, ptr %13, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds float, ptr %174, i64 %176
store float %173, ptr %177, align 4
%178 = load ptr, ptr %19, align 8
%179 = load i32, ptr %13, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds float, ptr %178, i64 %180
%182 = load float, ptr %181, align 4
%183 = fpext float %182 to double
%184 = fmul double 6.000000e+00, %183
%185 = load ptr, ptr %7, align 8
%186 = load i32, ptr %13, align 4
%187 = add nsw i32 %186, 1
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds float, ptr %185, i64 %188
%190 = load float, ptr %189, align 4
%191 = load ptr, ptr %7, align 8
%192 = load i32, ptr %13, align 4
%193 = sub nsw i32 %192, 1
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds float, ptr %191, i64 %194
%196 = load float, ptr %195, align 4
%197 = fsub float %190, %196
%198 = fpext float %197 to double
%199 = fdiv double %184, %198
%200 = load float, ptr %17, align 4
%201 = load ptr, ptr %19, align 8
%202 = load i32, ptr %13, align 4
%203 = sub nsw i32 %202, 1
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds float, ptr %201, i64 %204
%206 = load float, ptr %205, align 4
%207 = fmul float %200, %206
%208 = fpext float %207 to double
%209 = fsub double %199, %208
%210 = load float, ptr %15, align 4
%211 = fpext float %210 to double
%212 = fdiv double %209, %211
%213 = fptrunc double %212 to float
%214 = load ptr, ptr %19, align 8
%215 = load i32, ptr %13, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds float, ptr %214, i64 %216
store float %213, ptr %217, align 4
br label %218
218: ; preds = %74
%219 = load i32, ptr %13, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %13, align 4
br label %69, !llvm.loop !6
221: ; preds = %69
%222 = load float, ptr %11, align 4
%223 = fpext float %222 to double
%224 = fcmp ogt double %223, 9.900000e+29
br i1 %224, label %225, label %226
225: ; preds = %221
store float 0.000000e+00, ptr %18, align 4
store float 0.000000e+00, ptr %16, align 4
br label %271
226: ; preds = %221
store float 5.000000e-01, ptr %16, align 4
%227 = load ptr, ptr %7, align 8
%228 = load i32, ptr %9, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds float, ptr %227, i64 %229
%231 = load float, ptr %230, align 4
%232 = load ptr, ptr %7, align 8
%233 = load i32, ptr %9, align 4
%234 = sub nsw i32 %233, 1
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds float, ptr %232, i64 %235
%237 = load float, ptr %236, align 4
%238 = fsub float %231, %237
%239 = fpext float %238 to double
%240 = fdiv double 3.000000e+00, %239
%241 = load float, ptr %11, align 4
%242 = load ptr, ptr %8, align 8
%243 = load i32, ptr %9, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds float, ptr %242, i64 %244
%246 = load float, ptr %245, align 4
%247 = load ptr, ptr %8, align 8
%248 = load i32, ptr %9, align 4
%249 = sub nsw i32 %248, 1
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds float, ptr %247, i64 %250
%252 = load float, ptr %251, align 4
%253 = fsub float %246, %252
%254 = load ptr, ptr %7, align 8
%255 = load i32, ptr %9, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds float, ptr %254, i64 %256
%258 = load float, ptr %257, align 4
%259 = load ptr, ptr %7, align 8
%260 = load i32, ptr %9, align 4
%261 = sub nsw i32 %260, 1
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds float, ptr %259, i64 %262
%264 = load float, ptr %263, align 4
%265 = fsub float %258, %264
%266 = fdiv float %253, %265
%267 = fsub float %241, %266
%268 = fpext float %267 to double
%269 = fmul double %240, %268
%270 = fptrunc double %269 to float
store float %270, ptr %18, align 4
br label %271
271: ; preds = %226, %225
%272 = load float, ptr %18, align 4
%273 = load float, ptr %16, align 4
%274 = load ptr, ptr %19, align 8
%275 = load i32, ptr %9, align 4
%276 = sub nsw i32 %275, 1
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds float, ptr %274, i64 %277
%279 = load float, ptr %278, align 4
%280 = fneg float %273
%281 = call float @llvm.fmuladd.f32(float %280, float %279, float %272)
%282 = fpext float %281 to double
%283 = load float, ptr %16, align 4
%284 = load ptr, ptr %12, align 8
%285 = load i32, ptr %9, align 4
%286 = sub nsw i32 %285, 1
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds float, ptr %284, i64 %287
%289 = load float, ptr %288, align 4
%290 = fmul float %283, %289
%291 = fpext float %290 to double
%292 = fadd double %291, 1.000000e+00
%293 = fdiv double %282, %292
%294 = fptrunc double %293 to float
%295 = load ptr, ptr %12, align 8
%296 = load i32, ptr %9, align 4
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds float, ptr %295, i64 %297
store float %294, ptr %298, align 4
%299 = load i32, ptr %9, align 4
%300 = sub nsw i32 %299, 1
store i32 %300, ptr %14, align 4
br label %301
301: ; preds = %326, %271
%302 = load i32, ptr %14, align 4
%303 = icmp sge i32 %302, 1
br i1 %303, label %304, label %329
304: ; preds = %301
%305 = load ptr, ptr %12, align 8
%306 = load i32, ptr %14, 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 ptr, ptr %12, align 8
%311 = load i32, ptr %14, align 4
%312 = add nsw i32 %311, 1
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds float, ptr %310, i64 %313
%315 = load float, ptr %314, align 4
%316 = load ptr, ptr %19, align 8
%317 = load i32, ptr %14, align 4
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds float, ptr %316, i64 %318
%320 = load float, ptr %319, align 4
%321 = call float @llvm.fmuladd.f32(float %309, float %315, float %320)
%322 = load ptr, ptr %12, align 8
%323 = load i32, ptr %14, 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 %14, align 4
%328 = add nsw i32 %327, -1
store i32 %328, ptr %14, align 4
br label %301, !llvm.loop !8
329: ; preds = %301
%330 = load ptr, ptr %19, align 8
%331 = call i32 @free(ptr noundef %330)
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgzbz7oue.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spline(ptr noundef %0, ptr noundef %1, i32 noundef %2, float noundef %3, float noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store ptr %5, ptr %12, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 4
%23 = trunc i64 %22 to i32
%24 = call i64 @malloc(i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %19, align 8
%26 = load float, ptr %10, align 4
%27 = fpext float %26 to double
%28 = fcmp ogt double %27, 9.900000e+29
br i1 %28, label %29, label %34
29: ; preds = %6
%30 = load ptr, ptr %19, align 8
%31 = getelementptr inbounds float, ptr %30, i64 1
store float 0.000000e+00, ptr %31, align 4
%32 = load ptr, ptr %12, align 8
%33 = getelementptr inbounds float, ptr %32, i64 1
store float 0.000000e+00, ptr %33, align 4
br label %68
34: ; preds = %6
%35 = load ptr, ptr %12, align 8
%36 = getelementptr inbounds float, ptr %35, i64 1
store float -5.000000e-01, ptr %36, align 4
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds float, ptr %37, i64 2
%39 = load float, ptr %38, align 4
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds float, ptr %40, i64 1
%42 = load float, ptr %41, align 4
%43 = fsub float %39, %42
%44 = fpext float %43 to double
%45 = fdiv double 3.000000e+00, %44
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds float, ptr %46, i64 2
%48 = load float, ptr %47, align 4
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds float, ptr %49, i64 1
%51 = load float, ptr %50, align 4
%52 = fsub float %48, %51
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds float, ptr %53, i64 2
%55 = load float, ptr %54, align 4
%56 = load ptr, ptr %7, align 8
%57 = getelementptr inbounds float, ptr %56, i64 1
%58 = load float, ptr %57, align 4
%59 = fsub float %55, %58
%60 = fdiv float %52, %59
%61 = load float, ptr %10, align 4
%62 = fsub float %60, %61
%63 = fpext float %62 to double
%64 = fmul double %45, %63
%65 = fptrunc double %64 to float
%66 = load ptr, ptr %19, align 8
%67 = getelementptr inbounds float, ptr %66, i64 1
store float %65, ptr %67, align 4
br label %68
68: ; preds = %34, %29
store i32 2, ptr %13, align 4
%69 = load i32, ptr %13, align 4
%70 = load i32, ptr %9, align 4
%71 = sub nsw i32 %70, 1
%72 = icmp sle i32 %69, %71
br i1 %72, label %.lr.ph, label %224
.lr.ph: ; preds = %68
br label %73
73: ; preds = %.lr.ph, %217
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %13, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds float, ptr %74, i64 %76
%78 = load float, ptr %77, align 4
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %13, align 4
%81 = sub nsw i32 %80, 1
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds float, ptr %79, i64 %82
%84 = load float, ptr %83, align 4
%85 = fsub float %78, %84
%86 = load ptr, ptr %7, align 8
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds float, ptr %86, i64 %89
%91 = load float, ptr %90, align 4
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %13, align 4
%94 = sub nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, ptr %92, i64 %95
%97 = load float, ptr %96, align 4
%98 = fsub float %91, %97
%99 = fdiv float %85, %98
store float %99, ptr %17, align 4
%100 = load float, ptr %17, align 4
%101 = load ptr, ptr %12, align 8
%102 = load i32, ptr %13, align 4
%103 = sub nsw i32 %102, 1
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %101, i64 %104
%106 = load float, ptr %105, align 4
%107 = fmul float %100, %106
%108 = fpext float %107 to double
%109 = fadd double %108, 2.000000e+00
%110 = fptrunc double %109 to float
store float %110, ptr %15, align 4
%111 = load float, ptr %17, align 4
%112 = fpext float %111 to double
%113 = fsub double %112, 1.000000e+00
%114 = load float, ptr %15, align 4
%115 = fpext float %114 to double
%116 = fdiv double %113, %115
%117 = fptrunc double %116 to float
%118 = load ptr, ptr %12, align 8
%119 = load i32, ptr %13, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds float, ptr %118, i64 %120
store float %117, ptr %121, align 4
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %13, align 4
%124 = add nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds float, ptr %122, i64 %125
%127 = load float, ptr %126, align 4
%128 = load ptr, ptr %8, align 8
%129 = load i32, ptr %13, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds float, ptr %128, i64 %130
%132 = load float, ptr %131, align 4
%133 = fsub float %127, %132
%134 = load ptr, ptr %7, align 8
%135 = load i32, ptr %13, align 4
%136 = add nsw i32 %135, 1
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds float, ptr %134, i64 %137
%139 = load float, ptr %138, align 4
%140 = load ptr, ptr %7, align 8
%141 = load i32, ptr %13, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds float, ptr %140, i64 %142
%144 = load float, ptr %143, align 4
%145 = fsub float %139, %144
%146 = fdiv float %133, %145
%147 = load ptr, ptr %8, align 8
%148 = load i32, ptr %13, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds float, ptr %147, i64 %149
%151 = load float, ptr %150, align 4
%152 = load ptr, ptr %8, align 8
%153 = load i32, ptr %13, align 4
%154 = sub nsw i32 %153, 1
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds float, ptr %152, i64 %155
%157 = load float, ptr %156, align 4
%158 = fsub float %151, %157
%159 = load ptr, ptr %7, align 8
%160 = load i32, ptr %13, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds float, ptr %159, i64 %161
%163 = load float, ptr %162, align 4
%164 = load ptr, ptr %7, align 8
%165 = load i32, ptr %13, align 4
%166 = sub nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds float, ptr %164, i64 %167
%169 = load float, ptr %168, align 4
%170 = fsub float %163, %169
%171 = fdiv float %158, %170
%172 = fsub float %146, %171
%173 = load ptr, ptr %19, align 8
%174 = load i32, ptr %13, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds float, ptr %173, i64 %175
store float %172, ptr %176, align 4
%177 = load ptr, ptr %19, align 8
%178 = load i32, ptr %13, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds float, ptr %177, i64 %179
%181 = load float, ptr %180, align 4
%182 = fpext float %181 to double
%183 = fmul double 6.000000e+00, %182
%184 = load ptr, ptr %7, align 8
%185 = load i32, ptr %13, align 4
%186 = add nsw i32 %185, 1
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds float, ptr %184, i64 %187
%189 = load float, ptr %188, align 4
%190 = load ptr, ptr %7, align 8
%191 = load i32, ptr %13, align 4
%192 = sub nsw i32 %191, 1
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds float, ptr %190, i64 %193
%195 = load float, ptr %194, align 4
%196 = fsub float %189, %195
%197 = fpext float %196 to double
%198 = fdiv double %183, %197
%199 = load float, ptr %17, align 4
%200 = load ptr, ptr %19, align 8
%201 = load i32, ptr %13, align 4
%202 = sub nsw i32 %201, 1
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds float, ptr %200, i64 %203
%205 = load float, ptr %204, align 4
%206 = fmul float %199, %205
%207 = fpext float %206 to double
%208 = fsub double %198, %207
%209 = load float, ptr %15, align 4
%210 = fpext float %209 to double
%211 = fdiv double %208, %210
%212 = fptrunc double %211 to float
%213 = load ptr, ptr %19, align 8
%214 = load i32, ptr %13, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds float, ptr %213, i64 %215
store float %212, ptr %216, align 4
br label %217
217: ; preds = %73
%218 = load i32, ptr %13, align 4
%219 = add nsw i32 %218, 1
store i32 %219, ptr %13, align 4
%220 = load i32, ptr %13, align 4
%221 = load i32, ptr %9, align 4
%222 = sub nsw i32 %221, 1
%223 = icmp sle i32 %220, %222
br i1 %223, label %73, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %217
br label %224
224: ; preds = %._crit_edge, %68
%225 = load float, ptr %11, align 4
%226 = fpext float %225 to double
%227 = fcmp ogt double %226, 9.900000e+29
br i1 %227, label %228, label %229
228: ; preds = %224
store float 0.000000e+00, ptr %18, align 4
store float 0.000000e+00, ptr %16, align 4
br label %274
229: ; preds = %224
store float 5.000000e-01, ptr %16, align 4
%230 = load ptr, ptr %7, align 8
%231 = load i32, ptr %9, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds float, ptr %230, i64 %232
%234 = load float, ptr %233, align 4
%235 = load ptr, ptr %7, align 8
%236 = load i32, ptr %9, align 4
%237 = sub nsw i32 %236, 1
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds float, ptr %235, i64 %238
%240 = load float, ptr %239, align 4
%241 = fsub float %234, %240
%242 = fpext float %241 to double
%243 = fdiv double 3.000000e+00, %242
%244 = load float, ptr %11, align 4
%245 = load ptr, ptr %8, align 8
%246 = load i32, ptr %9, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds float, ptr %245, i64 %247
%249 = load float, ptr %248, align 4
%250 = load ptr, ptr %8, align 8
%251 = load i32, ptr %9, align 4
%252 = sub nsw i32 %251, 1
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds float, ptr %250, i64 %253
%255 = load float, ptr %254, align 4
%256 = fsub float %249, %255
%257 = load ptr, ptr %7, align 8
%258 = load i32, ptr %9, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds float, ptr %257, i64 %259
%261 = load float, ptr %260, align 4
%262 = load ptr, ptr %7, align 8
%263 = load i32, ptr %9, 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 = fsub float %261, %267
%269 = fdiv float %256, %268
%270 = fsub float %244, %269
%271 = fpext float %270 to double
%272 = fmul double %243, %271
%273 = fptrunc double %272 to float
store float %273, ptr %18, align 4
br label %274
274: ; preds = %229, %228
%275 = load float, ptr %18, align 4
%276 = load float, ptr %16, align 4
%277 = load ptr, ptr %19, align 8
%278 = load i32, ptr %9, align 4
%279 = sub nsw i32 %278, 1
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds float, ptr %277, i64 %280
%282 = load float, ptr %281, align 4
%283 = fneg float %276
%284 = call float @llvm.fmuladd.f32(float %283, float %282, float %275)
%285 = fpext float %284 to double
%286 = load float, ptr %16, align 4
%287 = load ptr, ptr %12, align 8
%288 = load i32, ptr %9, align 4
%289 = sub nsw i32 %288, 1
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds float, ptr %287, i64 %290
%292 = load float, ptr %291, align 4
%293 = fmul float %286, %292
%294 = fpext float %293 to double
%295 = fadd double %294, 1.000000e+00
%296 = fdiv double %285, %295
%297 = fptrunc double %296 to float
%298 = load ptr, ptr %12, align 8
%299 = load i32, ptr %9, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds float, ptr %298, i64 %300
store float %297, ptr %301, align 4
%302 = load i32, ptr %9, align 4
%303 = sub nsw i32 %302, 1
store i32 %303, ptr %14, align 4
%304 = load i32, ptr %14, align 4
%305 = icmp sge i32 %304, 1
br i1 %305, label %.lr.ph2, label %333
.lr.ph2: ; preds = %274
br label %306
306: ; preds = %.lr.ph2, %328
%307 = load ptr, ptr %12, align 8
%308 = load i32, ptr %14, align 4
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds float, ptr %307, i64 %309
%311 = load float, ptr %310, align 4
%312 = load ptr, ptr %12, align 8
%313 = load i32, ptr %14, align 4
%314 = add nsw i32 %313, 1
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds float, ptr %312, i64 %315
%317 = load float, ptr %316, align 4
%318 = load ptr, ptr %19, align 8
%319 = load i32, ptr %14, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds float, ptr %318, i64 %320
%322 = load float, ptr %321, align 4
%323 = call float @llvm.fmuladd.f32(float %311, float %317, float %322)
%324 = load ptr, ptr %12, align 8
%325 = load i32, ptr %14, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds float, ptr %324, i64 %326
store float %323, ptr %327, align 4
br label %328
328: ; preds = %306
%329 = load i32, ptr %14, align 4
%330 = add nsw i32 %329, -1
store i32 %330, ptr %14, align 4
%331 = load i32, ptr %14, align 4
%332 = icmp sge i32 %331, 1
br i1 %332, label %306, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %328
br label %333
333: ; preds = %._crit_edge3, %274
%334 = load ptr, ptr %19, align 8
%335 = call i32 @free(ptr noundef %334)
ret void
}
declare i64 @malloc(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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}
|
; ModuleID = '/tmp/tmp3grfhidc.c'
source_filename = "/tmp/tmp3grfhidc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3grfhidc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@STDERR_FILENO = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqk1kwy3f.c'
source_filename = "/tmp/tmpqk1kwy3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spitout(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%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 [8192 x i8], align 16
%11 = alloca [128 x i8], align 16
%12 = alloca [128 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i8, align 1
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 128, i1 false)
store i8 0, ptr %15, align 1
store i64 0, ptr %17, align 8
store i64 256, ptr %18, align 8
store i32 0, ptr %19, align 4
%20 = load i64, ptr %18, align 8
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %16, align 8
%23 = load ptr, ptr %16, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %4
store ptr null, ptr %5, align 8
br label %240
26: ; preds = %4
%27 = load ptr, ptr %16, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
store i8 0, ptr %28, align 1
br label %29
29: ; preds = %235, %67, %26
%30 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%31 = load ptr, ptr %6, align 8
%32 = call i64 @fgets(ptr noundef %30, i32 noundef 8192, ptr noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %236
34: ; preds = %29
%35 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
store ptr %35, ptr %13, align 8
br label %36
36: ; preds = %52, %34
%37 = load ptr, ptr %13, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %50
39: ; preds = %36
%40 = load ptr, ptr %13, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %50
44: ; preds = %39
%45 = load ptr, ptr %13, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = call i64 @isspace(i32 noundef %47)
%49 = icmp ne i64 %48, 0
br label %50
50: ; preds = %44, %39, %36
%51 = phi i1 [ false, %39 ], [ false, %36 ], [ %49, %44 ]
br i1 %51, label %52, label %55
52: ; preds = %50
%53 = load ptr, ptr %13, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %13, align 8
br label %36, !llvm.loop !6
55: ; preds = %50
%56 = load ptr, ptr %13, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 60, %58
br i1 %59, label %60, label %68
60: ; preds = %55
%61 = load i8, ptr %15, align 1
%62 = icmp ne i8 %61, 0
br i1 %62, label %63, label %67
63: ; preds = %60
%64 = load ptr, ptr %16, align 8
%65 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%66 = call ptr @appendstring(ptr noundef %64, ptr noundef %65, ptr noundef %17, ptr noundef %18)
store ptr %66, ptr %16, align 8
br label %67
67: ; preds = %63, %60
br label %29, !llvm.loop !8
68: ; preds = %55
%69 = load ptr, ptr %13, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %13, align 8
br label %71
71: ; preds = %87, %68
%72 = load ptr, ptr %13, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %85
74: ; preds = %71
%75 = load ptr, ptr %13, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %85
79: ; preds = %74
%80 = load ptr, ptr %13, align 8
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = call i64 @isspace(i32 noundef %82)
%84 = icmp ne i64 %83, 0
br label %85
85: ; preds = %79, %74, %71
%86 = phi i1 [ false, %74 ], [ false, %71 ], [ %84, %79 ]
br i1 %86, label %87, label %90
87: ; preds = %85
%88 = load ptr, ptr %13, align 8
%89 = getelementptr inbounds i8, ptr %88, i32 1
store ptr %89, ptr %13, align 8
br label %71, !llvm.loop !9
90: ; preds = %85
%91 = load ptr, ptr %13, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 47, %93
br i1 %94, label %95, label %170
95: ; preds = %90
%96 = load ptr, ptr %13, align 8
%97 = getelementptr inbounds i8, ptr %96, i32 1
store ptr %97, ptr %13, align 8
br label %98
98: ; preds = %114, %95
%99 = load ptr, ptr %13, align 8
%100 = icmp ne ptr %99, null
br i1 %100, label %101, label %112
101: ; preds = %98
%102 = load ptr, ptr %13, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %112
106: ; preds = %101
%107 = load ptr, ptr %13, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = call i64 @isspace(i32 noundef %109)
%111 = icmp ne i64 %110, 0
br label %112
112: ; preds = %106, %101, %98
%113 = phi i1 [ false, %101 ], [ false, %98 ], [ %111, %106 ]
br i1 %113, label %114, label %117
114: ; preds = %112
%115 = load ptr, ptr %13, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 1
store ptr %116, ptr %13, align 8
br label %98, !llvm.loop !10
117: ; preds = %112
%118 = load ptr, ptr %13, align 8
store ptr %118, ptr %14, align 8
br label %119
119: ; preds = %140, %117
%120 = load ptr, ptr %14, align 8
%121 = icmp ne ptr %120, null
br i1 %121, label %122, label %138
122: ; preds = %119
%123 = load ptr, ptr %14, align 8
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %138
127: ; preds = %122
%128 = load ptr, ptr %14, align 8
%129 = load i8, ptr %128, align 1
%130 = sext i8 %129 to i32
%131 = call i64 @isspace(i32 noundef %130)
%132 = icmp ne i64 %131, 0
br i1 %132, label %138, label %133
133: ; preds = %127
%134 = load ptr, ptr %14, align 8
%135 = load i8, ptr %134, align 1
%136 = sext i8 %135 to i32
%137 = icmp ne i32 62, %136
br label %138
138: ; preds = %133, %127, %122, %119
%139 = phi i1 [ false, %127 ], [ false, %122 ], [ false, %119 ], [ %137, %133 ]
br i1 %139, label %140, label %143
140: ; preds = %138
%141 = load ptr, ptr %14, align 8
%142 = getelementptr inbounds i8, ptr %141, i32 1
store ptr %142, ptr %14, align 8
br label %119, !llvm.loop !11
143: ; preds = %138
%144 = load ptr, ptr %14, align 8
store i8 0, ptr %144, align 1
%145 = load i32, ptr %19, align 4
%146 = icmp eq i32 %145, 2
br i1 %146, label %147, label %156
147: ; preds = %143
%148 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%149 = load ptr, ptr %13, align 8
%150 = call i32 @strcmp(ptr noundef %148, ptr noundef %149)
%151 = icmp ne i32 %150, 0
br i1 %151, label %156, label %152
152: ; preds = %147
%153 = load i32, ptr %19, align 4
%154 = add i32 %153, -1
store i32 %154, ptr %19, align 4
%155 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
store i8 0, ptr %155, align 16
store i8 0, ptr %15, align 1
br label %169
156: ; preds = %147, %143
%157 = load i32, ptr %19, align 4
%158 = icmp eq i32 %157, 1
br i1 %158, label %159, label %168
159: ; preds = %156
%160 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%161 = load ptr, ptr %13, align 8
%162 = call i32 @strcmp(ptr noundef %160, ptr noundef %161)
%163 = icmp ne i32 %162, 0
br i1 %163, label %168, label %164
164: ; preds = %159
%165 = load i32, ptr %19, align 4
%166 = add i32 %165, -1
store i32 %166, ptr %19, align 4
%167 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
store i8 0, ptr %167, align 16
store i8 0, ptr %15, align 1
br label %168
168: ; preds = %164, %159, %156
br label %169
169: ; preds = %168, %152
br label %213
170: ; preds = %90
%171 = load i8, ptr %15, align 1
%172 = icmp ne i8 %171, 0
br i1 %172, label %212, label %173
173: ; preds = %170
%174 = load ptr, ptr %13, align 8
store ptr %174, ptr %14, align 8
br label %175
175: ; preds = %196, %173
%176 = load ptr, ptr %14, align 8
%177 = icmp ne ptr %176, null
br i1 %177, label %178, label %194
178: ; preds = %175
%179 = load ptr, ptr %14, align 8
%180 = load i8, ptr %179, align 1
%181 = sext i8 %180 to i32
%182 = icmp ne i32 %181, 0
br i1 %182, label %183, label %194
183: ; preds = %178
%184 = load ptr, ptr %14, align 8
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = call i64 @isspace(i32 noundef %186)
%188 = icmp ne i64 %187, 0
br i1 %188, label %194, label %189
189: ; preds = %183
%190 = load ptr, ptr %14, align 8
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp ne i32 62, %192
br label %194
194: ; preds = %189, %183, %178, %175
%195 = phi i1 [ false, %183 ], [ false, %178 ], [ false, %175 ], [ %193, %189 ]
br i1 %195, label %196, label %199
196: ; preds = %194
%197 = load ptr, ptr %14, align 8
%198 = getelementptr inbounds i8, ptr %197, i32 1
store ptr %198, ptr %14, align 8
br label %175, !llvm.loop !12
199: ; preds = %194
%200 = load ptr, ptr %14, align 8
store i8 0, ptr %200, align 1
%201 = load i32, ptr %19, align 4
switch i32 %201, label %210 [
i32 0, label %202
i32 1, label %206
]
202: ; preds = %199
%203 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%204 = load ptr, ptr %13, align 8
%205 = call i32 @strcpy(ptr noundef %203, ptr noundef %204)
store i32 1, ptr %19, align 4
br label %211
206: ; preds = %199
%207 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%208 = load ptr, ptr %13, align 8
%209 = call i32 @strcpy(ptr noundef %207, ptr noundef %208)
store i32 2, ptr %19, align 4
br label %211
210: ; preds = %199
br label %211
211: ; preds = %210, %206, %202
br label %212
212: ; preds = %211, %170
br label %213
213: ; preds = %212, %169
%214 = load i8, ptr %15, align 1
%215 = icmp ne i8 %214, 0
br i1 %215, label %216, label %220
216: ; preds = %213
%217 = load ptr, ptr %16, align 8
%218 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%219 = call ptr @appendstring(ptr noundef %217, ptr noundef %218, ptr noundef %17, ptr noundef %18)
store ptr %219, ptr %16, align 8
br label %220
220: ; preds = %216, %213
%221 = load i32, ptr %19, align 4
%222 = icmp eq i32 2, %221
br i1 %222, label %223, label %234
223: ; preds = %220
%224 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%225 = load ptr, ptr %7, align 8
%226 = call i32 @strcmp(ptr noundef %224, ptr noundef %225)
%227 = icmp ne i32 %226, 0
br i1 %227, label %234, label %228
228: ; preds = %223
%229 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%230 = load ptr, ptr %8, align 8
%231 = call i32 @strcmp(ptr noundef %229, ptr noundef %230)
%232 = icmp ne i32 %231, 0
br i1 %232, label %234, label %233
233: ; preds = %228
store i8 1, ptr %15, align 1
br label %235
234: ; preds = %228, %223, %220
store i8 0, ptr %15, align 1
br label %235
235: ; preds = %234, %233
br label %29, !llvm.loop !8
236: ; preds = %29
%237 = load i64, ptr %17, align 8
%238 = load ptr, ptr %9, align 8
store i64 %237, ptr %238, align 8
%239 = load ptr, ptr %16, align 8
store ptr %239, ptr %5, align 8
br label %240
240: ; preds = %236, %25
%241 = load ptr, ptr %5, align 8
ret ptr %241
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @malloc(i64 noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i64 @isspace(i32 noundef) #2
declare ptr @appendstring(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @strcpy(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqk1kwy3f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spitout(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%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 [8192 x i8], align 16
%11 = alloca [128 x i8], align 16
%12 = alloca [128 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i8, align 1
%16 = alloca ptr, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 128, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 128, i1 false)
store i8 0, ptr %15, align 1
store i64 0, ptr %17, align 8
store i64 256, ptr %18, align 8
store i32 0, ptr %19, align 4
%20 = load i64, ptr %18, align 8
%21 = call i64 @malloc(i64 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %16, align 8
%23 = load ptr, ptr %16, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %4
store ptr null, ptr %5, align 8
br label %242
26: ; preds = %4
%27 = load ptr, ptr %16, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
store i8 0, ptr %28, align 1
%29 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%30 = load ptr, ptr %6, align 8
%31 = call i64 @fgets(ptr noundef %29, i32 noundef 8192, ptr noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %.lr.ph, label %238
.lr.ph: ; preds = %26
br label %33
33: ; preds = %.lr.ph, %.backedge
%34 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
store ptr %34, ptr %13, align 8
br label %35
35: ; preds = %51, %33
%36 = load ptr, ptr %13, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %49
38: ; preds = %35
%39 = load ptr, ptr %13, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %38
%44 = load ptr, ptr %13, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = call i64 @isspace(i32 noundef %46)
%48 = icmp ne i64 %47, 0
br label %49
49: ; preds = %43, %38, %35
%50 = phi i1 [ false, %38 ], [ false, %35 ], [ %48, %43 ]
br i1 %50, label %51, label %54
51: ; preds = %49
%52 = load ptr, ptr %13, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %13, align 8
br label %35, !llvm.loop !6
54: ; preds = %49
%55 = load ptr, ptr %13, align 8
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp ne i32 60, %57
br i1 %58, label %59, label %70
59: ; preds = %54
%60 = load i8, ptr %15, align 1
%61 = icmp ne i8 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %59
%63 = load ptr, ptr %16, align 8
%64 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%65 = call ptr @appendstring(ptr noundef %63, ptr noundef %64, ptr noundef %17, ptr noundef %18)
store ptr %65, ptr %16, align 8
br label %66
66: ; preds = %62, %59
br label %.backedge
.backedge: ; preds = %66, %237
%67 = load ptr, ptr %6, align 8
%68 = call i64 @fgets(ptr noundef %29, i32 noundef 8192, ptr noundef %67)
%69 = icmp ne i64 %68, 0
br i1 %69, label %33, label %._crit_edge, !llvm.loop !8
70: ; preds = %54
%71 = load ptr, ptr %13, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %13, align 8
br label %73
73: ; preds = %89, %70
%74 = load ptr, ptr %13, align 8
%75 = icmp ne ptr %74, null
br i1 %75, label %76, label %87
76: ; preds = %73
%77 = load ptr, ptr %13, align 8
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %87
81: ; preds = %76
%82 = load ptr, ptr %13, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = call i64 @isspace(i32 noundef %84)
%86 = icmp ne i64 %85, 0
br label %87
87: ; preds = %81, %76, %73
%88 = phi i1 [ false, %76 ], [ false, %73 ], [ %86, %81 ]
br i1 %88, label %89, label %92
89: ; preds = %87
%90 = load ptr, ptr %13, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %13, align 8
br label %73, !llvm.loop !9
92: ; preds = %87
%93 = load ptr, ptr %13, align 8
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 47, %95
br i1 %96, label %97, label %172
97: ; preds = %92
%98 = load ptr, ptr %13, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %13, align 8
br label %100
100: ; preds = %116, %97
%101 = load ptr, ptr %13, align 8
%102 = icmp ne ptr %101, null
br i1 %102, label %103, label %114
103: ; preds = %100
%104 = load ptr, ptr %13, align 8
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp ne i32 %106, 0
br i1 %107, label %108, label %114
108: ; preds = %103
%109 = load ptr, ptr %13, align 8
%110 = load i8, ptr %109, align 1
%111 = sext i8 %110 to i32
%112 = call i64 @isspace(i32 noundef %111)
%113 = icmp ne i64 %112, 0
br label %114
114: ; preds = %108, %103, %100
%115 = phi i1 [ false, %103 ], [ false, %100 ], [ %113, %108 ]
br i1 %115, label %116, label %119
116: ; preds = %114
%117 = load ptr, ptr %13, align 8
%118 = getelementptr inbounds i8, ptr %117, i32 1
store ptr %118, ptr %13, align 8
br label %100, !llvm.loop !10
119: ; preds = %114
%120 = load ptr, ptr %13, align 8
store ptr %120, ptr %14, align 8
br label %121
121: ; preds = %142, %119
%122 = load ptr, ptr %14, align 8
%123 = icmp ne ptr %122, null
br i1 %123, label %124, label %140
124: ; preds = %121
%125 = load ptr, ptr %14, align 8
%126 = load i8, ptr %125, align 1
%127 = sext i8 %126 to i32
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %140
129: ; preds = %124
%130 = load ptr, ptr %14, align 8
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = call i64 @isspace(i32 noundef %132)
%134 = icmp ne i64 %133, 0
br i1 %134, label %140, label %135
135: ; preds = %129
%136 = load ptr, ptr %14, align 8
%137 = load i8, ptr %136, align 1
%138 = sext i8 %137 to i32
%139 = icmp ne i32 62, %138
br label %140
140: ; preds = %135, %129, %124, %121
%141 = phi i1 [ false, %129 ], [ false, %124 ], [ false, %121 ], [ %139, %135 ]
br i1 %141, label %142, label %145
142: ; preds = %140
%143 = load ptr, ptr %14, align 8
%144 = getelementptr inbounds i8, ptr %143, i32 1
store ptr %144, ptr %14, align 8
br label %121, !llvm.loop !11
145: ; preds = %140
%146 = load ptr, ptr %14, align 8
store i8 0, ptr %146, align 1
%147 = load i32, ptr %19, align 4
%148 = icmp eq i32 %147, 2
br i1 %148, label %149, label %158
149: ; preds = %145
%150 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%151 = load ptr, ptr %13, align 8
%152 = call i32 @strcmp(ptr noundef %150, ptr noundef %151)
%153 = icmp ne i32 %152, 0
br i1 %153, label %158, label %154
154: ; preds = %149
%155 = load i32, ptr %19, align 4
%156 = add i32 %155, -1
store i32 %156, ptr %19, align 4
%157 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
store i8 0, ptr %157, align 16
store i8 0, ptr %15, align 1
br label %171
158: ; preds = %149, %145
%159 = load i32, ptr %19, align 4
%160 = icmp eq i32 %159, 1
br i1 %160, label %161, label %170
161: ; preds = %158
%162 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%163 = load ptr, ptr %13, align 8
%164 = call i32 @strcmp(ptr noundef %162, ptr noundef %163)
%165 = icmp ne i32 %164, 0
br i1 %165, label %170, label %166
166: ; preds = %161
%167 = load i32, ptr %19, align 4
%168 = add i32 %167, -1
store i32 %168, ptr %19, align 4
%169 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
store i8 0, ptr %169, align 16
store i8 0, ptr %15, align 1
br label %170
170: ; preds = %166, %161, %158
br label %171
171: ; preds = %170, %154
br label %215
172: ; preds = %92
%173 = load i8, ptr %15, align 1
%174 = icmp ne i8 %173, 0
br i1 %174, label %214, label %175
175: ; preds = %172
%176 = load ptr, ptr %13, align 8
store ptr %176, ptr %14, align 8
br label %177
177: ; preds = %198, %175
%178 = load ptr, ptr %14, align 8
%179 = icmp ne ptr %178, null
br i1 %179, label %180, label %196
180: ; preds = %177
%181 = load ptr, ptr %14, align 8
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = icmp ne i32 %183, 0
br i1 %184, label %185, label %196
185: ; preds = %180
%186 = load ptr, ptr %14, align 8
%187 = load i8, ptr %186, align 1
%188 = sext i8 %187 to i32
%189 = call i64 @isspace(i32 noundef %188)
%190 = icmp ne i64 %189, 0
br i1 %190, label %196, label %191
191: ; preds = %185
%192 = load ptr, ptr %14, align 8
%193 = load i8, ptr %192, align 1
%194 = sext i8 %193 to i32
%195 = icmp ne i32 62, %194
br label %196
196: ; preds = %191, %185, %180, %177
%197 = phi i1 [ false, %185 ], [ false, %180 ], [ false, %177 ], [ %195, %191 ]
br i1 %197, label %198, label %201
198: ; preds = %196
%199 = load ptr, ptr %14, align 8
%200 = getelementptr inbounds i8, ptr %199, i32 1
store ptr %200, ptr %14, align 8
br label %177, !llvm.loop !12
201: ; preds = %196
%202 = load ptr, ptr %14, align 8
store i8 0, ptr %202, align 1
%203 = load i32, ptr %19, align 4
switch i32 %203, label %212 [
i32 0, label %204
i32 1, label %208
]
204: ; preds = %201
%205 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%206 = load ptr, ptr %13, align 8
%207 = call i32 @strcpy(ptr noundef %205, ptr noundef %206)
store i32 1, ptr %19, align 4
br label %213
208: ; preds = %201
%209 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%210 = load ptr, ptr %13, align 8
%211 = call i32 @strcpy(ptr noundef %209, ptr noundef %210)
store i32 2, ptr %19, align 4
br label %213
212: ; preds = %201
br label %213
213: ; preds = %212, %208, %204
br label %214
214: ; preds = %213, %172
br label %215
215: ; preds = %214, %171
%216 = load i8, ptr %15, align 1
%217 = icmp ne i8 %216, 0
br i1 %217, label %218, label %222
218: ; preds = %215
%219 = load ptr, ptr %16, align 8
%220 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%221 = call ptr @appendstring(ptr noundef %219, ptr noundef %220, ptr noundef %17, ptr noundef %18)
store ptr %221, ptr %16, align 8
br label %222
222: ; preds = %218, %215
%223 = load i32, ptr %19, align 4
%224 = icmp eq i32 2, %223
br i1 %224, label %225, label %236
225: ; preds = %222
%226 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%227 = load ptr, ptr %7, align 8
%228 = call i32 @strcmp(ptr noundef %226, ptr noundef %227)
%229 = icmp ne i32 %228, 0
br i1 %229, label %236, label %230
230: ; preds = %225
%231 = getelementptr inbounds [128 x i8], ptr %12, i64 0, i64 0
%232 = load ptr, ptr %8, align 8
%233 = call i32 @strcmp(ptr noundef %231, ptr noundef %232)
%234 = icmp ne i32 %233, 0
br i1 %234, label %236, label %235
235: ; preds = %230
store i8 1, ptr %15, align 1
br label %237
236: ; preds = %230, %225, %222
store i8 0, ptr %15, align 1
br label %237
237: ; preds = %236, %235
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %238
238: ; preds = %._crit_edge, %26
%239 = load i64, ptr %17, align 8
%240 = load ptr, ptr %9, align 8
store i64 %239, ptr %240, align 8
%241 = load ptr, ptr %16, align 8
store ptr %241, ptr %5, align 8
br label %242
242: ; preds = %238, %25
%243 = load ptr, ptr %5, align 8
ret ptr %243
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @malloc(i64 noundef) #2
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare i64 @isspace(i32 noundef) #2
declare ptr @appendstring(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @strcpy(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
|
; ModuleID = '/tmp/tmp7vly71xr.c'
source_filename = "/tmp/tmp7vly71xr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @column_last(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @column_count(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %18
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 1
%16 = load ptr, ptr %5, align 8
%17 = call ptr @column(ptr noundef %13, i32 noundef %15, ptr noundef %16)
store ptr %17, ptr %3, align 8
br label %18
18: ; preds = %12, %11
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare i32 @column_count(ptr noundef) #1
declare ptr @column(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7vly71xr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @column_last(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @column_count(ptr noundef %7)
store i32 %8, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %18
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sub nsw i32 %14, 1
%16 = load ptr, ptr %5, align 8
%17 = call ptr @column(ptr noundef %13, i32 noundef %15, ptr noundef %16)
store ptr %17, ptr %3, align 8
br label %18
18: ; preds = %12, %11
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare i32 @column_count(ptr noundef) #1
declare ptr @column(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxx9mr_a2.c'
source_filename = "/tmp/tmpxx9mr_a2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrtf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @logf(float noundef %3)
%5 = sdiv i32 %4, 2
%6 = call float @expf(i32 noundef %5)
ret float %6
}
declare float @expf(i32 noundef) #1
declare i32 @logf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxx9mr_a2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrtf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @logf(float noundef %3)
%5 = sdiv i32 %4, 2
%6 = call float @expf(i32 noundef %5)
ret float %6
}
declare float @expf(i32 noundef) #1
declare i32 @logf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd9knjfm5.c'
source_filename = "/tmp/tmpd9knjfm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @divides(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %3, align 4
br label %19
9: ; preds = %2
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %3, align 4
br label %19
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = srem i32 %14, %15
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %13, %12, %8
%20 = load i32, ptr %3, align 4
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd9knjfm5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @divides(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %3, align 4
br label %19
9: ; preds = %2
%10 = load i32, ptr %5, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %3, align 4
br label %19
13: ; preds = %9
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = srem i32 %14, %15
%17 = icmp eq i32 %16, 0
%18 = zext i1 %17 to i32
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %13, %12, %8
%20 = load i32, ptr %3, align 4
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"}
|
; ModuleID = '/tmp/tmp_6z_xzx5.c'
source_filename = "/tmp/tmp_6z_xzx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usernewkey_cmdline_parser_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @usernewkey_cmdline_parser_release(ptr noundef %3)
ret void
}
declare i32 @usernewkey_cmdline_parser_release(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_6z_xzx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @usernewkey_cmdline_parser_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @usernewkey_cmdline_parser_release(ptr noundef %3)
ret void
}
declare i32 @usernewkey_cmdline_parser_release(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt3o92jvl.c'
source_filename = "/tmp/tmpt3o92jvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gffi_get_int_16_swapped(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [2 x i32], align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i32, ptr %6, i64 %8
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
store i32 %10, ptr %11, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %12, i64 %15
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
store i32 %17, ptr %18, align 4
%19 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%20 = load i32, ptr %19, align 4
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt3o92jvl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gffi_get_int_16_swapped(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [2 x i32], align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i32, ptr %6, i64 %8
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1
store i32 %10, ptr %11, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %12, i64 %15
%17 = load i32, ptr %16, align 4
%18 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
store i32 %17, ptr %18, align 4
%19 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 0
%20 = load i32, ptr %19, align 4
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"}
|
; ModuleID = '/tmp/tmp9td3g0jv.c'
source_filename = "/tmp/tmp9td3g0jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowercase_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = load i8, ptr %8, align 1
%10 = call signext i8 @tolower(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
store i8 %10, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
br label %3, !llvm.loop !6
14: ; preds = %3
ret void
}
declare signext i8 @tolower(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/tmp9td3g0jv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowercase_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = load i8, ptr %7, align 1
%9 = call signext i8 @tolower(i8 noundef signext %8)
%10 = load ptr, ptr %2, align 8
store i8 %9, ptr %10, align 1
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %16
16: ; preds = %._crit_edge, %1
ret void
}
declare signext i8 @tolower(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/tmpuo82mf6d.c'
source_filename = "/tmp/tmpuo82mf6d.c"
target datalayout = "e-m:e-p270: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/tmpuo82mf6d.c"
target datalayout = "e-m:e-p270: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/tmp9u068esj.c'
source_filename = "/tmp/tmp9u068esj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9u068esj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsct_09h5.c'
source_filename = "/tmp/tmpsct_09h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsct_09h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8hxlf3x.c'
source_filename = "/tmp/tmps8hxlf3x.c"
target datalayout = "e-m:e-p270: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/tmps8hxlf3x.c"
target datalayout = "e-m:e-p270: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/tmpc_7o5_oy.c'
source_filename = "/tmp/tmpc_7o5_oy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%04x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_to_hex(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4 x i8], align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 4, i1 false)
%6 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i32 @uCharToHex(ptr noundef %9, ptr noundef %10, i32 noundef 4)
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
ret i32 %13
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @uCharToHex(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_7o5_oy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%04x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @int_to_hex(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [4 x i8], align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 4, i1 false)
%6 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef %7)
%9 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %4, align 8
%11 = call i32 @uCharToHex(ptr noundef %9, ptr noundef %10, i32 noundef 4)
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef %12)
ret i32 %13
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @uCharToHex(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyut3lxwq.c'
source_filename = "/tmp/tmpyut3lxwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_total_numb_of_elemts(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i32 0, ptr %7, align 4
store i8 0, ptr %8, align 1
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %42, %2
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %45
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
store i8 %21, ptr %8, align 1
%22 = load i32, ptr %9, align 4
switch i32 %22, label %41 [
i32 0, label %23
i32 1, label %31
]
23: ; preds = %16
%24 = load i8, ptr %8, align 1
%25 = sext i8 %24 to i32
%26 = load i8, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %25, %27
br i1 %28, label %29, label %30
29: ; preds = %23
store i32 1, ptr %9, align 4
br label %30
30: ; preds = %29, %23
br label %41
31: ; preds = %16
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %4, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %33, %35
br i1 %36, label %37, label %40
37: ; preds = %31
store i32 0, ptr %9, align 4
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %40
40: ; preds = %37, %31
br label %41
41: ; preds = %16, %40, %30
br label %42
42: ; preds = %41
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %12, !llvm.loop !6
45: ; preds = %12
%46 = load i32, ptr %9, align 4
%47 = icmp eq i32 %46, 1
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
br label %51
51: ; preds = %48, %45
%52 = load i32, ptr %7, align 4
ret i32 %52
}
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/tmpyut3lxwq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_total_numb_of_elemts(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
store i32 0, ptr %7, align 4
store i8 0, ptr %8, align 1
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %6, align 4
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %47
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %41
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
store i8 %20, ptr %8, align 1
%21 = load i32, ptr %9, align 4
switch i32 %21, label %40 [
i32 0, label %22
i32 1, label %30
]
22: ; preds = %15
%23 = load i8, ptr %8, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr %4, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %24, %26
br i1 %27, label %28, label %29
28: ; preds = %22
store i32 1, ptr %9, align 4
br label %29
29: ; preds = %28, %22
br label %40
30: ; preds = %15
%31 = load i8, ptr %8, align 1
%32 = sext i8 %31 to i32
%33 = load i8, ptr %4, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %32, %34
br i1 %35, label %36, label %39
36: ; preds = %30
store i32 0, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %39
39: ; preds = %36, %30
br label %40
40: ; preds = %39, %29, %15
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %2
%48 = load i32, ptr %9, align 4
%49 = icmp eq i32 %48, 1
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %53
53: ; preds = %50, %47
%54 = load i32, ptr %7, align 4
ret i32 %54
}
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/tmpa3w7w2i3.c'
source_filename = "/tmp/tmpa3w7w2i3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filename_remove_path(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 %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 92)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strrchr(ptr noundef %13, i8 noundef signext 47)
store ptr %14, ptr %3, align 8
br label %15
15: ; preds = %12, %7
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
br label %23
21: ; preds = %15
%22 = load ptr, ptr %2, align 8
store ptr %22, ptr %3, align 8
br label %23
23: ; preds = %21, %18
br label %24
24: ; preds = %23, %1
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa3w7w2i3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filename_remove_path(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 %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strrchr(ptr noundef %8, i8 noundef signext 92)
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %15, label %12
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
%14 = call ptr @strrchr(ptr noundef %13, i8 noundef signext 47)
store ptr %14, ptr %3, align 8
br label %15
15: ; preds = %12, %7
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %3, align 8
br label %23
21: ; preds = %15
%22 = load ptr, ptr %2, align 8
store ptr %22, ptr %3, align 8
br label %23
23: ; preds = %21, %18
br label %24
24: ; preds = %23, %1
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2bzdwq_a.c'
source_filename = "/tmp/tmp2bzdwq_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 void @land(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %27, %4
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %9, align 8
%17 = getelementptr inbounds i32, ptr %15, i64 %16
%18 = load i32, ptr %17, align 4
%19 = load ptr, ptr %6, align 8
%20 = load i64, ptr %9, align 8
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4
%23 = and i32 %18, %22
%24 = load ptr, ptr %7, align 8
%25 = load i64, ptr %9, align 8
%26 = getelementptr inbounds i32, ptr %24, i64 %25
store i32 %23, ptr %26, align 4
br label %27
27: ; preds = %14
%28 = load i64, ptr %9, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %9, align 8
br label %10, !llvm.loop !6
30: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2bzdwq_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 void @land(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = load i64, ptr %9, align 8
%11 = load i64, ptr %8, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %26
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds i32, ptr %18, i64 %19
%21 = load i32, ptr %20, align 4
%22 = and i32 %17, %21
%23 = load ptr, ptr %7, align 8
%24 = load i64, ptr %9, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %13
%27 = load i64, ptr %9, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i64, ptr %8, align 8
%31 = icmp ult i64 %29, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbrfcwoke.c'
source_filename = "/tmp/tmpbrfcwoke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"conflicting name detected %s for type %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @con(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i32 noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbrfcwoke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"conflicting name detected %s for type %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @con(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %7, i32 noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl58vbo1e.c'
source_filename = "/tmp/tmpl58vbo1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @status_set_tracking(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = call ptr @status_get_file_ptr(ptr noundef @.str)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
br label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.1, ptr noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fclose(ptr noundef %12)
br label %14
14: ; preds = %8, %7
ret void
}
declare ptr @status_get_file_ptr(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl58vbo1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"a\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @status_set_tracking(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = call ptr @status_get_file_ptr(ptr noundef @.str)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
br label %14
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.1, ptr noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fclose(ptr noundef %12)
br label %14
14: ; preds = %8, %7
ret void
}
declare ptr @status_get_file_ptr(ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphu0z6ohg.c'
source_filename = "/tmp/tmphu0z6ohg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IVZVqsortDown(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp sle i32 %17, 10
br i1 %18, label %19, label %24
19: ; preds = %3
%20 = load i32, ptr %4, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @IVZVisortDown(i32 noundef %20, ptr noundef %21, ptr noundef %22)
br label %534
24: ; preds = %3
%25 = load i32, ptr %4, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @Icentervalue(i32 noundef %25, ptr noundef %26)
store i32 %27, ptr %16, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%28 = load i32, ptr %4, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %11, align 4
store i32 %29, ptr %10, align 4
br label %30
30: ; preds = %231, %24
br label %31
31: ; preds = %125, %30
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %43
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %16, align 4
%42 = icmp sge i32 %40, %41
br label %43
43: ; preds = %35, %31
%44 = phi i1 [ false, %31 ], [ %42, %35 ]
br i1 %44, label %45, label %128
45: ; preds = %43
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %16, align 4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %125
53: ; preds = %45
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %12, align 4
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %8, 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 i32, ptr %12, align 4
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
store i32 %68, ptr %72, align 4
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %8, align 4
%75 = mul nsw i32 2, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %73, i64 %76
%78 = load double, ptr %77, align 8
store double %78, ptr %7, align 8
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %9, align 4
%81 = mul nsw i32 2, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %79, i64 %82
%84 = load double, ptr %83, align 8
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr %8, align 4
%87 = mul nsw i32 2, %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %85, i64 %88
store double %84, ptr %89, align 8
%90 = load double, ptr %7, align 8
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %9, align 4
%93 = mul nsw i32 2, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %91, i64 %94
store double %90, ptr %95, align 8
%96 = load ptr, ptr %6, align 8
%97 = load i32, ptr %8, align 4
%98 = mul nsw i32 2, %97
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %96, i64 %100
%102 = load double, ptr %101, align 8
store double %102, ptr %7, align 8
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %9, align 4
%105 = mul nsw i32 2, %104
%106 = add nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %103, i64 %107
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %6, align 8
%111 = load i32, ptr %8, align 4
%112 = mul nsw i32 2, %111
%113 = add nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %110, i64 %114
store double %109, ptr %115, align 8
%116 = load double, ptr %7, align 8
%117 = load ptr, ptr %6, align 8
%118 = load i32, ptr %9, align 4
%119 = mul nsw i32 2, %118
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %117, i64 %121
store double %116, ptr %122, align 8
%123 = load i32, ptr %8, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %8, align 4
br label %125
125: ; preds = %53, %45
%126 = load i32, ptr %9, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %9, align 4
br label %31, !llvm.loop !6
128: ; preds = %43
br label %129
129: ; preds = %223, %128
%130 = load i32, ptr %10, align 4
%131 = load i32, ptr %9, align 4
%132 = icmp sge i32 %130, %131
br i1 %132, label %133, label %141
133: ; preds = %129
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %10, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
%139 = load i32, ptr %16, align 4
%140 = icmp sle i32 %138, %139
br label %141
141: ; preds = %133, %129
%142 = phi i1 [ false, %129 ], [ %140, %133 ]
br i1 %142, label %143, label %226
143: ; preds = %141
%144 = load ptr, ptr %5, align 8
%145 = load i32, ptr %10, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %144, i64 %146
%148 = load i32, ptr %147, align 4
%149 = load i32, ptr %16, align 4
%150 = icmp eq i32 %148, %149
br i1 %150, label %151, label %223
151: ; preds = %143
%152 = load ptr, ptr %5, align 8
%153 = load i32, ptr %10, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
%156 = load i32, ptr %155, align 4
store i32 %156, ptr %12, align 4
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %11, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i32, ptr %157, i64 %159
%161 = load i32, ptr %160, align 4
%162 = load ptr, ptr %5, align 8
%163 = load i32, ptr %10, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i32, ptr %162, i64 %164
store i32 %161, ptr %165, align 4
%166 = load i32, ptr %12, align 4
%167 = load ptr, ptr %5, align 8
%168 = load i32, ptr %11, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i32, ptr %167, i64 %169
store i32 %166, ptr %170, align 4
%171 = load ptr, ptr %6, align 8
%172 = load i32, ptr %10, align 4
%173 = mul nsw i32 2, %172
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, ptr %171, i64 %174
%176 = load double, ptr %175, align 8
store double %176, ptr %7, align 8
%177 = load ptr, ptr %6, align 8
%178 = load i32, ptr %11, align 4
%179 = mul nsw i32 2, %178
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %177, i64 %180
%182 = load double, ptr %181, align 8
%183 = load ptr, ptr %6, align 8
%184 = load i32, ptr %10, align 4
%185 = mul nsw i32 2, %184
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %183, i64 %186
store double %182, ptr %187, align 8
%188 = load double, ptr %7, align 8
%189 = load ptr, ptr %6, align 8
%190 = load i32, ptr %11, align 4
%191 = mul nsw i32 2, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %189, i64 %192
store double %188, ptr %193, align 8
%194 = load ptr, ptr %6, align 8
%195 = load i32, ptr %10, align 4
%196 = mul nsw i32 2, %195
%197 = add nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, ptr %194, i64 %198
%200 = load double, ptr %199, align 8
store double %200, ptr %7, align 8
%201 = load ptr, ptr %6, align 8
%202 = load i32, ptr %11, align 4
%203 = mul nsw i32 2, %202
%204 = add nsw i32 %203, 1
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double, ptr %201, i64 %205
%207 = load double, ptr %206, align 8
%208 = load ptr, ptr %6, align 8
%209 = load i32, ptr %10, align 4
%210 = mul nsw i32 2, %209
%211 = add nsw i32 %210, 1
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %208, i64 %212
store double %207, ptr %213, align 8
%214 = load double, ptr %7, align 8
%215 = load ptr, ptr %6, align 8
%216 = load i32, ptr %11, align 4
%217 = mul nsw i32 2, %216
%218 = add nsw i32 %217, 1
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds double, ptr %215, i64 %219
store double %214, ptr %220, align 8
%221 = load i32, ptr %11, align 4
%222 = add nsw i32 %221, -1
store i32 %222, ptr %11, align 4
br label %223
223: ; preds = %151, %143
%224 = load i32, ptr %10, align 4
%225 = add nsw i32 %224, -1
store i32 %225, ptr %10, align 4
br label %129, !llvm.loop !8
226: ; preds = %141
%227 = load i32, ptr %9, align 4
%228 = load i32, ptr %10, align 4
%229 = icmp sgt i32 %227, %228
br i1 %229, label %230, label %231
230: ; preds = %226
br label %305
231: ; preds = %226
%232 = load ptr, ptr %5, align 8
%233 = load i32, ptr %9, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i32, ptr %232, i64 %234
%236 = load i32, ptr %235, align 4
store i32 %236, ptr %12, align 4
%237 = load ptr, ptr %5, align 8
%238 = load i32, ptr %10, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i32, ptr %237, i64 %239
%241 = load i32, ptr %240, align 4
%242 = load ptr, ptr %5, align 8
%243 = load i32, ptr %9, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, ptr %242, i64 %244
store i32 %241, ptr %245, align 4
%246 = load i32, ptr %12, align 4
%247 = load ptr, ptr %5, align 8
%248 = load i32, ptr %10, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i32, ptr %247, i64 %249
store i32 %246, ptr %250, align 4
%251 = load ptr, ptr %6, align 8
%252 = load i32, ptr %9, align 4
%253 = mul nsw i32 2, %252
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds double, ptr %251, i64 %254
%256 = load double, ptr %255, align 8
store double %256, ptr %7, align 8
%257 = load ptr, ptr %6, align 8
%258 = load i32, ptr %10, align 4
%259 = mul nsw i32 2, %258
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, ptr %257, i64 %260
%262 = load double, ptr %261, align 8
%263 = load ptr, ptr %6, align 8
%264 = load i32, ptr %9, align 4
%265 = mul nsw i32 2, %264
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds double, ptr %263, i64 %266
store double %262, ptr %267, align 8
%268 = load double, ptr %7, align 8
%269 = load ptr, ptr %6, align 8
%270 = load i32, ptr %10, align 4
%271 = mul nsw i32 2, %270
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds double, ptr %269, i64 %272
store double %268, ptr %273, align 8
%274 = load ptr, ptr %6, align 8
%275 = load i32, ptr %9, align 4
%276 = mul nsw i32 2, %275
%277 = add nsw i32 %276, 1
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds double, ptr %274, i64 %278
%280 = load double, ptr %279, align 8
store double %280, ptr %7, align 8
%281 = load ptr, ptr %6, align 8
%282 = load i32, ptr %10, align 4
%283 = mul nsw i32 2, %282
%284 = add nsw i32 %283, 1
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds double, ptr %281, i64 %285
%287 = load double, ptr %286, align 8
%288 = load ptr, ptr %6, align 8
%289 = load i32, ptr %9, align 4
%290 = mul nsw i32 2, %289
%291 = add nsw i32 %290, 1
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds double, ptr %288, i64 %292
store double %287, ptr %293, align 8
%294 = load double, ptr %7, align 8
%295 = load ptr, ptr %6, align 8
%296 = load i32, ptr %10, align 4
%297 = mul nsw i32 2, %296
%298 = add nsw i32 %297, 1
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds double, ptr %295, i64 %299
store double %294, ptr %300, align 8
%301 = load i32, ptr %9, align 4
%302 = add nsw i32 %301, 1
store i32 %302, ptr %9, align 4
%303 = load i32, ptr %10, align 4
%304 = add nsw i32 %303, -1
store i32 %304, ptr %10, align 4
br label %30
305: ; preds = %230
%306 = load i32, ptr %8, align 4
%307 = load i32, ptr %9, align 4
%308 = load i32, ptr %8, align 4
%309 = sub nsw i32 %307, %308
%310 = icmp sle i32 %306, %309
br i1 %310, label %311, label %313
311: ; preds = %305
%312 = load i32, ptr %8, align 4
br label %317
313: ; preds = %305
%314 = load i32, ptr %9, align 4
%315 = load i32, ptr %8, align 4
%316 = sub nsw i32 %314, %315
br label %317
317: ; preds = %313, %311
%318 = phi i32 [ %312, %311 ], [ %316, %313 ]
store i32 %318, ptr %15, align 4
store i32 0, ptr %13, align 4
%319 = load i32, ptr %9, align 4
%320 = load i32, ptr %15, align 4
%321 = sub nsw i32 %319, %320
store i32 %321, ptr %14, align 4
br label %322
322: ; preds = %399, %317
%323 = load i32, ptr %15, align 4
%324 = icmp ne i32 %323, 0
br i1 %324, label %325, label %402
325: ; preds = %322
%326 = load ptr, ptr %5, align 8
%327 = load i32, ptr %13, align 4
%328 = sext i32 %327 to i64
%329 = getelementptr inbounds i32, ptr %326, i64 %328
%330 = load i32, ptr %329, align 4
store i32 %330, ptr %12, align 4
%331 = load ptr, ptr %5, align 8
%332 = load i32, ptr %14, align 4
%333 = sext i32 %332 to i64
%334 = getelementptr inbounds i32, ptr %331, i64 %333
%335 = load i32, ptr %334, align 4
%336 = load ptr, ptr %5, align 8
%337 = load i32, ptr %13, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds i32, ptr %336, i64 %338
store i32 %335, ptr %339, align 4
%340 = load i32, ptr %12, align 4
%341 = load ptr, ptr %5, align 8
%342 = load i32, ptr %14, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds i32, ptr %341, i64 %343
store i32 %340, ptr %344, align 4
%345 = load ptr, ptr %6, align 8
%346 = load i32, ptr %13, align 4
%347 = mul nsw i32 2, %346
%348 = sext i32 %347 to i64
%349 = getelementptr inbounds double, ptr %345, i64 %348
%350 = load double, ptr %349, align 8
store double %350, ptr %7, align 8
%351 = load ptr, ptr %6, align 8
%352 = load i32, ptr %14, align 4
%353 = mul nsw i32 2, %352
%354 = sext i32 %353 to i64
%355 = getelementptr inbounds double, ptr %351, i64 %354
%356 = load double, ptr %355, align 8
%357 = load ptr, ptr %6, align 8
%358 = load i32, ptr %13, align 4
%359 = mul nsw i32 2, %358
%360 = sext i32 %359 to i64
%361 = getelementptr inbounds double, ptr %357, i64 %360
store double %356, ptr %361, align 8
%362 = load double, ptr %7, align 8
%363 = load ptr, ptr %6, align 8
%364 = load i32, ptr %14, align 4
%365 = mul nsw i32 2, %364
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds double, ptr %363, i64 %366
store double %362, ptr %367, align 8
%368 = load ptr, ptr %6, align 8
%369 = load i32, ptr %13, align 4
%370 = mul nsw i32 2, %369
%371 = add nsw i32 %370, 1
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds double, ptr %368, i64 %372
%374 = load double, ptr %373, align 8
store double %374, ptr %7, align 8
%375 = load ptr, ptr %6, align 8
%376 = load i32, ptr %14, align 4
%377 = mul nsw i32 2, %376
%378 = add nsw i32 %377, 1
%379 = sext i32 %378 to i64
%380 = getelementptr inbounds double, ptr %375, i64 %379
%381 = load double, ptr %380, align 8
%382 = load ptr, ptr %6, align 8
%383 = load i32, ptr %13, align 4
%384 = mul nsw i32 2, %383
%385 = add nsw i32 %384, 1
%386 = sext i32 %385 to i64
%387 = getelementptr inbounds double, ptr %382, i64 %386
store double %381, ptr %387, align 8
%388 = load double, ptr %7, align 8
%389 = load ptr, ptr %6, align 8
%390 = load i32, ptr %14, align 4
%391 = mul nsw i32 2, %390
%392 = add nsw i32 %391, 1
%393 = sext i32 %392 to i64
%394 = getelementptr inbounds double, ptr %389, i64 %393
store double %388, ptr %394, align 8
%395 = load i32, ptr %13, align 4
%396 = add nsw i32 %395, 1
store i32 %396, ptr %13, align 4
%397 = load i32, ptr %14, align 4
%398 = add nsw i32 %397, 1
store i32 %398, ptr %14, align 4
br label %399
399: ; preds = %325
%400 = load i32, ptr %15, align 4
%401 = add nsw i32 %400, -1
store i32 %401, ptr %15, align 4
br label %322, !llvm.loop !9
402: ; preds = %322
%403 = load i32, ptr %11, align 4
%404 = load i32, ptr %10, align 4
%405 = sub nsw i32 %403, %404
%406 = load i32, ptr %4, align 4
%407 = sub nsw i32 %406, 1
%408 = load i32, ptr %11, align 4
%409 = sub nsw i32 %407, %408
%410 = icmp sle i32 %405, %409
br i1 %410, label %411, label %415
411: ; preds = %402
%412 = load i32, ptr %11, align 4
%413 = load i32, ptr %10, align 4
%414 = sub nsw i32 %412, %413
br label %420
415: ; preds = %402
%416 = load i32, ptr %4, align 4
%417 = sub nsw i32 %416, 1
%418 = load i32, ptr %11, align 4
%419 = sub nsw i32 %417, %418
br label %420
420: ; preds = %415, %411
%421 = phi i32 [ %414, %411 ], [ %419, %415 ]
store i32 %421, ptr %15, align 4
%422 = load i32, ptr %9, align 4
store i32 %422, ptr %13, align 4
%423 = load i32, ptr %4, align 4
%424 = load i32, ptr %15, align 4
%425 = sub nsw i32 %423, %424
store i32 %425, ptr %14, align 4
br label %426
426: ; preds = %503, %420
%427 = load i32, ptr %15, align 4
%428 = icmp ne i32 %427, 0
br i1 %428, label %429, label %506
429: ; preds = %426
%430 = load ptr, ptr %5, align 8
%431 = load i32, ptr %13, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds i32, ptr %430, i64 %432
%434 = load i32, ptr %433, align 4
store i32 %434, ptr %12, align 4
%435 = load ptr, ptr %5, align 8
%436 = load i32, ptr %14, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds i32, ptr %435, i64 %437
%439 = load i32, ptr %438, align 4
%440 = load ptr, ptr %5, align 8
%441 = load i32, ptr %13, align 4
%442 = sext i32 %441 to i64
%443 = getelementptr inbounds i32, ptr %440, i64 %442
store i32 %439, ptr %443, align 4
%444 = load i32, ptr %12, align 4
%445 = load ptr, ptr %5, align 8
%446 = load i32, ptr %14, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds i32, ptr %445, i64 %447
store i32 %444, ptr %448, align 4
%449 = load ptr, ptr %6, align 8
%450 = load i32, ptr %13, align 4
%451 = mul nsw i32 2, %450
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds double, ptr %449, i64 %452
%454 = load double, ptr %453, align 8
store double %454, ptr %7, align 8
%455 = load ptr, ptr %6, align 8
%456 = load i32, ptr %14, align 4
%457 = mul nsw i32 2, %456
%458 = sext i32 %457 to i64
%459 = getelementptr inbounds double, ptr %455, i64 %458
%460 = load double, ptr %459, align 8
%461 = load ptr, ptr %6, align 8
%462 = load i32, ptr %13, align 4
%463 = mul nsw i32 2, %462
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds double, ptr %461, i64 %464
store double %460, ptr %465, align 8
%466 = load double, ptr %7, align 8
%467 = load ptr, ptr %6, align 8
%468 = load i32, ptr %14, align 4
%469 = mul nsw i32 2, %468
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds double, ptr %467, i64 %470
store double %466, ptr %471, align 8
%472 = load ptr, ptr %6, align 8
%473 = load i32, ptr %13, align 4
%474 = mul nsw i32 2, %473
%475 = add nsw i32 %474, 1
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds double, ptr %472, i64 %476
%478 = load double, ptr %477, align 8
store double %478, ptr %7, align 8
%479 = load ptr, ptr %6, align 8
%480 = load i32, ptr %14, align 4
%481 = mul nsw i32 2, %480
%482 = add nsw i32 %481, 1
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds double, ptr %479, i64 %483
%485 = load double, ptr %484, align 8
%486 = load ptr, ptr %6, align 8
%487 = load i32, ptr %13, align 4
%488 = mul nsw i32 2, %487
%489 = add nsw i32 %488, 1
%490 = sext i32 %489 to i64
%491 = getelementptr inbounds double, ptr %486, i64 %490
store double %485, ptr %491, align 8
%492 = load double, ptr %7, align 8
%493 = load ptr, ptr %6, align 8
%494 = load i32, ptr %14, align 4
%495 = mul nsw i32 2, %494
%496 = add nsw i32 %495, 1
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds double, ptr %493, i64 %497
store double %492, ptr %498, align 8
%499 = load i32, ptr %13, align 4
%500 = add nsw i32 %499, 1
store i32 %500, ptr %13, align 4
%501 = load i32, ptr %14, align 4
%502 = add nsw i32 %501, 1
store i32 %502, ptr %14, align 4
br label %503
503: ; preds = %429
%504 = load i32, ptr %15, align 4
%505 = add nsw i32 %504, -1
store i32 %505, ptr %15, align 4
br label %426, !llvm.loop !10
506: ; preds = %426
%507 = load i32, ptr %9, align 4
%508 = load i32, ptr %8, align 4
%509 = sub nsw i32 %507, %508
%510 = load ptr, ptr %5, align 8
%511 = load ptr, ptr %6, align 8
call void @IVZVqsortDown(i32 noundef %509, ptr noundef %510, ptr noundef %511)
%512 = load i32, ptr %11, align 4
%513 = load i32, ptr %10, align 4
%514 = sub nsw i32 %512, %513
%515 = load ptr, ptr %5, align 8
%516 = load i32, ptr %4, align 4
%517 = sext i32 %516 to i64
%518 = getelementptr inbounds i32, ptr %515, i64 %517
%519 = load i32, ptr %11, align 4
%520 = load i32, ptr %10, align 4
%521 = sub nsw i32 %519, %520
%522 = sext i32 %521 to i64
%523 = sub i64 0, %522
%524 = getelementptr inbounds i32, ptr %518, i64 %523
%525 = load ptr, ptr %6, align 8
%526 = load i32, ptr %4, align 4
%527 = load i32, ptr %11, align 4
%528 = load i32, ptr %10, align 4
%529 = sub nsw i32 %527, %528
%530 = sub nsw i32 %526, %529
%531 = mul nsw i32 2, %530
%532 = sext i32 %531 to i64
%533 = getelementptr inbounds double, ptr %525, i64 %532
call void @IVZVqsortDown(i32 noundef %514, ptr noundef %524, ptr noundef %533)
br label %534
534: ; preds = %506, %19
ret void
}
declare i32 @IVZVisortDown(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @Icentervalue(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphu0z6ohg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IVZVqsortDown(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%17 = load i32, ptr %4, align 4
%18 = icmp sle i32 %17, 10
br i1 %18, label %19, label %24
19: ; preds = %3
%20 = load i32, ptr %4, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @IVZVisortDown(i32 noundef %20, ptr noundef %21, ptr noundef %22)
br label %536
24: ; preds = %3
%25 = load i32, ptr %4, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @Icentervalue(i32 noundef %25, ptr noundef %26)
store i32 %27, ptr %16, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %8, align 4
%28 = load i32, ptr %4, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %11, align 4
store i32 %29, ptr %10, align 4
br label %30
30: ; preds = %231, %24
br label %31
31: ; preds = %125, %30
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %43
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %16, align 4
%42 = icmp sge i32 %40, %41
br label %43
43: ; preds = %35, %31
%44 = phi i1 [ false, %31 ], [ %42, %35 ]
br i1 %44, label %45, label %128
45: ; preds = %43
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = load i32, ptr %16, align 4
%52 = icmp eq i32 %50, %51
br i1 %52, label %53, label %125
53: ; preds = %45
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %12, align 4
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %9, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %8, 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 i32, ptr %12, align 4
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %9, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
store i32 %68, ptr %72, align 4
%73 = load ptr, ptr %6, align 8
%74 = load i32, ptr %8, align 4
%75 = mul nsw i32 2, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %73, i64 %76
%78 = load double, ptr %77, align 8
store double %78, ptr %7, align 8
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %9, align 4
%81 = mul nsw i32 2, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %79, i64 %82
%84 = load double, ptr %83, align 8
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr %8, align 4
%87 = mul nsw i32 2, %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %85, i64 %88
store double %84, ptr %89, align 8
%90 = load double, ptr %7, align 8
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %9, align 4
%93 = mul nsw i32 2, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double, ptr %91, i64 %94
store double %90, ptr %95, align 8
%96 = load ptr, ptr %6, align 8
%97 = load i32, ptr %8, align 4
%98 = mul nsw i32 2, %97
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %96, i64 %100
%102 = load double, ptr %101, align 8
store double %102, ptr %7, align 8
%103 = load ptr, ptr %6, align 8
%104 = load i32, ptr %9, align 4
%105 = mul nsw i32 2, %104
%106 = add nsw i32 %105, 1
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %103, i64 %107
%109 = load double, ptr %108, align 8
%110 = load ptr, ptr %6, align 8
%111 = load i32, ptr %8, align 4
%112 = mul nsw i32 2, %111
%113 = add nsw i32 %112, 1
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %110, i64 %114
store double %109, ptr %115, align 8
%116 = load double, ptr %7, align 8
%117 = load ptr, ptr %6, align 8
%118 = load i32, ptr %9, align 4
%119 = mul nsw i32 2, %118
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %117, i64 %121
store double %116, ptr %122, align 8
%123 = load i32, ptr %8, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %8, align 4
br label %125
125: ; preds = %53, %45
%126 = load i32, ptr %9, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %9, align 4
br label %31, !llvm.loop !6
128: ; preds = %43
br label %129
129: ; preds = %223, %128
%130 = load i32, ptr %10, align 4
%131 = load i32, ptr %9, align 4
%132 = icmp sge i32 %130, %131
br i1 %132, label %133, label %141
133: ; preds = %129
%134 = load ptr, ptr %5, align 8
%135 = load i32, ptr %10, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
%139 = load i32, ptr %16, align 4
%140 = icmp sle i32 %138, %139
br label %141
141: ; preds = %133, %129
%142 = phi i1 [ false, %129 ], [ %140, %133 ]
br i1 %142, label %143, label %226
143: ; preds = %141
%144 = load ptr, ptr %5, align 8
%145 = load i32, ptr %10, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %144, i64 %146
%148 = load i32, ptr %147, align 4
%149 = load i32, ptr %16, align 4
%150 = icmp eq i32 %148, %149
br i1 %150, label %151, label %223
151: ; preds = %143
%152 = load ptr, ptr %5, align 8
%153 = load i32, ptr %10, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %152, i64 %154
%156 = load i32, ptr %155, align 4
store i32 %156, ptr %12, align 4
%157 = load ptr, ptr %5, align 8
%158 = load i32, ptr %11, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i32, ptr %157, i64 %159
%161 = load i32, ptr %160, align 4
%162 = load ptr, ptr %5, align 8
%163 = load i32, ptr %10, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds i32, ptr %162, i64 %164
store i32 %161, ptr %165, align 4
%166 = load i32, ptr %12, align 4
%167 = load ptr, ptr %5, align 8
%168 = load i32, ptr %11, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i32, ptr %167, i64 %169
store i32 %166, ptr %170, align 4
%171 = load ptr, ptr %6, align 8
%172 = load i32, ptr %10, align 4
%173 = mul nsw i32 2, %172
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, ptr %171, i64 %174
%176 = load double, ptr %175, align 8
store double %176, ptr %7, align 8
%177 = load ptr, ptr %6, align 8
%178 = load i32, ptr %11, align 4
%179 = mul nsw i32 2, %178
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %177, i64 %180
%182 = load double, ptr %181, align 8
%183 = load ptr, ptr %6, align 8
%184 = load i32, ptr %10, align 4
%185 = mul nsw i32 2, %184
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %183, i64 %186
store double %182, ptr %187, align 8
%188 = load double, ptr %7, align 8
%189 = load ptr, ptr %6, align 8
%190 = load i32, ptr %11, align 4
%191 = mul nsw i32 2, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, ptr %189, i64 %192
store double %188, ptr %193, align 8
%194 = load ptr, ptr %6, align 8
%195 = load i32, ptr %10, align 4
%196 = mul nsw i32 2, %195
%197 = add nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, ptr %194, i64 %198
%200 = load double, ptr %199, align 8
store double %200, ptr %7, align 8
%201 = load ptr, ptr %6, align 8
%202 = load i32, ptr %11, align 4
%203 = mul nsw i32 2, %202
%204 = add nsw i32 %203, 1
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double, ptr %201, i64 %205
%207 = load double, ptr %206, align 8
%208 = load ptr, ptr %6, align 8
%209 = load i32, ptr %10, align 4
%210 = mul nsw i32 2, %209
%211 = add nsw i32 %210, 1
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %208, i64 %212
store double %207, ptr %213, align 8
%214 = load double, ptr %7, align 8
%215 = load ptr, ptr %6, align 8
%216 = load i32, ptr %11, align 4
%217 = mul nsw i32 2, %216
%218 = add nsw i32 %217, 1
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds double, ptr %215, i64 %219
store double %214, ptr %220, align 8
%221 = load i32, ptr %11, align 4
%222 = add nsw i32 %221, -1
store i32 %222, ptr %11, align 4
br label %223
223: ; preds = %151, %143
%224 = load i32, ptr %10, align 4
%225 = add nsw i32 %224, -1
store i32 %225, ptr %10, align 4
br label %129, !llvm.loop !8
226: ; preds = %141
%227 = load i32, ptr %9, align 4
%228 = load i32, ptr %10, align 4
%229 = icmp sgt i32 %227, %228
br i1 %229, label %230, label %231
230: ; preds = %226
br label %305
231: ; preds = %226
%232 = load ptr, ptr %5, align 8
%233 = load i32, ptr %9, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i32, ptr %232, i64 %234
%236 = load i32, ptr %235, align 4
store i32 %236, ptr %12, align 4
%237 = load ptr, ptr %5, align 8
%238 = load i32, ptr %10, align 4
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds i32, ptr %237, i64 %239
%241 = load i32, ptr %240, align 4
%242 = load ptr, ptr %5, align 8
%243 = load i32, ptr %9, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds i32, ptr %242, i64 %244
store i32 %241, ptr %245, align 4
%246 = load i32, ptr %12, align 4
%247 = load ptr, ptr %5, align 8
%248 = load i32, ptr %10, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i32, ptr %247, i64 %249
store i32 %246, ptr %250, align 4
%251 = load ptr, ptr %6, align 8
%252 = load i32, ptr %9, align 4
%253 = mul nsw i32 2, %252
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds double, ptr %251, i64 %254
%256 = load double, ptr %255, align 8
store double %256, ptr %7, align 8
%257 = load ptr, ptr %6, align 8
%258 = load i32, ptr %10, align 4
%259 = mul nsw i32 2, %258
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, ptr %257, i64 %260
%262 = load double, ptr %261, align 8
%263 = load ptr, ptr %6, align 8
%264 = load i32, ptr %9, align 4
%265 = mul nsw i32 2, %264
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds double, ptr %263, i64 %266
store double %262, ptr %267, align 8
%268 = load double, ptr %7, align 8
%269 = load ptr, ptr %6, align 8
%270 = load i32, ptr %10, align 4
%271 = mul nsw i32 2, %270
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds double, ptr %269, i64 %272
store double %268, ptr %273, align 8
%274 = load ptr, ptr %6, align 8
%275 = load i32, ptr %9, align 4
%276 = mul nsw i32 2, %275
%277 = add nsw i32 %276, 1
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds double, ptr %274, i64 %278
%280 = load double, ptr %279, align 8
store double %280, ptr %7, align 8
%281 = load ptr, ptr %6, align 8
%282 = load i32, ptr %10, align 4
%283 = mul nsw i32 2, %282
%284 = add nsw i32 %283, 1
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds double, ptr %281, i64 %285
%287 = load double, ptr %286, align 8
%288 = load ptr, ptr %6, align 8
%289 = load i32, ptr %9, align 4
%290 = mul nsw i32 2, %289
%291 = add nsw i32 %290, 1
%292 = sext i32 %291 to i64
%293 = getelementptr inbounds double, ptr %288, i64 %292
store double %287, ptr %293, align 8
%294 = load double, ptr %7, align 8
%295 = load ptr, ptr %6, align 8
%296 = load i32, ptr %10, align 4
%297 = mul nsw i32 2, %296
%298 = add nsw i32 %297, 1
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds double, ptr %295, i64 %299
store double %294, ptr %300, align 8
%301 = load i32, ptr %9, align 4
%302 = add nsw i32 %301, 1
store i32 %302, ptr %9, align 4
%303 = load i32, ptr %10, align 4
%304 = add nsw i32 %303, -1
store i32 %304, ptr %10, align 4
br label %30
305: ; preds = %230
%306 = load i32, ptr %8, align 4
%307 = load i32, ptr %9, align 4
%308 = load i32, ptr %8, align 4
%309 = sub nsw i32 %307, %308
%310 = icmp sle i32 %306, %309
br i1 %310, label %311, label %313
311: ; preds = %305
%312 = load i32, ptr %8, align 4
br label %317
313: ; preds = %305
%314 = load i32, ptr %9, align 4
%315 = load i32, ptr %8, align 4
%316 = sub nsw i32 %314, %315
br label %317
317: ; preds = %313, %311
%318 = phi i32 [ %312, %311 ], [ %316, %313 ]
store i32 %318, ptr %15, align 4
store i32 0, ptr %13, align 4
%319 = load i32, ptr %9, align 4
%320 = load i32, ptr %15, align 4
%321 = sub nsw i32 %319, %320
store i32 %321, ptr %14, align 4
%322 = load i32, ptr %15, align 4
%323 = icmp ne i32 %322, 0
br i1 %323, label %.lr.ph, label %403
.lr.ph: ; preds = %317
br label %324
324: ; preds = %.lr.ph, %398
%325 = load ptr, ptr %5, align 8
%326 = load i32, ptr %13, align 4
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds i32, ptr %325, i64 %327
%329 = load i32, ptr %328, align 4
store i32 %329, ptr %12, align 4
%330 = load ptr, ptr %5, align 8
%331 = load i32, ptr %14, align 4
%332 = sext i32 %331 to i64
%333 = getelementptr inbounds i32, ptr %330, i64 %332
%334 = load i32, ptr %333, align 4
%335 = load ptr, ptr %5, align 8
%336 = load i32, ptr %13, align 4
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds i32, ptr %335, i64 %337
store i32 %334, ptr %338, align 4
%339 = load i32, ptr %12, align 4
%340 = load ptr, ptr %5, align 8
%341 = load i32, ptr %14, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds i32, ptr %340, i64 %342
store i32 %339, ptr %343, align 4
%344 = load ptr, ptr %6, align 8
%345 = load i32, ptr %13, align 4
%346 = mul nsw i32 2, %345
%347 = sext i32 %346 to i64
%348 = getelementptr inbounds double, ptr %344, i64 %347
%349 = load double, ptr %348, align 8
store double %349, ptr %7, align 8
%350 = load ptr, ptr %6, align 8
%351 = load i32, ptr %14, align 4
%352 = mul nsw i32 2, %351
%353 = sext i32 %352 to i64
%354 = getelementptr inbounds double, ptr %350, i64 %353
%355 = load double, ptr %354, align 8
%356 = load ptr, ptr %6, align 8
%357 = load i32, ptr %13, align 4
%358 = mul nsw i32 2, %357
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds double, ptr %356, i64 %359
store double %355, ptr %360, align 8
%361 = load double, ptr %7, align 8
%362 = load ptr, ptr %6, align 8
%363 = load i32, ptr %14, align 4
%364 = mul nsw i32 2, %363
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds double, ptr %362, i64 %365
store double %361, ptr %366, align 8
%367 = load ptr, ptr %6, align 8
%368 = load i32, ptr %13, align 4
%369 = mul nsw i32 2, %368
%370 = add nsw i32 %369, 1
%371 = sext i32 %370 to i64
%372 = getelementptr inbounds double, ptr %367, i64 %371
%373 = load double, ptr %372, align 8
store double %373, ptr %7, align 8
%374 = load ptr, ptr %6, align 8
%375 = load i32, ptr %14, align 4
%376 = mul nsw i32 2, %375
%377 = add nsw i32 %376, 1
%378 = sext i32 %377 to i64
%379 = getelementptr inbounds double, ptr %374, i64 %378
%380 = load double, ptr %379, align 8
%381 = load ptr, ptr %6, align 8
%382 = load i32, ptr %13, align 4
%383 = mul nsw i32 2, %382
%384 = add nsw i32 %383, 1
%385 = sext i32 %384 to i64
%386 = getelementptr inbounds double, ptr %381, i64 %385
store double %380, ptr %386, align 8
%387 = load double, ptr %7, align 8
%388 = load ptr, ptr %6, align 8
%389 = load i32, ptr %14, align 4
%390 = mul nsw i32 2, %389
%391 = add nsw i32 %390, 1
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds double, ptr %388, i64 %392
store double %387, ptr %393, align 8
%394 = load i32, ptr %13, align 4
%395 = add nsw i32 %394, 1
store i32 %395, ptr %13, align 4
%396 = load i32, ptr %14, align 4
%397 = add nsw i32 %396, 1
store i32 %397, ptr %14, align 4
br label %398
398: ; preds = %324
%399 = load i32, ptr %15, align 4
%400 = add nsw i32 %399, -1
store i32 %400, ptr %15, align 4
%401 = load i32, ptr %15, align 4
%402 = icmp ne i32 %401, 0
br i1 %402, label %324, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %398
br label %403
403: ; preds = %._crit_edge, %317
%404 = load i32, ptr %11, align 4
%405 = load i32, ptr %10, align 4
%406 = sub nsw i32 %404, %405
%407 = load i32, ptr %4, align 4
%408 = sub nsw i32 %407, 1
%409 = load i32, ptr %11, align 4
%410 = sub nsw i32 %408, %409
%411 = icmp sle i32 %406, %410
br i1 %411, label %412, label %416
412: ; preds = %403
%413 = load i32, ptr %11, align 4
%414 = load i32, ptr %10, align 4
%415 = sub nsw i32 %413, %414
br label %421
416: ; preds = %403
%417 = load i32, ptr %4, align 4
%418 = sub nsw i32 %417, 1
%419 = load i32, ptr %11, align 4
%420 = sub nsw i32 %418, %419
br label %421
421: ; preds = %416, %412
%422 = phi i32 [ %415, %412 ], [ %420, %416 ]
store i32 %422, ptr %15, align 4
%423 = load i32, ptr %9, align 4
store i32 %423, ptr %13, align 4
%424 = load i32, ptr %4, align 4
%425 = load i32, ptr %15, align 4
%426 = sub nsw i32 %424, %425
store i32 %426, ptr %14, align 4
%427 = load i32, ptr %15, align 4
%428 = icmp ne i32 %427, 0
br i1 %428, label %.lr.ph2, label %508
.lr.ph2: ; preds = %421
br label %429
429: ; preds = %.lr.ph2, %503
%430 = load ptr, ptr %5, align 8
%431 = load i32, ptr %13, align 4
%432 = sext i32 %431 to i64
%433 = getelementptr inbounds i32, ptr %430, i64 %432
%434 = load i32, ptr %433, align 4
store i32 %434, ptr %12, align 4
%435 = load ptr, ptr %5, align 8
%436 = load i32, ptr %14, align 4
%437 = sext i32 %436 to i64
%438 = getelementptr inbounds i32, ptr %435, i64 %437
%439 = load i32, ptr %438, align 4
%440 = load ptr, ptr %5, align 8
%441 = load i32, ptr %13, align 4
%442 = sext i32 %441 to i64
%443 = getelementptr inbounds i32, ptr %440, i64 %442
store i32 %439, ptr %443, align 4
%444 = load i32, ptr %12, align 4
%445 = load ptr, ptr %5, align 8
%446 = load i32, ptr %14, align 4
%447 = sext i32 %446 to i64
%448 = getelementptr inbounds i32, ptr %445, i64 %447
store i32 %444, ptr %448, align 4
%449 = load ptr, ptr %6, align 8
%450 = load i32, ptr %13, align 4
%451 = mul nsw i32 2, %450
%452 = sext i32 %451 to i64
%453 = getelementptr inbounds double, ptr %449, i64 %452
%454 = load double, ptr %453, align 8
store double %454, ptr %7, align 8
%455 = load ptr, ptr %6, align 8
%456 = load i32, ptr %14, align 4
%457 = mul nsw i32 2, %456
%458 = sext i32 %457 to i64
%459 = getelementptr inbounds double, ptr %455, i64 %458
%460 = load double, ptr %459, align 8
%461 = load ptr, ptr %6, align 8
%462 = load i32, ptr %13, align 4
%463 = mul nsw i32 2, %462
%464 = sext i32 %463 to i64
%465 = getelementptr inbounds double, ptr %461, i64 %464
store double %460, ptr %465, align 8
%466 = load double, ptr %7, align 8
%467 = load ptr, ptr %6, align 8
%468 = load i32, ptr %14, align 4
%469 = mul nsw i32 2, %468
%470 = sext i32 %469 to i64
%471 = getelementptr inbounds double, ptr %467, i64 %470
store double %466, ptr %471, align 8
%472 = load ptr, ptr %6, align 8
%473 = load i32, ptr %13, align 4
%474 = mul nsw i32 2, %473
%475 = add nsw i32 %474, 1
%476 = sext i32 %475 to i64
%477 = getelementptr inbounds double, ptr %472, i64 %476
%478 = load double, ptr %477, align 8
store double %478, ptr %7, align 8
%479 = load ptr, ptr %6, align 8
%480 = load i32, ptr %14, align 4
%481 = mul nsw i32 2, %480
%482 = add nsw i32 %481, 1
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds double, ptr %479, i64 %483
%485 = load double, ptr %484, align 8
%486 = load ptr, ptr %6, align 8
%487 = load i32, ptr %13, align 4
%488 = mul nsw i32 2, %487
%489 = add nsw i32 %488, 1
%490 = sext i32 %489 to i64
%491 = getelementptr inbounds double, ptr %486, i64 %490
store double %485, ptr %491, align 8
%492 = load double, ptr %7, align 8
%493 = load ptr, ptr %6, align 8
%494 = load i32, ptr %14, align 4
%495 = mul nsw i32 2, %494
%496 = add nsw i32 %495, 1
%497 = sext i32 %496 to i64
%498 = getelementptr inbounds double, ptr %493, i64 %497
store double %492, ptr %498, align 8
%499 = load i32, ptr %13, align 4
%500 = add nsw i32 %499, 1
store i32 %500, ptr %13, align 4
%501 = load i32, ptr %14, align 4
%502 = add nsw i32 %501, 1
store i32 %502, ptr %14, align 4
br label %503
503: ; preds = %429
%504 = load i32, ptr %15, align 4
%505 = add nsw i32 %504, -1
store i32 %505, ptr %15, align 4
%506 = load i32, ptr %15, align 4
%507 = icmp ne i32 %506, 0
br i1 %507, label %429, label %._crit_edge3, !llvm.loop !10
._crit_edge3: ; preds = %503
br label %508
508: ; preds = %._crit_edge3, %421
%509 = load i32, ptr %9, align 4
%510 = load i32, ptr %8, align 4
%511 = sub nsw i32 %509, %510
%512 = load ptr, ptr %5, align 8
%513 = load ptr, ptr %6, align 8
call void @IVZVqsortDown(i32 noundef %511, ptr noundef %512, ptr noundef %513)
%514 = load i32, ptr %11, align 4
%515 = load i32, ptr %10, align 4
%516 = sub nsw i32 %514, %515
%517 = load ptr, ptr %5, align 8
%518 = load i32, ptr %4, align 4
%519 = sext i32 %518 to i64
%520 = getelementptr inbounds i32, ptr %517, i64 %519
%521 = load i32, ptr %11, align 4
%522 = load i32, ptr %10, align 4
%523 = sub nsw i32 %521, %522
%524 = sext i32 %523 to i64
%525 = sub i64 0, %524
%526 = getelementptr inbounds i32, ptr %520, i64 %525
%527 = load ptr, ptr %6, align 8
%528 = load i32, ptr %4, align 4
%529 = load i32, ptr %11, align 4
%530 = load i32, ptr %10, align 4
%531 = sub nsw i32 %529, %530
%532 = sub nsw i32 %528, %531
%533 = mul nsw i32 2, %532
%534 = sext i32 %533 to i64
%535 = getelementptr inbounds double, ptr %527, i64 %534
call void @IVZVqsortDown(i32 noundef %516, ptr noundef %526, ptr noundef %535)
br label %536
536: ; preds = %508, %19
ret void
}
declare i32 @IVZVisortDown(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @Icentervalue(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpxlythdwk.c'
source_filename = "/tmp/tmpxlythdwk.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timespec, align 4
store ptr %0, ptr %2, align 8
%4 = load i32, ptr @CLOCK_REALTIME, align 4
%5 = call i32 @syscall(i32 noundef 228, i32 noundef %4, ptr noundef %3)
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
store i32 %10, ptr %11, align 4
br label %12
12: ; preds = %8, %1
%13 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%14 = load i32, ptr %13, align 4
ret i32 %14
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxlythdwk.c"
target datalayout = "e-m:e-p270: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.timespec = type { i32 }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @time(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timespec, align 4
store ptr %0, ptr %2, align 8
%4 = load i32, ptr @CLOCK_REALTIME, align 4
%5 = call i32 @syscall(i32 noundef 228, i32 noundef %4, ptr noundef %3)
%6 = load ptr, ptr %2, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
store i32 %10, ptr %11, align 4
br label %12
12: ; preds = %8, %1
%13 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%14 = load i32, ptr %13, align 4
ret i32 %14
}
declare i32 @syscall(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjfhx014_.c'
source_filename = "/tmp/tmpjfhx014_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MOVI:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @movi() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @pll(i32 noundef 0)
%3 = call i32 @pll(i32 noundef 43981)
%4 = call i32 @pll(i32 noundef -1412628480)
%5 = call i32 @pll(i32 noundef 0)
%6 = call i32 @pll(i32 noundef 0)
%7 = call i32 @pll(i32 noundef -21555)
%8 = call i32 @pll(i32 noundef -1412562945)
%9 = call i32 @pll(i32 noundef -21555)
%10 = call i32 @pll(i32 noundef -1412562945)
%11 = call i32 @pll(i32 noundef -1)
%12 = call i32 @pll(i32 noundef -1)
%13 = call i32 @pll(i32 noundef -1431655766)
%14 = call i32 @pll(i32 noundef 1431655765)
%15 = call i32 @pll(i32 noundef 2004318071)
%16 = call i32 @pll(i32 noundef 858993459)
%17 = call i32 @pll(i32 noundef -117901064)
%18 = call i32 @pll(i32 noundef 505290270)
%19 = call i32 @pll(i32 noundef 1065369472)
%20 = call i32 @pll(i32 noundef 33489407)
%21 = call i32 @pll(i32 noundef 8388544)
%22 = call i32 @pll(i32 noundef 67106816)
%23 = call i32 @pll(i32 noundef -512)
%24 = call i32 @pll(i32 noundef -1412623820)
%25 = call i32 @pll(i32 noundef 4660)
%26 = call i32 @pll(i32 noundef 4660)
%27 = call i32 @pll(i32 noundef 305397760)
%28 = call i32 @pll(i32 noundef 305397760)
%29 = call i32 @pll(i32 noundef 0)
%30 = call i32 @pll(i32 noundef -1412623820)
%31 = call i32 @pll(i32 noundef -60876)
%32 = call i32 @pll(i32 noundef -60876)
%33 = call i32 @pll(i32 noundef 305463295)
%34 = call i32 @pll(i32 noundef 305463295)
%35 = call i32 @pll(i32 noundef -1)
%36 = call i32 @pll(i32 noundef 591751049)
%37 = call i32 @pll(i32 noundef 591790079)
%38 = call i32 @pll(i32 noundef 591751049)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @pll(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/tmpjfhx014_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MOVI:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @movi() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @pll(i32 noundef 0)
%3 = call i32 @pll(i32 noundef 43981)
%4 = call i32 @pll(i32 noundef -1412628480)
%5 = call i32 @pll(i32 noundef 0)
%6 = call i32 @pll(i32 noundef 0)
%7 = call i32 @pll(i32 noundef -21555)
%8 = call i32 @pll(i32 noundef -1412562945)
%9 = call i32 @pll(i32 noundef -21555)
%10 = call i32 @pll(i32 noundef -1412562945)
%11 = call i32 @pll(i32 noundef -1)
%12 = call i32 @pll(i32 noundef -1)
%13 = call i32 @pll(i32 noundef -1431655766)
%14 = call i32 @pll(i32 noundef 1431655765)
%15 = call i32 @pll(i32 noundef 2004318071)
%16 = call i32 @pll(i32 noundef 858993459)
%17 = call i32 @pll(i32 noundef -117901064)
%18 = call i32 @pll(i32 noundef 505290270)
%19 = call i32 @pll(i32 noundef 1065369472)
%20 = call i32 @pll(i32 noundef 33489407)
%21 = call i32 @pll(i32 noundef 8388544)
%22 = call i32 @pll(i32 noundef 67106816)
%23 = call i32 @pll(i32 noundef -512)
%24 = call i32 @pll(i32 noundef -1412623820)
%25 = call i32 @pll(i32 noundef 4660)
%26 = call i32 @pll(i32 noundef 4660)
%27 = call i32 @pll(i32 noundef 305397760)
%28 = call i32 @pll(i32 noundef 305397760)
%29 = call i32 @pll(i32 noundef 0)
%30 = call i32 @pll(i32 noundef -1412623820)
%31 = call i32 @pll(i32 noundef -60876)
%32 = call i32 @pll(i32 noundef -60876)
%33 = call i32 @pll(i32 noundef 305463295)
%34 = call i32 @pll(i32 noundef 305463295)
%35 = call i32 @pll(i32 noundef -1)
%36 = call i32 @pll(i32 noundef 591751049)
%37 = call i32 @pll(i32 noundef 591790079)
%38 = call i32 @pll(i32 noundef 591751049)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @pll(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/tmpfn0ykjwx.c'
source_filename = "/tmp/tmpfn0ykjwx.c"
target datalayout = "e-m:e-p270: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/tmpfn0ykjwx.c"
target datalayout = "e-m:e-p270: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/tmp90db1qdo.c'
source_filename = "/tmp/tmp90db1qdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 double, align 8
%7 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 5.000000e+00, ptr %6, align 8
%8 = load double, ptr %6, align 8
%9 = fdiv double 9.000000e+00, %8
store double %9, ptr %7, align 8
%10 = load double, ptr %7, align 8
%11 = call i32 @printf(ptr noundef @.str, double noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp90db1qdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 double, align 8
%7 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 5.000000e+00, ptr %6, align 8
%8 = load double, ptr %6, align 8
%9 = fdiv double 9.000000e+00, %8
store double %9, ptr %7, align 8
%10 = load double, ptr %7, align 8
%11 = call i32 @printf(ptr noundef @.str, double noundef %10)
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4y1_bys_.c'
source_filename = "/tmp/tmp4y1_bys_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRSETBRUSHORGEX\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ptlOrigin:\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_EMRSETBRUSHORGEX_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @core7_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %3)
ret void
}
declare i32 @core7_print(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4y1_bys_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"U_EMRSETBRUSHORGEX\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"ptlOrigin:\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_EMRSETBRUSHORGEX_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @core7_print(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef %3)
ret void
}
declare i32 @core7_print(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxk5b_jz8.c'
source_filename = "/tmp/tmpxk5b_jz8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"%12d => %-12d %s!\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passed\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"failed\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [17 x i8] c"Usage: ./test i\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @reverse(i32 noundef 123)
%8 = call i32 @reverse(i32 noundef 123)
%9 = icmp eq i32 321, %8
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.1, ptr @.str.2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 123, i32 noundef %7, ptr noundef %11)
%13 = call i32 @reverse(i32 noundef -123)
%14 = call i32 @reverse(i32 noundef -123)
%15 = icmp eq i32 -321, %14
%16 = zext i1 %15 to i64
%17 = select i1 %15, ptr @.str.1, ptr @.str.2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef -123, i32 noundef %13, ptr noundef %17)
%19 = call i32 @reverse(i32 noundef -100)
%20 = call i32 @reverse(i32 noundef -100)
%21 = icmp eq i32 -1, %20
%22 = zext i1 %21 to i64
%23 = select i1 %21, ptr @.str.1, ptr @.str.2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef -100, i32 noundef %19, ptr noundef %23)
%25 = call i32 @reverse(i32 noundef 1002)
%26 = call i32 @reverse(i32 noundef 1002)
%27 = icmp eq i32 2001, %26
%28 = zext i1 %27 to i64
%29 = select i1 %27, ptr @.str.1, ptr @.str.2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1002, i32 noundef %25, ptr noundef %29)
%31 = call i32 @reverse(i32 noundef 1463847412)
%32 = call i32 @reverse(i32 noundef 1463847412)
%33 = icmp eq i32 2147483641, %32
%34 = zext i1 %33 to i64
%35 = select i1 %33, ptr @.str.1, ptr @.str.2
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1463847412, i32 noundef %31, ptr noundef %35)
%37 = call i32 @reverse(i32 noundef -2147447412)
%38 = call i32 @reverse(i32 noundef -2147447412)
%39 = icmp eq i32 -2147447412, %38
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.1, ptr @.str.2
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef -2147447412, i32 noundef %37, ptr noundef %41)
%43 = call i32 @reverse(i32 noundef 2147447412)
%44 = call i32 @reverse(i32 noundef 2147447412)
%45 = icmp eq i32 2147447412, %44
%46 = zext i1 %45 to i64
%47 = select i1 %45, ptr @.str.1, ptr @.str.2
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 2147447412, i32 noundef %43, ptr noundef %47)
%49 = call i32 @reverse(i32 noundef 1000000003)
%50 = call i32 @reverse(i32 noundef 1000000003)
%51 = icmp eq i32 0, %50
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr @.str.1, ptr @.str.2
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1000000003, i32 noundef %49, ptr noundef %53)
%55 = call i32 @reverse(i32 noundef 2147483647)
%56 = call i32 @reverse(i32 noundef 2147483647)
%57 = icmp eq i32 0, %56
%58 = zext i1 %57 to i64
%59 = select i1 %57, ptr @.str.1, ptr @.str.2
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 2147483647, i32 noundef %55, ptr noundef %59)
%61 = call i32 @reverse(i32 noundef -2147483648)
%62 = call i32 @reverse(i32 noundef -2147483648)
%63 = icmp eq i32 0, %62
%64 = zext i1 %63 to i64
%65 = select i1 %63, ptr @.str.1, ptr @.str.2
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef -2147483648, i32 noundef %61, ptr noundef %65)
%67 = load i32, ptr %4, align 4
%68 = icmp ne i32 %67, 2
br i1 %68, label %69, label %72
69: ; preds = %2
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %89
72: ; preds = %2
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 1
%76 = load ptr, ptr %75, align 8
%77 = call i32 @atoi(ptr noundef %76)
store i32 %77, ptr %6, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = call i32 @reverse(i32 noundef %79)
%81 = load i32, ptr %6, align 4
%82 = call i32 @reverse(i32 noundef %81)
%83 = call i32 @reverse(i32 noundef %82)
%84 = load i32, ptr %6, align 4
%85 = icmp eq i32 %83, %84
%86 = zext i1 %85 to i64
%87 = select i1 %85, ptr @.str.1, ptr @.str.2
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %78, i32 noundef %80, ptr noundef %87)
store i32 0, ptr %3, align 4
br label %89
89: ; preds = %72, %69
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @reverse(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxk5b_jz8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"%12d => %-12d %s!\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"passed\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"failed\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [17 x i8] c"Usage: ./test i\0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @reverse(i32 noundef 123)
%8 = call i32 @reverse(i32 noundef 123)
%9 = icmp eq i32 321, %8
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.1, ptr @.str.2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 123, i32 noundef %7, ptr noundef %11)
%13 = call i32 @reverse(i32 noundef -123)
%14 = call i32 @reverse(i32 noundef -123)
%15 = icmp eq i32 -321, %14
%16 = zext i1 %15 to i64
%17 = select i1 %15, ptr @.str.1, ptr @.str.2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef -123, i32 noundef %13, ptr noundef %17)
%19 = call i32 @reverse(i32 noundef -100)
%20 = call i32 @reverse(i32 noundef -100)
%21 = icmp eq i32 -1, %20
%22 = zext i1 %21 to i64
%23 = select i1 %21, ptr @.str.1, ptr @.str.2
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef -100, i32 noundef %19, ptr noundef %23)
%25 = call i32 @reverse(i32 noundef 1002)
%26 = call i32 @reverse(i32 noundef 1002)
%27 = icmp eq i32 2001, %26
%28 = zext i1 %27 to i64
%29 = select i1 %27, ptr @.str.1, ptr @.str.2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1002, i32 noundef %25, ptr noundef %29)
%31 = call i32 @reverse(i32 noundef 1463847412)
%32 = call i32 @reverse(i32 noundef 1463847412)
%33 = icmp eq i32 2147483641, %32
%34 = zext i1 %33 to i64
%35 = select i1 %33, ptr @.str.1, ptr @.str.2
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1463847412, i32 noundef %31, ptr noundef %35)
%37 = call i32 @reverse(i32 noundef -2147447412)
%38 = call i32 @reverse(i32 noundef -2147447412)
%39 = icmp eq i32 -2147447412, %38
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.1, ptr @.str.2
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef -2147447412, i32 noundef %37, ptr noundef %41)
%43 = call i32 @reverse(i32 noundef 2147447412)
%44 = call i32 @reverse(i32 noundef 2147447412)
%45 = icmp eq i32 2147447412, %44
%46 = zext i1 %45 to i64
%47 = select i1 %45, ptr @.str.1, ptr @.str.2
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 2147447412, i32 noundef %43, ptr noundef %47)
%49 = call i32 @reverse(i32 noundef 1000000003)
%50 = call i32 @reverse(i32 noundef 1000000003)
%51 = icmp eq i32 0, %50
%52 = zext i1 %51 to i64
%53 = select i1 %51, ptr @.str.1, ptr @.str.2
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1000000003, i32 noundef %49, ptr noundef %53)
%55 = call i32 @reverse(i32 noundef 2147483647)
%56 = call i32 @reverse(i32 noundef 2147483647)
%57 = icmp eq i32 0, %56
%58 = zext i1 %57 to i64
%59 = select i1 %57, ptr @.str.1, ptr @.str.2
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 2147483647, i32 noundef %55, ptr noundef %59)
%61 = call i32 @reverse(i32 noundef -2147483648)
%62 = call i32 @reverse(i32 noundef -2147483648)
%63 = icmp eq i32 0, %62
%64 = zext i1 %63 to i64
%65 = select i1 %63, ptr @.str.1, ptr @.str.2
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef -2147483648, i32 noundef %61, ptr noundef %65)
%67 = load i32, ptr %4, align 4
%68 = icmp ne i32 %67, 2
br i1 %68, label %69, label %72
69: ; preds = %2
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %89
72: ; preds = %2
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds ptr, ptr %74, i64 1
%76 = load ptr, ptr %75, align 8
%77 = call i32 @atoi(ptr noundef %76)
store i32 %77, ptr %6, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = call i32 @reverse(i32 noundef %79)
%81 = load i32, ptr %6, align 4
%82 = call i32 @reverse(i32 noundef %81)
%83 = call i32 @reverse(i32 noundef %82)
%84 = load i32, ptr %6, align 4
%85 = icmp eq i32 %83, %84
%86 = zext i1 %85 to i64
%87 = select i1 %85, ptr @.str.1, ptr @.str.2
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %78, i32 noundef %80, ptr noundef %87)
store i32 0, ptr %3, align 4
br label %89
89: ; preds = %72, %69
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @reverse(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbtd8v0up.c'
source_filename = "/tmp/tmpbtd8v0up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cmd1 executed with cmd line %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbtd8v0up.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cmd1 executed with cmd line %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7r65j1_p.c'
source_filename = "/tmp/tmp7r65j1_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Can not read file %s !!!\00", align 1
@.str.2 = private unnamed_addr constant [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/nathanwbrei/cfdlab/refs/heads/master/worksheet2/helper.c\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Error Wrong Magic field!\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Image size: %d x %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Image initialised...\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [12 x i8] c"read failed\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"%d,%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_pgm(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [80 x i8], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr null, ptr %10, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %1
%17 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%21 = call i32 @errhandler(i32 noundef 441, ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %16, %1
%23 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = call i32 @fread(ptr noundef %23, i32 noundef 1, i32 noundef 3, ptr noundef %24)
%26 = icmp ne i32 %25, 3
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @fclose(ptr noundef %28)
%30 = call i32 @errhandler(i32 noundef 448, ptr noundef @.str.2, ptr noundef @.str.3)
br label %31
31: ; preds = %27, %22
br label %32
32: ; preds = %39, %31
%33 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%34 = load ptr, ptr %3, align 8
%35 = call i64 @fgets(ptr noundef %33, i32 noundef 1024, ptr noundef %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %32
br label %38
38: ; preds = %37, %32
br label %39
39: ; preds = %38
%40 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%41 = load i8, ptr %40, align 16
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 35
br i1 %43, label %32, label %44, !llvm.loop !6
44: ; preds = %39
%45 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%46 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %45, ptr noundef @.str.4, ptr noundef %6, ptr noundef %7)
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %7, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47, i32 noundef %48)
%50 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%51 = load ptr, ptr %3, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 1024, ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %44
br label %55
55: ; preds = %54, %44
%56 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%57 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %56, ptr noundef @.str.6, ptr noundef %5)
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 2
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 2
%62 = call ptr @imatrix(i32 noundef 0, i32 noundef %59, i32 noundef 0, i32 noundef %61)
store ptr %62, ptr %10, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %9, align 4
br label %64
64: ; preds = %113, %55
%65 = load i32, ptr %9, align 4
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
%68 = icmp slt i32 %65, %67
br i1 %68, label %69, label %116
69: ; preds = %64
store i32 1, ptr %8, align 4
br label %70
70: ; preds = %109, %69
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 1
%74 = icmp slt i32 %71, %73
br i1 %74, label %75, label %112
75: ; preds = %70
%76 = load ptr, ptr %3, align 8
%77 = call i64 @fscanf(ptr noundef %76, ptr noundef @.str.8, ptr noundef %12)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %80
79: ; preds = %75
br label %80
80: ; preds = %79, %75
%81 = load i32, ptr %12, align 4
%82 = load i32, ptr @EOF, align 4
%83 = icmp eq i32 %81, %82
br i1 %83, label %84, label %88
84: ; preds = %80
%85 = load ptr, ptr %3, align 8
%86 = call i32 @fclose(ptr noundef %85)
%87 = call i32 @errhandler(i32 noundef 484, ptr noundef @.str.2, ptr noundef @.str.9)
br label %108
88: ; preds = %80
%89 = load i32, ptr %12, align 4
%90 = load ptr, ptr %10, align 8
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %7, align 4
%96 = add nsw i32 %95, 1
%97 = load i32, ptr %9, align 4
%98 = sub nsw i32 %96, %97
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %94, i64 %99
store i32 %89, ptr %100, align 4
%101 = load i32, ptr %8, align 4
%102 = load i32, ptr %7, align 4
%103 = add nsw i32 %102, 1
%104 = load i32, ptr %9, align 4
%105 = sub nsw i32 %103, %104
%106 = load i32, ptr %12, align 4
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %101, i32 noundef %105, i32 noundef %106)
br label %108
108: ; preds = %88, %84
br label %109
109: ; preds = %108
%110 = load i32, ptr %8, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %8, align 4
br label %70, !llvm.loop !8
112: ; preds = %70
br label %113
113: ; preds = %112
%114 = load i32, ptr %9, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %9, align 4
br label %64, !llvm.loop !9
116: ; preds = %64
store i32 0, ptr %8, align 4
br label %117
117: ; preds = %129, %116
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr %6, align 4
%120 = add nsw i32 %119, 2
%121 = icmp slt i32 %118, %120
br i1 %121, label %122, label %132
122: ; preds = %117
%123 = load ptr, ptr %10, align 8
%124 = load i32, ptr %8, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds ptr, ptr %123, i64 %125
%127 = load ptr, ptr %126, align 8
%128 = getelementptr inbounds i32, ptr %127, i64 0
store i32 0, ptr %128, align 4
br label %129
129: ; preds = %122
%130 = load i32, ptr %8, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %8, align 4
br label %117, !llvm.loop !10
132: ; preds = %117
store i32 0, ptr %8, align 4
br label %133
133: ; preds = %148, %132
%134 = load i32, ptr %8, align 4
%135 = load i32, ptr %6, align 4
%136 = add nsw i32 %135, 2
%137 = icmp slt i32 %134, %136
br i1 %137, label %138, label %151
138: ; preds = %133
%139 = load ptr, ptr %10, align 8
%140 = load i32, ptr %8, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %139, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %7, align 4
%145 = add nsw i32 %144, 1
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %143, i64 %146
store i32 0, ptr %147, align 4
br label %148
148: ; preds = %138
%149 = load i32, ptr %8, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %8, align 4
br label %133, !llvm.loop !11
151: ; preds = %133
store i32 0, ptr %9, align 4
br label %152
152: ; preds = %173, %151
%153 = load i32, ptr %9, align 4
%154 = load i32, ptr %7, align 4
%155 = add nsw i32 %154, 2
%156 = icmp slt i32 %153, %155
br i1 %156, label %157, label %176
157: ; preds = %152
%158 = load ptr, ptr %10, align 8
%159 = getelementptr inbounds ptr, ptr %158, i64 0
%160 = load ptr, ptr %159, align 8
%161 = load i32, ptr %9, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %160, i64 %162
store i32 0, ptr %163, align 4
%164 = load ptr, ptr %10, align 8
%165 = load i32, ptr %6, align 4
%166 = add nsw i32 %165, 1
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds ptr, ptr %164, i64 %167
%169 = load ptr, ptr %168, align 8
%170 = load i32, ptr %9, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i32, ptr %169, i64 %171
store i32 0, ptr %172, align 4
br label %173
173: ; preds = %157
%174 = load i32, ptr %9, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %9, align 4
br label %152, !llvm.loop !12
176: ; preds = %152
%177 = load ptr, ptr %3, align 8
%178 = call i32 @fclose(ptr noundef %177)
%179 = load ptr, ptr %10, align 8
ret ptr %179
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @imatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7r65j1_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Can not read file %s !!!\00", align 1
@.str.2 = private unnamed_addr constant [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/nathanwbrei/cfdlab/refs/heads/master/worksheet2/helper.c\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Error Wrong Magic field!\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c"Image size: %d x %d\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"Image initialised...\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [12 x i8] c"read failed\00", align 1
@.str.10 = private unnamed_addr constant [11 x i8] c"%d,%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @read_pgm(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1024 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca [80 x i8], align 16
%12 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr null, ptr %10, align 8
%13 = load ptr, ptr %2, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %3, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %22
16: ; preds = %1
%17 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%18 = load ptr, ptr %2, align 8
%19 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, ptr noundef %18)
%20 = getelementptr inbounds [80 x i8], ptr %11, i64 0, i64 0
%21 = call i32 @errhandler(i32 noundef 441, ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %16, %1
%23 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%24 = load ptr, ptr %3, align 8
%25 = call i32 @fread(ptr noundef %23, i32 noundef 1, i32 noundef 3, ptr noundef %24)
%26 = icmp ne i32 %25, 3
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = load ptr, ptr %3, align 8
%29 = call i32 @fclose(ptr noundef %28)
%30 = call i32 @errhandler(i32 noundef 448, ptr noundef @.str.2, ptr noundef @.str.3)
br label %31
31: ; preds = %27, %22
%32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
br label %33
33: ; preds = %40, %31
%34 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%35 = load ptr, ptr %3, align 8
%36 = call i64 @fgets(ptr noundef %34, i32 noundef 1024, ptr noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %33
br label %39
39: ; preds = %38, %33
br label %40
40: ; preds = %39
%41 = load i8, ptr %32, align 16
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 35
br i1 %43, label %33, label %44, !llvm.loop !6
44: ; preds = %40
%45 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%46 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %45, ptr noundef @.str.4, ptr noundef %6, ptr noundef %7)
%47 = load i32, ptr %6, align 4
%48 = load i32, ptr %7, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %47, i32 noundef %48)
%50 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%51 = load ptr, ptr %3, align 8
%52 = call i64 @fgets(ptr noundef %50, i32 noundef 1024, ptr noundef %51)
%53 = icmp ne i64 %52, 0
br i1 %53, label %54, label %55
54: ; preds = %44
br label %55
55: ; preds = %54, %44
%56 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%57 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %56, ptr noundef @.str.6, ptr noundef %5)
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 2
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 2
%62 = call ptr @imatrix(i32 noundef 0, i32 noundef %59, i32 noundef 0, i32 noundef %61)
store ptr %62, ptr %10, align 8
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %9, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %7, align 4
%66 = add nsw i32 %65, 1
%67 = icmp slt i32 %64, %66
br i1 %67, label %.lr.ph2, label %122
.lr.ph2: ; preds = %55
br label %68
68: ; preds = %.lr.ph2, %115
store i32 1, ptr %8, align 4
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
%72 = icmp slt i32 %69, %71
br i1 %72, label %.lr.ph, label %114
.lr.ph: ; preds = %68
br label %73
73: ; preds = %.lr.ph, %107
%74 = load ptr, ptr %3, align 8
%75 = call i64 @fscanf(ptr noundef %74, ptr noundef @.str.8, ptr noundef %12)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %73
br label %78
78: ; preds = %77, %73
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr @EOF, align 4
%81 = icmp eq i32 %79, %80
br i1 %81, label %82, label %86
82: ; preds = %78
%83 = load ptr, ptr %3, align 8
%84 = call i32 @fclose(ptr noundef %83)
%85 = call i32 @errhandler(i32 noundef 484, ptr noundef @.str.2, ptr noundef @.str.9)
br label %106
86: ; preds = %78
%87 = load i32, ptr %12, align 4
%88 = load ptr, ptr %10, align 8
%89 = load i32, ptr %8, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds ptr, ptr %88, i64 %90
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
%95 = load i32, ptr %9, align 4
%96 = sub nsw i32 %94, %95
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %92, i64 %97
store i32 %87, ptr %98, align 4
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %7, align 4
%101 = add nsw i32 %100, 1
%102 = load i32, ptr %9, align 4
%103 = sub nsw i32 %101, %102
%104 = load i32, ptr %12, align 4
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %99, i32 noundef %103, i32 noundef %104)
br label %106
106: ; preds = %86, %82
br label %107
107: ; preds = %106
%108 = load i32, ptr %8, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %8, align 4
%110 = load i32, ptr %8, align 4
%111 = load i32, ptr %6, align 4
%112 = add nsw i32 %111, 1
%113 = icmp slt i32 %110, %112
br i1 %113, label %73, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %107
br label %114
114: ; preds = %._crit_edge, %68
br label %115
115: ; preds = %114
%116 = load i32, ptr %9, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %9, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %7, align 4
%120 = add nsw i32 %119, 1
%121 = icmp slt i32 %118, %120
br i1 %121, label %68, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %115
br label %122
122: ; preds = %._crit_edge3, %55
store i32 0, ptr %8, align 4
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr %6, align 4
%125 = add nsw i32 %124, 2
%126 = icmp slt i32 %123, %125
br i1 %126, label %.lr.ph5, label %141
.lr.ph5: ; preds = %122
br label %127
127: ; preds = %.lr.ph5, %134
%128 = load ptr, ptr %10, align 8
%129 = load i32, ptr %8, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds ptr, ptr %128, i64 %130
%132 = load ptr, ptr %131, align 8
%133 = getelementptr inbounds i32, ptr %132, i64 0
store i32 0, ptr %133, align 4
br label %134
134: ; preds = %127
%135 = load i32, ptr %8, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %8, align 4
%137 = load i32, ptr %8, align 4
%138 = load i32, ptr %6, align 4
%139 = add nsw i32 %138, 2
%140 = icmp slt i32 %137, %139
br i1 %140, label %127, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %134
br label %141
141: ; preds = %._crit_edge6, %122
store i32 0, ptr %8, align 4
%142 = load i32, ptr %8, align 4
%143 = load i32, ptr %6, align 4
%144 = add nsw i32 %143, 2
%145 = icmp slt i32 %142, %144
br i1 %145, label %.lr.ph8, label %163
.lr.ph8: ; preds = %141
br label %146
146: ; preds = %.lr.ph8, %156
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %8, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds ptr, ptr %147, i64 %149
%151 = load ptr, ptr %150, align 8
%152 = load i32, ptr %7, align 4
%153 = add nsw i32 %152, 1
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds i32, ptr %151, i64 %154
store i32 0, ptr %155, align 4
br label %156
156: ; preds = %146
%157 = load i32, ptr %8, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %8, align 4
%159 = load i32, ptr %8, align 4
%160 = load i32, ptr %6, align 4
%161 = add nsw i32 %160, 2
%162 = icmp slt i32 %159, %161
br i1 %162, label %146, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %156
br label %163
163: ; preds = %._crit_edge9, %141
store i32 0, ptr %9, align 4
%164 = load i32, ptr %9, align 4
%165 = load i32, ptr %7, align 4
%166 = add nsw i32 %165, 2
%167 = icmp slt i32 %164, %166
br i1 %167, label %.lr.ph11, label %191
.lr.ph11: ; preds = %163
br label %168
168: ; preds = %.lr.ph11, %184
%169 = load ptr, ptr %10, align 8
%170 = getelementptr inbounds ptr, ptr %169, i64 0
%171 = load ptr, ptr %170, align 8
%172 = load i32, ptr %9, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i32, ptr %171, i64 %173
store i32 0, ptr %174, align 4
%175 = load ptr, ptr %10, align 8
%176 = load i32, ptr %6, align 4
%177 = add nsw i32 %176, 1
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds ptr, ptr %175, i64 %178
%180 = load ptr, ptr %179, align 8
%181 = load i32, ptr %9, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds i32, ptr %180, i64 %182
store i32 0, ptr %183, align 4
br label %184
184: ; preds = %168
%185 = load i32, ptr %9, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %9, align 4
%187 = load i32, ptr %9, align 4
%188 = load i32, ptr %7, align 4
%189 = add nsw i32 %188, 2
%190 = icmp slt i32 %187, %189
br i1 %190, label %168, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %184
br label %191
191: ; preds = %._crit_edge12, %163
%192 = load ptr, ptr %3, align 8
%193 = call i32 @fclose(ptr noundef %192)
%194 = load ptr, ptr %10, align 8
ret ptr %194
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @errhandler(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @imatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp1xq45jjm.c'
source_filename = "/tmp/tmp1xq45jjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%s <pdump file>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
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/tmp1xq45jjm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage:\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"%s <pdump file>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_help(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4)
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/tmpw8lv937h.c'
source_filename = "/tmp/tmpw8lv937h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 16
%5 = and i32 %4, 1
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = call ptr @a17(i32 noundef %8)
br label %13
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = call ptr @a17(i32 noundef %11)
br label %13
13: ; preds = %10, %7
%14 = phi ptr [ %9, %7 ], [ %12, %10 ]
ret ptr %14
}
declare ptr @a17(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/tmpw8lv937h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a16(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 16
%5 = and i32 %4, 1
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = call ptr @a17(i32 noundef %8)
br label %13
10: ; preds = %1
%11 = load i32, ptr %2, align 4
%12 = call ptr @a17(i32 noundef %11)
br label %13
13: ; preds = %10, %7
%14 = phi ptr [ %9, %7 ], [ %12, %10 ]
ret ptr %14
}
declare ptr @a17(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/tmpe642jg8z.c'
source_filename = "/tmp/tmpe642jg8z.c"
target datalayout = "e-m:e-p270: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/tmpe642jg8z.c"
target datalayout = "e-m:e-p270: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/tmp8p0a1ctz.c'
source_filename = "/tmp/tmp8p0a1ctz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
br label %18
18: ; preds = %13, %2
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 2, ptr %7, align 4
br label %19
19: ; preds = %33, %18
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %20, %21
br i1 %22, label %23, label %36
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = call i32 @count_421(i32 noundef %24)
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %10, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load i32, ptr %7, align 4
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %8, align 4
store i32 %31, ptr %10, align 4
br label %32
32: ; preds = %29, %23
br label %33
33: ; preds = %32
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %10, align 4
%39 = call i32 @printf(ptr noundef @.str, i32 noundef %37, i32 noundef %38)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @count_421(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8p0a1ctz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 10, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
br label %18
18: ; preds = %13, %2
store i32 1, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 2, ptr %7, align 4
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %32
%23 = load i32, ptr %7, align 4
%24 = call i32 @count_421(i32 noundef %23)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %10, align 4
%27 = icmp sge i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %22
%29 = load i32, ptr %7, align 4
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %8, align 4
store i32 %30, ptr %10, align 4
br label %31
31: ; preds = %28, %22
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %18
%39 = load i32, ptr %9, align 4
%40 = load i32, ptr %10, align 4
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @count_421(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2ifweqf9.c'
source_filename = "/tmp/tmp2ifweqf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dmmu_enable() #0 {
%1 = call i32 (...) @lo_dmmu_en()
ret void
}
declare i32 @lo_dmmu_en(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ifweqf9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dmmu_enable() #0 {
%1 = call i32 (...) @lo_dmmu_en()
ret void
}
declare i32 @lo_dmmu_en(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpffm4zetb.c'
source_filename = "/tmp/tmpffm4zetb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @chi2cdfQ(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = fcmp ogt double %5, 0.000000e+00
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load double, ptr %4, align 8
%10 = fmul double 5.000000e-01, %9
%11 = load double, ptr %3, align 8
%12 = fmul double 5.000000e-01, %11
%13 = call double @GammaQ(double noundef %10, double noundef %12)
ret double %13
}
declare i32 @assert(i32 noundef) #1
declare double @GammaQ(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpffm4zetb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @chi2cdfQ(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %4, align 8
%6 = fcmp ogt double %5, 0.000000e+00
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load double, ptr %4, align 8
%10 = fmul double 5.000000e-01, %9
%11 = load double, ptr %3, align 8
%12 = fmul double 5.000000e-01, %11
%13 = call double @GammaQ(double noundef %10, double noundef %12)
ret double %13
}
declare i32 @assert(i32 noundef) #1
declare double @GammaQ(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx04mukm3.c'
source_filename = "/tmp/tmpx04mukm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"main: res = %d\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
store i32 0, ptr %1, align 4
%3 = call i64 @Bar3(i32 noundef 6, i32 noundef 8)
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, i64 noundef %4)
ret i32 0
}
declare i64 @Bar3(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx04mukm3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"main: res = %d\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
store i32 0, ptr %1, align 4
%3 = call i64 @Bar3(i32 noundef 6, i32 noundef 8)
store i64 %3, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, i64 noundef %4)
ret i32 0
}
declare i64 @Bar3(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpokn3dpcv.c'
source_filename = "/tmp/tmpokn3dpcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysapi_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strtol(ptr noundef %9, ptr noundef %8, i32 noundef 10)
%11 = load ptr, ptr %7, align 8
store i64 %10, ptr %11, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
store i32 -1, ptr %15, align 4
store i32 -1, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
store i32 0, ptr %17, align 4
store i32 0, ptr %4, align 4
br label %18
18: ; preds = %16, %14
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokn3dpcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sysapi_get_int(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strtol(ptr noundef %9, ptr noundef %8, i32 noundef 10)
%11 = load ptr, ptr %7, align 8
store i64 %10, ptr %11, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
store i32 -1, ptr %15, align 4
store i32 -1, ptr %4, align 4
br label %18
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
store i32 0, ptr %17, align 4
store i32 0, ptr %4, align 4
br label %18
18: ; preds = %16, %14
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpko1ccabv.c'
source_filename = "/tmp/tmpko1ccabv.c"
target datalayout = "e-m:e-p270: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/tmpko1ccabv.c"
target datalayout = "e-m:e-p270: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/tmpwlxyuo33.c'
source_filename = "/tmp/tmpwlxyuo33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dirSetup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @initDirectories()
ret void
}
declare i32 @initDirectories(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwlxyuo33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dirSetup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @initDirectories()
ret void
}
declare i32 @initDirectories(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7g4s75bp.c'
source_filename = "/tmp/tmp7g4s75bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"after resetting 2 : n = %d degree = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"after resetting 1 : n = %d degree = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_next_start_product(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
store ptr %0, ptr %14, align 8
store ptr %1, ptr %15, align 8
store i32 %2, ptr %16, align 4
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store i32 %5, ptr %19, align 4
store i32 %6, ptr %20, align 4
store i32 %7, ptr %21, align 4
store i32 %8, ptr %22, align 4
store i32 %9, ptr %23, align 4
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
%32 = load i32, ptr %19, align 4
%33 = load i32, ptr %20, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %84
35: ; preds = %13
%36 = load ptr, ptr %14, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %35
%40 = load ptr, ptr %15, align 8
%41 = load i32, ptr %40, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i32, ptr %17, align 4
%45 = load ptr, ptr %24, align 8
%46 = call i32 @solcon_read_next_witness_point(i32 noundef 1, i32 noundef %44, ptr noundef %28, ptr noundef %45)
store i32 %46, ptr %27, align 4
br label %47
47: ; preds = %43, %39, %35
%48 = load i32, ptr %18, align 4
%49 = load ptr, ptr %25, align 8
%50 = call i32 @solcon_read_next_witness_point(i32 noundef 2, i32 noundef %48, ptr noundef %28, ptr noundef %49)
store i32 %50, ptr %27, align 4
%51 = load i32, ptr %19, align 4
%52 = load i32, ptr %20, align 4
%53 = load i32, ptr %17, align 4
%54 = load i32, ptr %18, align 4
%55 = load ptr, ptr %24, align 8
%56 = load ptr, ptr %25, align 8
%57 = load i32, ptr %23, align 4
%58 = load ptr, ptr %26, align 8
%59 = call i32 @solcon_extrinsic_product(i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %56, i32 noundef %57, ptr noundef %58)
store i32 %59, ptr %27, align 4
%60 = load ptr, ptr %14, align 8
%61 = load ptr, ptr %15, align 8
%62 = load i32, ptr %21, align 4
%63 = load i32, ptr %22, align 4
%64 = call i32 @add_one_to_double_loop_counters(ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63)
store i32 %64, ptr %29, align 4
%65 = load ptr, ptr %15, align 8
%66 = load i32, ptr %65, align 4
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %83
68: ; preds = %47
%69 = load i32, ptr %29, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %83
71: ; preds = %68
%72 = load i32, ptr %17, align 4
%73 = load ptr, ptr %24, align 8
%74 = call i32 @solcon_read_next_witness_point(i32 noundef 1, i32 noundef %72, ptr noundef %28, ptr noundef %73)
store i32 %74, ptr %27, align 4
%75 = call i32 @solcon_reset_input_file(i32 noundef 2, ptr noundef %31, ptr noundef %30)
store i32 %75, ptr %27, align 4
%76 = load i32, ptr %16, align 4
%77 = icmp eq i32 %76, 1
br i1 %77, label %78, label %82
78: ; preds = %71
%79 = load i32, ptr %30, align 4
%80 = load i32, ptr %31, align 4
%81 = call i32 @printf(ptr noundef @.str, i32 noundef %79, i32 noundef %80)
br label %82
82: ; preds = %78, %71
br label %83
83: ; preds = %82, %68, %47
br label %133
84: ; preds = %13
%85 = load ptr, ptr %14, align 8
%86 = load i32, ptr %85, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %96
88: ; preds = %84
%89 = load ptr, ptr %15, align 8
%90 = load i32, ptr %89, align 4
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %88
%93 = load i32, ptr %18, align 4
%94 = load ptr, ptr %25, align 8
%95 = call i32 @solcon_read_next_witness_point(i32 noundef 2, i32 noundef %93, ptr noundef %28, ptr noundef %94)
store i32 %95, ptr %27, align 4
br label %96
96: ; preds = %92, %88, %84
%97 = load i32, ptr %17, align 4
%98 = load ptr, ptr %24, align 8
%99 = call i32 @solcon_read_next_witness_point(i32 noundef 1, i32 noundef %97, ptr noundef %28, ptr noundef %98)
store i32 %99, ptr %27, align 4
%100 = load i32, ptr %20, align 4
%101 = load i32, ptr %19, align 4
%102 = load i32, ptr %18, align 4
%103 = load i32, ptr %17, align 4
%104 = load ptr, ptr %25, align 8
%105 = load ptr, ptr %24, align 8
%106 = load i32, ptr %23, align 4
%107 = load ptr, ptr %26, align 8
%108 = call i32 @solcon_extrinsic_product(i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, ptr noundef %104, ptr noundef %105, i32 noundef %106, ptr noundef %107)
store i32 %108, ptr %27, align 4
%109 = load ptr, ptr %15, align 8
%110 = load ptr, ptr %14, align 8
%111 = load i32, ptr %22, align 4
%112 = load i32, ptr %21, align 4
%113 = call i32 @add_one_to_double_loop_counters(ptr noundef %109, ptr noundef %110, i32 noundef %111, i32 noundef %112)
store i32 %113, ptr %29, align 4
%114 = load ptr, ptr %14, align 8
%115 = load i32, ptr %114, align 4
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %132
117: ; preds = %96
%118 = load i32, ptr %29, align 4
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %132
120: ; preds = %117
%121 = load i32, ptr %18, align 4
%122 = load ptr, ptr %25, align 8
%123 = call i32 @solcon_read_next_witness_point(i32 noundef 2, i32 noundef %121, ptr noundef %28, ptr noundef %122)
store i32 %123, ptr %27, align 4
%124 = call i32 @solcon_reset_input_file(i32 noundef 1, ptr noundef %31, ptr noundef %30)
store i32 %124, ptr %27, align 4
%125 = load i32, ptr %16, align 4
%126 = icmp eq i32 %125, 1
br i1 %126, label %127, label %131
127: ; preds = %120
%128 = load i32, ptr %30, align 4
%129 = load i32, ptr %31, align 4
%130 = call i32 @printf(ptr noundef @.str.1, i32 noundef %128, i32 noundef %129)
br label %131
131: ; preds = %127, %120
br label %132
132: ; preds = %131, %117, %96
br label %133
133: ; preds = %132, %83
%134 = load i32, ptr %27, align 4
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = load i32, ptr %29, align 4
%138 = icmp ne i32 %137, 0
br label %139
139: ; preds = %136, %133
%140 = phi i1 [ false, %133 ], [ %138, %136 ]
%141 = zext i1 %140 to i32
ret i32 %141
}
declare i32 @solcon_read_next_witness_point(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @solcon_extrinsic_product(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @add_one_to_double_loop_counters(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @solcon_reset_input_file(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7g4s75bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"after resetting 2 : n = %d degree = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"after resetting 1 : n = %d degree = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_next_start_product(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
store ptr %0, ptr %14, align 8
store ptr %1, ptr %15, align 8
store i32 %2, ptr %16, align 4
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store i32 %5, ptr %19, align 4
store i32 %6, ptr %20, align 4
store i32 %7, ptr %21, align 4
store i32 %8, ptr %22, align 4
store i32 %9, ptr %23, align 4
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
%32 = load i32, ptr %19, align 4
%33 = load i32, ptr %20, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %84
35: ; preds = %13
%36 = load ptr, ptr %14, align 8
%37 = load i32, ptr %36, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %35
%40 = load ptr, ptr %15, align 8
%41 = load i32, ptr %40, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i32, ptr %17, align 4
%45 = load ptr, ptr %24, align 8
%46 = call i32 @solcon_read_next_witness_point(i32 noundef 1, i32 noundef %44, ptr noundef %28, ptr noundef %45)
store i32 %46, ptr %27, align 4
br label %47
47: ; preds = %43, %39, %35
%48 = load i32, ptr %18, align 4
%49 = load ptr, ptr %25, align 8
%50 = call i32 @solcon_read_next_witness_point(i32 noundef 2, i32 noundef %48, ptr noundef %28, ptr noundef %49)
store i32 %50, ptr %27, align 4
%51 = load i32, ptr %19, align 4
%52 = load i32, ptr %20, align 4
%53 = load i32, ptr %17, align 4
%54 = load i32, ptr %18, align 4
%55 = load ptr, ptr %24, align 8
%56 = load ptr, ptr %25, align 8
%57 = load i32, ptr %23, align 4
%58 = load ptr, ptr %26, align 8
%59 = call i32 @solcon_extrinsic_product(i32 noundef %51, i32 noundef %52, i32 noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %56, i32 noundef %57, ptr noundef %58)
store i32 %59, ptr %27, align 4
%60 = load ptr, ptr %14, align 8
%61 = load ptr, ptr %15, align 8
%62 = load i32, ptr %21, align 4
%63 = load i32, ptr %22, align 4
%64 = call i32 @add_one_to_double_loop_counters(ptr noundef %60, ptr noundef %61, i32 noundef %62, i32 noundef %63)
store i32 %64, ptr %29, align 4
%65 = load ptr, ptr %15, align 8
%66 = load i32, ptr %65, align 4
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %83
68: ; preds = %47
%69 = load i32, ptr %29, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %83
71: ; preds = %68
%72 = load i32, ptr %17, align 4
%73 = load ptr, ptr %24, align 8
%74 = call i32 @solcon_read_next_witness_point(i32 noundef 1, i32 noundef %72, ptr noundef %28, ptr noundef %73)
store i32 %74, ptr %27, align 4
%75 = call i32 @solcon_reset_input_file(i32 noundef 2, ptr noundef %31, ptr noundef %30)
store i32 %75, ptr %27, align 4
%76 = load i32, ptr %16, align 4
%77 = icmp eq i32 %76, 1
br i1 %77, label %78, label %82
78: ; preds = %71
%79 = load i32, ptr %30, align 4
%80 = load i32, ptr %31, align 4
%81 = call i32 @printf(ptr noundef @.str, i32 noundef %79, i32 noundef %80)
br label %82
82: ; preds = %78, %71
br label %83
83: ; preds = %82, %68, %47
br label %133
84: ; preds = %13
%85 = load ptr, ptr %14, align 8
%86 = load i32, ptr %85, align 4
%87 = icmp eq i32 %86, 0
br i1 %87, label %88, label %96
88: ; preds = %84
%89 = load ptr, ptr %15, align 8
%90 = load i32, ptr %89, align 4
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %88
%93 = load i32, ptr %18, align 4
%94 = load ptr, ptr %25, align 8
%95 = call i32 @solcon_read_next_witness_point(i32 noundef 2, i32 noundef %93, ptr noundef %28, ptr noundef %94)
store i32 %95, ptr %27, align 4
br label %96
96: ; preds = %92, %88, %84
%97 = load i32, ptr %17, align 4
%98 = load ptr, ptr %24, align 8
%99 = call i32 @solcon_read_next_witness_point(i32 noundef 1, i32 noundef %97, ptr noundef %28, ptr noundef %98)
store i32 %99, ptr %27, align 4
%100 = load i32, ptr %20, align 4
%101 = load i32, ptr %19, align 4
%102 = load i32, ptr %18, align 4
%103 = load i32, ptr %17, align 4
%104 = load ptr, ptr %25, align 8
%105 = load ptr, ptr %24, align 8
%106 = load i32, ptr %23, align 4
%107 = load ptr, ptr %26, align 8
%108 = call i32 @solcon_extrinsic_product(i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, ptr noundef %104, ptr noundef %105, i32 noundef %106, ptr noundef %107)
store i32 %108, ptr %27, align 4
%109 = load ptr, ptr %15, align 8
%110 = load ptr, ptr %14, align 8
%111 = load i32, ptr %22, align 4
%112 = load i32, ptr %21, align 4
%113 = call i32 @add_one_to_double_loop_counters(ptr noundef %109, ptr noundef %110, i32 noundef %111, i32 noundef %112)
store i32 %113, ptr %29, align 4
%114 = load ptr, ptr %14, align 8
%115 = load i32, ptr %114, align 4
%116 = icmp eq i32 %115, 0
br i1 %116, label %117, label %132
117: ; preds = %96
%118 = load i32, ptr %29, align 4
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %132
120: ; preds = %117
%121 = load i32, ptr %18, align 4
%122 = load ptr, ptr %25, align 8
%123 = call i32 @solcon_read_next_witness_point(i32 noundef 2, i32 noundef %121, ptr noundef %28, ptr noundef %122)
store i32 %123, ptr %27, align 4
%124 = call i32 @solcon_reset_input_file(i32 noundef 1, ptr noundef %31, ptr noundef %30)
store i32 %124, ptr %27, align 4
%125 = load i32, ptr %16, align 4
%126 = icmp eq i32 %125, 1
br i1 %126, label %127, label %131
127: ; preds = %120
%128 = load i32, ptr %30, align 4
%129 = load i32, ptr %31, align 4
%130 = call i32 @printf(ptr noundef @.str.1, i32 noundef %128, i32 noundef %129)
br label %131
131: ; preds = %127, %120
br label %132
132: ; preds = %131, %117, %96
br label %133
133: ; preds = %132, %83
%134 = load i32, ptr %27, align 4
%135 = icmp ne i32 %134, 0
br i1 %135, label %136, label %139
136: ; preds = %133
%137 = load i32, ptr %29, align 4
%138 = icmp ne i32 %137, 0
br label %139
139: ; preds = %136, %133
%140 = phi i1 [ false, %133 ], [ %138, %136 ]
%141 = zext i1 %140 to i32
ret i32 %141
}
declare i32 @solcon_read_next_witness_point(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @solcon_extrinsic_product(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @add_one_to_double_loop_counters(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @solcon_reset_input_file(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyslglppv.c'
source_filename = "/tmp/tmpyslglppv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pci_init() #0 {
%1 = call i32 @pci_scan_devices(i32 noundef 0)
ret void
}
declare i32 @pci_scan_devices(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/tmpyslglppv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pci_init() #0 {
%1 = call i32 @pci_scan_devices(i32 noundef 0)
ret void
}
declare i32 @pci_scan_devices(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/tmpfuut9rjr.c'
source_filename = "/tmp/tmpfuut9rjr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erfinvf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__nv_erfinvf(float noundef %3)
ret float %4
}
declare float @__nv_erfinvf(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/tmpfuut9rjr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erfinvf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__nv_erfinvf(float noundef %3)
ret float %4
}
declare float @__nv_erfinvf(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/tmpyw6nrpq2.c'
source_filename = "/tmp/tmpyw6nrpq2.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyw6nrpq2.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcp6_tjp_.c'
source_filename = "/tmp/tmpcp6_tjp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @scrabbleScore()
ret i32 0
}
declare i32 @scrabbleScore(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcp6_tjp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @scrabbleScore()
ret i32 0
}
declare i32 @scrabbleScore(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn4q6879v.c'
source_filename = "/tmp/tmpn4q6879v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @simulator_parse_args(i32 noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %13
11: ; preds = %2
%12 = call i32 (...) @simulator_run()
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %11, %10
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @simulator_parse_args(i32 noundef, ptr noundef) #1
declare i32 @simulator_run(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn4q6879v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @simulator_parse_args(i32 noundef %6, ptr noundef %7)
%9 = icmp ne i32 %8, 0
br i1 %9, label %11, label %10
10: ; preds = %2
store i32 1, ptr %3, align 4
br label %13
11: ; preds = %2
%12 = call i32 (...) @simulator_run()
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %11, %10
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @simulator_parse_args(i32 noundef, ptr noundef) #1
declare i32 @simulator_run(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbeh88q_k.c'
source_filename = "/tmp/tmpbeh88q_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__err_get_threadid() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 8)
%4 = call i64 (...) @pthread_self()
store i64 %4, ptr %1, align 8
%5 = call i32 @util_djb_hash_block(ptr noundef %1, i32 noundef 8)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @pthread_self(...) #1
declare i32 @util_djb_hash_block(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/tmpbeh88q_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__err_get_threadid() #0 {
%1 = alloca i64, align 8
%2 = alloca i32, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @memset(ptr noundef %1, i32 noundef 0, i32 noundef 8)
%4 = call i64 (...) @pthread_self()
store i64 %4, ptr %1, align 8
%5 = call i32 @util_djb_hash_block(ptr noundef %1, i32 noundef 8)
store i32 %5, ptr %2, align 4
%6 = load i32, ptr %2, align 4
ret i32 %6
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @pthread_self(...) #1
declare i32 @util_djb_hash_block(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/tmp3_24it9q.c'
source_filename = "/tmp/tmp3_24it9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_rollback(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = call i32 @fs_univ_rollback(i32 noundef 0, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @fs_univ_rollback(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3_24it9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fs_rollback(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = call i32 @fs_univ_rollback(i32 noundef 0, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @fs_univ_rollback(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpigaog1na.c'
source_filename = "/tmp/tmpigaog1na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"%s (%d): theta out of range: %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [151 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bkloppenborg/simtoi/refs/heads/master/lib/chealpix/ang2vec.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ang2vec(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load double, ptr @M_PI, align 8
store double %9, ptr %8, align 8
%10 = load double, ptr %4, align 8
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load double, ptr %4, align 8
%14 = load double, ptr %8, align 8
%15 = fcmp ogt double %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12, %3
%17 = load i32, ptr @stderr, align 4
%18 = load double, ptr %4, align 8
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 44, double noundef %18)
%20 = call i32 @exit(i32 noundef 0) #4
unreachable
21: ; preds = %12
%22 = load double, ptr %4, align 8
%23 = call double @sin(double noundef %22) #5
store double %23, ptr %7, align 8
%24 = load double, ptr %7, align 8
%25 = load double, ptr %5, align 8
%26 = call double @cos(double noundef %25) #5
%27 = fmul double %24, %26
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double %27, ptr %29, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %5, align 8
%32 = call double @sin(double noundef %31) #5
%33 = fmul double %30, %32
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds double, ptr %34, i64 1
store double %33, ptr %35, align 8
%36 = load double, ptr %4, align 8
%37 = call double @cos(double noundef %36) #5
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds double, ptr %38, i64 2
store double %37, ptr %39, align 8
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #3
; Function Attrs: nounwind
declare double @cos(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { noreturn }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpigaog1na.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"%s (%d): theta out of range: %f\0A\00", align 1
@.str.1 = private unnamed_addr constant [151 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bkloppenborg/simtoi/refs/heads/master/lib/chealpix/ang2vec.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ang2vec(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load double, ptr @M_PI, align 8
store double %9, ptr %8, align 8
%10 = load double, ptr %4, align 8
%11 = fcmp olt double %10, 0.000000e+00
br i1 %11, label %16, label %12
12: ; preds = %3
%13 = load double, ptr %4, align 8
%14 = load double, ptr %8, align 8
%15 = fcmp ogt double %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12, %3
%17 = load i32, ptr @stderr, align 4
%18 = load double, ptr %4, align 8
%19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 44, double noundef %18)
%20 = call i32 @exit(i32 noundef 0) #4
unreachable
21: ; preds = %12
%22 = load double, ptr %4, align 8
%23 = call double @sin(double noundef %22) #5
store double %23, ptr %7, align 8
%24 = load double, ptr %7, align 8
%25 = load double, ptr %5, align 8
%26 = call double @cos(double noundef %25) #5
%27 = fmul double %24, %26
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds double, ptr %28, i64 0
store double %27, ptr %29, align 8
%30 = load double, ptr %7, align 8
%31 = load double, ptr %5, align 8
%32 = call double @sin(double noundef %31) #5
%33 = fmul double %30, %32
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds double, ptr %34, i64 1
store double %33, ptr %35, align 8
%36 = load double, ptr %4, align 8
%37 = call double @cos(double noundef %36) #5
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds double, ptr %38, i64 2
store double %37, ptr %39, align 8
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef, double noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nounwind
declare double @sin(double noundef) #3
; Function Attrs: nounwind
declare double @cos(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { noreturn }
attributes #5 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz08mndx5.c'
source_filename = "/tmp/tmpz08mndx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
br label %13
13: ; preds = %29, %3
%14 = load i64, ptr %8, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %38
16: ; preds = %13
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %10, align 8
%19 = load i64, ptr %8, align 8
%20 = call i32 @write(i32 noundef %17, ptr noundef %18, i64 noundef %19)
store i32 %20, ptr %9, align 4
%21 = icmp sle i32 %20, 0
br i1 %21, label %22, label %29
22: ; preds = %16
%23 = load i64, ptr @errno, align 8
%24 = load i64, ptr @EINTR, align 8
%25 = icmp eq i64 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %22
store i32 0, ptr %9, align 4
br label %28
27: ; preds = %22
store i32 -1, ptr %4, align 4
br label %41
28: ; preds = %26
br label %29
29: ; preds = %28, %16
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = load i64, ptr %8, align 8
%33 = sub i64 %32, %31
store i64 %33, ptr %8, align 8
%34 = load i32, ptr %9, align 4
%35 = load ptr, ptr %10, align 8
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds i8, ptr %35, i64 %36
store ptr %37, ptr %10, align 8
br label %13, !llvm.loop !6
38: ; preds = %13
%39 = load i64, ptr %7, align 8
%40 = trunc i64 %39 to i32
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %38, %27
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz08mndx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writen(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %10, align 8
%12 = load i64, ptr %7, align 8
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %8, align 8
%14 = icmp ugt i64 %13, 0
br i1 %14, label %.lr.ph, label %39
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %28
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %10, align 8
%18 = load i64, ptr %8, align 8
%19 = call i32 @write(i32 noundef %16, ptr noundef %17, i64 noundef %18)
store i32 %19, ptr %9, align 4
%20 = icmp sle i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %15
%22 = load i64, ptr @errno, align 8
%23 = load i64, ptr @EINTR, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21
store i32 0, ptr %9, align 4
br label %27
26: ; preds = %21
store i32 -1, ptr %4, align 4
br label %42
27: ; preds = %25
br label %28
28: ; preds = %27, %15
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %8, align 8
%32 = sub i64 %31, %30
store i64 %32, ptr %8, align 8
%33 = load i32, ptr %9, align 4
%34 = load ptr, ptr %10, align 8
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store ptr %36, ptr %10, align 8
%37 = load i64, ptr %8, align 8
%38 = icmp ugt i64 %37, 0
br i1 %38, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %39
39: ; preds = %._crit_edge, %3
%40 = load i64, ptr %7, align 8
%41 = trunc i64 %40 to i32
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %39, %26
%43 = load i32, ptr %4, align 4
ret i32 %43
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp56es8w61.c'
source_filename = "/tmp/tmp56es8w61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = trunc i32 %4 to i8
%6 = call i64 @islower(i8 noundef zeroext %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 97
store i32 %10, ptr %2, align 4
br label %20
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = trunc i32 %12 to i8
%14 = call i64 @isupper(i8 noundef zeroext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = sub nsw i32 %17, 65
store i32 %18, ptr %2, align 4
br label %20
19: ; preds = %11
store i32 -1, ptr %2, align 4
br label %20
20: ; preds = %19, %16, %8
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @islower(i8 noundef zeroext) #1
declare i64 @isupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp56es8w61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @number(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = trunc i32 %4 to i8
%6 = call i64 @islower(i8 noundef zeroext %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = sub nsw i32 %9, 97
store i32 %10, ptr %2, align 4
br label %20
11: ; preds = %1
%12 = load i32, ptr %3, align 4
%13 = trunc i32 %12 to i8
%14 = call i64 @isupper(i8 noundef zeroext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr %3, align 4
%18 = sub nsw i32 %17, 65
store i32 %18, ptr %2, align 4
br label %20
19: ; preds = %11
store i32 -1, ptr %2, align 4
br label %20
20: ; preds = %19, %16, %8
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @islower(i8 noundef zeroext) #1
declare i64 @isupper(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpekxehm4k.c'
source_filename = "/tmp/tmpekxehm4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @q4(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = fcmp ole double %4, 1.000000e+01
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load double, ptr %3, align 8
%8 = call double @llvm.fmuladd.f64(double -5.100000e+00, double %7, double 1.001700e+02)
store double %8, ptr %2, align 8
br label %35
9: ; preds = %1
%10 = load double, ptr %3, align 8
%11 = fcmp olt double 1.000000e+01, %10
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load double, ptr %3, align 8
%14 = fcmp ole double %13, 6.000000e+01
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = load double, ptr %3, align 8
%17 = call double @log(double noundef %16) #4
%18 = call double @llvm.fmuladd.f64(double -2.285300e+01, double %17, double 1.011800e+02)
store double %18, ptr %2, align 8
br label %35
19: ; preds = %12, %9
%20 = load double, ptr %3, align 8
%21 = fcmp olt double 6.000000e+01, %20
br i1 %21, label %22, label %30
22: ; preds = %19
%23 = load double, ptr %3, align 8
%24 = fcmp ole double %23, 9.000000e+01
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load double, ptr %3, align 8
%27 = call i32 @pow(double noundef %26, double noundef -5.116100e+00)
%28 = sitofp i32 %27 to double
%29 = fmul double 1.000000e+10, %28
store double %29, ptr %2, align 8
br label %35
30: ; preds = %22, %19
%31 = load double, ptr %3, align 8
%32 = fcmp ogt double %31, 9.000000e+01
br i1 %32, label %33, label %34
33: ; preds = %30
store double 1.000000e+00, ptr %2, align 8
br label %35
34: ; preds = %30
br label %35
35: ; preds = %6, %15, %25, %33, %34
%36 = load double, ptr %2, align 8
ret double %36
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare i32 @pow(double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpekxehm4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @q4(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = fcmp ole double %4, 1.000000e+01
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load double, ptr %3, align 8
%8 = call double @llvm.fmuladd.f64(double -5.100000e+00, double %7, double 1.001700e+02)
store double %8, ptr %2, align 8
br label %35
9: ; preds = %1
%10 = load double, ptr %3, align 8
%11 = fcmp olt double 1.000000e+01, %10
br i1 %11, label %12, label %19
12: ; preds = %9
%13 = load double, ptr %3, align 8
%14 = fcmp ole double %13, 6.000000e+01
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = load double, ptr %3, align 8
%17 = call double @log(double noundef %16) #4
%18 = call double @llvm.fmuladd.f64(double -2.285300e+01, double %17, double 1.011800e+02)
store double %18, ptr %2, align 8
br label %35
19: ; preds = %12, %9
%20 = load double, ptr %3, align 8
%21 = fcmp olt double 6.000000e+01, %20
br i1 %21, label %22, label %30
22: ; preds = %19
%23 = load double, ptr %3, align 8
%24 = fcmp ole double %23, 9.000000e+01
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load double, ptr %3, align 8
%27 = call i32 @pow(double noundef %26, double noundef -5.116100e+00)
%28 = sitofp i32 %27 to double
%29 = fmul double 1.000000e+10, %28
store double %29, ptr %2, align 8
br label %35
30: ; preds = %22, %19
%31 = load double, ptr %3, align 8
%32 = fcmp ogt double %31, 9.000000e+01
br i1 %32, label %33, label %34
33: ; preds = %30
store double 1.000000e+00, ptr %2, align 8
br label %35
34: ; preds = %30
br label %35
35: ; preds = %34, %33, %25, %15, %6
%36 = load double, ptr %2, align 8
ret double %36
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare i32 @pow(double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprahvqohs.c'
source_filename = "/tmp/tmprahvqohs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RETURNED %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = call i32 (...) @fun()
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @fun(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprahvqohs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"RETURNED %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = call i32 (...) @fun()
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr %6, align 4
%11 = icmp ne i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %13, %12
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @fun(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpby4psri7.c'
source_filename = "/tmp/tmpby4psri7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nullPointer_fegetexceptflag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = call i32 @fegetexceptflag(ptr noundef %4, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @fegetexceptflag(ptr noundef null, i32 noundef %7)
ret void
}
declare i32 @fegetexceptflag(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/tmpby4psri7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nullPointer_fegetexceptflag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr null, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = call i32 @fegetexceptflag(ptr noundef %4, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @fegetexceptflag(ptr noundef null, i32 noundef %7)
ret void
}
declare i32 @fegetexceptflag(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/tmpkbjiqqm4.c'
source_filename = "/tmp/tmpkbjiqqm4.c"
target datalayout = "e-m:e-p270: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/tmpkbjiqqm4.c"
target datalayout = "e-m:e-p270: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/tmpo4xqce4d.c'
source_filename = "/tmp/tmpo4xqce4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @do_something_other_cu()
ret i32 0
}
declare i32 @do_something_other_cu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo4xqce4d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @do_something_other_cu()
ret i32 0
}
declare i32 @do_something_other_cu(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7vl0x1o0.c'
source_filename = "/tmp/tmp7vl0x1o0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"not yet supported on this platform\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @errx(i32 noundef %5, ptr noundef @.str)
ret i32 0
}
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/tmp7vl0x1o0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [35 x i8] c"not yet supported on this platform\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @EXIT_FAILURE, align 4
%6 = call i32 @errx(i32 noundef %5, ptr noundef @.str)
ret i32 0
}
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/tmpcki89pq4.c'
source_filename = "/tmp/tmpcki89pq4.c"
target datalayout = "e-m:e-p270: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/tmpcki89pq4.c"
target datalayout = "e-m:e-p270: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/tmpjfbx0tq5.c'
source_filename = "/tmp/tmpjfbx0tq5.c"
target datalayout = "e-m:e-p270: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/tmpjfbx0tq5.c"
target datalayout = "e-m:e-p270: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/tmpmsu2ryvo.c'
source_filename = "/tmp/tmpmsu2ryvo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"K\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100_EL(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @vt100_EscSeq(i32 noundef %3, ptr noundef @.str, i64 noundef 2)
ret void
}
declare i32 @vt100_EscSeq(i32 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/tmpmsu2ryvo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"K\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vt100_EL(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @vt100_EscSeq(i32 noundef %3, ptr noundef @.str, i64 noundef 2)
ret void
}
declare i32 @vt100_EscSeq(i32 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/tmpn3ynbq_q.c'
source_filename = "/tmp/tmpn3ynbq_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(null)\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c" CALLED: function(%d, %s).\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c" RETURN: %d = function(%d, %s).\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @function(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %2
store ptr @.str, ptr %6, align 8
br label %11
11: ; preds = %10, %2
%12 = load i32, ptr %3, align 4
%13 = load ptr, ptr %6, align 8
%14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn3ynbq_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(null)\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c" CALLED: function(%d, %s).\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c" RETURN: %d = function(%d, %s).\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @function(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
store ptr %7, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %2
store ptr @.str, ptr %6, align 8
br label %11
11: ; preds = %10, %2
%12 = load i32, ptr %3, align 4
%13 = load ptr, ptr %6, align 8
%14 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %12, ptr noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %17, i32 noundef %18, ptr noundef %19)
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6elgtkhf.c'
source_filename = "/tmp/tmp6elgtkhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @com_putc(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @com_drain(i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load i8, ptr %4, align 1
%9 = call i32 @com_putc_fast(i32 noundef %7, i8 noundef zeroext %8)
ret void
}
declare i32 @com_drain(i32 noundef) #1
declare i32 @com_putc_fast(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6elgtkhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @com_putc(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @com_drain(i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = load i8, ptr %4, align 1
%9 = call i32 @com_putc_fast(i32 noundef %7, i8 noundef zeroext %8)
ret void
}
declare i32 @com_drain(i32 noundef) #1
declare i32 @com_putc_fast(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiu1ta6y0.c'
source_filename = "/tmp/tmpiu1ta6y0.c"
target datalayout = "e-m:e-p270: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/tmpiu1ta6y0.c"
target datalayout = "e-m:e-p270: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.