llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpb1mkmeop.c'
source_filename = "/tmp/tmpb1mkmeop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tftp://\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tftpHost(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef @.str)
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str.1)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %1
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = ptrtoint ptr %16 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = trunc i64 %20 to i32
%22 = call ptr @strndup(ptr noundef %15, i32 noundef %21)
store ptr %22, ptr %2, align 8
br label %24
23: ; preds = %1
store ptr null, ptr %2, align 8
br label %24
24: ; preds = %23, %14
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @strndup(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/tmpb1mkmeop.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tftp://\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @tftpHost(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef @.str)
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str.1)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %23
14: ; preds = %1
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = ptrtoint ptr %16 to i64
%19 = ptrtoint ptr %17 to i64
%20 = sub i64 %18, %19
%21 = trunc i64 %20 to i32
%22 = call ptr @strndup(ptr noundef %15, i32 noundef %21)
store ptr %22, ptr %2, align 8
br label %24
23: ; preds = %1
store ptr null, ptr %2, align 8
br label %24
24: ; preds = %23, %14
%25 = load ptr, ptr %2, align 8
ret ptr %25
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare ptr @strndup(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/tmpdwy1wj9i.c'
source_filename = "/tmp/tmpdwy1wj9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = 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/tmpdwy1wj9i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = 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/tmpe25146tr.c'
source_filename = "/tmp/tmpe25146tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"\0AIntroduzca un nombre entero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0AEl numero de cifras es %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 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = call i32 @num_cifras(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @num_cifras(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/tmpe25146tr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"\0AIntroduzca un nombre entero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0AEl numero de cifras es %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 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = load i32, ptr %6, align 4
%11 = call i32 @num_cifras(i32 noundef %10)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @num_cifras(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/tmpmi2gv80u.c'
source_filename = "/tmp/tmpmi2gv80u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_d(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, double noundef %6)
ret i32 %7
}
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmi2gv80u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%g\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_d(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, double noundef %6)
ret i32 %7
}
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt5rnathh.c'
source_filename = "/tmp/tmpt5rnathh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"invalid openat64 call: O_CREAT or O_TMPFILE without mode\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__openat64_2(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i64 @__OPEN_NEEDS_MODE(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 @__fortify_fail(ptr noundef @.str)
br label %12
12: ; preds = %10, %3
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @__openat64(i32 noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i64 @__OPEN_NEEDS_MODE(i32 noundef) #1
declare i32 @__fortify_fail(ptr noundef) #1
declare i32 @__openat64(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt5rnathh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"invalid openat64 call: O_CREAT or O_TMPFILE without mode\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__openat64_2(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = call i64 @__OPEN_NEEDS_MODE(i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 @__fortify_fail(ptr noundef @.str)
br label %12
12: ; preds = %10, %3
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = call i32 @__openat64(i32 noundef %13, ptr noundef %14, i32 noundef %15)
ret i32 %16
}
declare i64 @__OPEN_NEEDS_MODE(i32 noundef) #1
declare i32 @__fortify_fail(ptr noundef) #1
declare i32 @__openat64(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv_ht_k_y.c'
source_filename = "/tmp/tmpv_ht_k_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtod_l(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call double @strtod(ptr noundef %7, ptr noundef %8)
ret double %9
}
declare double @strtod(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/tmpv_ht_k_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtod_l(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call double @strtod(ptr noundef %7, ptr noundef %8)
ret double %9
}
declare double @strtod(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/tmpm7nbsub8.c'
source_filename = "/tmp/tmpm7nbsub8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fn3() #0 {
%1 = alloca ptr, align 8
%2 = call i32 (...) @rand()
%3 = srem i32 %2, 20
%4 = add nsw i32 20, %3
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 20
%9 = add nsw i32 30, %8
%10 = call ptr @realloc(ptr noundef %6, i32 noundef %9)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str)
%13 = load ptr, ptr %1, align 8
ret ptr %13
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(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/tmpm7nbsub8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fn3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fn3() #0 {
%1 = alloca ptr, align 8
%2 = call i32 (...) @rand()
%3 = srem i32 %2, 20
%4 = add nsw i32 20, %3
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = call i32 (...) @rand()
%8 = srem i32 %7, 20
%9 = add nsw i32 30, %8
%10 = call ptr @realloc(ptr noundef %6, i32 noundef %9)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str)
%13 = load ptr, ptr %1, align 8
ret ptr %13
}
declare ptr @malloc(i32 noundef) #1
declare i32 @rand(...) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_psio1vw.c'
source_filename = "/tmp/tmp_psio1vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dis_copy_dis_Token(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
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @dis_new_dis_Token(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @dis_new_dis_Token(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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/tmp_psio1vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dis_copy_dis_Token(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
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @dis_new_dis_Token(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @dis_new_dis_Token(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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/tmp8tgqggpx.c'
source_filename = "/tmp/tmp8tgqggpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @r(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 1
br i1 %4, label %5, label %6
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
call void @r(i32 noundef %10)
br label %11
11: ; preds = %6, %5
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8tgqggpx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @r(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 1
br i1 %4, label %5, label %6
5: ; preds = %1
br label %11
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
call void @r(i32 noundef %10)
br label %11
11: ; preds = %6, %5
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnxr09_rd.c'
source_filename = "/tmp/tmpnxr09_rd.c"
target datalayout = "e-m:e-p270: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/tmpnxr09_rd.c"
target datalayout = "e-m:e-p270: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/tmpdkesvjdy.c'
source_filename = "/tmp/tmpdkesvjdy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extern_func1_9(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @extern_func1_10(i32 noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @extern_func1_10(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/tmpdkesvjdy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extern_func1_9(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @extern_func1_10(i32 noundef %7, ptr noundef %8, i64 noundef %9)
ret void
}
declare i32 @extern_func1_10(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/tmp4cja94zj.c'
source_filename = "/tmp/tmp4cja94zj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Iter.\09 x\09\09y\09\09dx\09\09dy\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%d\09%f\09%f\09%f\09%f\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"\0A\0AThe solutions are: x = %f & y = %f .\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 1.000000e+00, ptr %2, align 4
store float 0x3FB99999A0000000, ptr %3, align 4
store i32 0, ptr %12, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %14
14: ; preds = %105, %0
%15 = load float, ptr %2, align 4
%16 = load float, ptr %3, align 4
%17 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %15, float %16)
store float %17, ptr %4, align 4
%18 = load float, ptr %2, align 4
store float %18, ptr %5, align 4
%19 = load float, ptr %3, align 4
%20 = fmul float 3.000000e+00, %19
%21 = load float, ptr %3, align 4
%22 = fmul float %20, %21
store float %22, ptr %6, align 4
%23 = load float, ptr %2, align 4
%24 = fmul float 6.000000e+00, %23
%25 = load float, ptr %3, align 4
%26 = call float @llvm.fmuladd.f32(float %24, float %25, float 1.000000e+00)
store float %26, ptr %7, align 4
%27 = load float, ptr %2, align 4
%28 = load float, ptr %2, align 4
%29 = load float, ptr %2, align 4
%30 = load float, ptr %3, align 4
%31 = fmul float %29, %30
%32 = call float @llvm.fmuladd.f32(float %27, float %28, float %31)
%33 = fsub float %32, 1.000000e+01
store float %33, ptr %8, align 4
%34 = load float, ptr %3, align 4
%35 = load float, ptr %2, align 4
%36 = fmul float 3.000000e+00, %35
%37 = load float, ptr %3, align 4
%38 = fmul float %36, %37
%39 = load float, ptr %3, align 4
%40 = call float @llvm.fmuladd.f32(float %38, float %39, float %34)
%41 = fsub float %40, 5.700000e+01
store float %41, ptr %9, align 4
%42 = load float, ptr %5, align 4
%43 = load float, ptr %9, align 4
%44 = load float, ptr %8, align 4
%45 = load float, ptr %7, align 4
%46 = fmul float %44, %45
%47 = fneg float %46
%48 = call float @llvm.fmuladd.f32(float %42, float %43, float %47)
%49 = load float, ptr %5, align 4
%50 = load float, ptr %6, align 4
%51 = load float, ptr %4, align 4
%52 = load float, ptr %7, align 4
%53 = fmul float %51, %52
%54 = fneg float %53
%55 = call float @llvm.fmuladd.f32(float %49, float %50, float %54)
%56 = fdiv float %48, %55
store float %56, ptr %10, align 4
%57 = load float, ptr %6, align 4
%58 = load float, ptr %8, align 4
%59 = load float, ptr %4, align 4
%60 = load float, ptr %9, align 4
%61 = fmul float %59, %60
%62 = fneg float %61
%63 = call float @llvm.fmuladd.f32(float %57, float %58, float %62)
%64 = load float, ptr %5, align 4
%65 = load float, ptr %6, align 4
%66 = load float, ptr %4, align 4
%67 = load float, ptr %7, align 4
%68 = fmul float %66, %67
%69 = fneg float %68
%70 = call float @llvm.fmuladd.f32(float %64, float %65, float %69)
%71 = fdiv float %63, %70
store float %71, ptr %11, align 4
%72 = load float, ptr %10, align 4
%73 = load float, ptr %2, align 4
%74 = fsub float %73, %72
store float %74, ptr %2, align 4
%75 = load float, ptr %11, align 4
%76 = load float, ptr %3, align 4
%77 = fsub float %76, %75
store float %77, ptr %3, align 4
%78 = load i32, ptr %12, align 4
%79 = load float, ptr %2, align 4
%80 = fpext float %79 to double
%81 = load float, ptr %3, align 4
%82 = fpext float %81 to double
%83 = load float, ptr %10, align 4
%84 = fpext float %83 to double
%85 = load float, ptr %11, align 4
%86 = fpext float %85 to double
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %78, double noundef %80, double noundef %82, double noundef %84, double noundef %86)
%88 = load i32, ptr %12, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %12, align 4
br label %90
90: ; preds = %14
%91 = load float, ptr %10, align 4
%92 = call double @fabs(float noundef %91)
%93 = load float, ptr %11, align 4
%94 = call double @fabs(float noundef %93)
%95 = fcmp ogt double %92, %94
br i1 %95, label %96, label %99
96: ; preds = %90
%97 = load float, ptr %10, align 4
%98 = call double @fabs(float noundef %97)
br label %105
99: ; preds = %90
%100 = load float, ptr %11, align 4
%101 = call double @fabs(float noundef %100)
%102 = fcmp oge double %101, 5.000000e-06
%103 = zext i1 %102 to i32
%104 = sitofp i32 %103 to double
br label %105
105: ; preds = %99, %96
%106 = phi double [ %98, %96 ], [ %104, %99 ]
%107 = fcmp une double %106, 0.000000e+00
br i1 %107, label %14, label %108, !llvm.loop !6
108: ; preds = %105
%109 = load float, ptr %2, align 4
%110 = fpext float %109 to double
%111 = load float, ptr %3, align 4
%112 = fpext float %111 to double
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %110, double noundef %112)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare double @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4cja94zj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Iter.\09 x\09\09y\09\09dx\09\09dy\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%d\09%f\09%f\09%f\09%f\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"\0A\0AThe solutions are: x = %f & y = %f .\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 1.000000e+00, ptr %2, align 4
store float 0x3FB99999A0000000, ptr %3, align 4
store i32 0, ptr %12, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %14
14: ; preds = %105, %0
%15 = load float, ptr %2, align 4
%16 = load float, ptr %3, align 4
%17 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %15, float %16)
store float %17, ptr %4, align 4
%18 = load float, ptr %2, align 4
store float %18, ptr %5, align 4
%19 = load float, ptr %3, align 4
%20 = fmul float 3.000000e+00, %19
%21 = load float, ptr %3, align 4
%22 = fmul float %20, %21
store float %22, ptr %6, align 4
%23 = load float, ptr %2, align 4
%24 = fmul float 6.000000e+00, %23
%25 = load float, ptr %3, align 4
%26 = call float @llvm.fmuladd.f32(float %24, float %25, float 1.000000e+00)
store float %26, ptr %7, align 4
%27 = load float, ptr %2, align 4
%28 = load float, ptr %2, align 4
%29 = load float, ptr %2, align 4
%30 = load float, ptr %3, align 4
%31 = fmul float %29, %30
%32 = call float @llvm.fmuladd.f32(float %27, float %28, float %31)
%33 = fsub float %32, 1.000000e+01
store float %33, ptr %8, align 4
%34 = load float, ptr %3, align 4
%35 = load float, ptr %2, align 4
%36 = fmul float 3.000000e+00, %35
%37 = load float, ptr %3, align 4
%38 = fmul float %36, %37
%39 = load float, ptr %3, align 4
%40 = call float @llvm.fmuladd.f32(float %38, float %39, float %34)
%41 = fsub float %40, 5.700000e+01
store float %41, ptr %9, align 4
%42 = load float, ptr %5, align 4
%43 = load float, ptr %9, align 4
%44 = load float, ptr %8, align 4
%45 = load float, ptr %7, align 4
%46 = fmul float %44, %45
%47 = fneg float %46
%48 = call float @llvm.fmuladd.f32(float %42, float %43, float %47)
%49 = load float, ptr %5, align 4
%50 = load float, ptr %6, align 4
%51 = load float, ptr %4, align 4
%52 = load float, ptr %7, align 4
%53 = fmul float %51, %52
%54 = fneg float %53
%55 = call float @llvm.fmuladd.f32(float %49, float %50, float %54)
%56 = fdiv float %48, %55
store float %56, ptr %10, align 4
%57 = load float, ptr %6, align 4
%58 = load float, ptr %8, align 4
%59 = load float, ptr %4, align 4
%60 = load float, ptr %9, align 4
%61 = fmul float %59, %60
%62 = fneg float %61
%63 = call float @llvm.fmuladd.f32(float %57, float %58, float %62)
%64 = load float, ptr %5, align 4
%65 = load float, ptr %6, align 4
%66 = load float, ptr %4, align 4
%67 = load float, ptr %7, align 4
%68 = fmul float %66, %67
%69 = fneg float %68
%70 = call float @llvm.fmuladd.f32(float %64, float %65, float %69)
%71 = fdiv float %63, %70
store float %71, ptr %11, align 4
%72 = load float, ptr %10, align 4
%73 = load float, ptr %2, align 4
%74 = fsub float %73, %72
store float %74, ptr %2, align 4
%75 = load float, ptr %11, align 4
%76 = load float, ptr %3, align 4
%77 = fsub float %76, %75
store float %77, ptr %3, align 4
%78 = load i32, ptr %12, align 4
%79 = load float, ptr %2, align 4
%80 = fpext float %79 to double
%81 = load float, ptr %3, align 4
%82 = fpext float %81 to double
%83 = load float, ptr %10, align 4
%84 = fpext float %83 to double
%85 = load float, ptr %11, align 4
%86 = fpext float %85 to double
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %78, double noundef %80, double noundef %82, double noundef %84, double noundef %86)
%88 = load i32, ptr %12, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %12, align 4
br label %90
90: ; preds = %14
%91 = load float, ptr %10, align 4
%92 = call double @fabs(float noundef %91)
%93 = load float, ptr %11, align 4
%94 = call double @fabs(float noundef %93)
%95 = fcmp ogt double %92, %94
br i1 %95, label %96, label %99
96: ; preds = %90
%97 = load float, ptr %10, align 4
%98 = call double @fabs(float noundef %97)
br label %105
99: ; preds = %90
%100 = load float, ptr %11, align 4
%101 = call double @fabs(float noundef %100)
%102 = fcmp oge double %101, 5.000000e-06
%103 = zext i1 %102 to i32
%104 = sitofp i32 %103 to double
br label %105
105: ; preds = %99, %96
%106 = phi double [ %98, %96 ], [ %104, %99 ]
%107 = fcmp une double %106, 0.000000e+00
br i1 %107, label %14, label %108, !llvm.loop !6
108: ; preds = %105
%109 = load float, ptr %2, align 4
%110 = fpext float %109 to double
%111 = load float, ptr %3, align 4
%112 = fpext float %111 to double
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %110, double noundef %112)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare double @fabs(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpk2m442ni.c'
source_filename = "/tmp/tmpk2m442ni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
@INT_MIN = 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/tmpk2m442ni.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
@INT_MIN = 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/tmppz_x_x8p.c'
source_filename = "/tmp/tmppz_x_x8p.c"
target datalayout = "e-m:e-p270: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/tmppz_x_x8p.c"
target datalayout = "e-m:e-p270: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/tmpdpka3qyl.c'
source_filename = "/tmp/tmpdpka3qyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_random() #0 {
%1 = call i32 (...) @random()
%2 = srem i32 %1, 3
ret i32 %2
}
declare i32 @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/tmpdpka3qyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_random() #0 {
%1 = call i32 (...) @random()
%2 = srem i32 %1, 3
ret i32 %2
}
declare i32 @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/tmpdy_9rfqs.c'
source_filename = "/tmp/tmpdy_9rfqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func_strfixed(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 @strcpy(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @strcpy(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/tmpdy_9rfqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Hello world\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func_strfixed(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 @strcpy(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @strcpy(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/tmpd4hbjd0k.c'
source_filename = "/tmp/tmpd4hbjd0k.c"
target datalayout = "e-m:e-p270: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/tmpd4hbjd0k.c"
target datalayout = "e-m:e-p270: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/tmpcqvbkdm8.c'
source_filename = "/tmp/tmpcqvbkdm8.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"Can't open %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @O_RDONLY, align 4
%6 = call i32 @open(ptr noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %9, %1
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcqvbkdm8.c"
target datalayout = "e-m:e-p270: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
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"Can't open %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @openFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr @O_RDONLY, align 4
%6 = call i32 @open(ptr noundef %4, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %9, %1
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd1taeqhj.c'
source_filename = "/tmp/tmpd1taeqhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iRobot_SetSong(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 @SerialWriteString(ptr noundef %3)
ret void
}
declare i32 @SerialWriteString(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd1taeqhj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iRobot_SetSong(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 @SerialWriteString(ptr noundef %3)
ret void
}
declare i32 @SerialWriteString(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8z3n_od6.c'
source_filename = "/tmp/tmp8z3n_od6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Error: %s\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"SUPERLU_MALLOC fails for buf in intCalloc()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @intCalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 4
%9 = trunc i64 %8 to i32
%10 = call i64 @superlu_malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %21, label %14
14: ; preds = %1
%15 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @sprintf_s(ptr noundef %15, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.1)
%17 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @WriteSLUErrorMessage(ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @superlu_abort_and_exit(ptr noundef %19)
br label %21
21: ; preds = %14, %1
store i32 0, ptr %4, align 4
br label %22
22: ; preds = %31, %21
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %34
26: ; preds = %22
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 0, ptr %30, align 4
br label %31
31: ; preds = %26
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %22, !llvm.loop !6
34: ; preds = %22
%35 = load ptr, ptr %3, align 8
ret ptr %35
}
declare i64 @superlu_malloc(i32 noundef) #1
declare i32 @sprintf_s(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @WriteSLUErrorMessage(ptr noundef) #1
declare i32 @superlu_abort_and_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8z3n_od6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"Error: %s\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"SUPERLU_MALLOC fails for buf in intCalloc()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @intCalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 4
%9 = trunc i64 %8 to i32
%10 = call i64 @superlu_malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %21, label %14
14: ; preds = %1
%15 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%16 = call i32 @sprintf_s(ptr noundef %15, i32 noundef 256, ptr noundef @.str, ptr noundef @.str.1)
%17 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @WriteSLUErrorMessage(ptr noundef %17)
%19 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%20 = call i32 @superlu_abort_and_exit(ptr noundef %19)
br label %21
21: ; preds = %14, %1
store i32 0, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %36
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %30
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
store i32 0, ptr %29, align 4
br label %30
30: ; preds = %25
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %21
%37 = load ptr, ptr %3, align 8
ret ptr %37
}
declare i64 @superlu_malloc(i32 noundef) #1
declare i32 @sprintf_s(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @WriteSLUErrorMessage(ptr noundef) #1
declare i32 @superlu_abort_and_exit(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvjwggne2.c'
source_filename = "/tmp/tmpvjwggne2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @CAN0_Tx_Warning_IRQHandler() #0 {
%1 = call i32 (...) @CAN0_DriverIRQHandler()
ret void
}
declare i32 @CAN0_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjwggne2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @CAN0_Tx_Warning_IRQHandler() #0 {
%1 = call i32 (...) @CAN0_DriverIRQHandler()
ret void
}
declare i32 @CAN0_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu55i064f.c'
source_filename = "/tmp/tmpu55i064f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"abcabcbb\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @lengthOfLongestSubstring(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %3, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @lengthOfLongestSubstring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu55i064f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"abcabcbb\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @lengthOfLongestSubstring(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %3, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @lengthOfLongestSubstring(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsu_8xtok.c'
source_filename = "/tmp/tmpsu_8xtok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cdops_init_drive() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [4 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = call i32 @cdops_exec_cmd(i32 noundef 24, i32 noundef 0)
store i32 %10, ptr %3, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %9
br label %17
13: ; preds = %9
br label %14
14: ; preds = %13
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %6, !llvm.loop !6
17: ; preds = %12, %6
%18 = load i32, ptr %3, align 4
%19 = icmp ne i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = load i32, ptr %3, align 4
store i32 %21, ptr %1, align 4
br label %39
22: ; preds = %17
%23 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%24 = call i32 @gdGdcGetDrvStat(ptr noundef %23)
%25 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %26, 32
%28 = zext i1 %27 to i32
store i32 %28, ptr %5, align 4
%29 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
store i32 0, ptr %29, align 16
%30 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1
store i32 8192, ptr %30, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp ne i32 %31, 0
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 2048, i32 1024
%35 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2
store i32 %34, ptr %35, align 8
%36 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3
store i32 2048, ptr %36, align 4
%37 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%38 = call i32 @gdGdcChangeDataType(ptr noundef %37)
store i32 %38, ptr %1, align 4
br label %39
39: ; preds = %22, %20
%40 = load i32, ptr %1, align 4
ret i32 %40
}
declare i32 @cdops_exec_cmd(i32 noundef, i32 noundef) #1
declare i32 @gdGdcGetDrvStat(ptr noundef) #1
declare i32 @gdGdcChangeDataType(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsu_8xtok.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cdops_init_drive() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [4 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = call i32 @cdops_exec_cmd(i32 noundef 24, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %12, label %11
11: ; preds = %8
br label %18
12: ; preds = %8
br label %13
13: ; preds = %12
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 8
br i1 %17, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %13
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %18
18: ; preds = %.loopexit, %11
%19 = load i32, ptr %3, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = load i32, ptr %3, align 4
store i32 %22, ptr %1, align 4
br label %40
23: ; preds = %18
%24 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%25 = call i32 @gdGdcGetDrvStat(ptr noundef %24)
%26 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1
%27 = load i32, ptr %26, align 4
%28 = icmp eq i32 %27, 32
%29 = zext i1 %28 to i32
store i32 %29, ptr %5, align 4
%30 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
store i32 0, ptr %30, align 16
%31 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 1
store i32 8192, ptr %31, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i32 2048, i32 1024
%36 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 2
store i32 %35, ptr %36, align 8
%37 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 3
store i32 2048, ptr %37, align 4
%38 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
%39 = call i32 @gdGdcChangeDataType(ptr noundef %38)
store i32 %39, ptr %1, align 4
br label %40
40: ; preds = %23, %21
%41 = load i32, ptr %1, align 4
ret i32 %41
}
declare i32 @cdops_exec_cmd(i32 noundef, i32 noundef) #1
declare i32 @gdGdcGetDrvStat(ptr noundef) #1
declare i32 @gdGdcChangeDataType(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4h24p18n.c'
source_filename = "/tmp/tmp4h24p18n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @TestingAscending(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4h24p18n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @TestingAscending(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbs0kcbyh.c'
source_filename = "/tmp/tmpbs0kcbyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fortran_getchar(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fortran_read(ptr noundef %5, ptr noundef %4, i32 noundef 1)
%7 = icmp slt i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @EOF, align 4
store i32 %9, ptr %2, align 4
br label %13
10: ; preds = %1
%11 = load i8, ptr %4, align 1
%12 = zext i8 %11 to i32
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @fortran_read(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/tmpbs0kcbyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fortran_getchar(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fortran_read(ptr noundef %5, ptr noundef %4, i32 noundef 1)
%7 = icmp slt i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @EOF, align 4
store i32 %9, ptr %2, align 4
br label %13
10: ; preds = %1
%11 = load i8, ptr %4, align 1
%12 = zext i8 %11 to i32
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %10, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @fortran_read(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/tmpmzrv7lk1.c'
source_filename = "/tmp/tmpmzrv7lk1.c"
target datalayout = "e-m:e-p270: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/tmpmzrv7lk1.c"
target datalayout = "e-m:e-p270: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/tmppxqqpzfj.c'
source_filename = "/tmp/tmppxqqpzfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_test_1()
%3 = call i32 (...) @do_test_2()
%4 = call i32 @do_test_3(double noundef 1.000000e-01)
ret i32 0
}
declare i32 @do_test_1(...) #1
declare i32 @do_test_2(...) #1
declare i32 @do_test_3(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/tmppxqqpzfj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_test_1()
%3 = call i32 (...) @do_test_2()
%4 = call i32 @do_test_3(double noundef 1.000000e-01)
ret i32 0
}
declare i32 @do_test_1(...) #1
declare i32 @do_test_2(...) #1
declare i32 @do_test_3(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/tmp_a9hdn8d.c'
source_filename = "/tmp/tmp_a9hdn8d.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"Failed to allocate a new block.\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Wrong block size.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Original value was lost.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @proctal_darr_global_realloc(ptr noundef null, i32 noundef 4)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store i32 12345, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @proctal_darr_global_realloc(ptr noundef %6, i32 noundef 8)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %31
13: ; preds = %0
%14 = load ptr, ptr %3, align 8
%15 = call i32 @block_size(ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = icmp ne i64 %16, 8
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %31
21: ; preds = %13
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 12345
br i1 %24, label %25, label %28
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %31
28: ; preds = %21
%29 = load ptr, ptr %3, align 8
%30 = call i32 @proctal_darr_global_free(ptr noundef %29)
store i32 0, ptr %1, align 4
br label %31
31: ; preds = %28, %25, %18, %10
%32 = load i32, ptr %1, align 4
ret i32 %32
}
declare ptr @proctal_darr_global_realloc(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @block_size(ptr noundef) #1
declare i32 @proctal_darr_global_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_a9hdn8d.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"Failed to allocate a new block.\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Wrong block size.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Original value was lost.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @proctal_darr_global_realloc(ptr noundef null, i32 noundef 4)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store i32 12345, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = call ptr @proctal_darr_global_realloc(ptr noundef %6, i32 noundef 8)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %0
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %31
13: ; preds = %0
%14 = load ptr, ptr %3, align 8
%15 = call i32 @block_size(ptr noundef %14)
%16 = sext i32 %15 to i64
%17 = icmp ne i64 %16, 8
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr @stderr, align 4
%20 = call i32 @fprintf(i32 noundef %19, ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %31
21: ; preds = %13
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 12345
br i1 %24, label %25, label %28
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %31
28: ; preds = %21
%29 = load ptr, ptr %3, align 8
%30 = call i32 @proctal_darr_global_free(ptr noundef %29)
store i32 0, ptr %1, align 4
br label %31
31: ; preds = %28, %25, %18, %10
%32 = load i32, ptr %1, align 4
ret i32 %32
}
declare ptr @proctal_darr_global_realloc(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @block_size(ptr noundef) #1
declare i32 @proctal_darr_global_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/tmpfe8ik152.c'
source_filename = "/tmp/tmpfe8ik152.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rfx_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %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/tmpfe8ik152.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rfx_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %6, label %5
5: ; preds = %1
br label %9
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @free(ptr noundef %7)
br label %9
9: ; preds = %6, %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/tmp2dvrrda4.c'
source_filename = "/tmp/tmp2dvrrda4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ConvertDecToOther(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [100 x i32], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %10, %2
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = srem i32 %11, %12
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
%16 = sext i32 %14 to i64
%17 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 %16
store i32 %13, ptr %17, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = sdiv i32 %18, %19
store i32 %20, ptr %4, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
br label %22
22: ; preds = %39, %21
%23 = load i32, ptr %5, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %42
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %32, 1
%34 = srem i32 %33, 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %25
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
38: ; preds = %36, %25
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %5, align 4
br label %22, !llvm.loop !8
42: ; preds = %22
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2dvrrda4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ConvertDecToOther(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [100 x i32], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = srem i32 %10, %11
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = sext i32 %13 to i64
%16 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 %15
store i32 %12, ptr %16, align 4
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %3, align 4
%19 = sdiv i32 %17, %18
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %22
22: ; preds = %._crit_edge, %2
%23 = load i32, ptr %5, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %.lr.ph2, label %44
.lr.ph2: ; preds = %22
br label %25
25: ; preds = %.lr.ph2, %39
%26 = load i32, ptr %5, align 4
%27 = sub nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i32], ptr %6, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %30)
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %32, 1
%34 = srem i32 %33, 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %25
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %38
38: ; preds = %36, %25
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %44
44: ; preds = %._crit_edge3, %22
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpu5wemi7o.c'
source_filename = "/tmp/tmpu5wemi7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"last radix is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [10 x i32], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40, i1 false)
store i32 0, ptr %10, align 4
br label %18
18: ; preds = %42, %3
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %45
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %6, align 4
%29 = sdiv i32 %27, %28
%30 = srem i32 %29, 10
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %33, align 4
%36 = load i32, ptr %9, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %22
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %41
41: ; preds = %38, %22
br label %42
42: ; preds = %41
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %10, align 4
br label %18, !llvm.loop !6
45: ; preds = %18
%46 = load i32, ptr %7, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %45
%49 = load i32, ptr %6, align 4
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
br label %139
51: ; preds = %45
%52 = load i32, ptr %5, align 4
%53 = sext i32 %52 to i64
%54 = mul i64 4, %53
%55 = trunc i64 %54 to i32
%56 = call ptr @malloc(i32 noundef %55)
store ptr %56, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %57
57: ; preds = %122, %51
%58 = load i32, ptr %13, align 4
%59 = icmp sle i32 %58, 9
br i1 %59, label %60, label %125
60: ; preds = %57
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %62
%64 = load i32, ptr %63, align 4
%65 = sext i32 %64 to i64
%66 = mul i64 4, %65
%67 = trunc i64 %66 to i32
%68 = call ptr @malloc(i32 noundef %67)
store ptr %68, ptr %14, align 8
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
br label %69
69: ; preds = %97, %60
%70 = load i32, ptr %16, align 4
%71 = load i32, ptr %5, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %100
73: ; preds = %69
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %16, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %6, align 4
%80 = sdiv i32 %78, %79
%81 = srem i32 %80, 10
store i32 %81, ptr %9, align 4
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %13, align 4
%84 = icmp eq i32 %82, %83
br i1 %84, label %85, label %96
85: ; preds = %73
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %16, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load ptr, ptr %14, align 8
%92 = load i32, ptr %15, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %15, align 4
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
store i32 %90, ptr %95, align 4
br label %96
96: ; preds = %85, %73
br label %97
97: ; preds = %96
%98 = load i32, ptr %16, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %16, align 4
br label %69, !llvm.loop !8
100: ; preds = %69
store i32 0, ptr %17, align 4
br label %101
101: ; preds = %116, %100
%102 = load i32, ptr %17, align 4
%103 = load i32, ptr %15, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %105, label %119
105: ; preds = %101
%106 = load ptr, ptr %14, align 8
%107 = load i32, ptr %17, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = load ptr, ptr %11, align 8
%112 = load i32, ptr %12, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %12, align 4
%114 = sext i32 %112 to i64
%115 = getelementptr inbounds i32, ptr %111, i64 %114
store i32 %110, ptr %115, align 4
br label %116
116: ; preds = %105
%117 = load i32, ptr %17, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %17, align 4
br label %101, !llvm.loop !9
119: ; preds = %101
%120 = load ptr, ptr %14, align 8
%121 = call i32 @free(ptr noundef %120)
br label %122
122: ; preds = %119
%123 = load i32, ptr %13, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %13, align 4
br label %57, !llvm.loop !10
125: ; preds = %57
%126 = load ptr, ptr %11, align 8
%127 = load ptr, ptr %4, align 8
%128 = load i32, ptr %5, align 4
%129 = call i32 @copy(ptr noundef %126, ptr noundef %127, i32 noundef %128)
%130 = load ptr, ptr %11, align 8
%131 = call i32 @free(ptr noundef %130)
%132 = load ptr, ptr %4, align 8
%133 = load i32, ptr %5, align 4
%134 = call i32 @print(ptr noundef %132, i32 noundef %133)
%135 = load ptr, ptr %4, align 8
%136 = load i32, ptr %5, align 4
%137 = load i32, ptr %6, align 4
%138 = mul nsw i32 %137, 10
call void @radix_sort(ptr noundef %135, i32 noundef %136, i32 noundef %138)
br label %139
139: ; preds = %125, %48
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 @printf(ptr noundef, i32 noundef) #2
declare ptr @malloc(i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @copy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @print(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpu5wemi7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"last radix is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @radix_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [10 x i32], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 40, i1 false)
store i32 0, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %47
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %41
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %6, align 4
%28 = sdiv i32 %26, %27
%29 = srem i32 %28, 10
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %32, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %21
%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, %21
br label %41
41: ; preds = %40
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %3
%48 = load i32, ptr %7, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %53, label %50
50: ; preds = %47
%51 = load i32, ptr %6, align 4
%52 = call i32 @printf(ptr noundef @.str, i32 noundef %51)
br label %146
53: ; preds = %47
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = mul i64 4, %55
%57 = trunc i64 %56 to i32
%58 = call ptr @malloc(i32 noundef %57)
store ptr %58, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
%59 = load i32, ptr %13, align 4
%60 = icmp sle i32 %59, 9
br i1 %60, label %.lr.ph8, label %132
.lr.ph8: ; preds = %53
br label %61
61: ; preds = %.lr.ph8, %127
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %63
%65 = load i32, ptr %64, align 4
%66 = sext i32 %65 to i64
%67 = mul i64 4, %66
%68 = trunc i64 %67 to i32
%69 = call ptr @malloc(i32 noundef %68)
store ptr %69, ptr %14, align 8
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%70 = load i32, ptr %16, align 4
%71 = load i32, ptr %5, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph2, label %103
.lr.ph2: ; preds = %61
br label %73
73: ; preds = %.lr.ph2, %97
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %16, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %6, align 4
%80 = sdiv i32 %78, %79
%81 = srem i32 %80, 10
store i32 %81, ptr %9, align 4
%82 = load i32, ptr %9, align 4
%83 = load i32, ptr %13, align 4
%84 = icmp eq i32 %82, %83
br i1 %84, label %85, label %96
85: ; preds = %73
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %16, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load ptr, ptr %14, align 8
%92 = load i32, ptr %15, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %15, align 4
%94 = sext i32 %92 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
store i32 %90, ptr %95, align 4
br label %96
96: ; preds = %85, %73
br label %97
97: ; preds = %96
%98 = load i32, ptr %16, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %16, align 4
%100 = load i32, ptr %16, align 4
%101 = load i32, ptr %5, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %73, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %97
br label %103
103: ; preds = %._crit_edge3, %61
store i32 0, ptr %17, align 4
%104 = load i32, ptr %17, align 4
%105 = load i32, ptr %15, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %.lr.ph5, label %124
.lr.ph5: ; preds = %103
br label %107
107: ; preds = %.lr.ph5, %118
%108 = load ptr, ptr %14, align 8
%109 = load i32, ptr %17, 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 %11, align 8
%114 = load i32, ptr %12, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %12, align 4
%116 = sext i32 %114 to i64
%117 = getelementptr inbounds i32, ptr %113, i64 %116
store i32 %112, ptr %117, align 4
br label %118
118: ; preds = %107
%119 = load i32, ptr %17, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %17, align 4
%121 = load i32, ptr %17, align 4
%122 = load i32, ptr %15, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %107, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %118
br label %124
124: ; preds = %._crit_edge6, %103
%125 = load ptr, ptr %14, align 8
%126 = call i32 @free(ptr noundef %125)
br label %127
127: ; preds = %124
%128 = load i32, ptr %13, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %13, align 4
%130 = load i32, ptr %13, align 4
%131 = icmp sle i32 %130, 9
br i1 %131, label %61, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %127
br label %132
132: ; preds = %._crit_edge9, %53
%133 = load ptr, ptr %11, align 8
%134 = load ptr, ptr %4, align 8
%135 = load i32, ptr %5, align 4
%136 = call i32 @copy(ptr noundef %133, ptr noundef %134, i32 noundef %135)
%137 = load ptr, ptr %11, align 8
%138 = call i32 @free(ptr noundef %137)
%139 = load ptr, ptr %4, align 8
%140 = load i32, ptr %5, align 4
%141 = call i32 @print(ptr noundef %139, i32 noundef %140)
%142 = load ptr, ptr %4, align 8
%143 = load i32, ptr %5, align 4
%144 = load i32, ptr %6, align 4
%145 = mul nsw i32 %144, 10
call void @radix_sort(ptr noundef %142, i32 noundef %143, i32 noundef %145)
br label %146
146: ; preds = %132, %50
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 @printf(ptr noundef, i32 noundef) #2
declare ptr @malloc(i32 noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @copy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @print(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdbc8p6q3.c'
source_filename = "/tmp/tmpdbc8p6q3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f314(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 @f313(ptr noundef %3)
ret i32 %4
}
declare i32 @f313(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdbc8p6q3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f314(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 @f313(ptr noundef %3)
ret i32 %4
}
declare i32 @f313(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe1xb4vkd.c'
source_filename = "/tmp/tmpe1xb4vkd.c"
target datalayout = "e-m:e-p270: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/tmpe1xb4vkd.c"
target datalayout = "e-m:e-p270: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/tmp9fnwn9_6.c'
source_filename = "/tmp/tmp9fnwn9_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_dos_find_close() #0 {
%1 = call i32 @putCMD(i32 noundef 131)
%2 = call i32 @putPT(i32 noundef 10)
%3 = call i32 (...) @putPT_flash()
ret i32 0
}
declare i32 @putCMD(i32 noundef) #1
declare i32 @putPT(i32 noundef) #1
declare i32 @putPT_flash(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fnwn9_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_dos_find_close() #0 {
%1 = call i32 @putCMD(i32 noundef 131)
%2 = call i32 @putPT(i32 noundef 10)
%3 = call i32 (...) @putPT_flash()
ret i32 0
}
declare i32 @putCMD(i32 noundef) #1
declare i32 @putPT(i32 noundef) #1
declare i32 @putPT_flash(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppg3lon7m.c'
source_filename = "/tmp/tmppg3lon7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"you win!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1094861636
br i1 %5, label %6, label %16
6: ; preds = %0
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 1162233672
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 1094861637
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str)
br label %14
14: ; preds = %12, %9
br label %15
15: ; preds = %14, %6
br label %16
16: ; preds = %15, %0
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppg3lon7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"you win!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 1094861636
br i1 %5, label %6, label %16
6: ; preds = %0
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 1162233672
br i1 %8, label %9, label %15
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 1094861637
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @printf(ptr noundef @.str)
br label %14
14: ; preds = %12, %9
br label %15
15: ; preds = %14, %6
br label %16
16: ; preds = %15, %0
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpymv7858z.c'
source_filename = "/tmp/tmpymv7858z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fixtime.buf = internal global [12 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d:%02d:%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fixtime(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = sdiv i64 %7, 1000
%9 = trunc i64 %8 to i32
store i32 %9, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = sdiv i32 %10, 3600
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = srem i32 %12, 3600
%14 = sdiv i32 %13, 60
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = srem i32 %15, 60
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %27
19: ; preds = %1
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @strcpy(ptr noundef @fixtime.buf, ptr noundef @.str)
br label %32
27: ; preds = %22, %19, %1
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 @sprintf(ptr noundef @fixtime.buf, ptr noundef @.str.1, i32 noundef %28, i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %27, %25
ret ptr @fixtime.buf
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymv7858z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fixtime.buf = internal global [12 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"%d:%02d:%02d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fixtime(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i64 %0, ptr %2, align 8
%7 = load i64, ptr %2, align 8
%8 = sdiv i64 %7, 1000
%9 = trunc i64 %8 to i32
store i32 %9, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%10 = load i32, ptr %3, align 4
%11 = sdiv i32 %10, 3600
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = srem i32 %12, 3600
%14 = sdiv i32 %13, 60
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = srem i32 %15, 60
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %27
19: ; preds = %1
%20 = load i32, ptr %5, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = call i32 @strcpy(ptr noundef @fixtime.buf, ptr noundef @.str)
br label %32
27: ; preds = %22, %19, %1
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %6, align 4
%31 = call i32 @sprintf(ptr noundef @fixtime.buf, ptr noundef @.str.1, i32 noundef %28, i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %27, %25
ret ptr @fixtime.buf
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprkm3m1g5.c'
source_filename = "/tmp/tmprkm3m1g5.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__cyg_profile_func_exit(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @STDOUT_FILENO, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 8)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprkm3m1g5.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__cyg_profile_func_exit(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @STDOUT_FILENO, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 8)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3wxgkb9l.c'
source_filename = "/tmp/tmp3wxgkb9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [64000 x i32], align 16
%9 = alloca [8000 x i32], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %7, align 8
%23 = getelementptr inbounds [8000 x i32], ptr %9, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 8000)
%25 = getelementptr inbounds [64000 x i32], ptr %8, i64 0, i64 0
store ptr %25, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %26
26: ; preds = %37, %2
%27 = load i32, ptr %11, align 4
%28 = icmp slt i32 %27, 64000
br i1 %28, label %29, label %40
29: ; preds = %26
%30 = load ptr, ptr %6, align 8
%31 = call i32 @fread(ptr noundef %12, i32 noundef 2, i32 noundef 1, ptr noundef %30)
%32 = load i32, ptr %12, align 4
%33 = and i32 3, %32
%34 = load ptr, ptr %10, align 8
store i32 %33, ptr %34, align 4
%35 = load ptr, ptr %10, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 1
store ptr %36, ptr %10, align 8
br label %37
37: ; preds = %29
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
br label %26, !llvm.loop !6
40: ; preds = %26
store i32 0, ptr %13, align 4
br label %41
41: ; preds = %51, %40
%42 = load i32, ptr %13, align 4
%43 = icmp slt i32 %42, 64000
br i1 %43, label %44, label %54
44: ; preds = %41
%45 = getelementptr inbounds [8000 x i32], ptr %9, i64 0, i64 0
%46 = load i32, ptr %13, align 4
%47 = getelementptr inbounds [64000 x i32], ptr %8, i64 0, i64 0
%48 = load i32, ptr %13, align 4
%49 = call i32 @readBit(ptr noundef %47, i32 noundef %48)
%50 = call i32 @c64WriteBit(ptr noundef %45, i32 noundef %46, i32 noundef %49)
br label %51
51: ; preds = %44
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %13, align 4
br label %41, !llvm.loop !8
54: ; preds = %41
%55 = getelementptr inbounds [8000 x i32], ptr %9, i64 0, i64 0
store ptr %55, ptr %10, align 8
store i32 0, ptr %14, align 4
br label %56
56: ; preds = %65, %54
%57 = load i32, ptr %14, align 4
%58 = icmp slt i32 %57, 8000
br i1 %58, label %59, label %68
59: ; preds = %56
%60 = load ptr, ptr %10, align 8
%61 = load ptr, ptr %7, align 8
%62 = call i32 @fwrite(ptr noundef %60, i32 noundef 1, i32 noundef 1, ptr noundef %61)
%63 = load ptr, ptr %10, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 1
store ptr %64, ptr %10, align 8
br label %65
65: ; preds = %59
%66 = load i32, ptr %14, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %14, align 4
br label %56, !llvm.loop !9
68: ; preds = %56
%69 = load ptr, ptr %6, align 8
%70 = call i32 @fclose(ptr noundef %69)
%71 = load ptr, ptr %7, align 8
%72 = call i32 @fclose(ptr noundef %71)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @c64WriteBit(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @readBit(ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3wxgkb9l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [64000 x i32], align 16
%9 = alloca [8000 x i32], align 16
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call ptr @fopen(ptr noundef %21, ptr noundef @.str.1)
store ptr %22, ptr %7, align 8
%23 = getelementptr inbounds [8000 x i32], ptr %9, i64 0, i64 0
%24 = call i32 @memset(ptr noundef %23, i32 noundef 0, i32 noundef 8000)
%25 = getelementptr inbounds [64000 x i32], ptr %8, i64 0, i64 0
store ptr %25, ptr %10, align 8
store i32 0, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp slt i32 %26, 64000
br i1 %27, label %.lr.ph, label %41
.lr.ph: ; preds = %2
br label %28
28: ; preds = %.lr.ph, %36
%29 = load ptr, ptr %6, align 8
%30 = call i32 @fread(ptr noundef %12, i32 noundef 2, i32 noundef 1, ptr noundef %29)
%31 = load i32, ptr %12, align 4
%32 = and i32 3, %31
%33 = load ptr, ptr %10, align 8
store i32 %32, ptr %33, align 4
%34 = load ptr, ptr %10, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 1
store ptr %35, ptr %10, align 8
br label %36
36: ; preds = %28
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %11, align 4
%40 = icmp slt i32 %39, 64000
br i1 %40, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %2
store i32 0, ptr %13, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp slt i32 %42, 64000
br i1 %43, label %.lr.ph2, label %56
.lr.ph2: ; preds = %41
br label %44
44: ; preds = %.lr.ph2, %51
%45 = getelementptr inbounds [8000 x i32], ptr %9, i64 0, i64 0
%46 = load i32, ptr %13, align 4
%47 = getelementptr inbounds [64000 x i32], ptr %8, i64 0, i64 0
%48 = load i32, ptr %13, align 4
%49 = call i32 @readBit(ptr noundef %47, i32 noundef %48)
%50 = call i32 @c64WriteBit(ptr noundef %45, i32 noundef %46, i32 noundef %49)
br label %51
51: ; preds = %44
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %13, align 4
%54 = load i32, ptr %13, align 4
%55 = icmp slt i32 %54, 64000
br i1 %55, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %56
56: ; preds = %._crit_edge3, %41
%57 = getelementptr inbounds [8000 x i32], ptr %9, i64 0, i64 0
store ptr %57, ptr %10, align 8
store i32 0, ptr %14, align 4
%58 = load i32, ptr %14, align 4
%59 = icmp slt i32 %58, 8000
br i1 %59, label %.lr.ph5, label %71
.lr.ph5: ; preds = %56
br label %60
60: ; preds = %.lr.ph5, %66
%61 = load ptr, ptr %10, align 8
%62 = load ptr, ptr %7, align 8
%63 = call i32 @fwrite(ptr noundef %61, i32 noundef 1, i32 noundef 1, ptr noundef %62)
%64 = load ptr, ptr %10, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 1
store ptr %65, ptr %10, align 8
br label %66
66: ; preds = %60
%67 = load i32, ptr %14, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %14, align 4
%69 = load i32, ptr %14, align 4
%70 = icmp slt i32 %69, 8000
br i1 %70, label %60, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %66
br label %71
71: ; preds = %._crit_edge6, %56
%72 = load ptr, ptr %6, align 8
%73 = call i32 @fclose(ptr noundef %72)
%74 = load ptr, ptr %7, align 8
%75 = call i32 @fclose(ptr noundef %74)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @c64WriteBit(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @readBit(ptr noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp5f9oug9p.c'
source_filename = "/tmp/tmp5f9oug9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashbig(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
br label %20
20: ; preds = %23, %3
%21 = load i64, ptr %6, align 8
%22 = icmp ugt i64 %21, 12
br i1 %22, label %23, label %187
23: ; preds = %20
%24 = load ptr, ptr %12, align 8
%25 = getelementptr inbounds i64, ptr %24, i64 0
%26 = load i64, ptr %25, align 8
%27 = trunc i64 %26 to i32
%28 = shl i32 %27, 24
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, %28
store i32 %30, ptr %8, align 4
%31 = load ptr, ptr %12, align 8
%32 = getelementptr inbounds i64, ptr %31, i64 1
%33 = load i64, ptr %32, align 8
%34 = trunc i64 %33 to i32
%35 = shl i32 %34, 16
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, %35
store i32 %37, ptr %8, align 4
%38 = load ptr, ptr %12, align 8
%39 = getelementptr inbounds i64, ptr %38, i64 2
%40 = load i64, ptr %39, align 8
%41 = trunc i64 %40 to i32
%42 = shl i32 %41, 8
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, %42
store i32 %44, ptr %8, align 4
%45 = load ptr, ptr %12, align 8
%46 = getelementptr inbounds i64, ptr %45, i64 3
%47 = load i64, ptr %46, align 8
%48 = trunc i64 %47 to i32
%49 = load i32, ptr %8, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %8, align 4
%51 = load ptr, ptr %12, align 8
%52 = getelementptr inbounds i64, ptr %51, i64 4
%53 = load i64, ptr %52, align 8
%54 = trunc i64 %53 to i32
%55 = shl i32 %54, 24
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %9, align 4
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds i64, ptr %58, i64 5
%60 = load i64, ptr %59, align 8
%61 = trunc i64 %60 to i32
%62 = shl i32 %61, 16
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, %62
store i32 %64, ptr %9, align 4
%65 = load ptr, ptr %12, align 8
%66 = getelementptr inbounds i64, ptr %65, i64 6
%67 = load i64, ptr %66, align 8
%68 = trunc i64 %67 to i32
%69 = shl i32 %68, 8
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, %69
store i32 %71, ptr %9, align 4
%72 = load ptr, ptr %12, align 8
%73 = getelementptr inbounds i64, ptr %72, i64 7
%74 = load i64, ptr %73, align 8
%75 = trunc i64 %74 to i32
%76 = load i32, ptr %9, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %9, align 4
%78 = load ptr, ptr %12, align 8
%79 = getelementptr inbounds i64, ptr %78, i64 8
%80 = load i64, ptr %79, align 8
%81 = trunc i64 %80 to i32
%82 = shl i32 %81, 24
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %83, %82
store i32 %84, ptr %10, align 4
%85 = load ptr, ptr %12, align 8
%86 = getelementptr inbounds i64, ptr %85, i64 9
%87 = load i64, ptr %86, align 8
%88 = trunc i64 %87 to i32
%89 = shl i32 %88, 16
%90 = load i32, ptr %10, align 4
%91 = add nsw i32 %90, %89
store i32 %91, ptr %10, align 4
%92 = load ptr, ptr %12, align 8
%93 = getelementptr inbounds i64, ptr %92, i64 10
%94 = load i64, ptr %93, align 8
%95 = trunc i64 %94 to i32
%96 = shl i32 %95, 8
%97 = load i32, ptr %10, align 4
%98 = add nsw i32 %97, %96
store i32 %98, ptr %10, align 4
%99 = load ptr, ptr %12, align 8
%100 = getelementptr inbounds i64, ptr %99, i64 11
%101 = load i64, ptr %100, align 8
%102 = trunc i64 %101 to i32
%103 = load i32, ptr %10, align 4
%104 = add nsw i32 %103, %102
store i32 %104, ptr %10, align 4
%105 = load i32, ptr %10, align 4
%106 = load i32, ptr %8, align 4
%107 = sub nsw i32 %106, %105
store i32 %107, ptr %8, align 4
%108 = load i32, ptr %10, align 4
%109 = shl i32 %108, 4
%110 = load i32, ptr %10, align 4
%111 = ashr i32 %110, 28
%112 = or i32 %109, %111
%113 = load i32, ptr %8, align 4
%114 = xor i32 %113, %112
store i32 %114, ptr %8, align 4
%115 = load i32, ptr %9, align 4
%116 = load i32, ptr %10, align 4
%117 = add nsw i32 %116, %115
store i32 %117, ptr %10, align 4
%118 = load i32, ptr %8, align 4
%119 = load i32, ptr %9, align 4
%120 = sub nsw i32 %119, %118
store i32 %120, ptr %9, align 4
%121 = load i32, ptr %8, align 4
%122 = shl i32 %121, 6
%123 = load i32, ptr %8, align 4
%124 = ashr i32 %123, 26
%125 = or i32 %122, %124
%126 = load i32, ptr %9, align 4
%127 = xor i32 %126, %125
store i32 %127, ptr %9, align 4
%128 = load i32, ptr %10, align 4
%129 = load i32, ptr %8, align 4
%130 = add nsw i32 %129, %128
store i32 %130, ptr %8, align 4
%131 = load i32, ptr %9, align 4
%132 = load i32, ptr %10, align 4
%133 = sub nsw i32 %132, %131
store i32 %133, ptr %10, align 4
%134 = load i32, ptr %9, align 4
%135 = shl i32 %134, 8
%136 = load i32, ptr %9, align 4
%137 = ashr i32 %136, 24
%138 = or i32 %135, %137
%139 = load i32, ptr %10, align 4
%140 = xor i32 %139, %138
store i32 %140, ptr %10, align 4
%141 = load i32, ptr %8, align 4
%142 = load i32, ptr %9, align 4
%143 = add nsw i32 %142, %141
store i32 %143, ptr %9, align 4
%144 = load i32, ptr %10, align 4
%145 = load i32, ptr %8, align 4
%146 = sub nsw i32 %145, %144
store i32 %146, ptr %8, align 4
%147 = load i32, ptr %10, align 4
%148 = shl i32 %147, 16
%149 = load i32, ptr %10, align 4
%150 = ashr i32 %149, 16
%151 = or i32 %148, %150
%152 = load i32, ptr %8, align 4
%153 = xor i32 %152, %151
store i32 %153, ptr %8, align 4
%154 = load i32, ptr %9, align 4
%155 = load i32, ptr %10, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %10, align 4
%157 = load i32, ptr %8, align 4
%158 = load i32, ptr %9, align 4
%159 = sub nsw i32 %158, %157
store i32 %159, ptr %9, align 4
%160 = load i32, ptr %8, align 4
%161 = shl i32 %160, 19
%162 = load i32, ptr %8, align 4
%163 = ashr i32 %162, 13
%164 = or i32 %161, %163
%165 = load i32, ptr %9, align 4
%166 = xor i32 %165, %164
store i32 %166, ptr %9, align 4
%167 = load i32, ptr %10, align 4
%168 = load i32, ptr %8, align 4
%169 = add nsw i32 %168, %167
store i32 %169, ptr %8, align 4
%170 = load i32, ptr %9, align 4
%171 = load i32, ptr %10, align 4
%172 = sub nsw i32 %171, %170
store i32 %172, ptr %10, align 4
%173 = load i32, ptr %9, align 4
%174 = shl i32 %173, 4
%175 = load i32, ptr %9, align 4
%176 = ashr i32 %175, 28
%177 = or i32 %174, %176
%178 = load i32, ptr %10, align 4
%179 = xor i32 %178, %177
store i32 %179, ptr %10, align 4
%180 = load i32, ptr %8, align 4
%181 = load i32, ptr %9, align 4
%182 = add nsw i32 %181, %180
store i32 %182, ptr %9, align 4
%183 = load i64, ptr %6, align 8
%184 = sub i64 %183, 12
store i64 %184, ptr %6, align 8
%185 = load ptr, ptr %12, align 8
%186 = getelementptr inbounds i64, ptr %185, i64 12
store ptr %186, ptr %12, align 8
br label %20, !llvm.loop !6
187: ; preds = %20
%188 = load i64, ptr %6, align 8
switch i64 %188, label %287 [
i64 12, label %189
i64 11, label %197
i64 10, label %205
i64 9, label %213
i64 8, label %221
i64 7, label %229
i64 6, label %237
i64 5, label %245
i64 4, label %253
i64 3, label %261
i64 2, label %269
i64 1, label %277
i64 0, label %285
]
189: ; preds = %187
%190 = load ptr, ptr %12, align 8
%191 = getelementptr inbounds i64, ptr %190, i64 11
%192 = load i64, ptr %191, align 8
%193 = load i32, ptr %10, align 4
%194 = sext i32 %193 to i64
%195 = add nsw i64 %194, %192
%196 = trunc i64 %195 to i32
store i32 %196, ptr %10, align 4
br label %197
197: ; preds = %187, %189
%198 = load ptr, ptr %12, align 8
%199 = getelementptr inbounds i64, ptr %198, i64 10
%200 = load i64, ptr %199, align 8
%201 = trunc i64 %200 to i32
%202 = shl i32 %201, 8
%203 = load i32, ptr %10, align 4
%204 = add nsw i32 %203, %202
store i32 %204, ptr %10, align 4
br label %205
205: ; preds = %187, %197
%206 = load ptr, ptr %12, align 8
%207 = getelementptr inbounds i64, ptr %206, i64 9
%208 = load i64, ptr %207, align 8
%209 = trunc i64 %208 to i32
%210 = shl i32 %209, 16
%211 = load i32, ptr %10, align 4
%212 = add nsw i32 %211, %210
store i32 %212, ptr %10, align 4
br label %213
213: ; preds = %187, %205
%214 = load ptr, ptr %12, align 8
%215 = getelementptr inbounds i64, ptr %214, i64 8
%216 = load i64, ptr %215, align 8
%217 = trunc i64 %216 to i32
%218 = shl i32 %217, 24
%219 = load i32, ptr %10, align 4
%220 = add nsw i32 %219, %218
store i32 %220, ptr %10, align 4
br label %221
221: ; preds = %187, %213
%222 = load ptr, ptr %12, align 8
%223 = getelementptr inbounds i64, ptr %222, i64 7
%224 = load i64, ptr %223, align 8
%225 = load i32, ptr %9, align 4
%226 = sext i32 %225 to i64
%227 = add nsw i64 %226, %224
%228 = trunc i64 %227 to i32
store i32 %228, ptr %9, align 4
br label %229
229: ; preds = %187, %221
%230 = load ptr, ptr %12, align 8
%231 = getelementptr inbounds i64, ptr %230, i64 6
%232 = load i64, ptr %231, align 8
%233 = trunc i64 %232 to i32
%234 = shl i32 %233, 8
%235 = load i32, ptr %9, align 4
%236 = add nsw i32 %235, %234
store i32 %236, ptr %9, align 4
br label %237
237: ; preds = %187, %229
%238 = load ptr, ptr %12, align 8
%239 = getelementptr inbounds i64, ptr %238, i64 5
%240 = load i64, ptr %239, align 8
%241 = trunc i64 %240 to i32
%242 = shl i32 %241, 16
%243 = load i32, ptr %9, align 4
%244 = add nsw i32 %243, %242
store i32 %244, ptr %9, align 4
br label %245
245: ; preds = %187, %237
%246 = load ptr, ptr %12, align 8
%247 = getelementptr inbounds i64, ptr %246, i64 4
%248 = load i64, ptr %247, align 8
%249 = trunc i64 %248 to i32
%250 = shl i32 %249, 24
%251 = load i32, ptr %9, align 4
%252 = add nsw i32 %251, %250
store i32 %252, ptr %9, align 4
br label %253
253: ; preds = %187, %245
%254 = load ptr, ptr %12, align 8
%255 = getelementptr inbounds i64, ptr %254, i64 3
%256 = load i64, ptr %255, align 8
%257 = load i32, ptr %8, align 4
%258 = sext i32 %257 to i64
%259 = add nsw i64 %258, %256
%260 = trunc i64 %259 to i32
store i32 %260, ptr %8, align 4
br label %261
261: ; preds = %187, %253
%262 = load ptr, ptr %12, align 8
%263 = getelementptr inbounds i64, ptr %262, i64 2
%264 = load i64, ptr %263, align 8
%265 = trunc i64 %264 to i32
%266 = shl i32 %265, 8
%267 = load i32, ptr %8, align 4
%268 = add nsw i32 %267, %266
store i32 %268, ptr %8, align 4
br label %269
269: ; preds = %187, %261
%270 = load ptr, ptr %12, align 8
%271 = getelementptr inbounds i64, ptr %270, i64 1
%272 = load i64, ptr %271, align 8
%273 = trunc i64 %272 to i32
%274 = shl i32 %273, 16
%275 = load i32, ptr %8, align 4
%276 = add nsw i32 %275, %274
store i32 %276, ptr %8, align 4
br label %277
277: ; preds = %187, %269
%278 = load ptr, ptr %12, align 8
%279 = getelementptr inbounds i64, ptr %278, i64 0
%280 = load i64, ptr %279, align 8
%281 = trunc i64 %280 to i32
%282 = shl i32 %281, 24
%283 = load i32, ptr %8, align 4
%284 = add nsw i32 %283, %282
store i32 %284, ptr %8, align 4
br label %287
285: ; preds = %187
%286 = load i32, ptr %10, align 4
store i32 %286, ptr %4, align 4
br label %359
287: ; preds = %187, %277
%288 = load i32, ptr %9, align 4
%289 = load i32, ptr %10, align 4
%290 = xor i32 %289, %288
store i32 %290, ptr %10, align 4
%291 = load i32, ptr %9, align 4
%292 = shl i32 %291, 14
%293 = load i32, ptr %9, align 4
%294 = ashr i32 %293, 18
%295 = or i32 %292, %294
%296 = load i32, ptr %10, align 4
%297 = sub nsw i32 %296, %295
store i32 %297, ptr %10, align 4
%298 = load i32, ptr %10, align 4
%299 = load i32, ptr %8, align 4
%300 = xor i32 %299, %298
store i32 %300, ptr %8, align 4
%301 = load i32, ptr %10, align 4
%302 = shl i32 %301, 11
%303 = load i32, ptr %10, align 4
%304 = ashr i32 %303, 21
%305 = or i32 %302, %304
%306 = load i32, ptr %8, align 4
%307 = sub nsw i32 %306, %305
store i32 %307, ptr %8, align 4
%308 = load i32, ptr %8, align 4
%309 = load i32, ptr %9, align 4
%310 = xor i32 %309, %308
store i32 %310, ptr %9, align 4
%311 = load i32, ptr %8, align 4
%312 = shl i32 %311, 25
%313 = load i32, ptr %8, align 4
%314 = ashr i32 %313, 7
%315 = or i32 %312, %314
%316 = load i32, ptr %9, align 4
%317 = sub nsw i32 %316, %315
store i32 %317, ptr %9, align 4
%318 = load i32, ptr %9, align 4
%319 = load i32, ptr %10, align 4
%320 = xor i32 %319, %318
store i32 %320, ptr %10, align 4
%321 = load i32, ptr %9, align 4
%322 = shl i32 %321, 16
%323 = load i32, ptr %9, align 4
%324 = ashr i32 %323, 16
%325 = or i32 %322, %324
%326 = load i32, ptr %10, align 4
%327 = sub nsw i32 %326, %325
store i32 %327, ptr %10, align 4
%328 = load i32, ptr %10, align 4
%329 = load i32, ptr %8, align 4
%330 = xor i32 %329, %328
store i32 %330, ptr %8, align 4
%331 = load i32, ptr %10, align 4
%332 = shl i32 %331, 4
%333 = load i32, ptr %10, align 4
%334 = ashr i32 %333, 28
%335 = or i32 %332, %334
%336 = load i32, ptr %8, align 4
%337 = sub nsw i32 %336, %335
store i32 %337, ptr %8, align 4
%338 = load i32, ptr %8, align 4
%339 = load i32, ptr %9, align 4
%340 = xor i32 %339, %338
store i32 %340, ptr %9, align 4
%341 = load i32, ptr %8, align 4
%342 = shl i32 %341, 14
%343 = load i32, ptr %8, align 4
%344 = ashr i32 %343, 18
%345 = or i32 %342, %344
%346 = load i32, ptr %9, align 4
%347 = sub nsw i32 %346, %345
store i32 %347, ptr %9, align 4
%348 = load i32, ptr %9, align 4
%349 = load i32, ptr %10, align 4
%350 = xor i32 %349, %348
store i32 %350, ptr %10, align 4
%351 = load i32, ptr %9, align 4
%352 = shl i32 %351, 24
%353 = load i32, ptr %9, align 4
%354 = ashr i32 %353, 8
%355 = or i32 %352, %354
%356 = load i32, ptr %10, align 4
%357 = sub nsw i32 %356, %355
store i32 %357, ptr %10, align 4
%358 = load i32, ptr %10, align 4
store i32 %358, ptr %4, align 4
br label %359
359: ; preds = %287, %285
%360 = load i32, ptr %4, align 4
ret i32 %360
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp5f9oug9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hashbig(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %union.anon, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%13 = load i64, ptr %6, align 8
%14 = trunc i64 %13 to i32
%15 = add i32 -559038737, %14
%16 = load i32, ptr %7, align 4
%17 = add i32 %15, %16
store i32 %17, ptr %10, align 4
store i32 %17, ptr %9, align 4
store i32 %17, ptr %8, align 4
%18 = load ptr, ptr %5, align 8
store ptr %18, ptr %11, align 8
%19 = load ptr, ptr %5, align 8
store ptr %19, ptr %12, align 8
%20 = load i64, ptr %6, align 8
%21 = icmp ugt i64 %20, 12
br i1 %21, label %.lr.ph, label %188
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %22
%23 = load ptr, ptr %12, align 8
%24 = getelementptr inbounds i64, ptr %23, i64 0
%25 = load i64, ptr %24, align 8
%26 = trunc i64 %25 to i32
%27 = shl i32 %26, 24
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, %27
store i32 %29, ptr %8, align 4
%30 = load ptr, ptr %12, align 8
%31 = getelementptr inbounds i64, ptr %30, i64 1
%32 = load i64, ptr %31, align 8
%33 = trunc i64 %32 to i32
%34 = shl i32 %33, 16
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %8, align 4
%37 = load ptr, ptr %12, align 8
%38 = getelementptr inbounds i64, ptr %37, i64 2
%39 = load i64, ptr %38, align 8
%40 = trunc i64 %39 to i32
%41 = shl i32 %40, 8
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, %41
store i32 %43, ptr %8, align 4
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds i64, ptr %44, i64 3
%46 = load i64, ptr %45, align 8
%47 = trunc i64 %46 to i32
%48 = load i32, ptr %8, align 4
%49 = add nsw i32 %48, %47
store i32 %49, ptr %8, align 4
%50 = load ptr, ptr %12, align 8
%51 = getelementptr inbounds i64, ptr %50, i64 4
%52 = load i64, ptr %51, align 8
%53 = trunc i64 %52 to i32
%54 = shl i32 %53, 24
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, %54
store i32 %56, ptr %9, align 4
%57 = load ptr, ptr %12, align 8
%58 = getelementptr inbounds i64, ptr %57, i64 5
%59 = load i64, ptr %58, align 8
%60 = trunc i64 %59 to i32
%61 = shl i32 %60, 16
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, %61
store i32 %63, ptr %9, align 4
%64 = load ptr, ptr %12, align 8
%65 = getelementptr inbounds i64, ptr %64, i64 6
%66 = load i64, ptr %65, align 8
%67 = trunc i64 %66 to i32
%68 = shl i32 %67, 8
%69 = load i32, ptr %9, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %9, align 4
%71 = load ptr, ptr %12, align 8
%72 = getelementptr inbounds i64, ptr %71, i64 7
%73 = load i64, ptr %72, align 8
%74 = trunc i64 %73 to i32
%75 = load i32, ptr %9, align 4
%76 = add nsw i32 %75, %74
store i32 %76, ptr %9, align 4
%77 = load ptr, ptr %12, align 8
%78 = getelementptr inbounds i64, ptr %77, i64 8
%79 = load i64, ptr %78, align 8
%80 = trunc i64 %79 to i32
%81 = shl i32 %80, 24
%82 = load i32, ptr %10, align 4
%83 = add nsw i32 %82, %81
store i32 %83, ptr %10, align 4
%84 = load ptr, ptr %12, align 8
%85 = getelementptr inbounds i64, ptr %84, i64 9
%86 = load i64, ptr %85, align 8
%87 = trunc i64 %86 to i32
%88 = shl i32 %87, 16
%89 = load i32, ptr %10, align 4
%90 = add nsw i32 %89, %88
store i32 %90, ptr %10, align 4
%91 = load ptr, ptr %12, align 8
%92 = getelementptr inbounds i64, ptr %91, i64 10
%93 = load i64, ptr %92, align 8
%94 = trunc i64 %93 to i32
%95 = shl i32 %94, 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, %95
store i32 %97, ptr %10, align 4
%98 = load ptr, ptr %12, align 8
%99 = getelementptr inbounds i64, ptr %98, i64 11
%100 = load i64, ptr %99, align 8
%101 = trunc i64 %100 to i32
%102 = load i32, ptr %10, align 4
%103 = add nsw i32 %102, %101
store i32 %103, ptr %10, align 4
%104 = load i32, ptr %10, align 4
%105 = load i32, ptr %8, align 4
%106 = sub nsw i32 %105, %104
store i32 %106, ptr %8, align 4
%107 = load i32, ptr %10, align 4
%108 = shl i32 %107, 4
%109 = load i32, ptr %10, align 4
%110 = ashr i32 %109, 28
%111 = or i32 %108, %110
%112 = load i32, ptr %8, align 4
%113 = xor i32 %112, %111
store i32 %113, ptr %8, align 4
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %10, align 4
%116 = add nsw i32 %115, %114
store i32 %116, ptr %10, align 4
%117 = load i32, ptr %8, align 4
%118 = load i32, ptr %9, align 4
%119 = sub nsw i32 %118, %117
store i32 %119, ptr %9, align 4
%120 = load i32, ptr %8, align 4
%121 = shl i32 %120, 6
%122 = load i32, ptr %8, align 4
%123 = ashr i32 %122, 26
%124 = or i32 %121, %123
%125 = load i32, ptr %9, align 4
%126 = xor i32 %125, %124
store i32 %126, ptr %9, align 4
%127 = load i32, ptr %10, align 4
%128 = load i32, ptr %8, align 4
%129 = add nsw i32 %128, %127
store i32 %129, ptr %8, align 4
%130 = load i32, ptr %9, align 4
%131 = load i32, ptr %10, align 4
%132 = sub nsw i32 %131, %130
store i32 %132, ptr %10, align 4
%133 = load i32, ptr %9, align 4
%134 = shl i32 %133, 8
%135 = load i32, ptr %9, align 4
%136 = ashr i32 %135, 24
%137 = or i32 %134, %136
%138 = load i32, ptr %10, align 4
%139 = xor i32 %138, %137
store i32 %139, ptr %10, align 4
%140 = load i32, ptr %8, align 4
%141 = load i32, ptr %9, align 4
%142 = add nsw i32 %141, %140
store i32 %142, ptr %9, align 4
%143 = load i32, ptr %10, align 4
%144 = load i32, ptr %8, align 4
%145 = sub nsw i32 %144, %143
store i32 %145, ptr %8, align 4
%146 = load i32, ptr %10, align 4
%147 = shl i32 %146, 16
%148 = load i32, ptr %10, align 4
%149 = ashr i32 %148, 16
%150 = or i32 %147, %149
%151 = load i32, ptr %8, align 4
%152 = xor i32 %151, %150
store i32 %152, ptr %8, align 4
%153 = load i32, ptr %9, align 4
%154 = load i32, ptr %10, align 4
%155 = add nsw i32 %154, %153
store i32 %155, ptr %10, align 4
%156 = load i32, ptr %8, align 4
%157 = load i32, ptr %9, align 4
%158 = sub nsw i32 %157, %156
store i32 %158, ptr %9, align 4
%159 = load i32, ptr %8, align 4
%160 = shl i32 %159, 19
%161 = load i32, ptr %8, align 4
%162 = ashr i32 %161, 13
%163 = or i32 %160, %162
%164 = load i32, ptr %9, align 4
%165 = xor i32 %164, %163
store i32 %165, ptr %9, align 4
%166 = load i32, ptr %10, align 4
%167 = load i32, ptr %8, align 4
%168 = add nsw i32 %167, %166
store i32 %168, ptr %8, align 4
%169 = load i32, ptr %9, align 4
%170 = load i32, ptr %10, align 4
%171 = sub nsw i32 %170, %169
store i32 %171, ptr %10, align 4
%172 = load i32, ptr %9, align 4
%173 = shl i32 %172, 4
%174 = load i32, ptr %9, align 4
%175 = ashr i32 %174, 28
%176 = or i32 %173, %175
%177 = load i32, ptr %10, align 4
%178 = xor i32 %177, %176
store i32 %178, ptr %10, align 4
%179 = load i32, ptr %8, align 4
%180 = load i32, ptr %9, align 4
%181 = add nsw i32 %180, %179
store i32 %181, ptr %9, align 4
%182 = load i64, ptr %6, align 8
%183 = sub i64 %182, 12
store i64 %183, ptr %6, align 8
%184 = load ptr, ptr %12, align 8
%185 = getelementptr inbounds i64, ptr %184, i64 12
store ptr %185, ptr %12, align 8
%186 = load i64, ptr %6, align 8
%187 = icmp ugt i64 %186, 12
br i1 %187, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %188
188: ; preds = %._crit_edge, %3
%189 = load i64, ptr %6, align 8
switch i64 %189, label %288 [
i64 12, label %190
i64 11, label %198
i64 10, label %206
i64 9, label %214
i64 8, label %222
i64 7, label %230
i64 6, label %238
i64 5, label %246
i64 4, label %254
i64 3, label %262
i64 2, label %270
i64 1, label %278
i64 0, label %286
]
190: ; preds = %188
%191 = load ptr, ptr %12, align 8
%192 = getelementptr inbounds i64, ptr %191, i64 11
%193 = load i64, ptr %192, align 8
%194 = load i32, ptr %10, align 4
%195 = sext i32 %194 to i64
%196 = add nsw i64 %195, %193
%197 = trunc i64 %196 to i32
store i32 %197, ptr %10, align 4
br label %198
198: ; preds = %190, %188
%199 = load ptr, ptr %12, align 8
%200 = getelementptr inbounds i64, ptr %199, i64 10
%201 = load i64, ptr %200, align 8
%202 = trunc i64 %201 to i32
%203 = shl i32 %202, 8
%204 = load i32, ptr %10, align 4
%205 = add nsw i32 %204, %203
store i32 %205, ptr %10, align 4
br label %206
206: ; preds = %198, %188
%207 = load ptr, ptr %12, align 8
%208 = getelementptr inbounds i64, ptr %207, i64 9
%209 = load i64, ptr %208, align 8
%210 = trunc i64 %209 to i32
%211 = shl i32 %210, 16
%212 = load i32, ptr %10, align 4
%213 = add nsw i32 %212, %211
store i32 %213, ptr %10, align 4
br label %214
214: ; preds = %206, %188
%215 = load ptr, ptr %12, align 8
%216 = getelementptr inbounds i64, ptr %215, i64 8
%217 = load i64, ptr %216, align 8
%218 = trunc i64 %217 to i32
%219 = shl i32 %218, 24
%220 = load i32, ptr %10, align 4
%221 = add nsw i32 %220, %219
store i32 %221, ptr %10, align 4
br label %222
222: ; preds = %214, %188
%223 = load ptr, ptr %12, align 8
%224 = getelementptr inbounds i64, ptr %223, i64 7
%225 = load i64, ptr %224, align 8
%226 = load i32, ptr %9, align 4
%227 = sext i32 %226 to i64
%228 = add nsw i64 %227, %225
%229 = trunc i64 %228 to i32
store i32 %229, ptr %9, align 4
br label %230
230: ; preds = %222, %188
%231 = load ptr, ptr %12, align 8
%232 = getelementptr inbounds i64, ptr %231, i64 6
%233 = load i64, ptr %232, align 8
%234 = trunc i64 %233 to i32
%235 = shl i32 %234, 8
%236 = load i32, ptr %9, align 4
%237 = add nsw i32 %236, %235
store i32 %237, ptr %9, align 4
br label %238
238: ; preds = %230, %188
%239 = load ptr, ptr %12, align 8
%240 = getelementptr inbounds i64, ptr %239, i64 5
%241 = load i64, ptr %240, align 8
%242 = trunc i64 %241 to i32
%243 = shl i32 %242, 16
%244 = load i32, ptr %9, align 4
%245 = add nsw i32 %244, %243
store i32 %245, ptr %9, align 4
br label %246
246: ; preds = %238, %188
%247 = load ptr, ptr %12, align 8
%248 = getelementptr inbounds i64, ptr %247, i64 4
%249 = load i64, ptr %248, align 8
%250 = trunc i64 %249 to i32
%251 = shl i32 %250, 24
%252 = load i32, ptr %9, align 4
%253 = add nsw i32 %252, %251
store i32 %253, ptr %9, align 4
br label %254
254: ; preds = %246, %188
%255 = load ptr, ptr %12, align 8
%256 = getelementptr inbounds i64, ptr %255, i64 3
%257 = load i64, ptr %256, align 8
%258 = load i32, ptr %8, align 4
%259 = sext i32 %258 to i64
%260 = add nsw i64 %259, %257
%261 = trunc i64 %260 to i32
store i32 %261, ptr %8, align 4
br label %262
262: ; preds = %254, %188
%263 = load ptr, ptr %12, align 8
%264 = getelementptr inbounds i64, ptr %263, i64 2
%265 = load i64, ptr %264, align 8
%266 = trunc i64 %265 to i32
%267 = shl i32 %266, 8
%268 = load i32, ptr %8, align 4
%269 = add nsw i32 %268, %267
store i32 %269, ptr %8, align 4
br label %270
270: ; preds = %262, %188
%271 = load ptr, ptr %12, align 8
%272 = getelementptr inbounds i64, ptr %271, i64 1
%273 = load i64, ptr %272, align 8
%274 = trunc i64 %273 to i32
%275 = shl i32 %274, 16
%276 = load i32, ptr %8, align 4
%277 = add nsw i32 %276, %275
store i32 %277, ptr %8, align 4
br label %278
278: ; preds = %270, %188
%279 = load ptr, ptr %12, align 8
%280 = getelementptr inbounds i64, ptr %279, i64 0
%281 = load i64, ptr %280, align 8
%282 = trunc i64 %281 to i32
%283 = shl i32 %282, 24
%284 = load i32, ptr %8, align 4
%285 = add nsw i32 %284, %283
store i32 %285, ptr %8, align 4
br label %288
286: ; preds = %188
%287 = load i32, ptr %10, align 4
store i32 %287, ptr %4, align 4
br label %360
288: ; preds = %278, %188
%289 = load i32, ptr %9, align 4
%290 = load i32, ptr %10, align 4
%291 = xor i32 %290, %289
store i32 %291, ptr %10, align 4
%292 = load i32, ptr %9, align 4
%293 = shl i32 %292, 14
%294 = load i32, ptr %9, align 4
%295 = ashr i32 %294, 18
%296 = or i32 %293, %295
%297 = load i32, ptr %10, align 4
%298 = sub nsw i32 %297, %296
store i32 %298, ptr %10, align 4
%299 = load i32, ptr %10, align 4
%300 = load i32, ptr %8, align 4
%301 = xor i32 %300, %299
store i32 %301, ptr %8, align 4
%302 = load i32, ptr %10, align 4
%303 = shl i32 %302, 11
%304 = load i32, ptr %10, align 4
%305 = ashr i32 %304, 21
%306 = or i32 %303, %305
%307 = load i32, ptr %8, align 4
%308 = sub nsw i32 %307, %306
store i32 %308, ptr %8, align 4
%309 = load i32, ptr %8, align 4
%310 = load i32, ptr %9, align 4
%311 = xor i32 %310, %309
store i32 %311, ptr %9, align 4
%312 = load i32, ptr %8, align 4
%313 = shl i32 %312, 25
%314 = load i32, ptr %8, align 4
%315 = ashr i32 %314, 7
%316 = or i32 %313, %315
%317 = load i32, ptr %9, align 4
%318 = sub nsw i32 %317, %316
store i32 %318, ptr %9, align 4
%319 = load i32, ptr %9, align 4
%320 = load i32, ptr %10, align 4
%321 = xor i32 %320, %319
store i32 %321, ptr %10, align 4
%322 = load i32, ptr %9, align 4
%323 = shl i32 %322, 16
%324 = load i32, ptr %9, align 4
%325 = ashr i32 %324, 16
%326 = or i32 %323, %325
%327 = load i32, ptr %10, align 4
%328 = sub nsw i32 %327, %326
store i32 %328, ptr %10, align 4
%329 = load i32, ptr %10, align 4
%330 = load i32, ptr %8, align 4
%331 = xor i32 %330, %329
store i32 %331, ptr %8, align 4
%332 = load i32, ptr %10, align 4
%333 = shl i32 %332, 4
%334 = load i32, ptr %10, align 4
%335 = ashr i32 %334, 28
%336 = or i32 %333, %335
%337 = load i32, ptr %8, align 4
%338 = sub nsw i32 %337, %336
store i32 %338, ptr %8, align 4
%339 = load i32, ptr %8, align 4
%340 = load i32, ptr %9, align 4
%341 = xor i32 %340, %339
store i32 %341, ptr %9, align 4
%342 = load i32, ptr %8, align 4
%343 = shl i32 %342, 14
%344 = load i32, ptr %8, align 4
%345 = ashr i32 %344, 18
%346 = or i32 %343, %345
%347 = load i32, ptr %9, align 4
%348 = sub nsw i32 %347, %346
store i32 %348, ptr %9, align 4
%349 = load i32, ptr %9, align 4
%350 = load i32, ptr %10, align 4
%351 = xor i32 %350, %349
store i32 %351, ptr %10, align 4
%352 = load i32, ptr %9, align 4
%353 = shl i32 %352, 24
%354 = load i32, ptr %9, align 4
%355 = ashr i32 %354, 8
%356 = or i32 %353, %355
%357 = load i32, ptr %10, align 4
%358 = sub nsw i32 %357, %356
store i32 %358, ptr %10, align 4
%359 = load i32, ptr %10, align 4
store i32 %359, ptr %4, align 4
br label %360
360: ; preds = %288, %286
%361 = load i32, ptr %4, align 4
ret i32 %361
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfz04h7g_.c'
source_filename = "/tmp/tmpfz04h7g_.c"
target datalayout = "e-m:e-p270: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/tmpfz04h7g_.c"
target datalayout = "e-m:e-p270: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/tmpo477p_ov.c'
source_filename = "/tmp/tmpo477p_ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [322 x i8] c"1. progname blend x86|ssse3|sse4|sse4-2 filename-back.ppm filename-fore.ppm alpha\0A2. progname measure x86|ssse3|sse4|sse4-2 iterations\0A\0A1. Program loads two PPM files and constant alpha, then perform blending and save back result (use to verify)\0A2. Program runs selected procedure in a loop with given number iterations\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo477p_ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [322 x i8] c"1. progname blend x86|ssse3|sse4|sse4-2 filename-back.ppm filename-fore.ppm alpha\0A2. progname measure x86|ssse3|sse4|sse4-2 iterations\0A\0A1. Program loads two PPM files and constant alpha, then perform blending and save back result (use to verify)\0A2. Program runs selected procedure in a loop with given number iterations\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @help() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
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"}
|
; ModuleID = '/tmp/tmpfa5y07f2.c'
source_filename = "/tmp/tmpfa5y07f2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"SEEK_SET\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"SEEK_CUR\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"SEEK_END\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_seek_flag(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load i32, ptr @SEEK_SET, align 4
%9 = load i32, ptr %3, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %3, align 4
br label %29
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load i32, ptr @SEEK_CUR, align 4
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %3, align 4
br label %28
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp ne i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = load i32, ptr @SEEK_END, align 4
%25 = load i32, ptr %3, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %23, %19
br label %28
28: ; preds = %27, %15
br label %29
29: ; preds = %28, %7
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfa5y07f2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"SEEK_SET\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"SEEK_CUR\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"SEEK_END\00", align 1
@SEEK_END = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_seek_flag(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne i32 %5, 0
br i1 %6, label %11, label %7
7: ; preds = %1
%8 = load i32, ptr @SEEK_SET, align 4
%9 = load i32, ptr %3, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %3, align 4
br label %29
11: ; preds = %1
%12 = load ptr, ptr %2, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str.1)
%14 = icmp ne i32 %13, 0
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load i32, ptr @SEEK_CUR, align 4
%17 = load i32, ptr %3, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %3, align 4
br label %28
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = call i32 @strcmp(ptr noundef %20, ptr noundef @.str.2)
%22 = icmp ne i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %19
%24 = load i32, ptr @SEEK_END, align 4
%25 = load i32, ptr %3, align 4
%26 = or i32 %25, %24
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %23, %19
br label %28
28: ; preds = %27, %15
br label %29
29: ; preds = %28, %7
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqv7veaow.c'
source_filename = "/tmp/tmpqv7veaow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @TimerEnd(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gettimeofday(ptr noundef %7, i32 noundef 0)
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @timeval_diff(ptr noundef %9, ptr noundef %10, ptr noundef %11)
ret i64 %12
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i64 @timeval_diff(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/tmpqv7veaow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @TimerEnd(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gettimeofday(ptr noundef %7, i32 noundef 0)
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @timeval_diff(ptr noundef %9, ptr noundef %10, ptr noundef %11)
ret i64 %12
}
declare i32 @gettimeofday(ptr noundef, i32 noundef) #1
declare i64 @timeval_diff(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/tmp8kiqm6r1.c'
source_filename = "/tmp/tmp8kiqm6r1.c"
target datalayout = "e-m:e-p270: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/tmp8kiqm6r1.c"
target datalayout = "e-m:e-p270: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/tmpft5lej15.c'
source_filename = "/tmp/tmpft5lej15.c"
target datalayout = "e-m:e-p270: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/tmpft5lej15.c"
target datalayout = "e-m:e-p270: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/tmpw01vy0xw.c'
source_filename = "/tmp/tmpw01vy0xw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @penrose_side_length(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load double, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call double @pow(double noundef 0x3FF9E3779B9486E5, i32 noundef %6)
%8 = fdiv double %5, %7
ret double %8
}
declare double @pow(double 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/tmpw01vy0xw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @penrose_side_length(double noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca i32, align 4
store double %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load double, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call double @pow(double noundef 0x3FF9E3779B9486E5, i32 noundef %6)
%8 = fdiv double %5, %7
ret double %8
}
declare double @pow(double 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/tmpluoi9mmw.c'
source_filename = "/tmp/tmpluoi9mmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %32, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %35
8: ; preds = %5
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %28, %8
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %31
12: ; preds = %9
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %25, %12
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %14, 15
br i1 %15, label %16, label %28
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %18, %19
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %20, %21
%23 = sdiv i32 %22, 3
%24 = add nsw i32 %17, %23
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %16
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 3
store i32 %27, ptr %3, align 4
br label %13, !llvm.loop !6
28: ; preds = %13
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %29, 2
store i32 %30, ptr %2, align 4
br label %9, !llvm.loop !8
31: ; preds = %9
br label %32
32: ; preds = %31
%33 = load i32, ptr %1, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %1, align 4
br label %5, !llvm.loop !9
35: ; preds = %5
%36 = load i32, ptr %4, align 4
%37 = call i32 @print_int(i32 noundef %36)
%38 = call i32 @print_string(ptr noundef @.str)
ret void
}
declare i32 @print_int(i32 noundef) #1
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpluoi9mmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph5, label %38
.lr.ph5: ; preds = %0
br label %7
7: ; preds = %.lr.ph5, %33
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %.lr.ph2, label %32
.lr.ph2: ; preds = %7
br label %10
10: ; preds = %.lr.ph2, %27
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 15
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %22
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %15, %16
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %17, %18
%20 = sdiv i32 %19, 3
%21 = add nsw i32 %14, %20
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %13
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 3
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %25, 15
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %10
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 2
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %30, 10
br i1 %31, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %7
br label %33
33: ; preds = %32
%34 = load i32, ptr %1, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %1, align 4
%36 = load i32, ptr %1, align 4
%37 = icmp slt i32 %36, 5
br i1 %37, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %33
br label %38
38: ; preds = %._crit_edge6, %0
%39 = load i32, ptr %4, align 4
%40 = call i32 @print_int(i32 noundef %39)
%41 = call i32 @print_string(ptr noundef @.str)
ret void
}
declare i32 @print_int(i32 noundef) #1
declare i32 @print_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpt7e9lv3j.c'
source_filename = "/tmp/tmpt7e9lv3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eoi() #0 {
%1 = call i32 @outb(i32 noundef 32, i32 noundef 32)
ret void
}
declare i32 @outb(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/tmpt7e9lv3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eoi() #0 {
%1 = call i32 @outb(i32 noundef 32, i32 noundef 32)
ret void
}
declare i32 @outb(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/tmpyuf0tyoz.c'
source_filename = "/tmp/tmpyuf0tyoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file.in\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"NO SUCH FILE OR DIRECTORY\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"file.out\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @O_RDONLY, align 4
%6 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 28)
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
12: ; preds = %0
%13 = load i32, ptr @O_WRONLY, align 4
%14 = load i32, ptr @O_CREAT, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRUSR, align 4
%17 = load i32, ptr @S_IWUSR, align 4
%18 = or i32 %16, %17
%19 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.2, i32 noundef %15, i32 noundef %18)
store i32 %19, ptr %4, align 4
br label %20
20: ; preds = %24, %12
%21 = load i32, ptr %3, align 4
%22 = call i32 @read(i32 noundef %21, ptr noundef %2, i32 noundef 1)
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %27
24: ; preds = %20
%25 = load i32, ptr %4, align 4
%26 = call i32 @write(i32 noundef %25, ptr noundef %2, i32 noundef 1)
br label %20, !llvm.loop !6
27: ; preds = %20
%28 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyuf0tyoz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"file.in\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [27 x i8] c"NO SUCH FILE OR DIRECTORY\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"file.out\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr @O_RDONLY, align 4
%6 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = call i32 @write(i32 noundef 1, ptr noundef @.str.1, i32 noundef 28)
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
12: ; preds = %0
%13 = load i32, ptr @O_WRONLY, align 4
%14 = load i32, ptr @O_CREAT, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRUSR, align 4
%17 = load i32, ptr @S_IWUSR, align 4
%18 = or i32 %16, %17
%19 = call i32 (ptr, i32, ...) @open(ptr noundef @.str.2, i32 noundef %15, i32 noundef %18)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = call i32 @read(i32 noundef %20, ptr noundef %2, i32 noundef 1)
%22 = icmp eq i32 %21, 1
br i1 %22, label %.lr.ph, label %29
.lr.ph: ; preds = %12
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i32, ptr %4, align 4
%25 = call i32 @write(i32 noundef %24, ptr noundef %2, i32 noundef 1)
%26 = load i32, ptr %3, align 4
%27 = call i32 @read(i32 noundef %26, ptr noundef %2, i32 noundef 1)
%28 = icmp eq i32 %27, 1
br i1 %28, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %12
%30 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpd8im5viy.c'
source_filename = "/tmp/tmpd8im5viy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opdi_is_space(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @isspace(i8 noundef signext %3)
ret i32 %4
}
declare i32 @isspace(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/tmpd8im5viy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opdi_is_space(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @isspace(i8 noundef signext %3)
ret i32 %4
}
declare i32 @isspace(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/tmp_hmvm_r0.c'
source_filename = "/tmp/tmp_hmvm_r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [166 x i8] c"You can input command:\0ACommand type:\22send\22, \22tell\22, \22getu\22, \22exit\22\0AExample: send username message\0A tell username ip:port message\0A getu\0A exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outputusage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hmvm_r0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [166 x i8] c"You can input command:\0ACommand type:\22send\22, \22tell\22, \22getu\22, \22exit\22\0AExample: send username message\0A tell username ip:port message\0A getu\0A exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outputusage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe25inh5f.c'
source_filename = "/tmp/tmpe25inh5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Wrong number of arguments!\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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %10, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe25inh5f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Wrong number of arguments!\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 i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp ne i32 %6, 2
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %15
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %10, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqijunp6q.c'
source_filename = "/tmp/tmpqijunp6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_work_threads(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = call i32 @init_pthread_attr(ptr noundef %13, i32 noundef %16)
store i32 %17, ptr %12, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %5
%20 = load i32, ptr %12, align 4
store i32 %20, ptr %6, align 4
br label %54
21: ; preds = %5
store i32 0, ptr %12, align 4
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %23, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
store ptr %26, ptr %15, align 8
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %14, align 8
br label %28
28: ; preds = %48, %21
%29 = load ptr, ptr %14, align 8
%30 = load ptr, ptr %15, align 8
%31 = icmp ult ptr %29, %30
br i1 %31, label %32, label %51
32: ; preds = %28
%33 = load ptr, ptr %14, align 8
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %9, align 8
%36 = call i32 @pthread_create(ptr noundef %33, ptr noundef %13, ptr noundef %34, ptr noundef %35)
store i32 %36, ptr %12, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %47
38: ; preds = %32
%39 = load ptr, ptr %14, align 8
%40 = load ptr, ptr %10, align 8
%41 = ptrtoint ptr %39 to i64
%42 = ptrtoint ptr %40 to i64
%43 = sub i64 %41, %42
%44 = sdiv exact i64 %43, 4
%45 = trunc i64 %44 to i32
%46 = load ptr, ptr %7, align 8
store i32 %45, ptr %46, align 4
br label %51
47: ; preds = %32
br label %48
48: ; preds = %47
%49 = load ptr, ptr %14, align 8
%50 = getelementptr inbounds i32, ptr %49, i32 1
store ptr %50, ptr %14, align 8
br label %28, !llvm.loop !6
51: ; preds = %38, %28
%52 = call i32 @pthread_attr_destroy(ptr noundef %13)
%53 = load i32, ptr %12, align 4
store i32 %53, ptr %6, align 4
br label %54
54: ; preds = %51, %19
%55 = load i32, ptr %6, align 4
ret i32 %55
}
declare i32 @init_pthread_attr(ptr noundef, i32 noundef) #1
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pthread_attr_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqijunp6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_work_threads(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%16 = load i32, ptr %11, align 4
%17 = call i32 @init_pthread_attr(ptr noundef %13, i32 noundef %16)
store i32 %17, ptr %12, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %5
%20 = load i32, ptr %12, align 4
store i32 %20, ptr %6, align 4
br label %56
21: ; preds = %5
store i32 0, ptr %12, align 4
%22 = load ptr, ptr %10, align 8
%23 = load ptr, ptr %7, align 8
%24 = load i32, ptr %23, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
store ptr %26, ptr %15, align 8
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %14, align 8
%28 = load ptr, ptr %14, align 8
%29 = load ptr, ptr %15, align 8
%30 = icmp ult ptr %28, %29
br i1 %30, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %21
br label %31
31: ; preds = %.lr.ph, %47
%32 = load ptr, ptr %14, align 8
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %9, align 8
%35 = call i32 @pthread_create(ptr noundef %32, ptr noundef %13, ptr noundef %33, ptr noundef %34)
store i32 %35, ptr %12, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %46
37: ; preds = %31
%38 = load ptr, ptr %14, align 8
%39 = load ptr, ptr %10, align 8
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
%43 = sdiv exact i64 %42, 4
%44 = trunc i64 %43 to i32
%45 = load ptr, ptr %7, align 8
store i32 %44, ptr %45, align 4
br label %53
46: ; preds = %31
br label %47
47: ; preds = %46
%48 = load ptr, ptr %14, align 8
%49 = getelementptr inbounds i32, ptr %48, i32 1
store ptr %49, ptr %14, align 8
%50 = load ptr, ptr %14, align 8
%51 = load ptr, ptr %15, align 8
%52 = icmp ult ptr %50, %51
br i1 %52, label %31, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %47
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %21
br label %53
53: ; preds = %.loopexit, %37
%54 = call i32 @pthread_attr_destroy(ptr noundef %13)
%55 = load i32, ptr %12, align 4
store i32 %55, ptr %6, align 4
br label %56
56: ; preds = %53, %19
%57 = load i32, ptr %6, align 4
ret i32 %57
}
declare i32 @init_pthread_attr(ptr noundef, i32 noundef) #1
declare i32 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @pthread_attr_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzur8kcon.c'
source_filename = "/tmp/tmpzur8kcon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KMP_pmt(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr null, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr null, %9
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 0, %12
br i1 %13, label %14, label %15
14: ; preds = %11, %2
store ptr null, ptr %3, align 8
br label %86
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = icmp eq ptr null, %21
br i1 %22, label %23, label %24
23: ; preds = %15
store ptr null, ptr %3, align 8
br label %86
24: ; preds = %15
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 0
store i32 0, ptr %26, align 4
br label %27
27: ; preds = %81, %24
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %84
31: ; preds = %27
br label %32
32: ; preds = %51, %31
%33 = load i32, ptr %8, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %49
35: ; preds = %32
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = zext i8 %40 to i32
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = zext i8 %46 to i32
%48 = icmp ne i32 %41, %47
br label %49
49: ; preds = %35, %32
%50 = phi i1 [ false, %32 ], [ %48, %35 ]
br i1 %50, label %51, label %58
51: ; preds = %49
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %8, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %8, align 4
br label %32, !llvm.loop !6
58: ; preds = %49
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
%63 = load i8, ptr %62, align 1
%64 = zext i8 %63 to i32
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = zext i8 %69 to i32
%71 = icmp eq i32 %64, %70
br i1 %71, label %72, label %75
72: ; preds = %58
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %8, align 4
br label %75
75: ; preds = %72, %58
%76 = load i32, ptr %8, align 4
%77 = load ptr, ptr %6, align 8
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
store i32 %76, ptr %80, align 4
br label %81
81: ; preds = %75
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %7, align 4
br label %27, !llvm.loop !8
84: ; preds = %27
%85 = load ptr, ptr %6, align 8
store ptr %85, ptr %3, align 8
br label %86
86: ; preds = %84, %23, %14
%87 = load ptr, ptr %3, align 8
ret ptr %87
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzur8kcon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @KMP_pmt(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr null, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr null, %9
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = icmp sge i32 0, %12
br i1 %13, label %14, label %15
14: ; preds = %11, %2
store ptr null, ptr %3, align 8
br label %88
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 4, %17
%19 = trunc i64 %18 to i32
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = icmp eq ptr null, %21
br i1 %22, label %23, label %24
23: ; preds = %15
store ptr null, ptr %3, align 8
br label %88
24: ; preds = %15
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds i32, ptr %25, i64 0
store i32 0, ptr %26, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph, label %86
.lr.ph: ; preds = %24
br label %30
30: ; preds = %.lr.ph, %80
br label %31
31: ; preds = %50, %30
%32 = load i32, ptr %8, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %48
34: ; preds = %31
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = zext i8 %39 to i32
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = zext i8 %45 to i32
%47 = icmp ne i32 %40, %46
br label %48
48: ; preds = %34, %31
%49 = phi i1 [ false, %31 ], [ %47, %34 ]
br i1 %49, label %50, label %57
50: ; preds = %48
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %8, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
%56 = load i32, ptr %55, align 4
store i32 %56, ptr %8, align 4
br label %31, !llvm.loop !6
57: ; preds = %48
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = zext i8 %62 to i32
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
%68 = load i8, ptr %67, align 1
%69 = zext i8 %68 to i32
%70 = icmp eq i32 %63, %69
br i1 %70, label %71, label %74
71: ; preds = %57
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
br label %74
74: ; preds = %71, %57
%75 = load i32, ptr %8, align 4
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr %7, 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 %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %5, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %30, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %80
br label %86
86: ; preds = %._crit_edge, %24
%87 = load ptr, ptr %6, align 8
store ptr %87, ptr %3, align 8
br label %88
88: ; preds = %86, %23, %14
%89 = load ptr, ptr %3, align 8
ret ptr %89
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjdqhmxee.c'
source_filename = "/tmp/tmpjdqhmxee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyy() #0 {
%1 = call i32 (...) @zzzzzzz()
ret void
}
declare i32 @zzzzzzz(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdqhmxee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yyy() #0 {
%1 = call i32 (...) @zzzzzzz()
ret void
}
declare i32 @zzzzzzz(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp25p0x3xg.c'
source_filename = "/tmp/tmp25p0x3xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Insira seu ano de nascimento: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Sua idade eh: %d\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = sub nsw i32 2017, %5
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp25p0x3xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"Insira seu ano de nascimento: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Sua idade eh: %d\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 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = sub nsw i32 2017, %5
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyc5sc7ir.c'
source_filename = "/tmp/tmpyc5sc7ir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %31, %2
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %34
15: ; preds = %7
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr %5, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %21, %23
br i1 %24, label %25, label %30
25: ; preds = %15
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store ptr %29, ptr %3, align 8
br label %35
30: ; preds = %15
br label %31
31: ; preds = %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
store ptr null, ptr %3, align 8
br label %35
35: ; preds = %34, %25
%36 = load ptr, ptr %3, align 8
ret ptr %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyc5sc7ir.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %6, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %40
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %30
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %5, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %29
24: ; preds = %14
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store ptr %28, ptr %3, align 8
br label %41
29: ; preds = %14
br label %30
30: ; preds = %29
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %40
40: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %41
41: ; preds = %40, %24
%42 = load ptr, ptr %3, align 8
ret ptr %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxf68m3uv.c'
source_filename = "/tmp/tmpxf68m3uv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"ls -l /dev/pts\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"posix_openpt\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"grantpt\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"unlockpt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @system(ptr noundef @.str)
%5 = load i32, ptr @O_RDWR, align 4
%6 = call i32 @posix_openpt(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %27
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = call i32 @grantpt(i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %27
18: ; preds = %11
%19 = load i32, ptr %2, align 4
%20 = call i32 @unlockpt(i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %27
25: ; preds = %18
%26 = call i32 @system(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %27
27: ; preds = %25, %23, %16, %9
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @system(ptr noundef) #1
declare i32 @posix_openpt(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @grantpt(i32 noundef) #1
declare i32 @unlockpt(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/tmpxf68m3uv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"ls -l /dev/pts\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"posix_openpt\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"grantpt\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"unlockpt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @system(ptr noundef @.str)
%5 = load i32, ptr @O_RDWR, align 4
%6 = call i32 @posix_openpt(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %1, align 4
br label %27
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = call i32 @grantpt(i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %27
18: ; preds = %11
%19 = load i32, ptr %2, align 4
%20 = call i32 @unlockpt(i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @perror(ptr noundef @.str.3)
store i32 1, ptr %1, align 4
br label %27
25: ; preds = %18
%26 = call i32 @system(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %27
27: ; preds = %25, %23, %16, %9
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @system(ptr noundef) #1
declare i32 @posix_openpt(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @grantpt(i32 noundef) #1
declare i32 @unlockpt(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/tmpltwkrjtt.c'
source_filename = "/tmp/tmpltwkrjtt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [129 x i8] c"head -1 %s\09\09\09\09\09\09|sed 's/YYYY MM DD/DATE/g'\09\09\09\09|toupper.e\09\09\09\09\09\09|column.e 1\09\09\09\09\09\09|station_alias_to_station %s 0 '|' 2>/dev/null\09\09 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_station_from_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10)
%12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%13 = call ptr @pipe2string(ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16, %2
store ptr null, ptr %3, align 8
br label %24
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = call ptr @up_string(ptr noundef %22)
store ptr %23, ptr %3, align 8
br label %24
24: ; preds = %21, %20
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @pipe2string(ptr noundef) #1
declare ptr @up_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpltwkrjtt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [129 x i8] c"head -1 %s\09\09\09\09\09\09|sed 's/YYYY MM DD/DATE/g'\09\09\09\09|toupper.e\09\09\09\09\09\09|column.e 1\09\09\09\09\09\09|station_alias_to_station %s 0 '|' 2>/dev/null\09\09 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_station_from_file(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10)
%12 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%13 = call ptr @pipe2string(ptr noundef %12)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load ptr, ptr %7, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %21, label %20
20: ; preds = %16, %2
store ptr null, ptr %3, align 8
br label %24
21: ; preds = %16
%22 = load ptr, ptr %7, align 8
%23 = call ptr @up_string(ptr noundef %22)
store ptr %23, ptr %3, align 8
br label %24
24: ; preds = %21, %20
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @pipe2string(ptr noundef) #1
declare ptr @up_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9lut6ey0.c'
source_filename = "/tmp/tmp9lut6ey0.c"
target datalayout = "e-m:e-p270: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/tmp9lut6ey0.c"
target datalayout = "e-m:e-p270: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/tmpivhmawrx.c'
source_filename = "/tmp/tmpivhmawrx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <options>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"\09-a var=val,..\09Set variables to their specialization values.\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\09-v \09Enable verbose output.\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\09-o <filename>\09Set the output filename.\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"\09-i <filename>\09Set the input filename.\0A\00", align 1
@.str.5 = private unnamed_addr constant [63 x i8] c"\09-d <DBUG_FMT>\09Enable debugging using the DBUG format string.\0A\00", align 1
@.str.6 = private unnamed_addr constant [68 x i8] c"\09 \09Read the manual for a specification of the options.\0A\00", align 1
@.str.7 = private unnamed_addr constant [68 x i8] c"\09-g \09Enable global use variables for enviroment equality\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpivhmawrx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s <options>\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [62 x i8] c"\09-a var=val,..\09Set variables to their specialization values.\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\09-v \09Enable verbose output.\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"\09-o <filename>\09Set the output filename.\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"\09-i <filename>\09Set the input filename.\0A\00", align 1
@.str.5 = private unnamed_addr constant [63 x i8] c"\09-d <DBUG_FMT>\09Enable debugging using the DBUG format string.\0A\00", align 1
@.str.6 = private unnamed_addr constant [68 x i8] c"\09 \09Read the manual for a specification of the options.\0A\00", align 1
@.str.7 = private unnamed_addr constant [68 x i8] c"\09-g \09Enable global use variables for enviroment equality\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0mi3h7_2.c'
source_filename = "/tmp/tmp0mi3h7_2.c"
target datalayout = "e-m:e-p270: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/tmp0mi3h7_2.c"
target datalayout = "e-m:e-p270: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/tmp76lf_2jo.c'
source_filename = "/tmp/tmp76lf_2jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NSS_STATUS_UNAVAIL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_nss_hostslocal_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = load i32, ptr @NSS_STATUS_UNAVAIL, align 4
store i32 %14, ptr %13, align 4
%15 = load i32, ptr %13, align 4
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp76lf_2jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NSS_STATUS_UNAVAIL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_nss_hostslocal_gethostbyname_r(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%14 = load i32, ptr @NSS_STATUS_UNAVAIL, align 4
store i32 %14, ptr %13, align 4
%15 = load i32, ptr %13, align 4
ret i32 %15
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnmp5gpup.c'
source_filename = "/tmp/tmpnmp5gpup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n > 0\00", align 1
@.str.1 = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/macmanes-lab/BinPacker/refs/heads/master/glpk-4.40/src/glplib11.c\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"x[j] > 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_glp_lib_gcdn(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @_glp_lib_xassert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 317)
br label %11
11: ; preds = %9, %2
%12 = phi i1 [ true, %2 ], [ true, %9 ]
%13 = zext i1 %12 to i32
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %49, %11
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %52
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp sgt i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %18
%26 = call i32 @_glp_lib_xassert(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 319)
br label %27
27: ; preds = %25, %18
%28 = phi i1 [ true, %18 ], [ true, %25 ]
%29 = zext i1 %28 to i32
%30 = load i32, ptr %6, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %36
32: ; preds = %27
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i32, ptr %33, i64 1
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %5, align 4
br label %44
36: ; preds = %27
%37 = load i32, ptr %5, align 4
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = call i32 @_glp_lib_gcd(i32 noundef %37, i32 noundef %42)
store i32 %43, ptr %5, align 4
br label %44
44: ; preds = %36, %32
%45 = load i32, ptr %5, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %48
47: ; preds = %44
br label %52
48: ; preds = %44
br label %49
49: ; preds = %48
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %14, !llvm.loop !6
52: ; preds = %47, %14
%53 = load i32, ptr %5, align 4
ret i32 %53
}
declare i32 @_glp_lib_xassert(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_glp_lib_gcd(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/tmpnmp5gpup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n > 0\00", align 1
@.str.1 = private unnamed_addr constant [156 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/macmanes-lab/BinPacker/refs/heads/master/glpk-4.40/src/glplib11.c\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"x[j] > 0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_glp_lib_gcdn(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = call i32 @_glp_lib_xassert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 317)
br label %11
11: ; preds = %9, %2
%12 = phi i1 [ true, %2 ], [ true, %9 ]
%13 = zext i1 %12 to i32
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %48
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %17
%25 = call i32 @_glp_lib_xassert(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 319)
br label %26
26: ; preds = %24, %17
%27 = phi i1 [ true, %17 ], [ true, %24 ]
%28 = zext i1 %27 to i32
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %35
31: ; preds = %26
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i32, ptr %32, i64 1
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %5, align 4
br label %43
35: ; preds = %26
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = call i32 @_glp_lib_gcd(i32 noundef %36, i32 noundef %41)
store i32 %42, ptr %5, align 4
br label %43
43: ; preds = %35, %31
%44 = load i32, ptr %5, align 4
%45 = icmp eq i32 %44, 1
br i1 %45, label %46, label %47
46: ; preds = %43
br label %54
47: ; preds = %43
br label %48
48: ; preds = %47
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp sle i32 %51, %52
br i1 %53, label %17, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %48
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %11
br label %54
54: ; preds = %.loopexit, %46
%55 = load i32, ptr %5, align 4
ret i32 %55
}
declare i32 @_glp_lib_xassert(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_glp_lib_gcd(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/tmpb3p_a_yv.c'
source_filename = "/tmp/tmpb3p_a_yv.c"
target datalayout = "e-m:e-p270: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/tmpb3p_a_yv.c"
target datalayout = "e-m:e-p270: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/tmp_gmw53t0.c'
source_filename = "/tmp/tmp_gmw53t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"usage: %s <N>\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 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %22
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 @printout_number(i32 noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %15, %9
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printout_number(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_gmw53t0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [15 x i8] c"usage: %s <N>\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 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 1, ptr %3, align 4
br label %22
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 @printout_number(i32 noundef %20)
store i32 %21, ptr %3, align 4
br label %22
22: ; preds = %15, %9
%23 = load i32, ptr %3, align 4
ret i32 %23
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @printout_number(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/tmpin5q9ms_.c'
source_filename = "/tmp/tmpin5q9ms_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHSupport(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca [3 x ptr], align 16
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca [3 x double], align 16
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
store i64 %27, ptr %11, align 8
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds double, ptr %32, i64 0
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
%37 = load double, ptr %36, align 8
%38 = fsub double %34, %37
store double %38, ptr %12, align 8
%39 = load ptr, ptr %9, align 8
%40 = getelementptr inbounds double, ptr %39, i64 0
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds double, ptr %42, i64 2
%44 = load double, ptr %43, align 8
%45 = fsub double %41, %44
store double %45, ptr %13, align 8
%46 = load double, ptr %12, align 8
%47 = load double, ptr %13, align 8
%48 = fcmp olt double %46, %47
br i1 %48, label %49, label %51
49: ; preds = %5
%50 = load double, ptr %12, align 8
br label %53
51: ; preds = %5
%52 = load double, ptr %13, align 8
br label %53
53: ; preds = %51, %49
%54 = phi double [ %50, %49 ], [ %52, %51 ]
store double %54, ptr %14, align 8
store i32 0, ptr %16, align 4
br label %55
55: ; preds = %93, %53
%56 = load i32, ptr %16, align 4
%57 = icmp slt i32 %56, 3
br i1 %57, label %58, label %96
58: ; preds = %55
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = mul i64 8, %60
%62 = trunc i64 %61 to i32
%63 = call ptr @mymalloc(i32 noundef %62)
%64 = load i32, ptr %16, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %65
store ptr %63, ptr %66, align 8
store i32 0, ptr %17, align 4
br label %67
67: ; preds = %89, %58
%68 = load i32, ptr %17, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %92
71: ; preds = %67
%72 = load ptr, ptr %10, align 8
%73 = load i32, ptr %16, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds ptr, ptr %72, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = load i32, ptr %17, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %76, i64 %78
%80 = load double, ptr %79, align 8
%81 = call double @log(double noundef %80) #3
%82 = load i32, ptr %16, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load i32, ptr %17, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double, ptr %85, i64 %87
store double %81, ptr %88, align 8
br label %89
89: ; preds = %71
%90 = load i32, ptr %17, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %17, align 4
br label %67, !llvm.loop !6
92: ; preds = %67
br label %93
93: ; preds = %92
%94 = load i32, ptr %16, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %16, align 4
br label %55, !llvm.loop !8
96: ; preds = %55
store i32 0, ptr %18, align 4
store i32 0, ptr %19, align 4
br label %97
97: ; preds = %217, %96
%98 = load i32, ptr %19, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %101, label %220
101: ; preds = %97
store i32 0, ptr %16, align 4
br label %102
102: ; preds = %115, %101
%103 = load i32, ptr %16, align 4
%104 = icmp slt i32 %103, 3
br i1 %104, label %105, label %118
105: ; preds = %102
%106 = load ptr, ptr %9, align 8
%107 = load i32, ptr %16, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %106, i64 %108
%110 = load double, ptr %109, align 8
%111 = fneg double %110
%112 = load i32, ptr %16, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %113
store double %111, ptr %114, align 8
br label %115
115: ; preds = %105
%116 = load i32, ptr %16, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %16, align 4
br label %102, !llvm.loop !9
118: ; preds = %102
store i32 0, ptr %17, align 4
br label %119
119: ; preds = %155, %118
%120 = load i32, ptr %17, align 4
%121 = load i32, ptr %6, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %123, label %158
123: ; preds = %119
%124 = load ptr, ptr %8, align 8
%125 = load i32, ptr %19, align 4
%126 = sext i32 %125 to i64
%127 = load i64, ptr %11, align 8
%128 = mul nsw i64 %126, %127
%129 = load i32, ptr %17, align 4
%130 = sext i32 %129 to i64
%131 = add nsw i64 %128, %130
%132 = getelementptr inbounds i32, ptr %124, i64 %131
%133 = load i32, ptr %132, align 4
store i32 %133, ptr %21, align 4
store i32 0, ptr %16, align 4
br label %134
134: ; preds = %151, %123
%135 = load i32, ptr %16, align 4
%136 = icmp slt i32 %135, 3
br i1 %136, label %137, label %154
137: ; preds = %134
%138 = load i32, ptr %16, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %139
%141 = load ptr, ptr %140, align 8
%142 = load i32, ptr %21, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double, ptr %141, i64 %143
%145 = load double, ptr %144, align 8
%146 = load i32, ptr %16, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %147
%149 = load double, ptr %148, align 8
%150 = fadd double %149, %145
store double %150, ptr %148, align 8
br label %151
151: ; preds = %137
%152 = load i32, ptr %16, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %16, align 4
br label %134, !llvm.loop !10
154: ; preds = %134
br label %155
155: ; preds = %154
%156 = load i32, ptr %17, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %17, align 4
br label %119, !llvm.loop !11
158: ; preds = %119
store i32 0, ptr %22, align 4
store i32 1, ptr %16, align 4
br label %159
159: ; preds = %175, %158
%160 = load i32, ptr %16, align 4
%161 = icmp slt i32 %160, 3
br i1 %161, label %162, label %178
162: ; preds = %159
%163 = load i32, ptr %16, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %164
%166 = load double, ptr %165, align 8
%167 = load i32, ptr %22, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %168
%170 = load double, ptr %169, align 8
%171 = fcmp ogt double %166, %170
br i1 %171, label %172, label %174
172: ; preds = %162
%173 = load i32, ptr %16, align 4
store i32 %173, ptr %22, align 4
br label %174
174: ; preds = %172, %162
br label %175
175: ; preds = %174
%176 = load i32, ptr %16, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %16, align 4
br label %159, !llvm.loop !12
178: ; preds = %159
%179 = load i32, ptr %22, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %180
%182 = load double, ptr %181, align 8
%183 = load i32, ptr %22, align 4
%184 = add nsw i32 %183, 1
%185 = srem i32 %184, 3
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %186
%188 = load double, ptr %187, align 8
%189 = fsub double %182, %188
store double %189, ptr %23, align 8
%190 = load i32, ptr %22, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %191
%193 = load double, ptr %192, align 8
%194 = load i32, ptr %22, align 4
%195 = add nsw i32 %194, 2
%196 = srem i32 %195, 3
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %197
%199 = load double, ptr %198, align 8
%200 = fsub double %193, %199
store double %200, ptr %24, align 8
%201 = load double, ptr %23, align 8
%202 = load double, ptr %24, align 8
%203 = fcmp olt double %201, %202
br i1 %203, label %204, label %206
204: ; preds = %178
%205 = load double, ptr %23, align 8
br label %208
206: ; preds = %178
%207 = load double, ptr %24, align 8
br label %208
208: ; preds = %206, %204
%209 = phi double [ %205, %204 ], [ %207, %206 ]
store double %209, ptr %25, align 8
%210 = load double, ptr %25, align 8
%211 = load double, ptr %14, align 8
%212 = fcmp olt double %210, %211
br i1 %212, label %213, label %216
213: ; preds = %208
%214 = load i32, ptr %18, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %18, align 4
br label %216
216: ; preds = %213, %208
br label %217
217: ; preds = %216
%218 = load i32, ptr %19, align 4
%219 = add nsw i32 %218, 1
store i32 %219, ptr %19, align 4
br label %97, !llvm.loop !13
220: ; preds = %97
store i32 0, ptr %16, align 4
br label %221
221: ; preds = %237, %220
%222 = load i32, ptr %16, align 4
%223 = icmp slt i32 %222, 3
br i1 %223, label %224, label %240
224: ; preds = %221
%225 = load i32, ptr %16, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %226
%228 = load ptr, ptr %227, align 8
%229 = load i32, ptr %6, align 4
%230 = sext i32 %229 to i64
%231 = mul i64 8, %230
%232 = trunc i64 %231 to i32
%233 = call ptr @myfree(ptr noundef %228, i32 noundef %232)
%234 = load i32, ptr %16, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %235
store ptr %233, ptr %236, align 8
br label %237
237: ; preds = %224
%238 = load i32, ptr %16, align 4
%239 = add nsw i32 %238, 1
store i32 %239, ptr %16, align 4
br label %221, !llvm.loop !14
240: ; preds = %221
%241 = load i32, ptr %18, align 4
%242 = sitofp i32 %241 to double
%243 = load i32, ptr %7, align 4
%244 = sitofp i32 %243 to double
%245 = fdiv double %242, %244
ret double %245
}
declare i32 @assert(i32 noundef) #1
declare ptr @mymalloc(i32 noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare ptr @myfree(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpin5q9ms_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHSupport(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca [3 x ptr], align 16
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca [3 x double], align 16
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
store i64 %27, ptr %11, align 8
%28 = load i32, ptr %7, align 4
%29 = icmp sgt i32 %28, 0
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 noundef %30)
%32 = load ptr, ptr %9, align 8
%33 = getelementptr inbounds double, ptr %32, i64 0
%34 = load double, ptr %33, align 8
%35 = load ptr, ptr %9, align 8
%36 = getelementptr inbounds double, ptr %35, i64 1
%37 = load double, ptr %36, align 8
%38 = fsub double %34, %37
store double %38, ptr %12, align 8
%39 = load ptr, ptr %9, align 8
%40 = getelementptr inbounds double, ptr %39, i64 0
%41 = load double, ptr %40, align 8
%42 = load ptr, ptr %9, align 8
%43 = getelementptr inbounds double, ptr %42, i64 2
%44 = load double, ptr %43, align 8
%45 = fsub double %41, %44
store double %45, ptr %13, align 8
%46 = load double, ptr %12, align 8
%47 = load double, ptr %13, align 8
%48 = fcmp olt double %46, %47
br i1 %48, label %49, label %51
49: ; preds = %5
%50 = load double, ptr %12, align 8
br label %53
51: ; preds = %5
%52 = load double, ptr %13, align 8
br label %53
53: ; preds = %51, %49
%54 = phi double [ %50, %49 ], [ %52, %51 ]
store double %54, ptr %14, align 8
store i32 0, ptr %16, align 4
%55 = load i32, ptr %16, align 4
%56 = icmp slt i32 %55, 3
br i1 %56, label %.lr.ph2, label %99
.lr.ph2: ; preds = %53
br label %57
57: ; preds = %.lr.ph2, %94
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = mul i64 8, %59
%61 = trunc i64 %60 to i32
%62 = call ptr @mymalloc(i32 noundef %61)
%63 = load i32, ptr %16, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %64
store ptr %62, ptr %65, align 8
store i32 0, ptr %17, align 4
%66 = load i32, ptr %17, align 4
%67 = load i32, ptr %6, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph, label %93
.lr.ph: ; preds = %57
br label %69
69: ; preds = %.lr.ph, %87
%70 = load ptr, ptr %10, align 8
%71 = load i32, ptr %16, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load i32, ptr %17, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %74, i64 %76
%78 = load double, ptr %77, align 8
%79 = call double @log(double noundef %78) #3
%80 = load i32, ptr %16, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = load i32, ptr %17, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, ptr %83, i64 %85
store double %79, ptr %86, align 8
br label %87
87: ; preds = %69
%88 = load i32, ptr %17, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %17, align 4
%90 = load i32, ptr %17, align 4
%91 = load i32, ptr %6, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %87
br label %93
93: ; preds = %._crit_edge, %57
br label %94
94: ; preds = %93
%95 = load i32, ptr %16, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %16, align 4
%97 = load i32, ptr %16, align 4
%98 = icmp slt i32 %97, 3
br i1 %98, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %94
br label %99
99: ; preds = %._crit_edge3, %53
store i32 0, ptr %18, align 4
store i32 0, ptr %19, align 4
%100 = load i32, ptr %19, align 4
%101 = load i32, ptr %7, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %.lr.ph17, label %230
.lr.ph17: ; preds = %99
br label %103
103: ; preds = %.lr.ph17, %224
store i32 0, ptr %16, align 4
%104 = load i32, ptr %16, align 4
%105 = icmp slt i32 %104, 3
br i1 %105, label %.lr.ph5, label %121
.lr.ph5: ; preds = %103
br label %106
106: ; preds = %.lr.ph5, %116
%107 = load ptr, ptr %9, align 8
%108 = load i32, ptr %16, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %107, i64 %109
%111 = load double, ptr %110, align 8
%112 = fneg double %111
%113 = load i32, ptr %16, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %114
store double %112, ptr %115, align 8
br label %116
116: ; preds = %106
%117 = load i32, ptr %16, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %16, align 4
%119 = load i32, ptr %16, align 4
%120 = icmp slt i32 %119, 3
br i1 %120, label %106, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %116
br label %121
121: ; preds = %._crit_edge6, %103
store i32 0, ptr %17, align 4
%122 = load i32, ptr %17, align 4
%123 = load i32, ptr %6, align 4
%124 = icmp slt i32 %122, %123
br i1 %124, label %.lr.ph11, label %164
.lr.ph11: ; preds = %121
br label %125
125: ; preds = %.lr.ph11, %158
%126 = load ptr, ptr %8, align 8
%127 = load i32, ptr %19, align 4
%128 = sext i32 %127 to i64
%129 = load i64, ptr %11, align 8
%130 = mul nsw i64 %128, %129
%131 = load i32, ptr %17, align 4
%132 = sext i32 %131 to i64
%133 = add nsw i64 %130, %132
%134 = getelementptr inbounds i32, ptr %126, i64 %133
%135 = load i32, ptr %134, align 4
store i32 %135, ptr %21, align 4
store i32 0, ptr %16, align 4
%136 = load i32, ptr %16, align 4
%137 = icmp slt i32 %136, 3
br i1 %137, label %.lr.ph8, label %157
.lr.ph8: ; preds = %125
br label %138
138: ; preds = %.lr.ph8, %152
%139 = load i32, ptr %16, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %140
%142 = load ptr, ptr %141, align 8
%143 = load i32, ptr %21, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, ptr %142, i64 %144
%146 = load double, ptr %145, align 8
%147 = load i32, ptr %16, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %148
%150 = load double, ptr %149, align 8
%151 = fadd double %150, %146
store double %151, ptr %149, align 8
br label %152
152: ; preds = %138
%153 = load i32, ptr %16, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %16, align 4
%155 = load i32, ptr %16, align 4
%156 = icmp slt i32 %155, 3
br i1 %156, label %138, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %152
br label %157
157: ; preds = %._crit_edge9, %125
br label %158
158: ; preds = %157
%159 = load i32, ptr %17, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %17, align 4
%161 = load i32, ptr %17, align 4
%162 = load i32, ptr %6, align 4
%163 = icmp slt i32 %161, %162
br i1 %163, label %125, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %158
br label %164
164: ; preds = %._crit_edge12, %121
store i32 0, ptr %22, align 4
store i32 1, ptr %16, align 4
%165 = load i32, ptr %16, align 4
%166 = icmp slt i32 %165, 3
br i1 %166, label %.lr.ph14, label %185
.lr.ph14: ; preds = %164
br label %167
167: ; preds = %.lr.ph14, %180
%168 = load i32, ptr %16, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %169
%171 = load double, ptr %170, align 8
%172 = load i32, ptr %22, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %173
%175 = load double, ptr %174, align 8
%176 = fcmp ogt double %171, %175
br i1 %176, label %177, label %179
177: ; preds = %167
%178 = load i32, ptr %16, align 4
store i32 %178, ptr %22, align 4
br label %179
179: ; preds = %177, %167
br label %180
180: ; preds = %179
%181 = load i32, ptr %16, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %16, align 4
%183 = load i32, ptr %16, align 4
%184 = icmp slt i32 %183, 3
br i1 %184, label %167, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %180
br label %185
185: ; preds = %._crit_edge15, %164
%186 = load i32, ptr %22, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %187
%189 = load double, ptr %188, align 8
%190 = load i32, ptr %22, align 4
%191 = add nsw i32 %190, 1
%192 = srem i32 %191, 3
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %193
%195 = load double, ptr %194, align 8
%196 = fsub double %189, %195
store double %196, ptr %23, align 8
%197 = load i32, ptr %22, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %198
%200 = load double, ptr %199, align 8
%201 = load i32, ptr %22, align 4
%202 = add nsw i32 %201, 2
%203 = srem i32 %202, 3
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [3 x double], ptr %20, i64 0, i64 %204
%206 = load double, ptr %205, align 8
%207 = fsub double %200, %206
store double %207, ptr %24, align 8
%208 = load double, ptr %23, align 8
%209 = load double, ptr %24, align 8
%210 = fcmp olt double %208, %209
br i1 %210, label %211, label %213
211: ; preds = %185
%212 = load double, ptr %23, align 8
br label %215
213: ; preds = %185
%214 = load double, ptr %24, align 8
br label %215
215: ; preds = %213, %211
%216 = phi double [ %212, %211 ], [ %214, %213 ]
store double %216, ptr %25, align 8
%217 = load double, ptr %25, align 8
%218 = load double, ptr %14, align 8
%219 = fcmp olt double %217, %218
br i1 %219, label %220, label %223
220: ; preds = %215
%221 = load i32, ptr %18, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %18, align 4
br label %223
223: ; preds = %220, %215
br label %224
224: ; preds = %223
%225 = load i32, ptr %19, align 4
%226 = add nsw i32 %225, 1
store i32 %226, ptr %19, align 4
%227 = load i32, ptr %19, align 4
%228 = load i32, ptr %7, align 4
%229 = icmp slt i32 %227, %228
br i1 %229, label %103, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %224
br label %230
230: ; preds = %._crit_edge18, %99
store i32 0, ptr %16, align 4
%231 = load i32, ptr %16, align 4
%232 = icmp slt i32 %231, 3
br i1 %232, label %.lr.ph20, label %251
.lr.ph20: ; preds = %230
br label %233
233: ; preds = %.lr.ph20, %246
%234 = load i32, ptr %16, align 4
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %235
%237 = load ptr, ptr %236, align 8
%238 = load i32, ptr %6, align 4
%239 = sext i32 %238 to i64
%240 = mul i64 8, %239
%241 = trunc i64 %240 to i32
%242 = call ptr @myfree(ptr noundef %237, i32 noundef %241)
%243 = load i32, ptr %16, align 4
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds [3 x ptr], ptr %15, i64 0, i64 %244
store ptr %242, ptr %245, align 8
br label %246
246: ; preds = %233
%247 = load i32, ptr %16, align 4
%248 = add nsw i32 %247, 1
store i32 %248, ptr %16, align 4
%249 = load i32, ptr %16, align 4
%250 = icmp slt i32 %249, 3
br i1 %250, label %233, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %246
br label %251
251: ; preds = %._crit_edge21, %230
%252 = load i32, ptr %18, align 4
%253 = sitofp i32 %252 to double
%254 = load i32, ptr %7, align 4
%255 = sitofp i32 %254 to double
%256 = fdiv double %253, %255
ret double %256
}
declare i32 @assert(i32 noundef) #1
declare ptr @mymalloc(i32 noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
declare ptr @myfree(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpw_ifrgwa.c'
source_filename = "/tmp/tmpw_ifrgwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"Yes\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"No\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 [10 x [2 x [2 x i32]]], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %1, align 4
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %216, %0
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %219
19: ; preds = %15
store i32 0, ptr %4, align 4
%20 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %59, %19
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %62
25: ; preds = %21
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %27
%29 = getelementptr inbounds [2 x [2 x i32]], ptr %28, i64 0, i64 0
%30 = getelementptr inbounds [2 x i32], ptr %29, i64 0, i64 0
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %32
%34 = getelementptr inbounds [2 x [2 x i32]], ptr %33, i64 0, i64 0
%35 = getelementptr inbounds [2 x i32], ptr %34, i64 0, i64 1
%36 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %30, ptr noundef %35)
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %38
%40 = getelementptr inbounds [2 x [2 x i32]], ptr %39, i64 0, i64 0
%41 = getelementptr inbounds [2 x i32], ptr %40, i64 0, i64 1
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %44
%46 = getelementptr inbounds [2 x [2 x i32]], ptr %45, i64 0, i64 1
%47 = getelementptr inbounds [2 x i32], ptr %46, i64 0, i64 0
store i32 %42, ptr %47, align 8
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %49
%51 = getelementptr inbounds [2 x [2 x i32]], ptr %50, i64 0, i64 0
%52 = getelementptr inbounds [2 x i32], ptr %51, i64 0, i64 0
%53 = load i32, ptr %52, align 16
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %55
%57 = getelementptr inbounds [2 x [2 x i32]], ptr %56, i64 0, i64 1
%58 = getelementptr inbounds [2 x i32], ptr %57, i64 0, i64 1
store i32 %53, ptr %58, align 4
br label %59
59: ; preds = %25
%60 = load i32, ptr %7, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %7, align 4
br label %21, !llvm.loop !6
62: ; preds = %21
store i32 0, ptr %8, align 4
br label %63
63: ; preds = %205, %62
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %208
67: ; preds = %63
store i32 0, ptr %9, align 4
br label %68
68: ; preds = %201, %67
%69 = load i32, ptr %9, align 4
%70 = load i32, ptr %3, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %72, label %204
72: ; preds = %68
store i32 0, ptr %10, align 4
br label %73
73: ; preds = %197, %72
%74 = load i32, ptr %10, align 4
%75 = load i32, ptr %3, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %200
77: ; preds = %73
store i32 0, ptr %11, align 4
br label %78
78: ; preds = %193, %77
%79 = load i32, ptr %11, align 4
%80 = icmp slt i32 %79, 2
br i1 %80, label %81, label %196
81: ; preds = %78
store i32 0, ptr %12, align 4
br label %82
82: ; preds = %189, %81
%83 = load i32, ptr %12, align 4
%84 = icmp slt i32 %83, 2
br i1 %84, label %85, label %192
85: ; preds = %82
store i32 0, ptr %13, align 4
br label %86
86: ; preds = %185, %85
%87 = load i32, ptr %13, align 4
%88 = icmp slt i32 %87, 2
br i1 %88, label %89, label %188
89: ; preds = %86
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %9, align 4
%92 = icmp eq i32 %90, %91
br i1 %92, label %101, label %93
93: ; preds = %89
%94 = load i32, ptr %8, align 4
%95 = load i32, ptr %10, align 4
%96 = icmp eq i32 %94, %95
br i1 %96, label %101, label %97
97: ; preds = %93
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %10, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %102
101: ; preds = %97, %93, %89
br label %185
102: ; preds = %97
%103 = load i32, ptr %8, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %104
%106 = load i32, ptr %11, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [2 x [2 x i32]], ptr %105, i64 0, i64 %107
%109 = getelementptr inbounds [2 x i32], ptr %108, i64 0, i64 0
%110 = load i32, ptr %109, align 8
%111 = load i32, ptr %9, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %112
%114 = load i32, ptr %12, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [2 x [2 x i32]], ptr %113, i64 0, i64 %115
%117 = getelementptr inbounds [2 x i32], ptr %116, i64 0, i64 0
%118 = load i32, ptr %117, align 8
%119 = icmp eq i32 %110, %118
br i1 %119, label %120, label %138
120: ; preds = %102
%121 = load i32, ptr %8, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %122
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [2 x [2 x i32]], ptr %123, i64 0, i64 %125
%127 = getelementptr inbounds [2 x i32], ptr %126, i64 0, i64 0
%128 = load i32, ptr %127, align 8
%129 = load i32, ptr %10, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %130
%132 = load i32, ptr %13, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [2 x [2 x i32]], ptr %131, i64 0, i64 %133
%135 = getelementptr inbounds [2 x i32], ptr %134, i64 0, i64 0
%136 = load i32, ptr %135, align 8
%137 = icmp eq i32 %128, %136
br i1 %137, label %183, label %138
138: ; preds = %120, %102
%139 = load i32, ptr %8, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %140
%142 = load i32, ptr %11, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [2 x [2 x i32]], ptr %141, i64 0, i64 %143
%145 = getelementptr inbounds [2 x i32], ptr %144, i64 0, i64 0
%146 = load i32, ptr %145, align 8
%147 = load i32, ptr %9, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %148
%150 = load i32, ptr %12, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [2 x [2 x i32]], ptr %149, i64 0, i64 %151
%153 = getelementptr inbounds [2 x i32], ptr %152, i64 0, i64 0
%154 = load i32, ptr %153, align 8
%155 = add nsw i32 %146, %154
%156 = load i32, ptr %10, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %157
%159 = load i32, ptr %13, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [2 x [2 x i32]], ptr %158, i64 0, i64 %160
%162 = getelementptr inbounds [2 x i32], ptr %161, i64 0, i64 0
%163 = load i32, ptr %162, align 8
%164 = icmp eq i32 %155, %163
br i1 %164, label %165, label %184
165: ; preds = %138
%166 = load i32, ptr %8, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %167
%169 = load i32, ptr %11, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [2 x [2 x i32]], ptr %168, i64 0, i64 %170
%172 = getelementptr inbounds [2 x i32], ptr %171, i64 0, i64 1
%173 = load i32, ptr %172, align 4
%174 = load i32, ptr %9, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %175
%177 = load i32, ptr %12, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [2 x [2 x i32]], ptr %176, i64 0, i64 %178
%180 = getelementptr inbounds [2 x i32], ptr %179, i64 0, i64 1
%181 = load i32, ptr %180, align 4
%182 = icmp eq i32 %173, %181
br i1 %182, label %183, label %184
183: ; preds = %165, %120
store i32 1, ptr %4, align 4
br label %184
184: ; preds = %183, %165, %138
br label %185
185: ; preds = %184, %101
%186 = load i32, ptr %13, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %13, align 4
br label %86, !llvm.loop !8
188: ; preds = %86
br label %189
189: ; preds = %188
%190 = load i32, ptr %12, align 4
%191 = add nsw i32 %190, 1
store i32 %191, ptr %12, align 4
br label %82, !llvm.loop !9
192: ; preds = %82
br label %193
193: ; preds = %192
%194 = load i32, ptr %11, align 4
%195 = add nsw i32 %194, 1
store i32 %195, ptr %11, align 4
br label %78, !llvm.loop !10
196: ; preds = %78
br label %197
197: ; preds = %196
%198 = load i32, ptr %10, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %10, align 4
br label %73, !llvm.loop !11
200: ; preds = %73
br label %201
201: ; preds = %200
%202 = load i32, ptr %9, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %9, align 4
br label %68, !llvm.loop !12
204: ; preds = %68
br label %205
205: ; preds = %204
%206 = load i32, ptr %8, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %8, align 4
br label %63, !llvm.loop !13
208: ; preds = %63
%209 = load i32, ptr %4, align 4
%210 = icmp eq i32 %209, 1
br i1 %210, label %211, label %213
211: ; preds = %208
%212 = call i32 @printf(ptr noundef @.str.2)
br label %215
213: ; preds = %208
%214 = call i32 @printf(ptr noundef @.str.3)
br label %215
215: ; preds = %213, %211
br label %216
216: ; preds = %215
%217 = load i32, ptr %6, align 4
%218 = add nsw i32 %217, 1
store i32 %218, ptr %6, align 4
br label %15, !llvm.loop !14
219: ; preds = %15
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw_ifrgwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"Yes\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"No\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 [10 x [2 x [2 x i32]]], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %1, align 4
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph20, label %232
.lr.ph20: ; preds = %0
br label %18
18: ; preds = %.lr.ph20, %226
store i32 0, ptr %4, align 4
%19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %63
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %57
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %25
%27 = getelementptr inbounds [2 x [2 x i32]], ptr %26, i64 0, i64 0
%28 = getelementptr inbounds [2 x i32], ptr %27, i64 0, i64 0
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %30
%32 = getelementptr inbounds [2 x [2 x i32]], ptr %31, i64 0, i64 0
%33 = getelementptr inbounds [2 x i32], ptr %32, i64 0, i64 1
%34 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %28, ptr noundef %33)
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %36
%38 = getelementptr inbounds [2 x [2 x i32]], ptr %37, i64 0, i64 0
%39 = getelementptr inbounds [2 x i32], ptr %38, i64 0, i64 1
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %7, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %42
%44 = getelementptr inbounds [2 x [2 x i32]], ptr %43, i64 0, i64 1
%45 = getelementptr inbounds [2 x i32], ptr %44, i64 0, i64 0
store i32 %40, ptr %45, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %47
%49 = getelementptr inbounds [2 x [2 x i32]], ptr %48, i64 0, i64 0
%50 = getelementptr inbounds [2 x i32], ptr %49, i64 0, i64 0
%51 = load i32, ptr %50, align 16
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %53
%55 = getelementptr inbounds [2 x [2 x i32]], ptr %54, i64 0, i64 1
%56 = getelementptr inbounds [2 x i32], ptr %55, i64 0, i64 1
store i32 %51, ptr %56, align 4
br label %57
57: ; preds = %23
%58 = load i32, ptr %7, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %7, align 4
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr %3, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %63
63: ; preds = %._crit_edge, %18
store i32 0, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr %3, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph17, label %218
.lr.ph17: ; preds = %63
br label %67
67: ; preds = %.lr.ph17, %212
store i32 0, ptr %9, align 4
%68 = load i32, ptr %9, align 4
%69 = load i32, ptr %3, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph14, label %211
.lr.ph14: ; preds = %67
br label %71
71: ; preds = %.lr.ph14, %205
store i32 0, ptr %10, align 4
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %3, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %.lr.ph11, label %204
.lr.ph11: ; preds = %71
br label %75
75: ; preds = %.lr.ph11, %198
store i32 0, ptr %11, align 4
%76 = load i32, ptr %11, align 4
%77 = icmp slt i32 %76, 2
br i1 %77, label %.lr.ph8, label %197
.lr.ph8: ; preds = %75
br label %78
78: ; preds = %.lr.ph8, %192
store i32 0, ptr %12, align 4
%79 = load i32, ptr %12, align 4
%80 = icmp slt i32 %79, 2
br i1 %80, label %.lr.ph5, label %191
.lr.ph5: ; preds = %78
br label %81
81: ; preds = %.lr.ph5, %186
store i32 0, ptr %13, align 4
%82 = load i32, ptr %13, align 4
%83 = icmp slt i32 %82, 2
br i1 %83, label %.lr.ph2, label %185
.lr.ph2: ; preds = %81
br label %84
84: ; preds = %.lr.ph2, %180
%85 = load i32, ptr %8, align 4
%86 = load i32, ptr %9, align 4
%87 = icmp eq i32 %85, %86
br i1 %87, label %96, label %88
88: ; preds = %84
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %10, align 4
%91 = icmp eq i32 %89, %90
br i1 %91, label %96, label %92
92: ; preds = %88
%93 = load i32, ptr %9, align 4
%94 = load i32, ptr %10, align 4
%95 = icmp eq i32 %93, %94
br i1 %95, label %96, label %97
96: ; preds = %92, %88, %84
br label %180
97: ; preds = %92
%98 = load i32, ptr %8, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %99
%101 = load i32, ptr %11, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [2 x [2 x i32]], ptr %100, i64 0, i64 %102
%104 = getelementptr inbounds [2 x i32], ptr %103, i64 0, i64 0
%105 = load i32, ptr %104, align 8
%106 = load i32, ptr %9, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %107
%109 = load i32, ptr %12, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [2 x [2 x i32]], ptr %108, i64 0, i64 %110
%112 = getelementptr inbounds [2 x i32], ptr %111, i64 0, i64 0
%113 = load i32, ptr %112, align 8
%114 = icmp eq i32 %105, %113
br i1 %114, label %115, label %133
115: ; preds = %97
%116 = load i32, ptr %8, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %117
%119 = load i32, ptr %11, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [2 x [2 x i32]], ptr %118, i64 0, i64 %120
%122 = getelementptr inbounds [2 x i32], ptr %121, i64 0, i64 0
%123 = load i32, ptr %122, align 8
%124 = load i32, ptr %10, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %125
%127 = load i32, ptr %13, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [2 x [2 x i32]], ptr %126, i64 0, i64 %128
%130 = getelementptr inbounds [2 x i32], ptr %129, i64 0, i64 0
%131 = load i32, ptr %130, align 8
%132 = icmp eq i32 %123, %131
br i1 %132, label %178, label %133
133: ; preds = %115, %97
%134 = load i32, ptr %8, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %135
%137 = load i32, ptr %11, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds [2 x [2 x i32]], ptr %136, i64 0, i64 %138
%140 = getelementptr inbounds [2 x i32], ptr %139, i64 0, i64 0
%141 = load i32, ptr %140, align 8
%142 = load i32, ptr %9, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %143
%145 = load i32, ptr %12, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [2 x [2 x i32]], ptr %144, i64 0, i64 %146
%148 = getelementptr inbounds [2 x i32], ptr %147, i64 0, i64 0
%149 = load i32, ptr %148, align 8
%150 = add nsw i32 %141, %149
%151 = load i32, ptr %10, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %152
%154 = load i32, ptr %13, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [2 x [2 x i32]], ptr %153, i64 0, i64 %155
%157 = getelementptr inbounds [2 x i32], ptr %156, i64 0, i64 0
%158 = load i32, ptr %157, align 8
%159 = icmp eq i32 %150, %158
br i1 %159, label %160, label %179
160: ; preds = %133
%161 = load i32, ptr %8, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %162
%164 = load i32, ptr %11, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [2 x [2 x i32]], ptr %163, i64 0, i64 %165
%167 = getelementptr inbounds [2 x i32], ptr %166, i64 0, i64 1
%168 = load i32, ptr %167, align 4
%169 = load i32, ptr %9, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds [10 x [2 x [2 x i32]]], ptr %5, i64 0, i64 %170
%172 = load i32, ptr %12, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [2 x [2 x i32]], ptr %171, i64 0, i64 %173
%175 = getelementptr inbounds [2 x i32], ptr %174, i64 0, i64 1
%176 = load i32, ptr %175, align 4
%177 = icmp eq i32 %168, %176
br i1 %177, label %178, label %179
178: ; preds = %160, %115
store i32 1, ptr %4, align 4
br label %179
179: ; preds = %178, %160, %133
br label %180
180: ; preds = %179, %96
%181 = load i32, ptr %13, align 4
%182 = add nsw i32 %181, 1
store i32 %182, ptr %13, align 4
%183 = load i32, ptr %13, align 4
%184 = icmp slt i32 %183, 2
br i1 %184, label %84, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %180
br label %185
185: ; preds = %._crit_edge3, %81
br label %186
186: ; preds = %185
%187 = load i32, ptr %12, align 4
%188 = add nsw i32 %187, 1
store i32 %188, ptr %12, align 4
%189 = load i32, ptr %12, align 4
%190 = icmp slt i32 %189, 2
br i1 %190, label %81, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %186
br label %191
191: ; preds = %._crit_edge6, %78
br label %192
192: ; preds = %191
%193 = load i32, ptr %11, align 4
%194 = add nsw i32 %193, 1
store i32 %194, ptr %11, align 4
%195 = load i32, ptr %11, align 4
%196 = icmp slt i32 %195, 2
br i1 %196, label %78, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %192
br label %197
197: ; preds = %._crit_edge9, %75
br label %198
198: ; preds = %197
%199 = load i32, ptr %10, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %10, align 4
%201 = load i32, ptr %10, align 4
%202 = load i32, ptr %3, align 4
%203 = icmp slt i32 %201, %202
br i1 %203, label %75, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %198
br label %204
204: ; preds = %._crit_edge12, %71
br label %205
205: ; preds = %204
%206 = load i32, ptr %9, align 4
%207 = add nsw i32 %206, 1
store i32 %207, ptr %9, align 4
%208 = load i32, ptr %9, align 4
%209 = load i32, ptr %3, align 4
%210 = icmp slt i32 %208, %209
br i1 %210, label %71, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %205
br label %211
211: ; preds = %._crit_edge15, %67
br label %212
212: ; preds = %211
%213 = load i32, ptr %8, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %8, align 4
%215 = load i32, ptr %8, align 4
%216 = load i32, ptr %3, align 4
%217 = icmp slt i32 %215, %216
br i1 %217, label %67, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %212
br label %218
218: ; preds = %._crit_edge18, %63
%219 = load i32, ptr %4, align 4
%220 = icmp eq i32 %219, 1
br i1 %220, label %221, label %223
221: ; preds = %218
%222 = call i32 @printf(ptr noundef @.str.2)
br label %225
223: ; preds = %218
%224 = call i32 @printf(ptr noundef @.str.3)
br label %225
225: ; preds = %223, %221
br label %226
226: ; preds = %225
%227 = load i32, ptr %6, align 4
%228 = add nsw i32 %227, 1
store i32 %228, ptr %6, align 4
%229 = load i32, ptr %6, align 4
%230 = load i32, ptr %2, align 4
%231 = icmp slt i32 %229, %230
br i1 %231, label %18, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %226
br label %232
232: ; preds = %._crit_edge21, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpz680ftmh.c'
source_filename = "/tmp/tmpz680ftmh.c"
target datalayout = "e-m:e-p270: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/tmpz680ftmh.c"
target datalayout = "e-m:e-p270: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/tmpa56sgqmn.c'
source_filename = "/tmp/tmpa56sgqmn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RunEncryptionKeySchedule(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %30, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %9, label %33
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 8
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %19, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 16
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
store i32 %24, ptr %29, align 4
br label %30
30: ; preds = %9
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %6, !llvm.loop !6
33: ; preds = %6
store i32 0, ptr %5, align 4
br label %34
34: ; preds = %58, %33
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %35, 7
br i1 %36, label %37, label %61
37: ; preds = %34
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = shl i32 %43, 7
%45 = and i32 %44, 128
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = ashr i32 %50, 1
%52 = xor i32 %45, %51
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 8
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
store i32 %52, ptr %57, align 4
br label %58
58: ; preds = %37
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %34, !llvm.loop !8
61: ; preds = %34
%62 = load ptr, ptr %3, align 8
%63 = getelementptr inbounds i32, ptr %62, i64 0
%64 = load i32, ptr %63, align 4
%65 = shl i32 %64, 7
%66 = and i32 %65, 128
%67 = load ptr, ptr %3, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 7
%69 = load i32, ptr %68, align 4
%70 = ashr i32 %69, 1
%71 = xor i32 %66, %70
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i32, ptr %72, i64 15
store i32 %71, ptr %73, align 4
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 8
%76 = load i32, ptr %75, align 4
%77 = load ptr, ptr %3, align 8
%78 = getelementptr inbounds i32, ptr %77, i64 7
%79 = load i32, ptr %78, align 4
%80 = ashr i32 %79, 7
%81 = and i32 %80, 1
%82 = xor i32 %76, %81
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds i32, ptr %83, i64 8
store i32 %82, ptr %84, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa56sgqmn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RunEncryptionKeySchedule(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 8
br i1 %7, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %29
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %9, i64 %11
%13 = load i32, ptr %12, align 4
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 8
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %18, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 16
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
store i32 %23, ptr %28, align 4
br label %29
29: ; preds = %8
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %32, 8
br i1 %33, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %2
store i32 0, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %35, 7
br i1 %36, label %.lr.ph2, label %63
.lr.ph2: ; preds = %34
br label %37
37: ; preds = %.lr.ph2, %58
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = shl i32 %43, 7
%45 = and i32 %44, 128
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = ashr i32 %50, 1
%52 = xor i32 %45, %51
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 8
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %53, i64 %56
store i32 %52, ptr %57, align 4
br label %58
58: ; preds = %37
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = icmp slt i32 %61, 7
br i1 %62, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %63
63: ; preds = %._crit_edge3, %34
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i32, ptr %64, i64 0
%66 = load i32, ptr %65, align 4
%67 = shl i32 %66, 7
%68 = and i32 %67, 128
%69 = load ptr, ptr %3, align 8
%70 = getelementptr inbounds i32, ptr %69, i64 7
%71 = load i32, ptr %70, align 4
%72 = ashr i32 %71, 1
%73 = xor i32 %68, %72
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds i32, ptr %74, i64 15
store i32 %73, ptr %75, align 4
%76 = load ptr, ptr %4, align 8
%77 = getelementptr inbounds i32, ptr %76, i64 8
%78 = load i32, ptr %77, align 4
%79 = load ptr, ptr %3, align 8
%80 = getelementptr inbounds i32, ptr %79, i64 7
%81 = load i32, ptr %80, align 4
%82 = ashr i32 %81, 7
%83 = and i32 %82, 1
%84 = xor i32 %78, %83
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds i32, ptr %85, i64 8
store i32 %84, ptr %86, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbcgumuth.c'
source_filename = "/tmp/tmpbcgumuth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %19, %3
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i64, ptr %6, align 8
%16 = icmp ne i64 %15, 0
br label %17
17: ; preds = %14, %9
%18 = phi i1 [ false, %9 ], [ %16, %14 ]
br i1 %18, label %19, label %27
19: ; preds = %17
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load i8, ptr %20, align 1
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
store i8 %22, ptr %23, align 1
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %6, align 8
br label %9, !llvm.loop !6
27: ; preds = %17
br label %28
28: ; preds = %31, %27
%29 = load i64, ptr %6, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
store i8 0, ptr %32, align 1
%34 = load i64, ptr %6, align 8
%35 = add i64 %34, -1
store i64 %35, ptr %6, align 8
br label %28, !llvm.loop !8
36: ; preds = %28
%37 = load ptr, ptr %4, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %7, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbcgumuth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %19, %3
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load i64, ptr %6, align 8
%16 = icmp ne i64 %15, 0
br label %17
17: ; preds = %14, %9
%18 = phi i1 [ false, %9 ], [ %16, %14 ]
br i1 %18, label %19, label %27
19: ; preds = %17
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load i8, ptr %20, align 1
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
store i8 %22, ptr %23, align 1
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %6, align 8
br label %9, !llvm.loop !6
27: ; preds = %17
%28 = load i64, ptr %6, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %.lr.ph, label %37
.lr.ph: ; preds = %27
br label %30
30: ; preds = %.lr.ph, %30
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i8 0, ptr %31, align 1
%33 = load i64, ptr %6, align 8
%34 = add i64 %33, -1
store i64 %34, ptr %6, align 8
%35 = load i64, ptr %6, align 8
%36 = icmp ne i64 %35, 0
br i1 %36, label %30, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %30
br label %37
37: ; preds = %._crit_edge, %27
%38 = load ptr, ptr %4, align 8
store i8 0, ptr %38, align 1
%39 = load ptr, ptr %7, align 8
ret ptr %39
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpacmxt9k0.c'
source_filename = "/tmp/tmpacmxt9k0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"apple.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"apple.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"%hd %hd %hd %hd\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"%hd %hd %hd\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
%3 = alloca i16, align 2
%4 = alloca i16, align 2
%5 = alloca [3 x i16], align 2
%6 = alloca [3 x i16], align 2
store i32 0, ptr %1, align 4
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %9)
%11 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 1
%13 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 2
%14 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %4)
%15 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 0
%16 = load i16, ptr %15, align 2
%17 = sext i16 %16 to i32
%18 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 1
%19 = load i16, ptr %18, align 2
%20 = sext i16 %19 to i32
%21 = add nsw i32 %17, %20
%22 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 2
%23 = load i16, ptr %22, align 2
%24 = sext i16 %23 to i32
%25 = add nsw i32 %21, %24
%26 = load i16, ptr %4, align 2
%27 = sext i16 %26 to i32
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %31
29: ; preds = %0
%30 = call i32 @puts(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %101
31: ; preds = %0
%32 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 2
store i16 0, ptr %32, align 2
%33 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 1
store i16 0, ptr %33, align 2
%34 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 0
store i16 0, ptr %34, align 2
store i16 0, ptr %3, align 2
store i16 0, ptr %2, align 2
br label %35
35: ; preds = %90, %31
%36 = load i16, ptr %3, align 2
%37 = sext i16 %36 to i32
%38 = load i16, ptr %4, align 2
%39 = sext i16 %38 to i32
%40 = icmp slt i32 %37, %39
br i1 %40, label %41, label %93
41: ; preds = %35
%42 = load i16, ptr %3, align 2
%43 = sext i16 %42 to i32
%44 = load i16, ptr %2, align 2
%45 = sext i16 %44 to i64
%46 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 %45
%47 = load i16, ptr %46, align 2
%48 = sext i16 %47 to i32
%49 = add nsw i32 %43, %48
%50 = load i16, ptr %4, align 2
%51 = sext i16 %50 to i32
%52 = icmp sle i32 %49, %51
br i1 %52, label %53, label %70
53: ; preds = %41
%54 = load i16, ptr %2, align 2
%55 = sext i16 %54 to i64
%56 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 %55
%57 = load i16, ptr %56, align 2
%58 = sext i16 %57 to i32
%59 = load i16, ptr %3, align 2
%60 = sext i16 %59 to i32
%61 = add nsw i32 %60, %58
%62 = trunc i32 %61 to i16
store i16 %62, ptr %3, align 2
%63 = load i16, ptr %2, align 2
%64 = sext i16 %63 to i64
%65 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 %64
%66 = load i16, ptr %65, align 2
%67 = load i16, ptr %2, align 2
%68 = sext i16 %67 to i64
%69 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 %68
store i16 %66, ptr %69, align 2
br label %89
70: ; preds = %41
%71 = load i16, ptr %4, align 2
%72 = sext i16 %71 to i32
%73 = load i16, ptr %3, align 2
%74 = sext i16 %73 to i32
%75 = sub nsw i32 %72, %74
%76 = trunc i32 %75 to i16
%77 = load i16, ptr %2, align 2
%78 = sext i16 %77 to i64
%79 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 %78
store i16 %76, ptr %79, align 2
%80 = load i16, ptr %4, align 2
%81 = sext i16 %80 to i32
%82 = load i16, ptr %3, align 2
%83 = sext i16 %82 to i32
%84 = sub nsw i32 %81, %83
%85 = load i16, ptr %3, align 2
%86 = sext i16 %85 to i32
%87 = add nsw i32 %86, %84
%88 = trunc i32 %87 to i16
store i16 %88, ptr %3, align 2
br label %89
89: ; preds = %70, %53
br label %90
90: ; preds = %89
%91 = load i16, ptr %2, align 2
%92 = add i16 %91, 1
store i16 %92, ptr %2, align 2
br label %35, !llvm.loop !6
93: ; preds = %35
%94 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 0
%95 = load i16, ptr %94, align 2
%96 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 1
%97 = load i16, ptr %96, align 2
%98 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 2
%99 = load i16, ptr %98, align 2
%100 = call i32 @printf(ptr noundef @.str.6, i16 noundef signext %95, i16 noundef signext %97, i16 noundef signext %99)
store i32 0, ptr %1, align 4
br label %101
101: ; preds = %93, %29
%102 = load i32, ptr %1, align 4
ret i32 %102
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i16 noundef signext, i16 noundef signext, i16 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/tmpacmxt9k0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"apple.in\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [10 x i8] c"apple.out\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [16 x i8] c"%hd %hd %hd %hd\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
@.str.6 = private unnamed_addr constant [13 x i8] c"%hd %hd %hd\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
%3 = alloca i16, align 2
%4 = alloca i16, align 2
%5 = alloca [3 x i16], align 2
%6 = alloca [3 x i16], align 2
store i32 0, ptr %1, align 4
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @freopen(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef %9)
%11 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 0
%12 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 1
%13 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 2
%14 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %4)
%15 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 0
%16 = load i16, ptr %15, align 2
%17 = sext i16 %16 to i32
%18 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 1
%19 = load i16, ptr %18, align 2
%20 = sext i16 %19 to i32
%21 = add nsw i32 %17, %20
%22 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 2
%23 = load i16, ptr %22, align 2
%24 = sext i16 %23 to i32
%25 = add nsw i32 %21, %24
%26 = load i16, ptr %4, align 2
%27 = sext i16 %26 to i32
%28 = icmp slt i32 %25, %27
br i1 %28, label %29, label %31
29: ; preds = %0
%30 = call i32 @puts(ptr noundef @.str.5)
store i32 0, ptr %1, align 4
br label %105
31: ; preds = %0
%32 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 2
store i16 0, ptr %32, align 2
%33 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 1
store i16 0, ptr %33, align 2
%34 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 0
store i16 0, ptr %34, align 2
store i16 0, ptr %3, align 2
store i16 0, ptr %2, align 2
%35 = load i16, ptr %3, align 2
%36 = sext i16 %35 to i32
%37 = load i16, ptr %4, align 2
%38 = sext i16 %37 to i32
%39 = icmp slt i32 %36, %38
br i1 %39, label %.lr.ph, label %97
.lr.ph: ; preds = %31
br label %40
40: ; preds = %.lr.ph, %89
%41 = load i16, ptr %3, align 2
%42 = sext i16 %41 to i32
%43 = load i16, ptr %2, align 2
%44 = sext i16 %43 to i64
%45 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 %44
%46 = load i16, ptr %45, align 2
%47 = sext i16 %46 to i32
%48 = add nsw i32 %42, %47
%49 = load i16, ptr %4, align 2
%50 = sext i16 %49 to i32
%51 = icmp sle i32 %48, %50
br i1 %51, label %52, label %69
52: ; preds = %40
%53 = load i16, ptr %2, align 2
%54 = sext i16 %53 to i64
%55 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 %54
%56 = load i16, ptr %55, align 2
%57 = sext i16 %56 to i32
%58 = load i16, ptr %3, align 2
%59 = sext i16 %58 to i32
%60 = add nsw i32 %59, %57
%61 = trunc i32 %60 to i16
store i16 %61, ptr %3, align 2
%62 = load i16, ptr %2, align 2
%63 = sext i16 %62 to i64
%64 = getelementptr inbounds [3 x i16], ptr %5, i64 0, i64 %63
%65 = load i16, ptr %64, align 2
%66 = load i16, ptr %2, align 2
%67 = sext i16 %66 to i64
%68 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 %67
store i16 %65, ptr %68, align 2
br label %88
69: ; preds = %40
%70 = load i16, ptr %4, align 2
%71 = sext i16 %70 to i32
%72 = load i16, ptr %3, align 2
%73 = sext i16 %72 to i32
%74 = sub nsw i32 %71, %73
%75 = trunc i32 %74 to i16
%76 = load i16, ptr %2, align 2
%77 = sext i16 %76 to i64
%78 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 %77
store i16 %75, ptr %78, align 2
%79 = load i16, ptr %4, align 2
%80 = sext i16 %79 to i32
%81 = load i16, ptr %3, align 2
%82 = sext i16 %81 to i32
%83 = sub nsw i32 %80, %82
%84 = load i16, ptr %3, align 2
%85 = sext i16 %84 to i32
%86 = add nsw i32 %85, %83
%87 = trunc i32 %86 to i16
store i16 %87, ptr %3, align 2
br label %88
88: ; preds = %69, %52
br label %89
89: ; preds = %88
%90 = load i16, ptr %2, align 2
%91 = add i16 %90, 1
store i16 %91, ptr %2, align 2
%92 = load i16, ptr %3, align 2
%93 = sext i16 %92 to i32
%94 = load i16, ptr %4, align 2
%95 = sext i16 %94 to i32
%96 = icmp slt i32 %93, %95
br i1 %96, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %89
br label %97
97: ; preds = %._crit_edge, %31
%98 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 0
%99 = load i16, ptr %98, align 2
%100 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 1
%101 = load i16, ptr %100, align 2
%102 = getelementptr inbounds [3 x i16], ptr %6, i64 0, i64 2
%103 = load i16, ptr %102, align 2
%104 = call i32 @printf(ptr noundef @.str.6, i16 noundef signext %99, i16 noundef signext %101, i16 noundef signext %103)
store i32 0, ptr %1, align 4
br label %105
105: ; preds = %97, %29
%106 = load i32, ptr %1, align 4
ret i32 %106
}
declare i32 @freopen(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i16 noundef signext, i16 noundef signext, i16 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/tmpfuj9rg08.c'
source_filename = "/tmp/tmpfuj9rg08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%5s %5s %5s %8s %8s %5s %5s %5s %5s %5s\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%user\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%sys\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%wait\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%idle\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"physc\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%entc\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"lbusy\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"app\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"vcsw\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"phint\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"-----\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"cpu_user\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"cpu_sys\00", align 1
@.str.14 = private unnamed_addr constant [11 x i8] c"cpu_iowait\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"cpu_idle\00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"cpu_lbusy\00", align 1
@.str.17 = private unnamed_addr constant [11 x i8] c"dispatches\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"per_entc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_default_output(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [32 x i8], align 16
%8 = alloca [32 x i8], align 16
%9 = alloca [32 x i8], align 16
%10 = alloca [32 x i8], align 16
%11 = alloca [32 x i8], align 16
%12 = alloca [32 x i8], align 16
%13 = alloca [32 x i8], align 16
%14 = alloca [32 x i8], align 16
%15 = alloca [32 x i8], align 16
%16 = alloca [32 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr @.str, ptr %5, align 8
%17 = call i32 (...) @print_system_configuration()
%18 = load i32, ptr @stdout, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef %19, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10)
%21 = load i32, ptr @stdout, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef %22, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11)
br label %24
24: ; preds = %67, %2
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = call i32 @sleep(i32 noundef %28)
%30 = call i32 (...) @update_sysdata()
br label %31
31: ; preds = %27, %24
%32 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%33 = call i32 @get_sysdata(ptr noundef @.str.12, ptr noundef %6, ptr noundef %32)
%34 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%35 = call i32 @get_sysdata(ptr noundef @.str.13, ptr noundef %6, ptr noundef %34)
%36 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%37 = call i32 @get_sysdata(ptr noundef @.str.14, ptr noundef %6, ptr noundef %36)
%38 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%39 = call i32 @get_sysdata(ptr noundef @.str.15, ptr noundef %6, ptr noundef %38)
%40 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%41 = call i32 @get_sysdata(ptr noundef @.str.16, ptr noundef %6, ptr noundef %40)
%42 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0
%43 = call i32 @get_sysdata(ptr noundef @.str.17, ptr noundef %6, ptr noundef %42)
%44 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
%45 = call i32 @get_sysdata(ptr noundef @.str.5, ptr noundef %6, ptr noundef %44)
%46 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
%47 = call i32 @get_sysdata(ptr noundef @.str.18, ptr noundef %6, ptr noundef %46)
%48 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
%49 = call i32 @get_sysdata(ptr noundef @.str.10, ptr noundef %6, ptr noundef %48)
%50 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
%51 = call i32 @get_sysdata(ptr noundef @.str.8, ptr noundef %6, ptr noundef %50)
%52 = load i32, ptr @stdout, align 4
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%55 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%56 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%57 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%58 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
%59 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
%60 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%61 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
%62 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0
%63 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
%64 = call i32 @fprintf(i32 noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63)
%65 = load i32, ptr @stdout, align 4
%66 = call i32 @fflush(i32 noundef %65)
br label %67
67: ; preds = %31
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %4, align 4
%70 = icmp sgt i32 %69, 0
br i1 %70, label %24, label %71, !llvm.loop !6
71: ; preds = %67
ret void
}
declare i32 @print_system_configuration(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @update_sysdata(...) #1
declare i32 @get_sysdata(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfuj9rg08.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%5s %5s %5s %8s %8s %5s %5s %5s %5s %5s\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%user\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%sys\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%wait\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"%idle\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"physc\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%entc\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"lbusy\00", align 1
@.str.8 = private unnamed_addr constant [4 x i8] c"app\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c"vcsw\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"phint\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"-----\00", align 1
@.str.12 = private unnamed_addr constant [9 x i8] c"cpu_user\00", align 1
@.str.13 = private unnamed_addr constant [8 x i8] c"cpu_sys\00", align 1
@.str.14 = private unnamed_addr constant [11 x i8] c"cpu_iowait\00", align 1
@.str.15 = private unnamed_addr constant [9 x i8] c"cpu_idle\00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"cpu_lbusy\00", align 1
@.str.17 = private unnamed_addr constant [11 x i8] c"dispatches\00", align 1
@.str.18 = private unnamed_addr constant [9 x i8] c"per_entc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_default_output(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [32 x i8], align 16
%8 = alloca [32 x i8], align 16
%9 = alloca [32 x i8], align 16
%10 = alloca [32 x i8], align 16
%11 = alloca [32 x i8], align 16
%12 = alloca [32 x i8], align 16
%13 = alloca [32 x i8], align 16
%14 = alloca [32 x i8], align 16
%15 = alloca [32 x i8], align 16
%16 = alloca [32 x i8], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store ptr @.str, ptr %5, align 8
%17 = call i32 (...) @print_system_configuration()
%18 = load i32, ptr @stdout, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef %19, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.10)
%21 = load i32, ptr @stdout, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @fprintf(i32 noundef %21, ptr noundef %22, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11, ptr noundef @.str.11)
br label %24
24: ; preds = %67, %2
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %31
27: ; preds = %24
%28 = load i32, ptr %3, align 4
%29 = call i32 @sleep(i32 noundef %28)
%30 = call i32 (...) @update_sysdata()
br label %31
31: ; preds = %27, %24
%32 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%33 = call i32 @get_sysdata(ptr noundef @.str.12, ptr noundef %6, ptr noundef %32)
%34 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%35 = call i32 @get_sysdata(ptr noundef @.str.13, ptr noundef %6, ptr noundef %34)
%36 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%37 = call i32 @get_sysdata(ptr noundef @.str.14, ptr noundef %6, ptr noundef %36)
%38 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%39 = call i32 @get_sysdata(ptr noundef @.str.15, ptr noundef %6, ptr noundef %38)
%40 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%41 = call i32 @get_sysdata(ptr noundef @.str.16, ptr noundef %6, ptr noundef %40)
%42 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0
%43 = call i32 @get_sysdata(ptr noundef @.str.17, ptr noundef %6, ptr noundef %42)
%44 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
%45 = call i32 @get_sysdata(ptr noundef @.str.5, ptr noundef %6, ptr noundef %44)
%46 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
%47 = call i32 @get_sysdata(ptr noundef @.str.18, ptr noundef %6, ptr noundef %46)
%48 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
%49 = call i32 @get_sysdata(ptr noundef @.str.10, ptr noundef %6, ptr noundef %48)
%50 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
%51 = call i32 @get_sysdata(ptr noundef @.str.8, ptr noundef %6, ptr noundef %50)
%52 = load i32, ptr @stdout, align 4
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds [32 x i8], ptr %7, i64 0, i64 0
%55 = getelementptr inbounds [32 x i8], ptr %8, i64 0, i64 0
%56 = getelementptr inbounds [32 x i8], ptr %9, i64 0, i64 0
%57 = getelementptr inbounds [32 x i8], ptr %10, i64 0, i64 0
%58 = getelementptr inbounds [32 x i8], ptr %11, i64 0, i64 0
%59 = getelementptr inbounds [32 x i8], ptr %12, i64 0, i64 0
%60 = getelementptr inbounds [32 x i8], ptr %13, i64 0, i64 0
%61 = getelementptr inbounds [32 x i8], ptr %14, i64 0, i64 0
%62 = getelementptr inbounds [32 x i8], ptr %15, i64 0, i64 0
%63 = getelementptr inbounds [32 x i8], ptr %16, i64 0, i64 0
%64 = call i32 @fprintf(i32 noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63)
%65 = load i32, ptr @stdout, align 4
%66 = call i32 @fflush(i32 noundef %65)
br label %67
67: ; preds = %31
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %4, align 4
%70 = icmp sgt i32 %69, 0
br i1 %70, label %24, label %71, !llvm.loop !6
71: ; preds = %67
ret void
}
declare i32 @print_system_configuration(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @update_sysdata(...) #1
declare i32 @get_sysdata(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqbmng_mv.c'
source_filename = "/tmp/tmpqbmng_mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@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/tmpqbmng_mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@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/tmp0oyisc8d.c'
source_filename = "/tmp/tmp0oyisc8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @newDbGetLastupdateClimate() #0 {
%1 = call i32 @newDbGetLastupdateDevicesDev(i32 noundef 1, i32 noundef 5)
ret i32 %1
}
declare i32 @newDbGetLastupdateDevicesDev(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/tmp0oyisc8d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @newDbGetLastupdateClimate() #0 {
%1 = call i32 @newDbGetLastupdateDevicesDev(i32 noundef 1, i32 noundef 5)
ret i32 %1
}
declare i32 @newDbGetLastupdateDevicesDev(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/tmp_4855l1s.c'
source_filename = "/tmp/tmp_4855l1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Array display:\09[\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%zu\09\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @NA_display(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i64 0, ptr %5, align 8
br label %7
7: ; preds = %17, %2
%8 = load i64, ptr %5, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %20
11: ; preds = %7
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
%15 = load i64, ptr %14, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %15)
br label %17
17: ; preds = %11
%18 = load i64, ptr %5, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %5, align 8
br label %7, !llvm.loop !6
20: ; preds = %7
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_4855l1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Array display:\09[\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%zu\09\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @NA_display(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i64 0, ptr %5, align 8
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %16
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i64, ptr %11, i64 %12
%14 = load i64, ptr %13, align 8
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %14)
br label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %5, align 8
%19 = load i64, ptr %5, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5_cuxjdm.c'
source_filename = "/tmp/tmp5_cuxjdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getc_unlocked(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @_DIAGASSERT(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @__sgetc(ptr noundef %7)
ret i32 %8
}
declare i32 @_DIAGASSERT(i32 noundef) #1
declare i32 @__sgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5_cuxjdm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getc_unlocked(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @_DIAGASSERT(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @__sgetc(ptr noundef %7)
ret i32 %8
}
declare i32 @_DIAGASSERT(i32 noundef) #1
declare i32 @__sgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfjvzqi9g.c'
source_filename = "/tmp/tmpfjvzqi9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pub_der_to_pkey(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = call ptr (...) @EVP_PKEY_new()
store ptr %9, ptr %6, align 8
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
%10 = call ptr (...) @EVP_PKEY_new()
store ptr %10, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %44
13: ; preds = %2
%14 = call i32 (...) @BIO_s_mem()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %8, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
br label %41
18: ; preds = %13
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %5, align 8
%22 = call i64 @BIO_write(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load i64, ptr %5, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %33
25: ; preds = %18
%26 = load ptr, ptr %8, align 8
%27 = call i64 @d2i_EC_PUBKEY_bio(ptr noundef %26, ptr noundef %7)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = call i32 @EVP_PKEY_assign_EC_KEY(ptr noundef %30, ptr noundef %31)
br label %34
33: ; preds = %25, %18
br label %38
34: ; preds = %29
%35 = load ptr, ptr %8, align 8
%36 = call i32 @BIO_free(ptr noundef %35)
%37 = load ptr, ptr %6, align 8
store ptr %37, ptr %3, align 8
br label %44
38: ; preds = %33
%39 = load ptr, ptr %8, align 8
%40 = call i32 @BIO_free(ptr noundef %39)
br label %41
41: ; preds = %38, %17
%42 = load ptr, ptr %6, align 8
%43 = call i32 @EVP_PKEY_free(ptr noundef %42)
store ptr null, ptr %3, align 8
br label %44
44: ; preds = %41, %34, %12
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare ptr @EVP_PKEY_new(...) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i64 @BIO_write(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @d2i_EC_PUBKEY_bio(ptr noundef, ptr noundef) #1
declare i32 @EVP_PKEY_assign_EC_KEY(ptr noundef, ptr noundef) #1
declare i32 @BIO_free(ptr noundef) #1
declare i32 @EVP_PKEY_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/tmpfjvzqi9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pub_der_to_pkey(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%9 = call ptr (...) @EVP_PKEY_new()
store ptr %9, ptr %6, align 8
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
%10 = call ptr (...) @EVP_PKEY_new()
store ptr %10, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %44
13: ; preds = %2
%14 = call i32 (...) @BIO_s_mem()
%15 = call ptr @BIO_new(i32 noundef %14)
store ptr %15, ptr %8, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
br label %41
18: ; preds = %13
%19 = load ptr, ptr %8, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i64, ptr %5, align 8
%22 = call i64 @BIO_write(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load i64, ptr %5, align 8
%24 = icmp eq i64 %22, %23
br i1 %24, label %25, label %33
25: ; preds = %18
%26 = load ptr, ptr %8, align 8
%27 = call i64 @d2i_EC_PUBKEY_bio(ptr noundef %26, ptr noundef %7)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = call i32 @EVP_PKEY_assign_EC_KEY(ptr noundef %30, ptr noundef %31)
br label %34
33: ; preds = %25, %18
br label %38
34: ; preds = %29
%35 = load ptr, ptr %8, align 8
%36 = call i32 @BIO_free(ptr noundef %35)
%37 = load ptr, ptr %6, align 8
store ptr %37, ptr %3, align 8
br label %44
38: ; preds = %33
%39 = load ptr, ptr %8, align 8
%40 = call i32 @BIO_free(ptr noundef %39)
br label %41
41: ; preds = %38, %17
%42 = load ptr, ptr %6, align 8
%43 = call i32 @EVP_PKEY_free(ptr noundef %42)
store ptr null, ptr %3, align 8
br label %44
44: ; preds = %41, %34, %12
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare ptr @EVP_PKEY_new(...) #1
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_mem(...) #1
declare i64 @BIO_write(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @d2i_EC_PUBKEY_bio(ptr noundef, ptr noundef) #1
declare i32 @EVP_PKEY_assign_EC_KEY(ptr noundef, ptr noundef) #1
declare i32 @BIO_free(ptr noundef) #1
declare i32 @EVP_PKEY_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/tmp44aw5gek.c'
source_filename = "/tmp/tmp44aw5gek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMRSAVEDC_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRCORE_SIZE16_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRCORE_SIZE16_swap(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/tmp44aw5gek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @U_WMRSAVEDC_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRCORE_SIZE16_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRCORE_SIZE16_swap(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/tmpydwbmfou.c'
source_filename = "/tmp/tmpydwbmfou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@lookUpInt.x = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lookUpInt(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i64 (...) @coin()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %8
7: ; preds = %1
store ptr @lookUpInt.x, ptr %2, align 8
br label %8
8: ; preds = %7, %6
%9 = load ptr, ptr %2, align 8
ret ptr %9
}
declare i64 @coin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydwbmfou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@lookUpInt.x = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @lookUpInt(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i64 (...) @coin()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store ptr null, ptr %2, align 8
br label %8
7: ; preds = %1
store ptr @lookUpInt.x, ptr %2, align 8
br label %8
8: ; preds = %7, %6
%9 = load ptr, ptr %2, align 8
ret ptr %9
}
declare i64 @coin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxg29el6.c'
source_filename = "/tmp/tmpaxg29el6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr (...) @dang()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store i32 7, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 7
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = call ptr (...) @dang()
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 3
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = call i32 @nestra(ptr noundef %3)
%25 = load ptr, ptr %3, align 8
store i32 8, ptr %25, align 4
%26 = call i32 @nestra(ptr noundef %4)
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %27, align 4
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 5
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
ret i32 0
}
declare ptr @dang(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @nestra(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxg29el6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call ptr (...) @dang()
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store i32 7, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = icmp eq i32 %11, 7
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = call ptr (...) @dang()
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 3
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 noundef %22)
%24 = call i32 @nestra(ptr noundef %3)
%25 = load ptr, ptr %3, align 8
store i32 8, ptr %25, align 4
%26 = call i32 @nestra(ptr noundef %4)
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %27, align 4
store i32 %28, ptr %2, align 4
%29 = load i32, ptr %2, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 5
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
ret i32 0
}
declare ptr @dang(...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @nestra(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb6atj2ml.c'
source_filename = "/tmp/tmpb6atj2ml.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_kill = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kill(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @SYS_kill, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @syscall_1(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @syscall_1(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/tmpb6atj2ml.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_kill = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kill(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @SYS_kill, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @syscall_1(i32 noundef %3, i32 noundef %4)
ret i32 %5
}
declare i32 @syscall_1(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/tmprg0u9147.c'
source_filename = "/tmp/tmprg0u9147.c"
target datalayout = "e-m:e-p270: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/tmprg0u9147.c"
target datalayout = "e-m:e-p270: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/tmph_w0ogqy.c'
source_filename = "/tmp/tmph_w0ogqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spaceCount(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %34
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %4, align 8
store i8 32, ptr %5, align 1
store i32 0, ptr %6, align 4
store i64 0, ptr %7, align 8
br label %14
14: ; preds = %29, %11
%15 = load i64, ptr %7, align 8
%16 = load i64, ptr %4, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %18, label %32
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 32
br i1 %24, label %25, label %28
25: ; preds = %18
%26 = load i32, ptr %6, align 4
%27 = add i32 %26, 1
store i32 %27, ptr %6, align 4
br label %28
28: ; preds = %25, %18
br label %29
29: ; preds = %28
%30 = load i64, ptr %7, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %7, align 8
br label %14, !llvm.loop !6
32: ; preds = %14
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %2, align 4
br label %34
34: ; preds = %32, %10
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i64 @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/tmph_w0ogqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spaceCount(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %36
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i64 @strlen(ptr noundef %12)
store i64 %13, ptr %4, align 8
store i8 32, ptr %5, align 1
store i32 0, ptr %6, align 4
store i64 0, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %4, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %11
br label %17
17: ; preds = %.lr.ph, %28
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %18, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 32
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = load i32, ptr %6, align 4
%26 = add i32 %25, 1
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %24, %17
br label %28
28: ; preds = %27
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %7, align 8
%31 = load i64, ptr %7, align 8
%32 = load i64, ptr %4, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %11
%35 = load i32, ptr %6, align 4
store i32 %35, ptr %2, align 4
br label %36
36: ; preds = %34, %10
%37 = load i32, ptr %2, align 4
ret i32 %37
}
declare i64 @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/tmpseuldf9q.c'
source_filename = "/tmp/tmpseuldf9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1F\8B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test(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 @strcmp(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpseuldf9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1F\8B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test(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 @strcmp(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoi2nvta3.c'
source_filename = "/tmp/tmpoi2nvta3.c"
target datalayout = "e-m:e-p270: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/tmpoi2nvta3.c"
target datalayout = "e-m:e-p270: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/tmpiuxep10q.c'
source_filename = "/tmp/tmpiuxep10q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"V%d%c%d\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Right side of equation must be a variable, an operator, and a constant!\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"index out of bounds!\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"unknown operator\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @process_rhs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %6, ptr noundef %8, ptr noundef %7)
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 @puts(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
16: ; preds = %2
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 20
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = call i32 @puts(ptr noundef @.str.2)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %9, align 4
%28 = load i8, ptr %8, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %35
31: ; preds = %22
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %32, %33
store i32 %34, ptr %3, align 4
br label %62
35: ; preds = %22
%36 = load i8, ptr %8, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 45
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
store i32 %42, ptr %3, align 4
br label %62
43: ; preds = %35
%44 = load i8, ptr %8, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 42
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %3, align 4
br label %62
51: ; preds = %43
%52 = load i8, ptr %8, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 47
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %7, align 4
%58 = sdiv i32 %56, %57
store i32 %58, ptr %3, align 4
br label %62
59: ; preds = %51
%60 = call i32 @puts(ptr noundef @.str.3)
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
62: ; preds = %55, %47, %39, %31
%63 = load i32, ptr %3, align 4
ret i32 %63
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiuxep10q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"V%d%c%d\00", align 1
@.str.1 = private unnamed_addr constant [72 x i8] c"Right side of equation must be a variable, an operator, and a constant!\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"index out of bounds!\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"unknown operator\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @process_rhs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @sscanf(ptr noundef %10, ptr noundef @.str, ptr noundef %6, ptr noundef %8, ptr noundef %7)
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 @puts(ptr noundef @.str.1)
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
16: ; preds = %2
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 20
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = call i32 @puts(ptr noundef @.str.2)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
store i32 %27, ptr %9, align 4
%28 = load i8, ptr %8, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 43
br i1 %30, label %31, label %35
31: ; preds = %22
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %32, %33
store i32 %34, ptr %3, align 4
br label %62
35: ; preds = %22
%36 = load i8, ptr %8, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 45
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %7, align 4
%42 = sub nsw i32 %40, %41
store i32 %42, ptr %3, align 4
br label %62
43: ; preds = %35
%44 = load i8, ptr %8, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 42
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = load i32, ptr %9, align 4
%49 = load i32, ptr %7, align 4
%50 = mul nsw i32 %48, %49
store i32 %50, ptr %3, align 4
br label %62
51: ; preds = %43
%52 = load i8, ptr %8, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 47
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %7, align 4
%58 = sdiv i32 %56, %57
store i32 %58, ptr %3, align 4
br label %62
59: ; preds = %51
%60 = call i32 @puts(ptr noundef @.str.3)
%61 = call i32 @exit(i32 noundef 0) #3
unreachable
62: ; preds = %55, %47, %39, %31
%63 = load i32, ptr %3, align 4
ret i32 %63
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyi_wt3i6.c'
source_filename = "/tmp/tmpyi_wt3i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chroot(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 @syscall(i32 noundef 61, ptr noundef %3)
ret i32 %4
}
declare i32 @syscall(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/tmpyi_wt3i6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chroot(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 @syscall(i32 noundef 61, ptr noundef %3)
ret i32 %4
}
declare i32 @syscall(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/tmpd4segyje.c'
source_filename = "/tmp/tmpd4segyje.c"
target datalayout = "e-m:e-p270: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.inotify_event = type { i64, i32 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@IN_MODIFY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wait_for_inotify(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [64 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%10 = call i64 @read(i32 noundef %8, ptr noundef %9, i32 noundef 64)
store i64 %10, ptr %6, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %1
%14 = load i64, ptr @errno, align 8
%15 = load i64, ptr @EINTR, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i64, ptr @errno, align 8
%19 = load i64, ptr @EAGAIN, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17, %13
store i32 0, ptr %2, align 4
br label %49
22: ; preds = %17
store i32 -2, ptr %2, align 4
br label %49
23: ; preds = %1
store i64 0, ptr %7, align 8
br label %24
24: ; preds = %41, %23
%25 = load i64, ptr %7, align 8
%26 = load i64, ptr %6, align 8
%27 = icmp slt i64 %25, %26
br i1 %27, label %28, label %48
28: ; preds = %24
%29 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%30 = load i64, ptr %7, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
store ptr %31, ptr %5, align 8
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds %struct.inotify_event, ptr %32, i32 0, i32 1
%34 = load i32, ptr %33, align 8
%35 = load i32, ptr @IN_MODIFY, align 4
%36 = xor i32 %35, -1
%37 = and i32 %34, %36
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %28
store i32 -1, ptr %2, align 4
br label %49
40: ; preds = %28
br label %41
41: ; preds = %40
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds %struct.inotify_event, ptr %42, i32 0, i32 0
%44 = load i64, ptr %43, align 8
%45 = add i64 16, %44
%46 = load i64, ptr %7, align 8
%47 = add i64 %46, %45
store i64 %47, ptr %7, align 8
br label %24, !llvm.loop !6
48: ; preds = %24
store i32 0, ptr %2, align 4
br label %49
49: ; preds = %48, %39, %22, %21
%50 = load i32, ptr %2, align 4
ret i32 %50
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd4segyje.c"
target datalayout = "e-m:e-p270: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.inotify_event = type { i64, i32 }
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@IN_MODIFY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @wait_for_inotify(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [64 x i8], align 16
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 %0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%10 = call i64 @read(i32 noundef %8, ptr noundef %9, i32 noundef 64)
store i64 %10, ptr %6, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp slt i64 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %1
%14 = load i64, ptr @errno, align 8
%15 = load i64, ptr @EINTR, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %21, label %17
17: ; preds = %13
%18 = load i64, ptr @errno, align 8
%19 = load i64, ptr @EAGAIN, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17, %13
store i32 0, ptr %2, align 4
br label %51
22: ; preds = %17
store i32 -2, ptr %2, align 4
br label %51
23: ; preds = %1
store i64 0, ptr %7, align 8
%24 = load i64, ptr %7, align 8
%25 = load i64, ptr %6, align 8
%26 = icmp slt i64 %24, %25
br i1 %26, label %.lr.ph, label %50
.lr.ph: ; preds = %23
br label %27
27: ; preds = %.lr.ph, %40
%28 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%29 = load i64, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.inotify_event, ptr %31, i32 0, i32 1
%33 = load i32, ptr %32, align 8
%34 = load i32, ptr @IN_MODIFY, align 4
%35 = xor i32 %34, -1
%36 = and i32 %33, %35
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %27
store i32 -1, ptr %2, align 4
br label %51
39: ; preds = %27
br label %40
40: ; preds = %39
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds %struct.inotify_event, ptr %41, i32 0, i32 0
%43 = load i64, ptr %42, align 8
%44 = add i64 16, %43
%45 = load i64, ptr %7, align 8
%46 = add i64 %45, %44
store i64 %46, ptr %7, align 8
%47 = load i64, ptr %7, align 8
%48 = load i64, ptr %6, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %50
50: ; preds = %._crit_edge, %23
store i32 0, ptr %2, align 4
br label %51
51: ; preds = %50, %38, %22, %21
%52 = load i32, ptr %2, align 4
ret i32 %52
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2rvw36dr.c'
source_filename = "/tmp/tmp2rvw36dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Do you want to guess now? (y/n) \00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"What is the location of atom #%d? <x,y> \00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %*c %d\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"\0ACorrect\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"\0AIncorrect. Plus 5 points.\00", align 1
@.str.5 = private unnamed_addr constant [47 x i8] c"\0AYour final score : %d\0AHere's the Blackbox.\0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @endgame(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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %18, %3
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %11, align 1
%15 = call i32 @isalpha(i8 noundef signext %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %18, label %19
18: ; preds = %13
br label %13, !llvm.loop !6
19: ; preds = %13
%20 = load i8, ptr %11, align 1
%21 = call signext i8 @tolower(i8 noundef signext %20)
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %22, 121
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = load ptr, ptr %6, align 8
%27 = call i32 @drawbox(ptr noundef %25, ptr noundef %26, i32 noundef 1)
store i32 0, ptr %4, align 4
br label %74
28: ; preds = %19
%29 = load ptr, ptr %5, align 8
%30 = load ptr, ptr %6, align 8
%31 = call i32 @drawbox(ptr noundef %29, ptr noundef %30, i32 noundef 2)
store i32 0, ptr %8, align 4
br label %32
32: ; preds = %64, %28
%33 = load i32, ptr %8, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %35, label %67
35: ; preds = %32
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
%39 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10)
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [10 x i32], ptr %40, i64 %42
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [10 x i32], ptr %43, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp eq i32 %47, 1
br i1 %48, label %49, label %58
49: ; preds = %35
%50 = call i32 @puts(ptr noundef @.str.3)
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x i32], ptr %51, i64 %53
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x i32], ptr %54, i64 0, i64 %56
store i32 10, ptr %57, align 4
br label %63
58: ; preds = %35
%59 = call i32 @puts(ptr noundef @.str.4)
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %61, 5
store i32 %62, ptr %60, align 4
br label %63
63: ; preds = %58, %49
br label %64
64: ; preds = %63
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %8, align 4
br label %32, !llvm.loop !8
67: ; preds = %32
%68 = load ptr, ptr %5, align 8
%69 = load ptr, ptr %6, align 8
%70 = call i32 @drawbox(ptr noundef %68, ptr noundef %69, i32 noundef 3)
%71 = load ptr, ptr %7, align 8
%72 = load i32, ptr %71, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %72)
store i32 1, ptr %4, align 4
br label %74
74: ; preds = %67, %24
%75 = load i32, ptr %4, align 4
ret i32 %75
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @isalpha(i8 noundef signext) #1
declare signext i8 @getchar(...) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @drawbox(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2rvw36dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Do you want to guess now? (y/n) \00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"What is the location of atom #%d? <x,y> \00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %*c %d\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"\0ACorrect\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"\0AIncorrect. Plus 5 points.\00", align 1
@.str.5 = private unnamed_addr constant [47 x i8] c"\0AYour final score : %d\0AHere's the Blackbox.\0A \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @endgame(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 i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %13
13: ; preds = %13, %3
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %11, align 1
%15 = call i32 @isalpha(i8 noundef signext %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
br i1 %17, label %13, label %18, !llvm.loop !6
18: ; preds = %13
%19 = load i8, ptr %11, align 1
%20 = call signext i8 @tolower(i8 noundef signext %19)
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 121
br i1 %22, label %23, label %27
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @drawbox(ptr noundef %24, ptr noundef %25, i32 noundef 1)
store i32 0, ptr %4, align 4
br label %74
27: ; preds = %18
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %6, align 8
%30 = call i32 @drawbox(ptr noundef %28, ptr noundef %29, i32 noundef 2)
store i32 0, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 4
br i1 %32, label %.lr.ph, label %67
.lr.ph: ; preds = %27
br label %33
33: ; preds = %.lr.ph, %62
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35)
%37 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %9, ptr noundef %10)
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x i32], ptr %38, i64 %40
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [10 x i32], ptr %41, i64 0, i64 %43
%45 = load i32, ptr %44, align 4
%46 = icmp eq i32 %45, 1
br i1 %46, label %47, label %56
47: ; preds = %33
%48 = call i32 @puts(ptr noundef @.str.3)
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %9, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [10 x i32], ptr %49, i64 %51
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x i32], ptr %52, i64 0, i64 %54
store i32 10, ptr %55, align 4
br label %61
56: ; preds = %33
%57 = call i32 @puts(ptr noundef @.str.4)
%58 = load ptr, ptr %7, align 8
%59 = load i32, ptr %58, align 4
%60 = add nsw i32 %59, 5
store i32 %60, ptr %58, align 4
br label %61
61: ; preds = %56, %47
br label %62
62: ; preds = %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = icmp slt i32 %65, 4
br i1 %66, label %33, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %27
%68 = load ptr, ptr %5, align 8
%69 = load ptr, ptr %6, align 8
%70 = call i32 @drawbox(ptr noundef %68, ptr noundef %69, i32 noundef 3)
%71 = load ptr, ptr %7, align 8
%72 = load i32, ptr %71, align 4
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %72)
store i32 1, ptr %4, align 4
br label %74
74: ; preds = %67, %23
%75 = load i32, ptr %4, align 4
ret i32 %75
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @isalpha(i8 noundef signext) #1
declare signext i8 @getchar(...) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @drawbox(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfl_cl_2y.c'
source_filename = "/tmp/tmpfl_cl_2y.c"
target datalayout = "e-m:e-p270: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/tmpfl_cl_2y.c"
target datalayout = "e-m:e-p270: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/tmpxyc842ss.c'
source_filename = "/tmp/tmpxyc842ss.c"
target datalayout = "e-m:e-p270: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 i32 @get_XMapEvent_override_redirect(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxyc842ss.c"
target datalayout = "e-m:e-p270: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 i32 @get_XMapEvent_override_redirect(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 %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt3r6drk0.c'
source_filename = "/tmp/tmpt3r6drk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseonestd(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 1000000, ptr %6, align 4
br label %7
7: ; preds = %1, %71
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %15, label %11
11: ; preds = %7
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %2, align 4
br label %106
15: ; preds = %7
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp sle i32 48, %18
br i1 %19, label %20, label %34
20: ; preds = %15
%21 = load ptr, ptr %3, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sle i32 %23, 57
br i1 %24, label %25, label %34
25: ; preds = %20
%26 = load i32, ptr %5, align 4
%27 = mul nsw i32 %26, 10
store i32 %27, ptr %5, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = sub nsw i32 %30, 48
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %5, align 4
br label %71
34: ; preds = %20, %15
%35 = load ptr, ptr %3, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 46
br i1 %38, label %39, label %40
39: ; preds = %34
br label %74
40: ; preds = %34
%41 = load ptr, ptr %3, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
switch i32 %43, label %69 [
i32 58, label %44
i32 115, label %50
i32 109, label %54
i32 104, label %59
i32 100, label %64
]
44: ; preds = %40
%45 = load i32, ptr %5, align 4
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, %45
store i32 %47, ptr %4, align 4
%48 = load i32, ptr %4, align 4
%49 = mul nsw i32 %48, 60
store i32 %49, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %69
50: ; preds = %40
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %69
54: ; preds = %40
%55 = load i32, ptr %5, align 4
%56 = mul nsw i32 %55, 60
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, %56
store i32 %58, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %69
59: ; preds = %40
%60 = load i32, ptr %5, align 4
%61 = mul nsw i32 %60, 3600
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, %61
store i32 %63, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %69
64: ; preds = %40
%65 = load i32, ptr %5, align 4
%66 = mul nsw i32 %65, 86400
%67 = load i32, ptr %4, align 4
%68 = add nsw i32 %67, %66
store i32 %68, ptr %4, align 4
br label %69
69: ; preds = %40, %64, %59, %54, %50, %44
br label %70
70: ; preds = %69
br label %71
71: ; preds = %70, %25
%72 = load ptr, ptr %3, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %3, align 8
br label %7
74: ; preds = %39
br label %75
75: ; preds = %101, %74
%76 = load ptr, ptr %3, align 8
%77 = getelementptr inbounds i8, ptr %76, i32 1
store ptr %77, ptr %3, align 8
%78 = load i8, ptr %77, align 1
%79 = icmp ne i8 %78, 0
br i1 %79, label %80, label %102
80: ; preds = %75
%81 = load i32, ptr %6, align 4
%82 = sdiv i32 %81, 10
store i32 %82, ptr %6, align 4
%83 = load ptr, ptr %3, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp sle i32 48, %85
br i1 %86, label %87, label %101
87: ; preds = %80
%88 = load ptr, ptr %3, align 8
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp sle i32 %90, 57
br i1 %91, label %92, label %101
92: ; preds = %87
%93 = load ptr, ptr %3, align 8
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = sub nsw i32 %95, 48
%97 = load i32, ptr %6, align 4
%98 = mul nsw i32 %96, %97
%99 = trunc i32 %98 to i8
%100 = call i32 @usleep(i8 noundef signext %99)
br label %101
101: ; preds = %92, %87, %80
br label %75, !llvm.loop !6
102: ; preds = %75
%103 = load i32, ptr %4, align 4
%104 = load i32, ptr %5, align 4
%105 = add nsw i32 %103, %104
store i32 %105, ptr %2, align 4
br label %106
106: ; preds = %102, %11
%107 = load i32, ptr %2, align 4
ret i32 %107
}
declare i32 @usleep(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/tmpt3r6drk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseonestd(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 1000000, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %10
.lr.ph: ; preds = %1
br label %14
._crit_edge: ; preds = %70
br label %10
10: ; preds = %._crit_edge, %1
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %2, align 4
br label %111
14: ; preds = %.lr.ph, %70
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp sle i32 48, %17
br i1 %18, label %19, label %33
19: ; preds = %14
%20 = load ptr, ptr %3, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 57
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = load i32, ptr %5, align 4
%26 = mul nsw i32 %25, 10
store i32 %26, ptr %5, align 4
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = sub nsw i32 %29, 48
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %5, align 4
br label %70
33: ; preds = %19, %14
%34 = load ptr, ptr %3, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 46
br i1 %37, label %38, label %39
38: ; preds = %33
br label %76
39: ; preds = %33
%40 = load ptr, ptr %3, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
switch i32 %42, label %68 [
i32 58, label %43
i32 115, label %49
i32 109, label %53
i32 104, label %58
i32 100, label %63
]
43: ; preds = %39
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, %44
store i32 %46, ptr %4, align 4
%47 = load i32, ptr %4, align 4
%48 = mul nsw i32 %47, 60
store i32 %48, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %68
49: ; preds = %39
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, %50
store i32 %52, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %68
53: ; preds = %39
%54 = load i32, ptr %5, align 4
%55 = mul nsw i32 %54, 60
%56 = load i32, ptr %4, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %68
58: ; preds = %39
%59 = load i32, ptr %5, align 4
%60 = mul nsw i32 %59, 3600
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, %60
store i32 %62, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %68
63: ; preds = %39
%64 = load i32, ptr %5, align 4
%65 = mul nsw i32 %64, 86400
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, %65
store i32 %67, ptr %4, align 4
br label %68
68: ; preds = %63, %58, %53, %49, %43, %39
br label %69
69: ; preds = %68
br label %70
70: ; preds = %69, %24
%71 = load ptr, ptr %3, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %3, align 8
%73 = load ptr, ptr %3, align 8
%74 = load i8, ptr %73, align 1
%75 = icmp ne i8 %74, 0
br i1 %75, label %14, label %._crit_edge
76: ; preds = %38
%77 = load ptr, ptr %3, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %3, align 8
%79 = load i8, ptr %78, align 1
%80 = icmp ne i8 %79, 0
br i1 %80, label %.lr.ph2, label %107
.lr.ph2: ; preds = %76
br label %81
81: ; preds = %.lr.ph2, %102
%82 = load i32, ptr %6, align 4
%83 = sdiv i32 %82, 10
store i32 %83, ptr %6, align 4
%84 = load ptr, ptr %3, align 8
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp sle i32 48, %86
br i1 %87, label %88, label %102
88: ; preds = %81
%89 = load ptr, ptr %3, align 8
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp sle i32 %91, 57
br i1 %92, label %93, label %102
93: ; preds = %88
%94 = load ptr, ptr %3, align 8
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = sub nsw i32 %96, 48
%98 = load i32, ptr %6, align 4
%99 = mul nsw i32 %97, %98
%100 = trunc i32 %99 to i8
%101 = call i32 @usleep(i8 noundef signext %100)
br label %102
102: ; preds = %93, %88, %81
%103 = load ptr, ptr %3, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %3, align 8
%105 = load i8, ptr %104, align 1
%106 = icmp ne i8 %105, 0
br i1 %106, label %81, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %102
br label %107
107: ; preds = %._crit_edge3, %76
%108 = load i32, ptr %4, align 4
%109 = load i32, ptr %5, align 4
%110 = add nsw i32 %108, %109
store i32 %110, ptr %2, align 4
br label %111
111: ; preds = %107, %10
%112 = load i32, ptr %2, align 4
ret i32 %112
}
declare i32 @usleep(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/tmpsbsh0rdr.c'
source_filename = "/tmp/tmpsbsh0rdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i64 0, align 8
@AF_INET = dso_local global i64 0, align 8
@AF_INET6 = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [56 x i8] c"darwin_convert_family_to_native: unsupported family %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @darwin_convert_family_from_native(i64 noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = load i64, ptr @AF_UNSPEC, align 8
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i16 0, ptr %2, align 2
br label %23
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr @AF_INET, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i16 2, ptr %2, align 2
br label %23
13: ; preds = %8
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr @AF_INET6, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %13
store i16 10, ptr %2, align 2
br label %23
18: ; preds = %13
%19 = load i64, ptr %3, align 8
%20 = call i32 @printf(ptr noundef @.str, i64 noundef %19)
%21 = load i64, ptr %3, align 8
%22 = trunc i64 %21 to i16
store i16 %22, ptr %2, align 2
br label %23
23: ; preds = %18, %17, %12, %7
%24 = load i16, ptr %2, align 2
ret i16 %24
}
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/tmpsbsh0rdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i64 0, align 8
@AF_INET = dso_local global i64 0, align 8
@AF_INET6 = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [56 x i8] c"darwin_convert_family_to_native: unsupported family %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @darwin_convert_family_from_native(i64 noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%4 = load i64, ptr %3, align 8
%5 = load i64, ptr @AF_UNSPEC, align 8
%6 = icmp eq i64 %4, %5
br i1 %6, label %7, label %8
7: ; preds = %1
store i16 0, ptr %2, align 2
br label %23
8: ; preds = %1
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr @AF_INET, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i16 2, ptr %2, align 2
br label %23
13: ; preds = %8
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr @AF_INET6, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %13
store i16 10, ptr %2, align 2
br label %23
18: ; preds = %13
%19 = load i64, ptr %3, align 8
%20 = call i32 @printf(ptr noundef @.str, i64 noundef %19)
%21 = load i64, ptr %3, align 8
%22 = trunc i64 %21 to i16
store i16 %22, ptr %2, align 2
br label %23
23: ; preds = %18, %17, %12, %7
%24 = load i16, ptr %2, align 2
ret i16 %24
}
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/tmppnc_jrlr.c'
source_filename = "/tmp/tmppnc_jrlr.c"
target datalayout = "e-m:e-p270: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/tmppnc_jrlr.c"
target datalayout = "e-m:e-p270: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/tmpeg6w18el.c'
source_filename = "/tmp/tmpeg6w18el.c"
target datalayout = "e-m:e-p270: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/tmpeg6w18el.c"
target datalayout = "e-m:e-p270: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/tmpjqwvm46j.c'
source_filename = "/tmp/tmpjqwvm46j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Digite uma frase terminada com ponto final: \00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"A frase possui %d palavras.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ex3() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 100)
store ptr %2, ptr %1, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %1, align 8
%5 = call i32 @charIn(ptr noundef %4, i32 noundef 100)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @countWord(ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @charIn(ptr noundef, i32 noundef) #1
declare i32 @countWord(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjqwvm46j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Digite uma frase terminada com ponto final: \00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"A frase possui %d palavras.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ex3() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 100)
store ptr %2, ptr %1, align 8
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = load ptr, ptr %1, align 8
%5 = call i32 @charIn(ptr noundef %4, i32 noundef 100)
%6 = load ptr, ptr %1, align 8
%7 = call i32 @countWord(ptr noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %7)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @charIn(ptr noundef, i32 noundef) #1
declare i32 @countWord(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpim_kq31i.c'
source_filename = "/tmp/tmpim_kq31i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"argument missing\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0A... ich bin das Kind %d mit i %d, \00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"meine Eltern sind %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
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %14
%20 = call i32 (...) @getpid()
%21 = load i32, ptr %6, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21)
%23 = call i32 (...) @getppid()
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpim_kq31i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"argument missing\0A\00", align 1
@.str.1 = private unnamed_addr constant [36 x i8] c"\0A... ich bin das Kind %d mit i %d, \00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"meine Eltern sind %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
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %14
%20 = call i32 (...) @getpid()
%21 = load i32, ptr %6, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21)
%23 = call i32 (...) @getppid()
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23)
%25 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpof4j1dss.c'
source_filename = "/tmp/tmpof4j1dss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insertionSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %52, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %55
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %7, align 4
%18 = load i32, ptr %5, align 4
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %33, %12
%20 = load i32, ptr %6, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %31
22: ; preds = %19
%23 = load i32, ptr %7, align 4
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %23, %29
br label %31
31: ; preds = %22, %19
%32 = phi i1 [ false, %19 ], [ %30, %22 ]
br i1 %32, label %33, label %46
33: ; preds = %31
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %34, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
store i32 %39, ptr %43, align 4
%44 = load i32, ptr %6, align 4
%45 = sub nsw i32 %44, 1
store i32 %45, ptr %6, align 4
br label %19, !llvm.loop !6
46: ; preds = %31
%47 = load i32, ptr %7, align 4
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
br label %52
52: ; preds = %46
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
br label %8, !llvm.loop !8
55: ; preds = %8
store i32 0, ptr %6, align 4
br label %56
56: ; preds = %68, %55
%57 = load i32, ptr %6, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %71
60: ; preds = %56
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %65)
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %68
68: ; preds = %60
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
br label %56, !llvm.loop !9
71: ; preds = %56
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpof4j1dss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @insertionSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %57
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %51
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %6, align 4
br label %18
18: ; preds = %32, %11
%19 = load i32, ptr %6, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %30
21: ; preds = %18
%22 = load i32, ptr %7, align 4
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %23, i64 %26
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %22, %28
br label %30
30: ; preds = %21, %18
%31 = phi i1 [ false, %18 ], [ %29, %21 ]
br i1 %31, label %32, label %45
32: ; preds = %30
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %6, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %33, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
store i32 %38, ptr %42, align 4
%43 = load i32, ptr %6, align 4
%44 = sub nsw i32 %43, 1
store i32 %44, ptr %6, align 4
br label %18, !llvm.loop !6
45: ; preds = %30
%46 = load i32, ptr %7, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
store i32 %46, ptr %50, align 4
br label %51
51: ; preds = %45
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = load i32, ptr %3, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %11, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph2, label %75
.lr.ph2: ; preds = %57
br label %61
61: ; preds = %.lr.ph2, %69
%62 = load ptr, ptr %4, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %66)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %69
69: ; preds = %61
%70 = load i32, ptr %6, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %6, align 4
%72 = load i32, ptr %6, align 4
%73 = load i32, ptr %3, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %61, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %57
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprc8nf13x.c'
source_filename = "/tmp/tmprc8nf13x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @push(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = load i32, ptr %9, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %8, i64 %12
store i32 %7, ptr %13, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprc8nf13x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @push(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i32, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = load i32, ptr %9, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %8, i64 %12
store i32 %7, ptr %13, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.