llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpc9jyzv1r.c'
source_filename = "/tmp/tmpc9jyzv1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello, world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = 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/tmpc9jyzv1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello, world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = 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/tmpjv0oygtr.c'
source_filename = "/tmp/tmpjv0oygtr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_and6_int64_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, 6
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjv0oygtr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_and6_int64_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, 6
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpde1vc_cu.c'
source_filename = "/tmp/tmpde1vc_cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_F_PKCS7_FINAL = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@PKCS7_R_PKCS7_DATASIGN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PKCS7_final(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %5, align 8
%11 = call ptr @PKCS7_dataInit(ptr noundef %10, ptr noundef null)
store ptr %11, ptr %8, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %17, label %13
13: ; preds = %3
%14 = load i32, ptr @PKCS7_F_PKCS7_FINAL, align 4
%15 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
%16 = call i32 @PKCS7err(i32 noundef %14, i32 noundef %15)
store i32 0, ptr %4, align 4
br label %37
17: ; preds = %3
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @SMIME_crlf_copy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %8, align 8
%23 = call i32 @BIO_flush(ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %8, align 8
%26 = call i32 @PKCS7_dataFinal(ptr noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %17
%29 = load i32, ptr @PKCS7_F_PKCS7_FINAL, align 4
%30 = load i32, ptr @PKCS7_R_PKCS7_DATASIGN, align 4
%31 = call i32 @PKCS7err(i32 noundef %29, i32 noundef %30)
br label %33
32: ; preds = %17
store i32 1, ptr %9, align 4
br label %33
33: ; preds = %32, %28
%34 = load ptr, ptr %8, align 8
%35 = call i32 @BIO_free_all(ptr noundef %34)
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %33, %13
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare ptr @PKCS7_dataInit(ptr noundef, ptr noundef) #1
declare i32 @PKCS7err(i32 noundef, i32 noundef) #1
declare i32 @SMIME_crlf_copy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_flush(ptr noundef) #1
declare i32 @PKCS7_dataFinal(ptr noundef, ptr noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpde1vc_cu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_F_PKCS7_FINAL = dso_local global i32 0, align 4
@ERR_R_MALLOC_FAILURE = dso_local global i32 0, align 4
@PKCS7_R_PKCS7_DATASIGN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PKCS7_final(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %5, align 8
%11 = call ptr @PKCS7_dataInit(ptr noundef %10, ptr noundef null)
store ptr %11, ptr %8, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %17, label %13
13: ; preds = %3
%14 = load i32, ptr @PKCS7_F_PKCS7_FINAL, align 4
%15 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4
%16 = call i32 @PKCS7err(i32 noundef %14, i32 noundef %15)
store i32 0, ptr %4, align 4
br label %37
17: ; preds = %3
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %7, align 4
%21 = call i32 @SMIME_crlf_copy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %8, align 8
%23 = call i32 @BIO_flush(ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = load ptr, ptr %8, align 8
%26 = call i32 @PKCS7_dataFinal(ptr noundef %24, ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %17
%29 = load i32, ptr @PKCS7_F_PKCS7_FINAL, align 4
%30 = load i32, ptr @PKCS7_R_PKCS7_DATASIGN, align 4
%31 = call i32 @PKCS7err(i32 noundef %29, i32 noundef %30)
br label %33
32: ; preds = %17
store i32 1, ptr %9, align 4
br label %33
33: ; preds = %32, %28
%34 = load ptr, ptr %8, align 8
%35 = call i32 @BIO_free_all(ptr noundef %34)
%36 = load i32, ptr %9, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %33, %13
%38 = load i32, ptr %4, align 4
ret i32 %38
}
declare ptr @PKCS7_dataInit(ptr noundef, ptr noundef) #1
declare i32 @PKCS7err(i32 noundef, i32 noundef) #1
declare i32 @SMIME_crlf_copy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @BIO_flush(ptr noundef) #1
declare i32 @PKCS7_dataFinal(ptr noundef, ptr noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxzdeo7ld.c'
source_filename = "/tmp/tmpxzdeo7ld.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printValue(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = ashr i32 %8, 1
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
call void @printValue(i32 noundef %9, i32 noundef %11)
%12 = load i32, ptr %3, align 4
%13 = and i32 %12, 1
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %7, %2
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/tmpxzdeo7ld.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printValue(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %15
7: ; preds = %2
%8 = load i32, ptr %3, align 4
%9 = ashr i32 %8, 1
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
call void @printValue(i32 noundef %9, i32 noundef %11)
%12 = load i32, ptr %3, align 4
%13 = and i32 %12, 1
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %7, %2
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/tmpjaawsjsh.c'
source_filename = "/tmp/tmpjaawsjsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_systime() #0 {
%1 = alloca %struct.timeval, align 8
call void @llvm.memset.p0.i64(ptr align 8 %1, i8 0, i64 16, i1 false)
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = sitofp i64 %7 to double
%9 = call double @llvm.fmuladd.f64(double %8, double 0x3EB0C6F7A0B5ED8D, double %5)
ret double %9
}
; 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 @gettimeofday(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjaawsjsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_systime() #0 {
%1 = alloca %struct.timeval, align 8
call void @llvm.memset.p0.i64(ptr align 8 %1, i8 0, i64 16, i1 false)
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
%3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%4 = load i64, ptr %3, align 8
%5 = sitofp i64 %4 to double
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = sitofp i64 %7 to double
%9 = call double @llvm.fmuladd.f64(double %8, double 0x3EB0C6F7A0B5ED8D, double %5)
ret double %9
}
; 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 @gettimeofday(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptdmqyjel.c'
source_filename = "/tmp/tmptdmqyjel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/bus/usb/devices\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"BC125AT\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Vendor=\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"ProdID=\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"found_device=%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"found_device=%d; vendor=%s; product=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca [16 x i8], align 16
%9 = alloca [16 x i8], align 16
%10 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
store i8 0, ptr %11, align 16
%12 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %12, align 16
store i8 0, ptr %10, align 1
%13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %13, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %2
store i32 1, ptr %3, align 4
br label %81
16: ; preds = %2
br label %17
17: ; preds = %60, %16
%18 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%19 = load ptr, ptr %6, align 8
%20 = call i64 @fgets(ptr noundef %18, i32 noundef 4096, ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %67
22: ; preds = %17
%23 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%24 = call i64 @strstr(ptr noundef %23, ptr noundef @.str.2)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %22
store i8 1, ptr %10, align 1
br label %45
27: ; preds = %22
%28 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%29 = load i8, ptr %28, align 16
%30 = icmp ne i8 %29, 0
br i1 %30, label %31, label %41
31: ; preds = %27
%32 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%33 = load i8, ptr %32, align 16
%34 = sext i8 %33 to i32
%35 = icmp sge i32 %34, 65
br i1 %35, label %36, label %41
36: ; preds = %31
%37 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%38 = load i8, ptr %37, align 16
%39 = sext i8 %38 to i32
%40 = icmp sle i32 %39, 90
br i1 %40, label %44, label %41
41: ; preds = %36, %31, %27
%42 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
store i8 0, ptr %42, align 16
%43 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %43, align 16
br label %44
44: ; preds = %41, %36
br label %45
45: ; preds = %44, %26
%46 = load i8, ptr %10, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %60
49: ; preds = %45
%50 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%51 = load i8, ptr %50, align 16
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %49
%55 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%56 = load i8, ptr %55, align 16
%57 = sext i8 %56 to i32
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %54
br label %67
60: ; preds = %54, %49, %45
%61 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%62 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%63 = call i32 @extract_value(ptr noundef %61, ptr noundef @.str.3, ptr noundef %62)
%64 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%65 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%66 = call i32 @extract_value(ptr noundef %64, ptr noundef @.str.4, ptr noundef %65)
br label %17, !llvm.loop !6
67: ; preds = %59, %17
%68 = load i8, ptr %10, align 1
%69 = icmp ne i8 %68, 0
br i1 %69, label %73, label %70
70: ; preds = %67
%71 = load i8, ptr %10, align 1
%72 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.5, i8 noundef signext %71)
store i32 1, ptr %3, align 4
br label %81
73: ; preds = %67
%74 = load i8, ptr %10, align 1
%75 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%76 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%77 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.6, i8 noundef signext %74, ptr noundef %75, ptr noundef %76)
%78 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%79 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%80 = call i32 @setup_device(ptr noundef %78, ptr noundef %79)
store i32 %80, ptr %3, align 4
br label %81
81: ; preds = %73, %70, %15
%82 = load i32, ptr %3, align 4
ret i32 %82
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @extract_value(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1
declare i32 @setup_device(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptdmqyjel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/proc/bus/usb/devices\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"BC125AT\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Vendor=\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"ProdID=\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"found_device=%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"found_device=%d; vendor=%s; product=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca [16 x i8], align 16
%9 = alloca [16 x i8], align 16
%10 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
store i8 0, ptr %11, align 16
%12 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %12, align 16
store i8 0, ptr %10, align 1
%13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %13, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %16, label %15
15: ; preds = %2
store i32 1, ptr %3, align 4
br label %83
16: ; preds = %2
%17 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %6, align 8
%19 = call i64 @fgets(ptr noundef %17, i32 noundef 4096, ptr noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %59
%22 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%23 = call i64 @strstr(ptr noundef %22, ptr noundef @.str.2)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %21
store i8 1, ptr %10, align 1
br label %44
26: ; preds = %21
%27 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%28 = load i8, ptr %27, align 16
%29 = icmp ne i8 %28, 0
br i1 %29, label %30, label %40
30: ; preds = %26
%31 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%32 = load i8, ptr %31, align 16
%33 = sext i8 %32 to i32
%34 = icmp sge i32 %33, 65
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%37 = load i8, ptr %36, align 16
%38 = sext i8 %37 to i32
%39 = icmp sle i32 %38, 90
br i1 %39, label %43, label %40
40: ; preds = %35, %30, %26
%41 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
store i8 0, ptr %41, align 16
%42 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %42, align 16
br label %43
43: ; preds = %40, %35
br label %44
44: ; preds = %43, %25
%45 = load i8, ptr %10, align 1
%46 = sext i8 %45 to i32
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %59
48: ; preds = %44
%49 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%50 = load i8, ptr %49, align 16
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %48
%54 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%55 = load i8, ptr %54, align 16
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %53
br label %69
59: ; preds = %53, %48, %44
%60 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%61 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%62 = call i32 @extract_value(ptr noundef %60, ptr noundef @.str.3, ptr noundef %61)
%63 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%64 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%65 = call i32 @extract_value(ptr noundef %63, ptr noundef @.str.4, ptr noundef %64)
%66 = load ptr, ptr %6, align 8
%67 = call i64 @fgets(ptr noundef %17, i32 noundef 4096, ptr noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %21, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %59
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %16
br label %69
69: ; preds = %.loopexit, %58
%70 = load i8, ptr %10, align 1
%71 = icmp ne i8 %70, 0
br i1 %71, label %75, label %72
72: ; preds = %69
%73 = load i8, ptr %10, align 1
%74 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.5, i8 noundef signext %73)
store i32 1, ptr %3, align 4
br label %83
75: ; preds = %69
%76 = load i8, ptr %10, align 1
%77 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%78 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%79 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.6, i8 noundef signext %76, ptr noundef %77, ptr noundef %78)
%80 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%81 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%82 = call i32 @setup_device(ptr noundef %80, ptr noundef %81)
store i32 %82, ptr %3, align 4
br label %83
83: ; preds = %75, %72, %15
%84 = load i32, ptr %3, align 4
ret i32 %84
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strstr(ptr noundef, ptr noundef) #1
declare i32 @extract_value(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1
declare i32 @setup_device(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8m7fnybj.c'
source_filename = "/tmp/tmp8m7fnybj.c"
target datalayout = "e-m:e-p270: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/tmp8m7fnybj.c"
target datalayout = "e-m:e-p270: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/tmp1hkczi7g.c'
source_filename = "/tmp/tmp1hkczi7g.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { i32 }
@AF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @border_add_addr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.in6_addr, align 4
store ptr %0, ptr %3, align 8
%5 = load i32, ptr @AF_INET6, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @inet_pton(i32 noundef %5, ptr noundef %6, ptr noundef %4)
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @tun_add_addr(ptr noundef %11)
%13 = call i32 @multiplex_send_addr_over_tty(ptr noundef %4)
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %10, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @tun_add_addr(ptr noundef) #1
declare i32 @multiplex_send_addr_over_tty(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hkczi7g.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { i32 }
@AF_INET6 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @border_add_addr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.in6_addr, align 4
store ptr %0, ptr %3, align 8
%5 = load i32, ptr @AF_INET6, align 4
%6 = load ptr, ptr %3, align 8
%7 = call i32 @inet_pton(i32 noundef %5, ptr noundef %6, ptr noundef %4)
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %14
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @tun_add_addr(ptr noundef %11)
%13 = call i32 @multiplex_send_addr_over_tty(ptr noundef %4)
store i32 0, ptr %2, align 4
br label %14
14: ; preds = %10, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @tun_add_addr(ptr noundef) #1
declare i32 @multiplex_send_addr_over_tty(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp785firtk.c'
source_filename = "/tmp/tmp785firtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
br label %3
3: ; preds = %7, %0
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %2, align 4
%6 = icmp sgt i32 %4, 0
br i1 %6, label %7, label %9
7: ; preds = %3
%8 = call i32 (...) @static_function()
br label %3, !llvm.loop !6
9: ; preds = %3
ret i32 0
}
declare i32 @static_function(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp785firtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, -1
store i32 %4, ptr %2, align 4
%5 = icmp sgt i32 %3, 0
br i1 %5, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = call i32 (...) @static_function()
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %2, align 4
%10 = icmp sgt i32 %8, 0
br i1 %10, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @static_function(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmptr0ckw9n.c'
source_filename = "/tmp/tmptr0ckw9n.c"
target datalayout = "e-m:e-p270: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/tmptr0ckw9n.c"
target datalayout = "e-m:e-p270: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/tmpejp0kcdj.c'
source_filename = "/tmp/tmpejp0kcdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EAGAIN = dso_local global i32 0, align 4
@EALREADY = dso_local global i32 0, align 4
@EINPROGRESS = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@EISCONN = dso_local global i32 0, align 4
@EWOULDBLOCK = 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/tmpejp0kcdj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EAGAIN = dso_local global i32 0, align 4
@EALREADY = dso_local global i32 0, align 4
@EINPROGRESS = dso_local global i32 0, align 4
@EINTR = dso_local global i32 0, align 4
@EISCONN = dso_local global i32 0, align 4
@EWOULDBLOCK = 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/tmpzi9jdjj6.c'
source_filename = "/tmp/tmpzi9jdjj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [118 x i8] c"SYNOPSIS: \0A\0A%s \09run all tests\0A%s [<testnumber>]\09run a specific test by number\0A\0ATests available: 1..%d\0A\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 = load ptr, ptr %2, align 8
%5 = call i32 (...) @count_tests()
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @count_tests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzi9jdjj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [118 x i8] c"SYNOPSIS: \0A\0A%s \09run all tests\0A%s [<testnumber>]\09run a specific test by number\0A\0ATests available: 1..%d\0A\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 = load ptr, ptr %2, align 8
%5 = call i32 (...) @count_tests()
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %3, ptr noundef %4, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @count_tests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkustatbm.c'
source_filename = "/tmp/tmpkustatbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xgravity_x(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, 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/tmpkustatbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xgravity_x(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, 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 = '/tmp/tmposv0kzvt.c'
source_filename = "/tmp/tmposv0kzvt.c"
target datalayout = "e-m:e-p270: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/tmposv0kzvt.c"
target datalayout = "e-m:e-p270: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/tmpzqx_6bkw.c'
source_filename = "/tmp/tmpzqx_6bkw.c"
target datalayout = "e-m:e-p270: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/tmpzqx_6bkw.c"
target datalayout = "e-m:e-p270: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/tmpwhzpu_ms.c'
source_filename = "/tmp/tmpwhzpu_ms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"My process ID : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/mnt/pmfs/test\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@_SC_PAGE_SIZE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [28 x i8] c"offset is past end of file\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"sizes - %lld \0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.6 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@MS_SYNC = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [11 x i8] c"\0Aerror: %d\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca %struct.stat, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = 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
%16 = call i32 (...) @getpid()
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr @O_RDWR, align 4
%19 = call i32 @open(ptr noundef @.str.1, i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %28
22: ; preds = %2
br label %23
23: ; preds = %22
%24 = call i32 @perror(ptr noundef @.str.2)
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = call i32 @exit(i32 noundef %25) #3
unreachable
27: ; No predecessors!
br label %28
28: ; preds = %27, %2
%29 = load i32, ptr %8, align 4
%30 = call i32 @fstat(i32 noundef %29, ptr noundef %9)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %38
32: ; preds = %28
br label %33
33: ; preds = %32
%34 = call i32 @perror(ptr noundef @.str.3)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; No predecessors!
br label %38
38: ; preds = %37, %28
store i32 0, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr @_SC_PAGE_SIZE, align 4
%41 = call i32 @sysconf(i32 noundef %40)
%42 = sub nsw i32 %41, 1
%43 = xor i32 %42, -1
%44 = and i32 %39, %43
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %10, align 4
%46 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%47 = load i32, ptr %46, align 4
%48 = icmp sge i32 %45, %47
br i1 %48, label %49, label %54
49: ; preds = %38
%50 = load i32, ptr @stderr, align 4
%51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str.4)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; preds = %38
%55 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %56)
%58 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %59, %60
%62 = sext i32 %61 to i64
store i64 %62, ptr %12, align 8
%63 = load i64, ptr %12, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = add i64 %63, %65
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = sub i64 %66, %68
%70 = load i32, ptr @PROT_READ, align 4
%71 = load i32, ptr @PROT_WRITE, align 4
%72 = or i32 %70, %71
%73 = load i32, ptr %8, align 4
%74 = load i32, ptr %11, align 4
%75 = call ptr @mmap(ptr noundef null, i64 noundef %69, i32 noundef %72, i32 noundef 4, i32 noundef %73, i32 noundef %74)
store ptr %75, ptr %6, align 8
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr @MAP_FAILED, align 8
%78 = icmp eq ptr %76, %77
br i1 %78, label %79, label %85
79: ; preds = %54
br label %80
80: ; preds = %79
%81 = call i32 @perror(ptr noundef @.str.6)
%82 = load i32, ptr @EXIT_FAILURE, align 4
%83 = call i32 @exit(i32 noundef %82) #3
unreachable
84: ; No predecessors!
br label %85
85: ; preds = %84, %54
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %87
87: ; preds = %94, %85
%88 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %14)
%89 = load i32, ptr %14, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %87
%92 = load i32, ptr %14, align 4
store i32 %92, ptr %10, align 4
br label %94
93: ; preds = %87
br label %106
94: ; preds = %91
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i8, ptr %95, i64 %98
store i8 98, ptr %99, align 1
%100 = load ptr, ptr %6, align 8
%101 = load i32, ptr %10, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %10, align 4
%103 = sext i32 %101 to i64
%104 = getelementptr inbounds i8, ptr %100, i64 %103
store i8 121, ptr %104, align 1
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %87
106: ; preds = %93
%107 = load ptr, ptr %6, align 8
%108 = load i64, ptr %12, align 8
%109 = load i32, ptr @MS_SYNC, align 4
%110 = call i32 @msync(ptr noundef %107, i64 noundef %108, i32 noundef %109)
%111 = load ptr, ptr %6, align 8
%112 = load i64, ptr %12, align 8
%113 = call i32 @munmap(ptr noundef %111, i64 noundef %112)
store i32 %113, ptr %15, align 4
%114 = load i32, ptr %15, align 4
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %119
116: ; preds = %106
%117 = load i32, ptr %15, align 4
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %117)
br label %119
119: ; preds = %116, %106
%120 = load i32, ptr @EXIT_SUCCESS, align 4
%121 = call i32 @exit(i32 noundef %120) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @sysconf(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @msync(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @munmap(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" }
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/tmpwhzpu_ms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"My process ID : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/mnt/pmfs/test\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@_SC_PAGE_SIZE = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [28 x i8] c"offset is past end of file\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"sizes - %lld \0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.6 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"ok\0A\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@MS_SYNC = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [11 x i8] c"\0Aerror: %d\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca %struct.stat, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = 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
%16 = call i32 (...) @getpid()
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr @O_RDWR, align 4
%19 = call i32 @open(ptr noundef @.str.1, i32 noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %28
22: ; preds = %2
br label %23
23: ; preds = %22
%24 = call i32 @perror(ptr noundef @.str.2)
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = call i32 @exit(i32 noundef %25) #3
unreachable
27: ; No predecessors!
br label %28
28: ; preds = %27, %2
%29 = load i32, ptr %8, align 4
%30 = call i32 @fstat(i32 noundef %29, ptr noundef %9)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %38
32: ; preds = %28
br label %33
33: ; preds = %32
%34 = call i32 @perror(ptr noundef @.str.3)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; No predecessors!
br label %38
38: ; preds = %37, %28
store i32 0, ptr %10, align 4
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr @_SC_PAGE_SIZE, align 4
%41 = call i32 @sysconf(i32 noundef %40)
%42 = sub nsw i32 %41, 1
%43 = xor i32 %42, -1
%44 = and i32 %39, %43
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %10, align 4
%46 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%47 = load i32, ptr %46, align 4
%48 = icmp sge i32 %45, %47
br i1 %48, label %49, label %54
49: ; preds = %38
%50 = load i32, ptr @stderr, align 4
%51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str.4)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; preds = %38
%55 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%56 = load i32, ptr %55, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %56)
%58 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%59 = load i32, ptr %58, align 4
%60 = load i32, ptr %10, align 4
%61 = sub nsw i32 %59, %60
%62 = sext i32 %61 to i64
store i64 %62, ptr %12, align 8
%63 = load i64, ptr %12, align 8
%64 = load i32, ptr %10, align 4
%65 = sext i32 %64 to i64
%66 = add i64 %63, %65
%67 = load i32, ptr %11, align 4
%68 = sext i32 %67 to i64
%69 = sub i64 %66, %68
%70 = load i32, ptr @PROT_READ, align 4
%71 = load i32, ptr @PROT_WRITE, align 4
%72 = or i32 %70, %71
%73 = load i32, ptr %8, align 4
%74 = load i32, ptr %11, align 4
%75 = call ptr @mmap(ptr noundef null, i64 noundef %69, i32 noundef %72, i32 noundef 4, i32 noundef %73, i32 noundef %74)
store ptr %75, ptr %6, align 8
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr @MAP_FAILED, align 8
%78 = icmp eq ptr %76, %77
br i1 %78, label %79, label %85
79: ; preds = %54
br label %80
80: ; preds = %79
%81 = call i32 @perror(ptr noundef @.str.6)
%82 = load i32, ptr @EXIT_FAILURE, align 4
%83 = call i32 @exit(i32 noundef %82) #3
unreachable
84: ; No predecessors!
br label %85
85: ; preds = %84, %54
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%87 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %14)
%88 = load i32, ptr %14, align 4
%89 = icmp ne i32 %88, 0
br i1 %89, label %.lr.ph, label %92
.lr.ph: ; preds = %85
br label %90
90: ; preds = %.lr.ph, %93
%91 = load i32, ptr %14, align 4
store i32 %91, ptr %10, align 4
br label %93
._crit_edge: ; preds = %93
br label %92
92: ; preds = %._crit_edge, %85
br label %108
93: ; preds = %90
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %10, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %10, align 4
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds i8, ptr %94, i64 %97
store i8 98, ptr %98, align 1
%99 = load ptr, ptr %6, align 8
%100 = load i32, ptr %10, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %10, align 4
%102 = sext i32 %100 to i64
%103 = getelementptr inbounds i8, ptr %99, i64 %102
store i8 121, ptr %103, align 1
%104 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%105 = call i32 @scanf(ptr noundef @.str.8, ptr noundef %14)
%106 = load i32, ptr %14, align 4
%107 = icmp ne i32 %106, 0
br i1 %107, label %90, label %._crit_edge
108: ; preds = %92
%109 = load ptr, ptr %6, align 8
%110 = load i64, ptr %12, align 8
%111 = load i32, ptr @MS_SYNC, align 4
%112 = call i32 @msync(ptr noundef %109, i64 noundef %110, i32 noundef %111)
%113 = load ptr, ptr %6, align 8
%114 = load i64, ptr %12, align 8
%115 = call i32 @munmap(ptr noundef %113, i64 noundef %114)
store i32 %115, ptr %15, align 4
%116 = load i32, ptr %15, align 4
%117 = icmp ne i32 %116, 0
br i1 %117, label %118, label %121
118: ; preds = %108
%119 = load i32, ptr %15, align 4
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %119)
br label %121
121: ; preds = %118, %108
%122 = load i32, ptr @EXIT_SUCCESS, align 4
%123 = call i32 @exit(i32 noundef %122) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getpid(...) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @sysconf(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @msync(ptr noundef, i64 noundef, i32 noundef) #1
declare i32 @munmap(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" }
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/tmpm2hnwzbp.c'
source_filename = "/tmp/tmpm2hnwzbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"who... \0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"whooutput\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"/usr/bin/who\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"who\00", align 1
@SIGUSR2 = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"ps... \0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"psoutput\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"/bin/ps\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"ps\00", align 1
@SIGINT = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [9 x i8] c"/bin/cat\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"cat\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signalhandler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr @SIGUSR1, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %37
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i32, ptr @O_RDWR, align 4
%18 = load i32, ptr @O_APPEND, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @O_CREAT, align 4
%21 = or i32 %19, %20
%22 = call i32 @open(ptr noundef @.str.1, i32 noundef %21, i32 noundef 438)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr @STDOUT_FILENO, align 4
%24 = call i32 @dup(i32 noundef %23)
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr @STDOUT_FILENO, align 4
%27 = call i32 @dup2(i32 noundef %25, i32 noundef %26)
%28 = call i32 (...) @fork()
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %15
%32 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
br label %33
33: ; preds = %31, %15
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @STDOUT_FILENO, align 4
%36 = call i32 @dup2(i32 noundef %34, i32 noundef %35)
br label %89
37: ; preds = %1
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr @SIGUSR2, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %63
41: ; preds = %37
%42 = call i32 @printf(ptr noundef @.str.4)
%43 = load i32, ptr @O_RDWR, align 4
%44 = load i32, ptr @O_APPEND, align 4
%45 = or i32 %43, %44
%46 = load i32, ptr @O_CREAT, align 4
%47 = or i32 %45, %46
%48 = call i32 @open(ptr noundef @.str.5, i32 noundef %47, i32 noundef 438)
store i32 %48, ptr %6, align 4
%49 = load i32, ptr @STDOUT_FILENO, align 4
%50 = call i32 @dup(i32 noundef %49)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr @STDOUT_FILENO, align 4
%53 = call i32 @dup2(i32 noundef %51, i32 noundef %52)
%54 = call i32 (...) @fork()
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %41
%58 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef null)
br label %59
59: ; preds = %57, %41
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr @STDOUT_FILENO, align 4
%62 = call i32 @dup2(i32 noundef %60, i32 noundef %61)
br label %88
63: ; preds = %37
%64 = load i32, ptr %2, align 4
%65 = load i32, ptr @SIGINT, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %87
67: ; preds = %63
%68 = call i32 (...) @fork()
store i32 %68, ptr %10, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %67
%72 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.1, ptr noundef null)
%73 = call i32 @exit(i32 noundef 0) #3
unreachable
74: ; preds = %67
%75 = call i32 @wait(ptr noundef %9)
br label %76
76: ; preds = %74
%77 = call i32 (...) @fork()
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %76
%81 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.5, ptr noundef null)
%82 = call i32 @exit(i32 noundef 0) #3
unreachable
83: ; preds = %76
%84 = call i32 @wait(ptr noundef %9)
br label %85
85: ; preds = %83
%86 = call i32 @exit(i32 noundef 0) #3
unreachable
87: ; preds = %63
br label %88
88: ; preds = %87, %59
br label %89
89: ; preds = %88, %33
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpm2hnwzbp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR1 = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"who... \0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"whooutput\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@STDOUT_FILENO = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"/usr/bin/who\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"who\00", align 1
@SIGUSR2 = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [8 x i8] c"ps... \0A\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"psoutput\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"/bin/ps\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"ps\00", align 1
@SIGINT = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [9 x i8] c"/bin/cat\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"cat\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signalhandler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr @SIGUSR1, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %37
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str)
%17 = load i32, ptr @O_RDWR, align 4
%18 = load i32, ptr @O_APPEND, align 4
%19 = or i32 %17, %18
%20 = load i32, ptr @O_CREAT, align 4
%21 = or i32 %19, %20
%22 = call i32 @open(ptr noundef @.str.1, i32 noundef %21, i32 noundef 438)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr @STDOUT_FILENO, align 4
%24 = call i32 @dup(i32 noundef %23)
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr @STDOUT_FILENO, align 4
%27 = call i32 @dup2(i32 noundef %25, i32 noundef %26)
%28 = call i32 (...) @fork()
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %15
%32 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef null)
br label %33
33: ; preds = %31, %15
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @STDOUT_FILENO, align 4
%36 = call i32 @dup2(i32 noundef %34, i32 noundef %35)
br label %89
37: ; preds = %1
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr @SIGUSR2, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %63
41: ; preds = %37
%42 = call i32 @printf(ptr noundef @.str.4)
%43 = load i32, ptr @O_RDWR, align 4
%44 = load i32, ptr @O_APPEND, align 4
%45 = or i32 %43, %44
%46 = load i32, ptr @O_CREAT, align 4
%47 = or i32 %45, %46
%48 = call i32 @open(ptr noundef @.str.5, i32 noundef %47, i32 noundef 438)
store i32 %48, ptr %6, align 4
%49 = load i32, ptr @STDOUT_FILENO, align 4
%50 = call i32 @dup(i32 noundef %49)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %6, align 4
%52 = load i32, ptr @STDOUT_FILENO, align 4
%53 = call i32 @dup2(i32 noundef %51, i32 noundef %52)
%54 = call i32 (...) @fork()
store i32 %54, ptr %8, align 4
%55 = load i32, ptr %8, align 4
%56 = icmp eq i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %41
%58 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.6, ptr noundef @.str.7, ptr noundef null)
br label %59
59: ; preds = %57, %41
%60 = load i32, ptr %7, align 4
%61 = load i32, ptr @STDOUT_FILENO, align 4
%62 = call i32 @dup2(i32 noundef %60, i32 noundef %61)
br label %88
63: ; preds = %37
%64 = load i32, ptr %2, align 4
%65 = load i32, ptr @SIGINT, align 4
%66 = icmp eq i32 %64, %65
br i1 %66, label %67, label %87
67: ; preds = %63
%68 = call i32 (...) @fork()
store i32 %68, ptr %10, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %67
%72 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.1, ptr noundef null)
%73 = call i32 @exit(i32 noundef 0) #3
unreachable
74: ; preds = %67
%75 = call i32 @wait(ptr noundef %9)
br label %76
76: ; preds = %74
%77 = call i32 (...) @fork()
store i32 %77, ptr %11, align 4
%78 = load i32, ptr %11, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %76
%81 = call i32 (ptr, ptr, ptr, ...) @execl(ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.5, ptr noundef null)
%82 = call i32 @exit(i32 noundef 0) #3
unreachable
83: ; preds = %76
%84 = call i32 @wait(ptr noundef %9)
br label %85
85: ; preds = %83
%86 = call i32 @exit(i32 noundef 0) #3
unreachable
87: ; preds = %63
br label %88
88: ; preds = %87, %59
br label %89
89: ; preds = %88, %33
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @dup(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @fork(...) #1
declare i32 @execl(ptr noundef, ptr noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpkrftlil9.c'
source_filename = "/tmp/tmpkrftlil9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"Enter the array size, followed by the array elements, followed by the target value.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%zu\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Impossible.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
br label %9
9: ; preds = %35, %0
%10 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2)
%11 = icmp eq i32 %10, 1
br i1 %11, label %12, label %38
12: ; preds = %9
%13 = load i64, ptr %2, align 8
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %3, align 8
%15 = alloca i32, i64 %13, align 16
store i64 %13, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %16
16: ; preds = %24, %12
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %2, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load i64, ptr %5, align 8
%22 = getelementptr inbounds i32, ptr %15, i64 %21
%23 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %22)
br label %24
24: ; preds = %20
%25 = load i64, ptr %5, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %5, align 8
br label %16, !llvm.loop !6
27: ; preds = %16
%28 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%29 = load i64, ptr %2, align 8
%30 = load i32, ptr %6, align 4
%31 = call i64 @target_n(i64 noundef %29, ptr noundef %15, i32 noundef %30)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %27
%34 = call i32 @printf(ptr noundef @.str.4)
br label %35
35: ; preds = %33, %27
%36 = call i32 @printf(ptr noundef @.str.1)
%37 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %37)
br label %9, !llvm.loop !8
38: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i64 @target_n(i64 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkrftlil9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"Enter the array size, followed by the array elements, followed by the target value.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"> \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%zu\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Impossible.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2)
%10 = icmp eq i32 %9, 1
br i1 %10, label %.lr.ph2, label %41
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %36
%12 = load i64, ptr %2, align 8
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %3, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %4, align 8
store i64 0, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr %2, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %28
.lr.ph: ; preds = %11
br label %18
18: ; preds = %.lr.ph, %22
%19 = load i64, ptr %5, align 8
%20 = getelementptr inbounds i32, ptr %14, i64 %19
%21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %20)
br label %22
22: ; preds = %18
%23 = load i64, ptr %5, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %5, align 8
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr %2, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %11
%29 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %6)
%30 = load i64, ptr %2, align 8
%31 = load i32, ptr %6, align 4
%32 = call i64 @target_n(i64 noundef %30, ptr noundef %14, i32 noundef %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.4)
br label %36
36: ; preds = %34, %28
%37 = call i32 @printf(ptr noundef @.str.1)
%38 = load ptr, ptr %3, align 8
call void @llvm.stackrestore(ptr %38)
%39 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %2)
%40 = icmp eq i32 %39, 1
br i1 %40, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %41
41: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i64 @target_n(i64 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9m721pt9.c'
source_filename = "/tmp/tmp9m721pt9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = 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/tmp9m721pt9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = 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/tmplntdvmrr.c'
source_filename = "/tmp/tmplntdvmrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getsuf(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %25
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%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 %25
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 2
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
store i32 %24, ptr %2, align 4
br label %26
25: ; preds = %14, %8, %1
store i32 0, ptr %2, align 4
br label %26
26: ; preds = %25, %20
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplntdvmrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getsuf(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46)
store ptr %6, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %25
8: ; preds = %1
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 1
%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 %25
14: ; preds = %8
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 2
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 1
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
store i32 %24, ptr %2, align 4
br label %26
25: ; preds = %14, %8, %1
store i32 0, ptr %2, align 4
br label %26
26: ; preds = %25, %20
%27 = load i32, ptr %2, align 4
ret i32 %27
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppx1clygw.c'
source_filename = "/tmp/tmppx1clygw.c"
target datalayout = "e-m:e-p270: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/tmppx1clygw.c"
target datalayout = "e-m:e-p270: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/tmpe90ijt7m.c'
source_filename = "/tmp/tmpe90ijt7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcmp_read(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %37, %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 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %13, %19
br i1 %20, label %21, label %35
21: ; preds = %7
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = call i64 @my_strlen(ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = call i64 @my_strlen(ptr noundef %32)
%34 = icmp eq i64 %31, %33
br label %35
35: ; preds = %29, %21, %7
%36 = phi i1 [ false, %21 ], [ false, %7 ], [ %34, %29 ]
br i1 %36, label %37, label %40
37: ; preds = %35
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %7, !llvm.loop !6
40: ; preds = %35
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %40
store i32 1, ptr %3, align 4
br label %50
49: ; preds = %40
store i32 -1, ptr %3, align 4
br label %50
50: ; preds = %49, %48
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i64 @my_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/tmpe90ijt7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcmp_read(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %37, %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 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %13, %19
br i1 %20, label %21, label %35
21: ; preds = %7
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = call i64 @my_strlen(ptr noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = call i64 @my_strlen(ptr noundef %32)
%34 = icmp eq i64 %31, %33
br label %35
35: ; preds = %29, %21, %7
%36 = phi i1 [ false, %21 ], [ false, %7 ], [ %34, %29 ]
br i1 %36, label %37, label %40
37: ; preds = %35
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
br label %7, !llvm.loop !6
40: ; preds = %35
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %40
store i32 1, ptr %3, align 4
br label %50
49: ; preds = %40
store i32 -1, ptr %3, align 4
br label %50
50: ; preds = %49, %48
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i64 @my_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_lbap2j1.c'
source_filename = "/tmp/tmp_lbap2j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_lbap2j1.c"
target datalayout = "e-m:e-p270: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/tmpqfw7dyl6.c'
source_filename = "/tmp/tmpqfw7dyl6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @neuralops_caffe_maxpool2d_bwd(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12, i64 noundef %13, i64 noundef %14) #0 {
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca i64, align 8
%26 = alloca i64, align 8
%27 = alloca i64, align 8
%28 = alloca i64, align 8
%29 = alloca i64, align 8
%30 = alloca i64, align 8
%31 = alloca i64, align 8
%32 = alloca i64, align 8
%33 = alloca i64, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca i64, align 8
%38 = alloca i64, align 8
%39 = alloca i64, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
store i64 %0, ptr %16, align 8
store i64 %1, ptr %17, align 8
store i64 %2, ptr %18, align 8
store i64 %3, ptr %19, align 8
store i64 %4, ptr %20, align 8
store i64 %5, ptr %21, align 8
store ptr %6, ptr %22, align 8
store ptr %7, ptr %23, align 8
store ptr %8, ptr %24, align 8
store i64 %9, ptr %25, align 8
store i64 %10, ptr %26, align 8
store i64 %11, ptr %27, align 8
store i64 %12, ptr %28, align 8
store i64 %13, ptr %29, align 8
store i64 %14, ptr %30, align 8
%42 = load i64, ptr %17, align 8
%43 = load i64, ptr %18, align 8
%44 = mul i64 %42, %43
%45 = load i64, ptr %19, align 8
%46 = mul i64 %44, %45
%47 = load i64, ptr %16, align 8
%48 = mul i64 %46, %47
store i64 %48, ptr %31, align 8
store i64 0, ptr %32, align 8
br label %49
49: ; preds = %57, %15
%50 = load i64, ptr %32, align 8
%51 = load i64, ptr %31, align 8
%52 = icmp ult i64 %50, %51
br i1 %52, label %53, label %60
53: ; preds = %49
%54 = load ptr, ptr %24, align 8
%55 = load i64, ptr %32, align 8
%56 = getelementptr inbounds float, ptr %54, i64 %55
store float 0.000000e+00, ptr %56, align 4
br label %57
57: ; preds = %53
%58 = load i64, ptr %32, align 8
%59 = add i64 %58, 1
store i64 %59, ptr %32, align 8
br label %49, !llvm.loop !6
60: ; preds = %49
store i64 0, ptr %33, align 8
br label %61
61: ; preds = %153, %60
%62 = load i64, ptr %33, align 8
%63 = load i64, ptr %16, align 8
%64 = icmp ult i64 %62, %63
br i1 %64, label %65, label %156
65: ; preds = %61
%66 = load ptr, ptr %24, align 8
%67 = load i64, ptr %33, align 8
%68 = load i64, ptr %17, align 8
%69 = mul i64 %67, %68
%70 = load i64, ptr %18, align 8
%71 = mul i64 %69, %70
%72 = load i64, ptr %19, align 8
%73 = mul i64 %71, %72
%74 = getelementptr inbounds float, ptr %66, i64 %73
store ptr %74, ptr %34, align 8
%75 = load ptr, ptr %22, align 8
%76 = load i64, ptr %33, align 8
%77 = load i64, ptr %20, align 8
%78 = mul i64 %76, %77
%79 = load i64, ptr %21, align 8
%80 = mul i64 %78, %79
%81 = load i64, ptr %19, align 8
%82 = mul i64 %80, %81
%83 = getelementptr inbounds i64, ptr %75, i64 %82
store ptr %83, ptr %35, align 8
%84 = load ptr, ptr %23, align 8
%85 = load i64, ptr %33, align 8
%86 = load i64, ptr %20, align 8
%87 = mul i64 %85, %86
%88 = load i64, ptr %21, align 8
%89 = mul i64 %87, %88
%90 = load i64, ptr %19, align 8
%91 = mul i64 %89, %90
%92 = getelementptr inbounds float, ptr %84, i64 %91
store ptr %92, ptr %36, align 8
store i64 0, ptr %37, align 8
br label %93
93: ; preds = %149, %65
%94 = load i64, ptr %37, align 8
%95 = load i64, ptr %19, align 8
%96 = icmp ult i64 %94, %95
br i1 %96, label %97, label %152
97: ; preds = %93
store i64 0, ptr %38, align 8
br label %98
98: ; preds = %130, %97
%99 = load i64, ptr %38, align 8
%100 = load i64, ptr %21, align 8
%101 = icmp ult i64 %99, %100
br i1 %101, label %102, label %133
102: ; preds = %98
store i64 0, ptr %39, align 8
br label %103
103: ; preds = %126, %102
%104 = load i64, ptr %39, align 8
%105 = load i64, ptr %20, align 8
%106 = icmp ult i64 %104, %105
br i1 %106, label %107, label %129
107: ; preds = %103
%108 = load i64, ptr %38, align 8
%109 = load i64, ptr %20, align 8
%110 = mul i64 %108, %109
%111 = load i64, ptr %39, align 8
%112 = add i64 %110, %111
store i64 %112, ptr %40, align 8
%113 = load ptr, ptr %35, align 8
%114 = load i64, ptr %40, align 8
%115 = getelementptr inbounds i64, ptr %113, i64 %114
%116 = load i64, ptr %115, align 8
store i64 %116, ptr %41, align 8
%117 = load ptr, ptr %36, align 8
%118 = load i64, ptr %40, align 8
%119 = getelementptr inbounds float, ptr %117, i64 %118
%120 = load float, ptr %119, align 4
%121 = load ptr, ptr %34, align 8
%122 = load i64, ptr %41, align 8
%123 = getelementptr inbounds float, ptr %121, i64 %122
%124 = load float, ptr %123, align 4
%125 = fadd float %124, %120
store float %125, ptr %123, align 4
br label %126
126: ; preds = %107
%127 = load i64, ptr %39, align 8
%128 = add i64 %127, 1
store i64 %128, ptr %39, align 8
br label %103, !llvm.loop !8
129: ; preds = %103
br label %130
130: ; preds = %129
%131 = load i64, ptr %38, align 8
%132 = add i64 %131, 1
store i64 %132, ptr %38, align 8
br label %98, !llvm.loop !9
133: ; preds = %98
%134 = load i64, ptr %17, align 8
%135 = load i64, ptr %18, align 8
%136 = mul i64 %134, %135
%137 = load ptr, ptr %34, align 8
%138 = getelementptr inbounds float, ptr %137, i64 %136
store ptr %138, ptr %34, align 8
%139 = load i64, ptr %20, align 8
%140 = load i64, ptr %21, align 8
%141 = mul i64 %139, %140
%142 = load ptr, ptr %35, align 8
%143 = getelementptr inbounds i64, ptr %142, i64 %141
store ptr %143, ptr %35, align 8
%144 = load i64, ptr %20, align 8
%145 = load i64, ptr %21, align 8
%146 = mul i64 %144, %145
%147 = load ptr, ptr %36, align 8
%148 = getelementptr inbounds float, ptr %147, i64 %146
store ptr %148, ptr %36, align 8
br label %149
149: ; preds = %133
%150 = load i64, ptr %37, align 8
%151 = add i64 %150, 1
store i64 %151, ptr %37, align 8
br label %93, !llvm.loop !10
152: ; preds = %93
br label %153
153: ; preds = %152
%154 = load i64, ptr %33, align 8
%155 = add i64 %154, 1
store i64 %155, ptr %33, align 8
br label %61, !llvm.loop !11
156: ; preds = %61
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqfw7dyl6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @neuralops_caffe_maxpool2d_bwd(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, i64 noundef %9, i64 noundef %10, i64 noundef %11, i64 noundef %12, i64 noundef %13, i64 noundef %14) #0 {
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca i64, align 8
%26 = alloca i64, align 8
%27 = alloca i64, align 8
%28 = alloca i64, align 8
%29 = alloca i64, align 8
%30 = alloca i64, align 8
%31 = alloca i64, align 8
%32 = alloca i64, align 8
%33 = alloca i64, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca i64, align 8
%38 = alloca i64, align 8
%39 = alloca i64, align 8
%40 = alloca i64, align 8
%41 = alloca i64, align 8
store i64 %0, ptr %16, align 8
store i64 %1, ptr %17, align 8
store i64 %2, ptr %18, align 8
store i64 %3, ptr %19, align 8
store i64 %4, ptr %20, align 8
store i64 %5, ptr %21, align 8
store ptr %6, ptr %22, align 8
store ptr %7, ptr %23, align 8
store ptr %8, ptr %24, align 8
store i64 %9, ptr %25, align 8
store i64 %10, ptr %26, align 8
store i64 %11, ptr %27, align 8
store i64 %12, ptr %28, align 8
store i64 %13, ptr %29, align 8
store i64 %14, ptr %30, align 8
%42 = load i64, ptr %17, align 8
%43 = load i64, ptr %18, align 8
%44 = mul i64 %42, %43
%45 = load i64, ptr %19, align 8
%46 = mul i64 %44, %45
%47 = load i64, ptr %16, align 8
%48 = mul i64 %46, %47
store i64 %48, ptr %31, align 8
store i64 0, ptr %32, align 8
%49 = load i64, ptr %32, align 8
%50 = load i64, ptr %31, align 8
%51 = icmp ult i64 %49, %50
br i1 %51, label %.lr.ph, label %62
.lr.ph: ; preds = %15
br label %52
52: ; preds = %.lr.ph, %56
%53 = load ptr, ptr %24, align 8
%54 = load i64, ptr %32, align 8
%55 = getelementptr inbounds float, ptr %53, i64 %54
store float 0.000000e+00, ptr %55, align 4
br label %56
56: ; preds = %52
%57 = load i64, ptr %32, align 8
%58 = add i64 %57, 1
store i64 %58, ptr %32, align 8
%59 = load i64, ptr %32, align 8
%60 = load i64, ptr %31, align 8
%61 = icmp ult i64 %59, %60
br i1 %61, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %15
store i64 0, ptr %33, align 8
%63 = load i64, ptr %33, align 8
%64 = load i64, ptr %16, align 8
%65 = icmp ult i64 %63, %64
br i1 %65, label %.lr.ph11, label %166
.lr.ph11: ; preds = %62
br label %66
66: ; preds = %.lr.ph11, %160
%67 = load ptr, ptr %24, align 8
%68 = load i64, ptr %33, align 8
%69 = load i64, ptr %17, align 8
%70 = mul i64 %68, %69
%71 = load i64, ptr %18, align 8
%72 = mul i64 %70, %71
%73 = load i64, ptr %19, align 8
%74 = mul i64 %72, %73
%75 = getelementptr inbounds float, ptr %67, i64 %74
store ptr %75, ptr %34, align 8
%76 = load ptr, ptr %22, align 8
%77 = load i64, ptr %33, align 8
%78 = load i64, ptr %20, align 8
%79 = mul i64 %77, %78
%80 = load i64, ptr %21, align 8
%81 = mul i64 %79, %80
%82 = load i64, ptr %19, align 8
%83 = mul i64 %81, %82
%84 = getelementptr inbounds i64, ptr %76, i64 %83
store ptr %84, ptr %35, align 8
%85 = load ptr, ptr %23, align 8
%86 = load i64, ptr %33, align 8
%87 = load i64, ptr %20, align 8
%88 = mul i64 %86, %87
%89 = load i64, ptr %21, align 8
%90 = mul i64 %88, %89
%91 = load i64, ptr %19, align 8
%92 = mul i64 %90, %91
%93 = getelementptr inbounds float, ptr %85, i64 %92
store ptr %93, ptr %36, align 8
store i64 0, ptr %37, align 8
%94 = load i64, ptr %37, align 8
%95 = load i64, ptr %19, align 8
%96 = icmp ult i64 %94, %95
br i1 %96, label %.lr.ph8, label %159
.lr.ph8: ; preds = %66
br label %97
97: ; preds = %.lr.ph8, %153
store i64 0, ptr %38, align 8
%98 = load i64, ptr %38, align 8
%99 = load i64, ptr %21, align 8
%100 = icmp ult i64 %98, %99
br i1 %100, label %.lr.ph5, label %137
.lr.ph5: ; preds = %97
br label %101
101: ; preds = %.lr.ph5, %131
store i64 0, ptr %39, align 8
%102 = load i64, ptr %39, align 8
%103 = load i64, ptr %20, align 8
%104 = icmp ult i64 %102, %103
br i1 %104, label %.lr.ph2, label %130
.lr.ph2: ; preds = %101
br label %105
105: ; preds = %.lr.ph2, %124
%106 = load i64, ptr %38, align 8
%107 = load i64, ptr %20, align 8
%108 = mul i64 %106, %107
%109 = load i64, ptr %39, align 8
%110 = add i64 %108, %109
store i64 %110, ptr %40, align 8
%111 = load ptr, ptr %35, align 8
%112 = load i64, ptr %40, align 8
%113 = getelementptr inbounds i64, ptr %111, i64 %112
%114 = load i64, ptr %113, align 8
store i64 %114, ptr %41, align 8
%115 = load ptr, ptr %36, align 8
%116 = load i64, ptr %40, align 8
%117 = getelementptr inbounds float, ptr %115, i64 %116
%118 = load float, ptr %117, align 4
%119 = load ptr, ptr %34, align 8
%120 = load i64, ptr %41, align 8
%121 = getelementptr inbounds float, ptr %119, i64 %120
%122 = load float, ptr %121, align 4
%123 = fadd float %122, %118
store float %123, ptr %121, align 4
br label %124
124: ; preds = %105
%125 = load i64, ptr %39, align 8
%126 = add i64 %125, 1
store i64 %126, ptr %39, align 8
%127 = load i64, ptr %39, align 8
%128 = load i64, ptr %20, align 8
%129 = icmp ult i64 %127, %128
br i1 %129, label %105, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %124
br label %130
130: ; preds = %._crit_edge3, %101
br label %131
131: ; preds = %130
%132 = load i64, ptr %38, align 8
%133 = add i64 %132, 1
store i64 %133, ptr %38, align 8
%134 = load i64, ptr %38, align 8
%135 = load i64, ptr %21, align 8
%136 = icmp ult i64 %134, %135
br i1 %136, label %101, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %131
br label %137
137: ; preds = %._crit_edge6, %97
%138 = load i64, ptr %17, align 8
%139 = load i64, ptr %18, align 8
%140 = mul i64 %138, %139
%141 = load ptr, ptr %34, align 8
%142 = getelementptr inbounds float, ptr %141, i64 %140
store ptr %142, ptr %34, align 8
%143 = load i64, ptr %20, align 8
%144 = load i64, ptr %21, align 8
%145 = mul i64 %143, %144
%146 = load ptr, ptr %35, align 8
%147 = getelementptr inbounds i64, ptr %146, i64 %145
store ptr %147, ptr %35, align 8
%148 = load i64, ptr %20, align 8
%149 = load i64, ptr %21, align 8
%150 = mul i64 %148, %149
%151 = load ptr, ptr %36, align 8
%152 = getelementptr inbounds float, ptr %151, i64 %150
store ptr %152, ptr %36, align 8
br label %153
153: ; preds = %137
%154 = load i64, ptr %37, align 8
%155 = add i64 %154, 1
store i64 %155, ptr %37, align 8
%156 = load i64, ptr %37, align 8
%157 = load i64, ptr %19, align 8
%158 = icmp ult i64 %156, %157
br i1 %158, label %97, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %153
br label %159
159: ; preds = %._crit_edge9, %66
br label %160
160: ; preds = %159
%161 = load i64, ptr %33, align 8
%162 = add i64 %161, 1
store i64 %162, ptr %33, align 8
%163 = load i64, ptr %33, align 8
%164 = load i64, ptr %16, align 8
%165 = icmp ult i64 %163, %164
br i1 %165, label %66, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %160
br label %166
166: ; preds = %._crit_edge12, %62
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp2fykz3j1.c'
source_filename = "/tmp/tmp2fykz3j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
@.str = private unnamed_addr constant [2 x i8] c"\07\00", align 1
@stderr = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"select\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"recv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_passphrase(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.timeval, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
br label %11
11: ; preds = %61, %3
%12 = load i32, ptr @stderr, align 4
%13 = call i32 @fputs(ptr noundef @.str, i32 noundef %12)
%14 = load i32, ptr %5, align 4
%15 = call i32 @send_command(i32 noundef %14, i32 noundef 1)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %11
store i32 -1, ptr %4, align 4
br label %62
18: ; preds = %11
%19 = call i32 @FD_ZERO(ptr noundef %8)
%20 = load i32, ptr %5, align 4
%21 = call i32 @FD_SET(i32 noundef %20, ptr noundef %8)
%22 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
store i32 10, ptr %22, align 8
%23 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
store i64 0, ptr %23, align 8
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
%26 = call i32 @select(i32 noundef %25, ptr noundef %8, ptr noundef null, ptr noundef null, ptr noundef %9)
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %10, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %35
29: ; preds = %18
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EINTR, align 8
%32 = icmp ne i64 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %62
35: ; preds = %29, %18
%36 = load i32, ptr %10, align 4
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %60
38: ; preds = %35
%39 = load i32, ptr %5, align 4
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %7, align 4
%42 = call i32 @recv(i32 noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef 0)
store i32 %42, ptr %10, align 4
%43 = load i32, ptr %10, align 4
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
br label %62
47: ; preds = %38
%48 = load i32, ptr %7, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %59
50: ; preds = %47
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds i64, ptr %51, i64 0
%53 = load i64, ptr %52, align 8
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %50
%56 = load i32, ptr %5, align 4
%57 = call i32 @send_command(i32 noundef %56, i32 noundef 2)
%58 = load i32, ptr %10, align 4
store i32 %58, ptr %4, align 4
br label %62
59: ; preds = %50, %47
br label %60
60: ; preds = %59, %35
br label %61
61: ; preds = %60
br label %11
62: ; preds = %55, %45, %33, %17
%63 = load i32, ptr %4, align 4
ret i32 %63
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @send_command(i32 noundef, i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fykz3j1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64 }
@.str = private unnamed_addr constant [2 x i8] c"\07\00", align 1
@stderr = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [7 x i8] c"select\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"recv\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_passphrase(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.timeval, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load i32, ptr @stderr, align 4
%12 = call i32 @fputs(ptr noundef @.str, i32 noundef %11)
%13 = load i32, ptr %5, align 4
%14 = call i32 @send_command(i32 noundef %13, i32 noundef 1)
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %16
.lr.ph: ; preds = %3
br label %17
._crit_edge: ; preds = %60
br label %16
16: ; preds = %._crit_edge, %3
store i32 -1, ptr %4, align 4
br label %66
17: ; preds = %.lr.ph, %60
%18 = call i32 @FD_ZERO(ptr noundef %8)
%19 = load i32, ptr %5, align 4
%20 = call i32 @FD_SET(i32 noundef %19, ptr noundef %8)
%21 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
store i32 10, ptr %21, align 8
%22 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
store i64 0, ptr %22, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
%25 = call i32 @select(i32 noundef %24, ptr noundef %8, ptr noundef null, ptr noundef null, ptr noundef %9)
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %17
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @EINTR, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %32, label %34
32: ; preds = %28
%33 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %66
34: ; preds = %28, %17
%35 = load i32, ptr %10, align 4
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %59
37: ; preds = %34
%38 = load i32, ptr %5, align 4
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %7, align 4
%41 = call i32 @recv(i32 noundef %38, ptr noundef %39, i32 noundef %40, i32 noundef 0)
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
br label %66
46: ; preds = %37
%47 = load i32, ptr %7, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %58
49: ; preds = %46
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i64, ptr %50, i64 0
%52 = load i64, ptr %51, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %58
54: ; preds = %49
%55 = load i32, ptr %5, align 4
%56 = call i32 @send_command(i32 noundef %55, i32 noundef 2)
%57 = load i32, ptr %10, align 4
store i32 %57, ptr %4, align 4
br label %66
58: ; preds = %49, %46
br label %59
59: ; preds = %58, %34
br label %60
60: ; preds = %59
%61 = load i32, ptr @stderr, align 4
%62 = call i32 @fputs(ptr noundef @.str, i32 noundef %61)
%63 = load i32, ptr %5, align 4
%64 = call i32 @send_command(i32 noundef %63, i32 noundef 1)
%65 = icmp ne i32 %64, 0
br i1 %65, label %17, label %._crit_edge
66: ; preds = %54, %44, %32, %16
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @send_command(i32 noundef, i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsae3mu01.c'
source_filename = "/tmp/tmpsae3mu01.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"pshell: allocation error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c" \09\0D\0A\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pshell_split_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 64, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 8
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %19, label %14
14: ; preds = %1
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %1
%20 = load ptr, ptr %2, align 8
%21 = call ptr @strtok(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %6, align 8
br label %22
22: ; preds = %53, %19
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %55
25: ; preds = %22
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds ptr, ptr %27, i64 %29
store ptr %26, ptr %30, align 8
%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 %3, align 4
%35 = icmp sge i32 %33, %34
br i1 %35, label %36, label %53
36: ; preds = %25
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 64
store i32 %38, ptr %3, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 8
%43 = trunc i64 %42 to i32
%44 = call ptr @realloc(ptr noundef %39, i32 noundef %43)
store ptr %44, ptr %5, align 8
%45 = load ptr, ptr %5, align 8
%46 = icmp ne ptr %45, null
br i1 %46, label %52, label %47
47: ; preds = %36
%48 = load i32, ptr @stderr, align 4
%49 = call i32 @fprintf(i32 noundef %48, ptr noundef @.str)
%50 = load i32, ptr @EXIT_FAILURE, align 4
%51 = call i32 @exit(i32 noundef %50) #3
unreachable
52: ; preds = %36
br label %53
53: ; preds = %52, %25
%54 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %54, ptr %6, align 8
br label %22, !llvm.loop !6
55: ; preds = %22
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %4, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
store ptr null, ptr %59, align 8
%60 = load ptr, ptr %5, align 8
ret ptr %60
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpsae3mu01.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"pshell: allocation error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c" \09\0D\0A\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @pshell_split_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 64, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 8
%10 = trunc i64 %9 to i32
%11 = call ptr @malloc(i32 noundef %10)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %19, label %14
14: ; preds = %1
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %1
%20 = load ptr, ptr %2, align 8
%21 = call ptr @strtok(ptr noundef %20, ptr noundef @.str.1)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph, label %56
.lr.ph: ; preds = %19
br label %24
24: ; preds = %.lr.ph, %52
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
store ptr %25, ptr %29, align 8
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %52
35: ; preds = %24
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 64
store i32 %37, ptr %3, align 4
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 %40, 8
%42 = trunc i64 %41 to i32
%43 = call ptr @realloc(ptr noundef %38, i32 noundef %42)
store ptr %43, ptr %5, align 8
%44 = load ptr, ptr %5, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %51, label %46
46: ; preds = %35
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str)
%49 = load i32, ptr @EXIT_FAILURE, align 4
%50 = call i32 @exit(i32 noundef %49) #3
unreachable
51: ; preds = %35
br label %52
52: ; preds = %51, %24
%53 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %53, ptr %6, align 8
%54 = load ptr, ptr %6, align 8
%55 = icmp ne ptr %54, null
br i1 %55, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %56
56: ; preds = %._crit_edge, %19
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
store ptr null, ptr %60, align 8
%61 = load ptr, ptr %5, align 8
ret ptr %61
}
declare ptr @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpmdtu788u.c'
source_filename = "/tmp/tmpmdtu788u.c"
target datalayout = "e-m:e-p270: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
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_MULTICAST_IF = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpmdtu788u.c"
target datalayout = "e-m:e-p270: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
@IPPROTO_IP = dso_local global i32 0, align 4
@IP_MULTICAST_IF = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmp8ugwf3ti.c'
source_filename = "/tmp/tmp8ugwf3ti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [80 x i8], align 16
%2 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @CalcExp(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4, i32 noundef %6)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @CalcExp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ugwf3ti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [80 x i8], align 16
%2 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @CalcExp(ptr noundef %5)
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %4, i32 noundef %6)
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @CalcExp(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp48mps8b0.c'
source_filename = "/tmp/tmp48mps8b0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"/bin/sh\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 %struct.sockaddr_in, align 4
store i32 0, ptr %1, align 4
store i32 4444, ptr %4, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @htons(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %12, ptr %13, align 4
%14 = load i32, ptr @INADDR_ANY, align 4
%15 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @bind(i32 noundef %17, ptr noundef %5, i32 noundef 12)
%19 = load i32, ptr %3, align 4
%20 = call i32 @listen(i32 noundef %19, i32 noundef 0)
%21 = load i32, ptr %3, align 4
%22 = call i32 @accept(i32 noundef %21, ptr noundef null, ptr noundef null)
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 @dup2(i32 noundef %23, i32 noundef 0)
%25 = load i32, ptr %2, align 4
%26 = call i32 @dup2(i32 noundef %25, i32 noundef 1)
%27 = load i32, ptr %2, align 4
%28 = call i32 @dup2(i32 noundef %27, i32 noundef 2)
%29 = call i32 @execve(ptr noundef @.str, ptr noundef null, ptr noundef null)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execve(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/tmp48mps8b0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [8 x i8] c"/bin/sh\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 %struct.sockaddr_in, align 4
store i32 0, ptr %1, align 4
store i32 4444, ptr %4, align 4
%6 = load i32, ptr @AF_INET, align 4
%7 = load i32, ptr @SOCK_STREAM, align 4
%8 = call i32 @socket(i32 noundef %6, i32 noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 2
store i32 %9, ptr %10, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @htons(i32 noundef %11)
%13 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 1
store i32 %12, ptr %13, align 4
%14 = load i32, ptr @INADDR_ANY, align 4
%15 = getelementptr inbounds %struct.sockaddr_in, ptr %5, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @bind(i32 noundef %17, ptr noundef %5, i32 noundef 12)
%19 = load i32, ptr %3, align 4
%20 = call i32 @listen(i32 noundef %19, i32 noundef 0)
%21 = load i32, ptr %3, align 4
%22 = call i32 @accept(i32 noundef %21, ptr noundef null, ptr noundef null)
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = call i32 @dup2(i32 noundef %23, i32 noundef 0)
%25 = load i32, ptr %2, align 4
%26 = call i32 @dup2(i32 noundef %25, i32 noundef 1)
%27 = load i32, ptr %2, align 4
%28 = call i32 @dup2(i32 noundef %27, i32 noundef 2)
%29 = call i32 @execve(ptr noundef @.str, ptr noundef null, ptr noundef null)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @execve(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/tmpkico01wx.c'
source_filename = "/tmp/tmpkico01wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GLCD_ClearScreen() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
store i8 0, ptr %2, align 1
br label %3
3: ; preds = %20, %0
%4 = load i8, ptr %2, align 1
%5 = zext i8 %4 to i32
%6 = icmp slt i32 %5, 8
br i1 %6, label %7, label %23
7: ; preds = %3
%8 = load i8, ptr %2, align 1
%9 = call i32 @GLCD_GoTo(i32 noundef 0, i8 noundef zeroext %8)
store i8 0, ptr %1, align 1
br label %10
10: ; preds = %16, %7
%11 = load i8, ptr %1, align 1
%12 = zext i8 %11 to i32
%13 = icmp slt i32 %12, 128
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = call i32 @GLCD_WriteData(i32 noundef 0)
br label %16
16: ; preds = %14
%17 = load i8, ptr %1, align 1
%18 = add i8 %17, 1
store i8 %18, ptr %1, align 1
br label %10, !llvm.loop !6
19: ; preds = %10
br label %20
20: ; preds = %19
%21 = load i8, ptr %2, align 1
%22 = add i8 %21, 1
store i8 %22, ptr %2, align 1
br label %3, !llvm.loop !8
23: ; preds = %3
ret void
}
declare i32 @GLCD_GoTo(i32 noundef, i8 noundef zeroext) #1
declare i32 @GLCD_WriteData(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/tmpkico01wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GLCD_ClearScreen() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
store i8 0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = icmp slt i32 %4, 8
br i1 %5, label %.lr.ph2, label %27
.lr.ph2: ; preds = %0
br label %6
6: ; preds = %.lr.ph2, %21
%7 = load i8, ptr %2, align 1
%8 = call i32 @GLCD_GoTo(i32 noundef 0, i8 noundef zeroext %7)
store i8 0, ptr %1, align 1
%9 = load i8, ptr %1, align 1
%10 = zext i8 %9 to i32
%11 = icmp slt i32 %10, 128
br i1 %11, label %.lr.ph, label %20
.lr.ph: ; preds = %6
br label %12
12: ; preds = %.lr.ph, %14
%13 = call i32 @GLCD_WriteData(i32 noundef 0)
br label %14
14: ; preds = %12
%15 = load i8, ptr %1, align 1
%16 = add i8 %15, 1
store i8 %16, ptr %1, align 1
%17 = load i8, ptr %1, align 1
%18 = zext i8 %17 to i32
%19 = icmp slt i32 %18, 128
br i1 %19, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %6
br label %21
21: ; preds = %20
%22 = load i8, ptr %2, align 1
%23 = add i8 %22, 1
store i8 %23, ptr %2, align 1
%24 = load i8, ptr %2, align 1
%25 = zext i8 %24 to i32
%26 = icmp slt i32 %25, 8
br i1 %26, label %6, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %27
27: ; preds = %._crit_edge3, %0
ret void
}
declare i32 @GLCD_GoTo(i32 noundef, i8 noundef zeroext) #1
declare i32 @GLCD_WriteData(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/tmpmasxlrj9.c'
source_filename = "/tmp/tmpmasxlrj9.c"
target datalayout = "e-m:e-p270: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/tmpmasxlrj9.c"
target datalayout = "e-m:e-p270: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/tmpbwf_zpjg.c'
source_filename = "/tmp/tmpbwf_zpjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binaryStringSearch(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = add nsw i32 %13, %14
%16 = sdiv i32 %15, 2
store i32 %16, ptr %10, align 4
br label %17
17: ; preds = %49, %3
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %21, label %54
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strcmp(ptr noundef %22, ptr noundef %27)
%29 = icmp sgt i64 %28, 0
br i1 %29, label %30, label %33
30: ; preds = %21
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %8, align 4
br label %49
33: ; preds = %21
%34 = load ptr, ptr %5, align 8
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = call i64 @strcmp(ptr noundef %34, ptr noundef %39)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %33
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %55
45: ; preds = %33
%46 = load i32, ptr %10, align 4
%47 = sub nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %48
48: ; preds = %45
br label %49
49: ; preds = %48, %30
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %50, %51
%53 = sdiv i32 %52, 2
store i32 %53, ptr %10, align 4
br label %17, !llvm.loop !6
54: ; preds = %17
store i32 0, ptr %4, align 4
br label %55
55: ; preds = %54, %42
%56 = load i32, ptr %4, align 4
ret i32 %56
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbwf_zpjg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @binaryStringSearch(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = add nsw i32 %13, %14
%16 = sdiv i32 %15, 2
store i32 %16, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %.lr.ph, label %56
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %48
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strcmp(ptr noundef %21, ptr noundef %26)
%28 = icmp sgt i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %20
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
br label %48
32: ; preds = %20
%33 = load ptr, ptr %5, align 8
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %10, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strcmp(ptr noundef %33, ptr noundef %38)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %32
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
br label %57
44: ; preds = %32
%45 = load i32, ptr %10, align 4
%46 = sub nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %47
47: ; preds = %44
br label %48
48: ; preds = %47, %29
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %9, align 4
%51 = add nsw i32 %49, %50
%52 = sdiv i32 %51, 2
store i32 %52, ptr %10, align 4
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %9, align 4
%55 = icmp sle i32 %53, %54
br i1 %55, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %56
56: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %57
57: ; preds = %56, %41
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7sicuj9n.c'
source_filename = "/tmp/tmp7sicuj9n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Calling day_of_year(1973, 10, 32)\0A> \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Oct 12nd, 1973 is day %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"The month or day is out of range!\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Calling month_day(1985, 295, ...)\0A> \00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Day 295 of year 1985 is month %d and day %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"month_day: day of year out of range!\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"Calling day_of_year(1492, 5, 14)\0A> \00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"May 14th, 1492 is day %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"Calling month_day(2012, 367, ...)\0A> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @day_of_year(i32 noundef 1973, i32 noundef 10, i32 noundef 32)
store i32 %6, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %4, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
br label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %13
13: ; preds = %11, %8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = call i32 @month_day(i32 noundef 1985, i32 noundef 295, ptr noundef %2, ptr noundef %3)
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22, i32 noundef %23)
br label %27
25: ; preds = %18, %13
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %27
27: ; preds = %25, %21
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%29 = call i32 @day_of_year(i32 noundef 1492, i32 noundef 5, i32 noundef 14)
store i32 %29, ptr %4, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %4, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %32)
br label %36
34: ; preds = %27
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %36
36: ; preds = %34, %31
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%38 = call i32 @month_day(i32 noundef 2012, i32 noundef 367, ptr noundef %2, ptr noundef %3)
%39 = load i32, ptr %2, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %48
41: ; preds = %36
%42 = load i32, ptr %3, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %41
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45, i32 noundef %46)
br label %50
48: ; preds = %41, %36
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %50
50: ; preds = %48, %44
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @day_of_year(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @month_day(i32 noundef, 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/tmp7sicuj9n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Calling day_of_year(1973, 10, 32)\0A> \00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Oct 12nd, 1973 is day %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"The month or day is out of range!\0A\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Calling month_day(1985, 295, ...)\0A> \00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Day 295 of year 1985 is month %d and day %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"month_day: day of year out of range!\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"Calling day_of_year(1492, 5, 14)\0A> \00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"May 14th, 1492 is day %d\0A\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"Calling month_day(2012, 367, ...)\0A> \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @day_of_year(i32 noundef 1973, i32 noundef 10, i32 noundef 32)
store i32 %6, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr %4, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
br label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %13
13: ; preds = %11, %8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%15 = call i32 @month_day(i32 noundef 1985, i32 noundef 295, ptr noundef %2, ptr noundef %3)
%16 = load i32, ptr %2, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = load i32, ptr %3, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22, i32 noundef %23)
br label %27
25: ; preds = %18, %13
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %27
27: ; preds = %25, %21
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%29 = call i32 @day_of_year(i32 noundef 1492, i32 noundef 5, i32 noundef 14)
store i32 %29, ptr %4, align 4
%30 = icmp sgt i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %27
%32 = load i32, ptr %4, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %32)
br label %36
34: ; preds = %27
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %36
36: ; preds = %34, %31
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%38 = call i32 @month_day(i32 noundef 2012, i32 noundef 367, ptr noundef %2, ptr noundef %3)
%39 = load i32, ptr %2, align 4
%40 = icmp sgt i32 %39, 0
br i1 %40, label %41, label %48
41: ; preds = %36
%42 = load i32, ptr %3, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %41
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45, i32 noundef %46)
br label %50
48: ; preds = %41, %36
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %50
50: ; preds = %48, %44
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @day_of_year(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @month_day(i32 noundef, 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/tmp0taa50cz.c'
source_filename = "/tmp/tmp0taa50cz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [21 x [21 x i64]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %34, %0
%8 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%9 = icmp sgt i64 %8, 0
br i1 %9, label %10, label %46
10: ; preds = %7
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %31, %10
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %12, %13
br i1 %14, label %15, label %34
15: ; preds = %11
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %27, %15
%17 = load i32, ptr %6, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [21 x [21 x i64]], ptr %2, i64 0, i64 %22
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [21 x i64], ptr %23, i64 0, i64 %25
store i64 -1, ptr %26, align 8
br label %27
27: ; preds = %20
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %16, !llvm.loop !6
30: ; preds = %16
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %11, !llvm.loop !8
34: ; preds = %11
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [21 x [21 x i64]], ptr %2, i64 0, i64 %38
%40 = getelementptr inbounds [21 x i64], ptr %39, i64 0, i64 1
store i64 %36, ptr %40, align 8
%41 = load i32, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = getelementptr inbounds [21 x [21 x i64]], ptr %2, i64 0, i64 0
%44 = call i32 @calculate(i32 noundef 1, i32 noundef %41, i32 noundef %42, ptr noundef %43)
%45 = call i32 @printf(ptr noundef @.str.1, i32 noundef %44)
br label %7, !llvm.loop !9
46: ; preds = %7
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @calculate(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0taa50cz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [21 x [21 x i64]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%8 = icmp sgt i64 %7, 0
br i1 %8, label %.lr.ph5, label %51
.lr.ph5: ; preds = %0
br label %9
9: ; preds = %.lr.ph5, %37
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph2, label %37
.lr.ph2: ; preds = %9
br label %13
13: ; preds = %.lr.ph2, %31
store i32 0, 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 %30
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %24
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [21 x [21 x i64]], ptr %2, i64 0, i64 %19
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [21 x i64], ptr %20, i64 0, i64 %22
store i64 -1, ptr %23, align 8
br label %24
24: ; preds = %17
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %13
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %37
37: ; preds = %._crit_edge3, %9
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [21 x [21 x i64]], ptr %2, i64 0, i64 %41
%43 = getelementptr inbounds [21 x i64], ptr %42, i64 0, i64 1
store i64 %39, ptr %43, align 8
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = getelementptr inbounds [21 x [21 x i64]], ptr %2, i64 0, i64 0
%47 = call i32 @calculate(i32 noundef 1, i32 noundef %44, i32 noundef %45, ptr noundef %46)
%48 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47)
%49 = call i64 @scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
%50 = icmp sgt i64 %49, 0
br i1 %50, label %9, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %37
br label %51
51: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @calculate(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4_oh7yar.c'
source_filename = "/tmp/tmp4_oh7yar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%d 0x%02x 0b%s 0b%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createTarga(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 1000, ptr %5, align 4
store i32 1000, ptr %6, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call ptr @initiateTarga(ptr noundef %9, i32 noundef %10, i32 noundef %11)
store ptr %12, ptr %3, align 8
br label %13
13: ; preds = %19, %1
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = mul nsw i32 %15, %16
%18 = icmp slt i32 %14, %17
br i1 %18, label %19, label %38
19: ; preds = %13
%20 = load i32, ptr %4, align 4
%21 = srem i32 %20, 256
%22 = trunc i32 %21 to i8
store i8 %22, ptr %7, align 1
%23 = load i8, ptr %7, align 1
%24 = zext i8 %23 to i32
%25 = xor i32 %24, 1
%26 = trunc i32 %25 to i8
store i8 %26, ptr %8, align 1
%27 = load i8, ptr %7, align 1
%28 = load i8, ptr %7, align 1
%29 = load i8, ptr %7, align 1
%30 = call ptr @convertByteToBin(i8 noundef zeroext %29)
%31 = load i8, ptr %8, align 1
%32 = call ptr @convertByteToBin(i8 noundef zeroext %31)
%33 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %27, i8 noundef zeroext %28, ptr noundef %30, ptr noundef %32)
%34 = load ptr, ptr %3, align 8
%35 = call i32 @fwrite(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %34)
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
br label %13, !llvm.loop !6
38: ; preds = %13
%39 = load ptr, ptr %3, align 8
%40 = call i32 @fclose(ptr noundef %39)
ret void
}
declare ptr @initiateTarga(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef, ptr noundef) #1
declare ptr @convertByteToBin(i8 noundef zeroext) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_oh7yar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"%d 0x%02x 0b%s 0b%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createTarga(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 1000, ptr %5, align 4
store i32 1000, ptr %6, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = call ptr @initiateTarga(ptr noundef %9, i32 noundef %10, i32 noundef %11)
store ptr %12, ptr %3, align 8
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = mul nsw i32 %14, %15
%17 = icmp slt i32 %13, %16
br i1 %17, label %.lr.ph, label %42
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %18
%19 = load i32, ptr %4, align 4
%20 = srem i32 %19, 256
%21 = trunc i32 %20 to i8
store i8 %21, ptr %7, align 1
%22 = load i8, ptr %7, align 1
%23 = zext i8 %22 to i32
%24 = xor i32 %23, 1
%25 = trunc i32 %24 to i8
store i8 %25, ptr %8, align 1
%26 = load i8, ptr %7, align 1
%27 = load i8, ptr %7, align 1
%28 = load i8, ptr %7, align 1
%29 = call ptr @convertByteToBin(i8 noundef zeroext %28)
%30 = load i8, ptr %8, align 1
%31 = call ptr @convertByteToBin(i8 noundef zeroext %30)
%32 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %26, i8 noundef zeroext %27, ptr noundef %29, ptr noundef %31)
%33 = load ptr, ptr %3, align 8
%34 = call i32 @fwrite(ptr noundef %7, i32 noundef 1, i32 noundef 1, ptr noundef %33)
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %6, align 4
%40 = mul nsw i32 %38, %39
%41 = icmp slt i32 %37, %40
br i1 %41, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %42
42: ; preds = %._crit_edge, %1
%43 = load ptr, ptr %3, align 8
%44 = call i32 @fclose(ptr noundef %43)
ret void
}
declare ptr @initiateTarga(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext, ptr noundef, ptr noundef) #1
declare ptr @convertByteToBin(i8 noundef zeroext) #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"}
|
; ModuleID = '/tmp/tmp6to_r_6k.c'
source_filename = "/tmp/tmp6to_r_6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortPointers(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 = sub nsw i32 %6, 1
%8 = call i32 @do_qsort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @do_qsort(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6to_r_6k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortPointers(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 = sub nsw i32 %6, 1
%8 = call i32 @do_qsort(ptr noundef %5, i32 noundef 0, i32 noundef %7)
ret void
}
declare i32 @do_qsort(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6dqm6v6i.c'
source_filename = "/tmp/tmp6dqm6v6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_string_to_defined_output_file(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %28, %2
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %31
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %13, i64 %26
store i32 %24, ptr %27, align 4
br label %28
28: ; preds = %18
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %14, !llvm.loop !6
31: ; preds = %14
%32 = load ptr, ptr %9, align 8
%33 = call i32 @_ada_use_c2phc(i32 noundef 158, ptr noundef %3, ptr noundef %13, ptr noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %35)
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6dqm6v6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_string_to_defined_output_file(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = load i32, ptr %3, align 4
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %6, align 8
%13 = alloca i32, i64 %11, align 16
store i64 %11, ptr %7, align 8
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %27
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %13, i64 %25
store i32 %23, ptr %26, align 4
br label %27
27: ; preds = %17
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = load ptr, ptr %9, align 8
%35 = call i32 @_ada_use_c2phc(i32 noundef 158, ptr noundef %3, ptr noundef %13, ptr noundef %34)
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %37)
ret i32 %36
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpei098ihf.c'
source_filename = "/tmp/tmpei098ihf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FizzBuzz\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fizzbuzz(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = urem i32 %4, 3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = urem i32 %8, 5
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
store ptr @.str, ptr %2, align 8
br label %23
12: ; preds = %7, %1
%13 = load i32, ptr %3, align 4
%14 = urem i32 %13, 3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store ptr @.str.1, ptr %2, align 8
br label %23
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = urem i32 %18, 5
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store ptr @.str.2, ptr %2, align 8
br label %23
22: ; preds = %17
store ptr null, ptr %2, align 8
br label %23
23: ; preds = %22, %21, %16, %11
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpei098ihf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FizzBuzz\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"Fizz\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Buzz\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fizzbuzz(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = urem i32 %4, 3
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = urem i32 %8, 5
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
store ptr @.str, ptr %2, align 8
br label %23
12: ; preds = %7, %1
%13 = load i32, ptr %3, align 4
%14 = urem i32 %13, 3
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
store ptr @.str.1, ptr %2, align 8
br label %23
17: ; preds = %12
%18 = load i32, ptr %3, align 4
%19 = urem i32 %18, 5
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
store ptr @.str.2, ptr %2, align 8
br label %23
22: ; preds = %17
store ptr null, ptr %2, align 8
br label %23
23: ; preds = %22, %21, %16, %11
%24 = load ptr, ptr %2, align 8
ret ptr %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn_i209m4.c'
source_filename = "/tmp/tmpn_i209m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [103 x i8] c"Error converting numerical string to numerical value.\0AError occurs in line %lu of input file\0AAborting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ParseLongIntXML(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca [11 x i8], align 1
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 11, i1 false)
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store ptr null, ptr %8, align 8
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
br label %14
14: ; preds = %33, %2
%15 = load ptr, ptr %3, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %42
21: ; preds = %14
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %6, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 60
br i1 %27, label %28, label %29
28: ; preds = %21
br label %42
29: ; preds = %21
%30 = load i64, ptr %7, align 8
%31 = icmp uge i64 %30, 10
br i1 %31, label %32, label %33
32: ; preds = %29
br label %42
33: ; preds = %29
%34 = load ptr, ptr %3, align 8
%35 = load i64, ptr %6, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %34, i64 %35
%38 = load i8, ptr %37, align 1
%39 = load i64, ptr %7, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %7, align 8
%41 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 %39
store i8 %38, ptr %41, align 1
br label %14, !llvm.loop !6
42: ; preds = %32, %28, %14
%43 = load i64, ptr %7, align 8
%44 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 %43
store i8 0, ptr %44, align 1
%45 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%46 = call ptr @RemoveLeadingZeroes(ptr noundef %45)
store ptr %46, ptr %8, align 8
%47 = load ptr, ptr %8, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 0
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 48
br i1 %51, label %52, label %53
52: ; preds = %42
store i64 0, ptr %9, align 8
br label %63
53: ; preds = %42
%54 = load ptr, ptr %8, align 8
%55 = call i64 @atol(ptr noundef %54)
store i64 %55, ptr %9, align 8
%56 = load i64, ptr %9, align 8
%57 = icmp ne i64 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %53
%59 = load i64, ptr %4, align 8
%60 = call i32 @printf(ptr noundef @.str, i64 noundef %59)
%61 = call i32 @exit_wrapper(i32 noundef 2)
br label %62
62: ; preds = %58, %53
br label %63
63: ; preds = %62, %52
%64 = load ptr, ptr %8, align 8
%65 = call i32 @free(ptr noundef %64)
%66 = load i64, ptr %9, align 8
ret i64 %66
}
; 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 @assert(i32 noundef) #2
declare ptr @RemoveLeadingZeroes(ptr noundef) #2
declare i64 @atol(ptr noundef) #2
declare i32 @printf(ptr noundef, i64 noundef) #2
declare i32 @exit_wrapper(i32 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn_i209m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [103 x i8] c"Error converting numerical string to numerical value.\0AError occurs in line %lu of input file\0AAborting\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ParseLongIntXML(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca [11 x i8], align 1
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 11, i1 false)
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store ptr null, ptr %8, align 8
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load i64, ptr %6, align 8
%16 = getelementptr inbounds i8, ptr %14, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %32
%21 = load ptr, ptr %3, align 8
%22 = load i64, ptr %6, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 60
br i1 %26, label %27, label %28
27: ; preds = %20
br label %47
28: ; preds = %20
%29 = load i64, ptr %7, align 8
%30 = icmp uge i64 %29, 10
br i1 %30, label %31, label %32
31: ; preds = %28
br label %47
32: ; preds = %28
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %6, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %33, i64 %34
%37 = load i8, ptr %36, align 1
%38 = load i64, ptr %7, align 8
%39 = add i64 %38, 1
store i64 %39, ptr %7, align 8
%40 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 %38
store i8 %37, ptr %40, align 1
%41 = load ptr, ptr %3, align 8
%42 = load i64, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp ne i32 %45, 0
br i1 %46, label %20, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %32
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %47
47: ; preds = %.loopexit, %31, %27
%48 = load i64, ptr %7, align 8
%49 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 %48
store i8 0, ptr %49, align 1
%50 = getelementptr inbounds [11 x i8], ptr %5, i64 0, i64 0
%51 = call ptr @RemoveLeadingZeroes(ptr noundef %50)
store ptr %51, ptr %8, align 8
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 0
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 48
br i1 %56, label %57, label %58
57: ; preds = %47
store i64 0, ptr %9, align 8
br label %68
58: ; preds = %47
%59 = load ptr, ptr %8, align 8
%60 = call i64 @atol(ptr noundef %59)
store i64 %60, ptr %9, align 8
%61 = load i64, ptr %9, align 8
%62 = icmp ne i64 %61, 0
br i1 %62, label %67, label %63
63: ; preds = %58
%64 = load i64, ptr %4, align 8
%65 = call i32 @printf(ptr noundef @.str, i64 noundef %64)
%66 = call i32 @exit_wrapper(i32 noundef 2)
br label %67
67: ; preds = %63, %58
br label %68
68: ; preds = %67, %57
%69 = load ptr, ptr %8, align 8
%70 = call i32 @free(ptr noundef %69)
%71 = load i64, ptr %9, align 8
ret i64 %71
}
; 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 @assert(i32 noundef) #2
declare ptr @RemoveLeadingZeroes(ptr noundef) #2
declare i64 @atol(ptr noundef) #2
declare i32 @printf(ptr noundef, i64 noundef) #2
declare i32 @exit_wrapper(i32 noundef) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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"}
|
; ModuleID = '/tmp/tmpppbp2eu_.c'
source_filename = "/tmp/tmpppbp2eu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64 }
@DT_REG = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @selector(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds %struct.dirent, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr @DT_REG, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppbp2eu_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64 }
@DT_REG = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @selector(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds %struct.dirent, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr @DT_REG, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 1, ptr %2, align 4
br label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %10, %9
%12 = load i32, ptr %2, align 4
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa411y04r.c'
source_filename = "/tmp/tmpa411y04r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wavegen_sawtooth(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @llvm.floor.f64(double %4)
%6 = fsub double %3, %5
%7 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %6, double -1.000000e+00)
ret double %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa411y04r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wavegen_sawtooth(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call double @llvm.floor.f64(double %4)
%6 = fsub double %3, %5
%7 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %6, double -1.000000e+00)
ret double %7
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpim5u87kj.c'
source_filename = "/tmp/tmpim5u87kj.c"
target datalayout = "e-m:e-p270: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/tmpim5u87kj.c"
target datalayout = "e-m:e-p270: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/tmpojnuyq65.c'
source_filename = "/tmp/tmpojnuyq65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_quaddobl_dimension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 731, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojnuyq65.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_quaddobl_dimension(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 731, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcbcodrch.c'
source_filename = "/tmp/tmpcbcodrch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIZE_MAX = dso_local global i64 0, align 8
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xreallocarray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp uge i64 %8, 4294967296
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i64, ptr %7, align 8
%12 = icmp uge i64 %11, 4294967296
br i1 %12, label %13, label %24
13: ; preds = %10, %3
%14 = load i64, ptr %6, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load i64, ptr @SIZE_MAX, align 8
%18 = load i64, ptr %6, align 8
%19 = udiv i64 %17, %18
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load i32, ptr @ENOMEM, align 4
store i32 %23, ptr @errno, align 4
store ptr null, ptr %4, align 8
br label %30
24: ; preds = %16, %13, %10
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %7, align 8
%27 = load i64, ptr %6, align 8
%28 = mul i64 %26, %27
%29 = call ptr @realloc(ptr noundef %25, i64 noundef %28) #2
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %24, %22
%31 = load ptr, ptr %4, align 8
ret ptr %31
}
; Function Attrs: allocsize(1)
declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcbcodrch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIZE_MAX = dso_local global i64 0, align 8
@ENOMEM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xreallocarray(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %6, align 8
%9 = icmp uge i64 %8, 4294967296
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load i64, ptr %7, align 8
%12 = icmp uge i64 %11, 4294967296
br i1 %12, label %13, label %24
13: ; preds = %10, %3
%14 = load i64, ptr %6, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load i64, ptr @SIZE_MAX, align 8
%18 = load i64, ptr %6, align 8
%19 = udiv i64 %17, %18
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %16
%23 = load i32, ptr @ENOMEM, align 4
store i32 %23, ptr @errno, align 4
store ptr null, ptr %4, align 8
br label %30
24: ; preds = %16, %13, %10
%25 = load ptr, ptr %5, align 8
%26 = load i64, ptr %7, align 8
%27 = load i64, ptr %6, align 8
%28 = mul i64 %26, %27
%29 = call ptr @realloc(ptr noundef %25, i64 noundef %28) #2
store ptr %29, ptr %4, align 8
br label %30
30: ; preds = %24, %22
%31 = load ptr, ptr %4, align 8
ret ptr %31
}
; Function Attrs: allocsize(1)
declare ptr @realloc(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 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpchu_myvx.c'
source_filename = "/tmp/tmpchu_myvx.c"
target datalayout = "e-m:e-p270: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/tmpchu_myvx.c"
target datalayout = "e-m:e-p270: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/tmpnmi0l007.c'
source_filename = "/tmp/tmpnmi0l007.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Usage: simprovider\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\09\09 -v - Be Verbose when running the command\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\09\09 -h - Display this manu\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"\09\09 -m - Set the Multicast address ( Default : 226.1.1.1 )\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"\09\09 -p - Set the Listening Port ( Default : 4321 )\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"\09\09 -i - Set the interface to bind to (Default : ANY ) \0A\00", align 1
@.str.6 = private unnamed_addr constant [78 x i8] c"\09\09 -t - Text message to send over the multicast( Default : Hello Multicast )\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Help(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.4)
%8 = call i32 @printf(ptr noundef @.str.5)
%9 = call i32 @printf(ptr noundef @.str.6)
%10 = call i32 @printf(ptr noundef @.str.7)
%11 = load i32, ptr %2, align 4
%12 = call i32 @exit(i32 noundef %11) #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/tmpnmi0l007.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Usage: simprovider\0A\00", align 1
@.str.1 = private unnamed_addr constant [45 x i8] c"\09\09 -v - Be Verbose when running the command\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"\09\09 -h - Display this manu\0A\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"\09\09 -m - Set the Multicast address ( Default : 226.1.1.1 )\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"\09\09 -p - Set the Listening Port ( Default : 4321 )\0A\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"\09\09 -i - Set the interface to bind to (Default : ANY ) \0A\00", align 1
@.str.6 = private unnamed_addr constant [78 x i8] c"\09\09 -t - Text message to send over the multicast( Default : Hello Multicast )\0A\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Help(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 @printf(ptr noundef @.str.1)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.4)
%8 = call i32 @printf(ptr noundef @.str.5)
%9 = call i32 @printf(ptr noundef @.str.6)
%10 = call i32 @printf(ptr noundef @.str.7)
%11 = load i32, ptr %2, align 4
%12 = call i32 @exit(i32 noundef %11) #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/tmpbfo5jpem.c'
source_filename = "/tmp/tmpbfo5jpem.c"
target datalayout = "e-m:e-p270: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/tmpbfo5jpem.c"
target datalayout = "e-m:e-p270: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/tmppgorcdgf.c'
source_filename = "/tmp/tmppgorcdgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"Impossible to allocate space\00", align 1
@CLOCKS_PER_SEC = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [16 x i8] c"\0AStarted at: %g\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"\0ACompleted at: %g\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"\0AExecution time in seconds: %g\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 ptr, align 8
%6 = alloca double, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 4
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %0
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 4
%23 = trunc i64 %22 to i32
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %5, align 8
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %36, %19
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %39
29: ; preds = %25
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %36
36: ; preds = %29
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
br label %25, !llvm.loop !6
39: ; preds = %25
%40 = call i64 (...) @clock()
store i64 %40, ptr %7, align 8
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %2, align 4
%43 = call i32 @bubbleSort(ptr noundef %41, i32 noundef %42)
%44 = call i64 (...) @clock()
store i64 %44, ptr %8, align 8
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %7, align 8
%47 = sub nsw i64 %45, %46
%48 = sitofp i64 %47 to double
%49 = load i64, ptr @CLOCKS_PER_SEC, align 8
%50 = sitofp i64 %49 to double
%51 = fdiv double %48, %50
store double %51, ptr %6, align 8
%52 = load i64, ptr %7, align 8
%53 = sitofp i64 %52 to double
%54 = load i64, ptr @CLOCKS_PER_SEC, align 8
%55 = sitofp i64 %54 to double
%56 = fdiv double %53, %55
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %56)
%58 = load i64, ptr %8, align 8
%59 = sitofp i64 %58 to double
%60 = load i64, ptr @CLOCKS_PER_SEC, align 8
%61 = sitofp i64 %60 to double
%62 = fdiv double %59, %61
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %62)
%64 = load double, ptr %6, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %64)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @clock(...) #1
declare i32 @bubbleSort(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/tmppgorcdgf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [29 x i8] c"Impossible to allocate space\00", align 1
@CLOCKS_PER_SEC = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [16 x i8] c"\0AStarted at: %g\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"\0ACompleted at: %g\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"\0AExecution time in seconds: %g\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 ptr, align 8
%6 = alloca double, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i32 0, ptr %1, align 4
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 4
%13 = trunc i64 %12 to i32
%14 = call ptr @malloc(i32 noundef %13)
store ptr %14, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %0
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 4
%23 = trunc i64 %22 to i32
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %5, align 8
store i32 0, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %41
.lr.ph: ; preds = %19
br label %28
28: ; preds = %.lr.ph, %35
%29 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%30 = load i32, ptr %4, align 4
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
store i32 %30, ptr %34, align 4
br label %35
35: ; preds = %28
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %3, align 4
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %19
%42 = call i64 (...) @clock()
store i64 %42, ptr %7, align 8
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %2, align 4
%45 = call i32 @bubbleSort(ptr noundef %43, i32 noundef %44)
%46 = call i64 (...) @clock()
store i64 %46, ptr %8, align 8
%47 = load i64, ptr %8, align 8
%48 = load i64, ptr %7, align 8
%49 = sub nsw i64 %47, %48
%50 = sitofp i64 %49 to double
%51 = load i64, ptr @CLOCKS_PER_SEC, align 8
%52 = sitofp i64 %51 to double
%53 = fdiv double %50, %52
store double %53, ptr %6, align 8
%54 = load i64, ptr %7, align 8
%55 = sitofp i64 %54 to double
%56 = load i64, ptr @CLOCKS_PER_SEC, align 8
%57 = sitofp i64 %56 to double
%58 = fdiv double %55, %57
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %58)
%60 = load i64, ptr %8, align 8
%61 = sitofp i64 %60 to double
%62 = load i64, ptr @CLOCKS_PER_SEC, align 8
%63 = sitofp i64 %62 to double
%64 = fdiv double %61, %63
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %64)
%66 = load double, ptr %6, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %66)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @clock(...) #1
declare i32 @bubbleSort(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/tmpgal3yg61.c'
source_filename = "/tmp/tmpgal3yg61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @FirstOne(i32 noundef 12345678)
store i32 %3, ptr %2, align 4
ret i32 0
}
declare i32 @FirstOne(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/tmpgal3yg61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @FirstOne(i32 noundef 12345678)
store i32 %3, ptr %2, align 4
ret i32 0
}
declare i32 @FirstOne(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/tmp0_0lbdd2.c'
source_filename = "/tmp/tmp0_0lbdd2.c"
target datalayout = "e-m:e-p270: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/tmp0_0lbdd2.c"
target datalayout = "e-m:e-p270: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/tmpx2yphymb.c'
source_filename = "/tmp/tmpx2yphymb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"intel-rapl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rapl_sysfs_zone_get_max_energy_range_uj(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %10, ptr %11, align 4
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %12, ptr %13, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%15 = load i32, ptr %7, align 4
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, i32 2, i32 1
%19 = load ptr, ptr %8, align 8
%20 = call i32 @powercap_sysfs_zone_get_max_energy_range_uj(ptr noundef @.str, ptr noundef %14, i32 noundef %18, ptr noundef %19)
ret i32 %20
}
declare i32 @powercap_sysfs_zone_get_max_energy_range_uj(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx2yphymb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"intel-rapl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rapl_sysfs_zone_get_max_energy_range_uj(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca [2 x i32], align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load i32, ptr %5, align 4
%11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
store i32 %10, ptr %11, align 4
%12 = load i32, ptr %6, align 4
%13 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1
store i32 %12, ptr %13, align 4
%14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0
%15 = load i32, ptr %7, align 4
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i64
%18 = select i1 %16, i32 2, i32 1
%19 = load ptr, ptr %8, align 8
%20 = call i32 @powercap_sysfs_zone_get_max_energy_range_uj(ptr noundef @.str, ptr noundef %14, i32 noundef %18, ptr noundef %19)
ret i32 %20
}
declare i32 @powercap_sysfs_zone_get_max_energy_range_uj(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8s41k13i.c'
source_filename = "/tmp/tmp8s41k13i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdr_u_quad_t(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @xdr_u_hyper(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @xdr_u_hyper(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/tmp8s41k13i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xdr_u_quad_t(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @xdr_u_hyper(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @xdr_u_hyper(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/tmpt4abzaz5.c'
source_filename = "/tmp/tmpt4abzaz5.c"
target datalayout = "e-m:e-p270: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/tmpt4abzaz5.c"
target datalayout = "e-m:e-p270: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/tmpl83u844l.c'
source_filename = "/tmp/tmpl83u844l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @jsV_numbertoint16(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call signext i16 @jsV_numbertoint32(double noundef %3)
ret i16 %4
}
declare signext i16 @jsV_numbertoint32(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/tmpl83u844l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @jsV_numbertoint16(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call signext i16 @jsV_numbertoint32(double noundef %3)
ret i16 %4
}
declare signext i16 @jsV_numbertoint32(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/tmpx6xapf40.c'
source_filename = "/tmp/tmpx6xapf40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocPtrZero3() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @realloc(i32 noundef 0, i32 noundef 12)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare ptr @realloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx6xapf40.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reallocPtrZero3() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @realloc(i32 noundef 0, i32 noundef 12)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare ptr @realloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2crdgt31.c'
source_filename = "/tmp/tmp2crdgt31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_wall_time() #0 {
%1 = alloca double, align 8
%2 = alloca %struct.timeval, align 8
%3 = call i64 @gettimeofday(ptr noundef %2, ptr noundef null)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
store double 0.000000e+00, ptr %1, align 8
br label %14
6: ; preds = %0
%7 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%8 = load i64, ptr %7, align 8
%9 = sitofp i64 %8 to double
%10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = sitofp i64 %11 to double
%13 = call double @llvm.fmuladd.f64(double %12, double 0x3EB0C6F7A0B5ED8D, double %9)
store double %13, ptr %1, align 8
br label %14
14: ; preds = %6, %5
%15 = load double, ptr %1, align 8
ret double %15
}
declare i64 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2crdgt31.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_wall_time() #0 {
%1 = alloca double, align 8
%2 = alloca %struct.timeval, align 8
%3 = call i64 @gettimeofday(ptr noundef %2, ptr noundef null)
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %0
store double 0.000000e+00, ptr %1, align 8
br label %14
6: ; preds = %0
%7 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%8 = load i64, ptr %7, align 8
%9 = sitofp i64 %8 to double
%10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%11 = load i64, ptr %10, align 8
%12 = sitofp i64 %11 to double
%13 = call double @llvm.fmuladd.f64(double %12, double 0x3EB0C6F7A0B5ED8D, double %9)
store double %13, ptr %1, align 8
br label %14
14: ; preds = %6, %5
%15 = load double, ptr %1, align 8
ret double %15
}
declare i64 @gettimeofday(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpanh64xkp.c'
source_filename = "/tmp/tmpanh64xkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"command parser: contact number recieved: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @contactNumberRecvd(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 @debugPrintStr(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @debugPrintStr(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/tmpanh64xkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"command parser: contact number recieved: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @contactNumberRecvd(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 @debugPrintStr(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @debugPrintStr(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/tmppr2eq3kq.c'
source_filename = "/tmp/tmppr2eq3kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dictentry_cmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i64
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %3
store i64 0, ptr %4, align 8
br label %41
17: ; preds = %3
store i64 0, ptr %9, align 8
br label %18
18: ; preds = %37, %17
%19 = load i64, ptr %9, align 8
%20 = load i64, ptr %8, align 8
%21 = icmp slt i64 %19, %20
br i1 %21, label %22, label %40
22: ; preds = %18
%23 = load ptr, ptr %6, align 8
%24 = load i64, ptr %9, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %9, align 8
%30 = add nsw i64 %29, 1
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %27, %33
br i1 %34, label %35, label %36
35: ; preds = %22
store i64 0, ptr %4, align 8
br label %41
36: ; preds = %22
br label %37
37: ; preds = %36
%38 = load i64, ptr %9, align 8
%39 = add nsw i64 %38, 1
store i64 %39, ptr %9, align 8
br label %18, !llvm.loop !6
40: ; preds = %18
store i64 1, ptr %4, align 8
br label %41
41: ; preds = %40, %35, %16
%42 = load i64, ptr %4, align 8
ret i64 %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 = '<stdin>'
source_filename = "/tmp/tmppr2eq3kq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dictentry_cmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i64
store i64 %12, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %3
store i64 0, ptr %4, align 8
br label %43
17: ; preds = %3
store i64 0, ptr %9, align 8
%18 = load i64, ptr %9, align 8
%19 = load i64, ptr %8, align 8
%20 = icmp slt i64 %18, %19
br i1 %20, label %.lr.ph, label %42
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %36
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %9, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %5, align 8
%28 = load i64, ptr %9, align 8
%29 = add nsw i64 %28, 1
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp ne i32 %26, %32
br i1 %33, label %34, label %35
34: ; preds = %21
store i64 0, ptr %4, align 8
br label %43
35: ; preds = %21
br label %36
36: ; preds = %35
%37 = load i64, ptr %9, align 8
%38 = add nsw i64 %37, 1
store i64 %38, ptr %9, align 8
%39 = load i64, ptr %9, align 8
%40 = load i64, ptr %8, align 8
%41 = icmp slt i64 %39, %40
br i1 %41, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %17
store i64 1, ptr %4, align 8
br label %43
43: ; preds = %42, %34, %16
%44 = load i64, ptr %4, align 8
ret i64 %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzad67a_6.c'
source_filename = "/tmp/tmpzad67a_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"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @timeit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timeval, align 4
%6 = alloca %struct.timeval, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
br label %7
7: ; preds = %1, %28
%8 = call i32 @gettimeofday(ptr noundef %5, ptr noundef null)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
call void %9(i32 noundef %10)
%11 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null)
%12 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = sub nsw i32 %13, %15
store i32 %16, ptr %4, align 4
%17 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%20 = load i32, ptr %19, align 4
%21 = sub nsw i32 %18, %20
%22 = mul nsw i32 1000000, %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %25, 1000000
br i1 %26, label %27, label %28
27: ; preds = %7
br label %31
28: ; preds = %7
%29 = load i32, ptr %3, align 4
%30 = mul nsw i32 %29, 2
store i32 %30, ptr %3, align 4
br label %7
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fmul double 1.000000e+06, %33
%35 = load i32, ptr %4, align 4
%36 = sitofp i32 %35 to double
%37 = fdiv double %34, %36
%38 = fptrunc double %37 to float
ret float %38
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzad67a_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"
%struct.timeval = type { i32, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @timeit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timeval, align 4
%6 = alloca %struct.timeval, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
br label %7
7: ; preds = %28, %1
%8 = call i32 @gettimeofday(ptr noundef %5, ptr noundef null)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
call void %9(i32 noundef %10)
%11 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null)
%12 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%13 = load i32, ptr %12, align 4
%14 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 0
%15 = load i32, ptr %14, align 4
%16 = sub nsw i32 %13, %15
store i32 %16, ptr %4, align 4
%17 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1
%18 = load i32, ptr %17, align 4
%19 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1
%20 = load i32, ptr %19, align 4
%21 = sub nsw i32 %18, %20
%22 = mul nsw i32 1000000, %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %25, 1000000
br i1 %26, label %27, label %28
27: ; preds = %7
br label %31
28: ; preds = %7
%29 = load i32, ptr %3, align 4
%30 = mul nsw i32 %29, 2
store i32 %30, ptr %3, align 4
br label %7
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fmul double 1.000000e+06, %33
%35 = load i32, ptr %4, align 4
%36 = sitofp i32 %35 to double
%37 = fdiv double %34, %36
%38 = fptrunc double %37 to float
ret float %38
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsserq3wj.c'
source_filename = "/tmp/tmpsserq3wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%X\09\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\09\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %10, align 4
%14 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %13)
%15 = load i32, ptr %11, align 4
%16 = sext i32 %15 to i64
%17 = add nsw i64 %16, %14
%18 = trunc i64 %17 to i32
store i32 %18, ptr %11, align 4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20)
%22 = load i32, ptr %11, align 4
%23 = sext i32 %22 to i64
%24 = add nsw i64 %23, %21
%25 = trunc i64 %24 to i32
store i32 %25, ptr %11, align 4
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = add nsw i64 %30, %28
%32 = trunc i64 %31 to i32
store i32 %32, ptr %11, align 4
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %9, align 8
%35 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.2, ptr noundef %34)
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = add nsw i64 %37, %35
%39 = trunc i64 %38 to i32
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %11, align 4
ret i32 %40
}
declare i64 @fprintf(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/tmpsserq3wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%X\09\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\09\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_line(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i32, ptr %10, align 4
%14 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str, i32 noundef %13)
%15 = load i32, ptr %11, align 4
%16 = sext i32 %15 to i64
%17 = add nsw i64 %16, %14
%18 = trunc i64 %17 to i32
store i32 %18, ptr %11, align 4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %20)
%22 = load i32, ptr %11, align 4
%23 = sext i32 %22 to i64
%24 = add nsw i64 %23, %21
%25 = trunc i64 %24 to i32
store i32 %25, ptr %11, align 4
%26 = load ptr, ptr %6, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr %11, align 4
%30 = sext i32 %29 to i64
%31 = add nsw i64 %30, %28
%32 = trunc i64 %31 to i32
store i32 %32, ptr %11, align 4
%33 = load ptr, ptr %6, align 8
%34 = load ptr, ptr %9, align 8
%35 = call i64 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.2, ptr noundef %34)
%36 = load i32, ptr %11, align 4
%37 = sext i32 %36 to i64
%38 = add nsw i64 %37, %35
%39 = trunc i64 %38 to i32
store i32 %39, ptr %11, align 4
%40 = load i32, ptr %11, align 4
ret i32 %40
}
declare i64 @fprintf(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/tmp6i3i001t.c'
source_filename = "/tmp/tmp6i3i001t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = 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
store double 0.000000e+00, ptr %14, align 8
%18 = call i32 (...) @devrand()
%19 = srem i32 %18, 2147483399
%20 = sext i32 %19 to i64
store i64 %20, ptr %15, align 8
%21 = call i32 (...) @devrand()
%22 = srem i32 %21, 2147483399
%23 = sext i32 %22 to i64
store i64 %23, ptr %16, align 8
%24 = load i64, ptr %15, align 8
%25 = load i64, ptr %16, align 8
%26 = call i32 @setall(i64 noundef %24, i64 noundef %25)
%27 = call ptr @malloc(i32 noundef 80000000)
store ptr %27, ptr %17, align 8
store double 2.000000e+04, ptr %9, align 8
%28 = load double, ptr %9, align 8
%29 = fmul double 4.000000e+02, %28
%30 = fdiv double 1.000000e+00, %29
store double %30, ptr %8, align 8
store double 2.000000e-04, ptr %11, align 8
%31 = load double, ptr %9, align 8
%32 = fmul double 2.000000e+00, %31
%33 = load double, ptr %11, align 8
%34 = fmul double %32, %33
store double %34, ptr %10, align 8
%35 = load double, ptr %9, align 8
%36 = load double, ptr %10, align 8
%37 = load double, ptr %8, align 8
%38 = load ptr, ptr %17, align 8
%39 = call i32 @createTrajectory(double noundef %35, double noundef %36, double noundef %37, ptr noundef %38)
store i32 0, ptr %12, align 4
br label %40
40: ; preds = %50, %2
%41 = load ptr, ptr %17, align 8
%42 = load i32, ptr %12, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, ptr %41, i64 %43
%45 = load double, ptr %44, align 8
%46 = load double, ptr %9, align 8
%47 = fmul double 2.000000e+00, %46
%48 = fdiv double 1.000000e+00, %47
%49 = fcmp ogt double %45, %48
br i1 %49, label %50, label %59
50: ; preds = %40
%51 = load ptr, ptr %17, align 8
%52 = load i32, ptr %12, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %12, align 4
%54 = sext i32 %52 to i64
%55 = getelementptr inbounds double, ptr %51, i64 %54
%56 = load double, ptr %55, align 8
%57 = fptosi double %56 to i32
%58 = call i32 @printf(ptr noundef @.str, i32 noundef %57)
br label %40, !llvm.loop !6
59: ; preds = %40
%60 = load i32, ptr %12, align 4
%61 = call i32 @printf(ptr noundef @.str.1, i32 noundef %60)
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @devrand(...) #1
declare i32 @setall(i64 noundef, i64 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @createTrajectory(double noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6i3i001t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca i64, align 8
%16 = alloca i64, align 8
%17 = 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
store double 0.000000e+00, ptr %14, align 8
%18 = call i32 (...) @devrand()
%19 = srem i32 %18, 2147483399
%20 = sext i32 %19 to i64
store i64 %20, ptr %15, align 8
%21 = call i32 (...) @devrand()
%22 = srem i32 %21, 2147483399
%23 = sext i32 %22 to i64
store i64 %23, ptr %16, align 8
%24 = load i64, ptr %15, align 8
%25 = load i64, ptr %16, align 8
%26 = call i32 @setall(i64 noundef %24, i64 noundef %25)
%27 = call ptr @malloc(i32 noundef 80000000)
store ptr %27, ptr %17, align 8
store double 2.000000e+04, ptr %9, align 8
%28 = load double, ptr %9, align 8
%29 = fmul double 4.000000e+02, %28
%30 = fdiv double 1.000000e+00, %29
store double %30, ptr %8, align 8
store double 2.000000e-04, ptr %11, align 8
%31 = load double, ptr %9, align 8
%32 = fmul double 2.000000e+00, %31
%33 = load double, ptr %11, align 8
%34 = fmul double %32, %33
store double %34, ptr %10, align 8
%35 = load double, ptr %9, align 8
%36 = load double, ptr %10, align 8
%37 = load double, ptr %8, align 8
%38 = load ptr, ptr %17, align 8
%39 = call i32 @createTrajectory(double noundef %35, double noundef %36, double noundef %37, ptr noundef %38)
store i32 0, ptr %12, align 4
%40 = load ptr, ptr %17, align 8
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, ptr %40, i64 %42
%44 = load double, ptr %43, align 8
%45 = load double, ptr %9, align 8
%46 = fmul double 2.000000e+00, %45
%47 = fdiv double 1.000000e+00, %46
%48 = fcmp ogt double %44, %47
br i1 %48, label %.lr.ph, label %67
.lr.ph: ; preds = %2
br label %49
49: ; preds = %.lr.ph, %49
%50 = load ptr, ptr %17, align 8
%51 = load i32, ptr %12, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %12, align 4
%53 = sext i32 %51 to i64
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = fptosi double %55 to i32
%57 = call i32 @printf(ptr noundef @.str, i32 noundef %56)
%58 = load ptr, ptr %17, align 8
%59 = load i32, ptr %12, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = load double, ptr %9, align 8
%64 = fmul double 2.000000e+00, %63
%65 = fdiv double 1.000000e+00, %64
%66 = fcmp ogt double %62, %65
br i1 %66, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %67
67: ; preds = %._crit_edge, %2
%68 = load i32, ptr %12, align 4
%69 = call i32 @printf(ptr noundef @.str.1, i32 noundef %68)
%70 = load i32, ptr %3, align 4
ret i32 %70
}
declare i32 @devrand(...) #1
declare i32 @setall(i64 noundef, i64 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @createTrajectory(double noundef, double noundef, double noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7lrq_6as.c'
source_filename = "/tmp/tmp7lrq_6as.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IntMasterEnable() #0 {
%1 = call i32 (...) @CPUcpsie()
ret i32 %1
}
declare i32 @CPUcpsie(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7lrq_6as.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IntMasterEnable() #0 {
%1 = call i32 (...) @CPUcpsie()
ret i32 %1
}
declare i32 @CPUcpsie(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprus67whh.c'
source_filename = "/tmp/tmprus67whh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @UrlMatch()
ret i32 0
}
declare i32 @UrlMatch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprus67whh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @UrlMatch()
ret i32 0
}
declare i32 @UrlMatch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyk81jtx8.c'
source_filename = "/tmp/tmpyk81jtx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter Number a and b \0A\00", align 1
@.str.1 = private unnamed_addr constant [6 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 [5 x i8] c"No \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
store i32 1, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @lcm(i32 noundef %6, i32 noundef %7)
%9 = call i32 @findTotalDistinctPrimeFactors(i32 noundef %8)
%10 = call i64 @isPrime(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.2)
br label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %14, %12
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @isPrime(i32 noundef) #1
declare i32 @findTotalDistinctPrimeFactors(i32 noundef) #1
declare i32 @lcm(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/tmpyk81jtx8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter Number a and b \0A\00", align 1
@.str.1 = private unnamed_addr constant [6 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 [5 x i8] c"No \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
store i32 1, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %2)
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = call i32 @lcm(i32 noundef %6, i32 noundef %7)
%9 = call i32 @findTotalDistinctPrimeFactors(i32 noundef %8)
%10 = call i64 @isPrime(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.2)
br label %16
14: ; preds = %0
%15 = call i32 @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %14, %12
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @isPrime(i32 noundef) #1
declare i32 @findTotalDistinctPrimeFactors(i32 noundef) #1
declare i32 @lcm(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/tmpy5llkzrg.c'
source_filename = "/tmp/tmpy5llkzrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"sdsapxsum\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %41, %0
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 6
br i1 %13, label %14, label %44
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = call i32 @pow(i32 noundef 10, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @pow(i32 noundef 10, i32 noundef %18)
%20 = sdiv i32 1000000, %19
store i32 %20, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %37, %14
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %40
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %5, align 4
%31 = call double @benchmark(i32 noundef %29, i32 noundef %30)
store double %31, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = load double, ptr %2, align 8
%34 = call i32 @print_results(i32 noundef %32, double noundef %33)
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %24
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %21, !llvm.loop !6
40: ; preds = %21
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %11, !llvm.loop !8
44: ; preds = %11
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy5llkzrg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"sdsapxsum\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %11, 6
br i1 %12, label %.lr.ph2, label %46
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %41
%14 = load i32, ptr %6, align 4
%15 = call i32 @pow(i32 noundef 10, i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @pow(i32 noundef 10, i32 noundef %17)
%19 = sdiv i32 1000000, %18
store i32 %19, ptr %4, align 4
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = call double @benchmark(i32 noundef %27, i32 noundef %28)
store double %29, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = load double, ptr %2, align 8
%32 = call i32 @print_results(i32 noundef %30, double noundef %31)
%33 = load i32, ptr %3, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
br label %35
35: ; preds = %22
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 3
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %13
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %44, 6
br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %46
46: ; preds = %._crit_edge3, %0
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48)
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpv80ohozu.c'
source_filename = "/tmp/tmpv80ohozu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dma_%ld.cam\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"cant write dma.cam\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"wrote %d bytes to %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_dma_data(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 @time(ptr noundef %6)
%9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%10 = load i32, ptr %6, align 4
%11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %10)
%12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.1)
store ptr %13, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %27
17: ; preds = %2
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fwrite(ptr noundef %18, i32 noundef %19, i32 noundef 1, ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = call i32 @fclose(ptr noundef %22)
%24 = load i32, ptr %4, align 4
%25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24, ptr noundef %25)
br label %27
27: ; preds = %17, %15
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv80ohozu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"dma_%ld.cam\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"cant write dma.cam\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"wrote %d bytes to %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_dma_data(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call i32 @time(ptr noundef %6)
%9 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%10 = load i32, ptr %6, align 4
%11 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, i32 noundef %10)
%12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.1)
store ptr %13, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %17, label %15
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %27
17: ; preds = %2
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call i32 @fwrite(ptr noundef %18, i32 noundef %19, i32 noundef 1, ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = call i32 @fclose(ptr noundef %22)
%24 = load i32, ptr %4, align 4
%25 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24, ptr noundef %25)
br label %27
27: ; preds = %17, %15
ret void
}
declare i32 @time(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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"}
|
; ModuleID = '/tmp/tmp5lv8a7rc.c'
source_filename = "/tmp/tmp5lv8a7rc.c"
target datalayout = "e-m:e-p270: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/tmp5lv8a7rc.c"
target datalayout = "e-m:e-p270: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/tmpqqdvd5me.c'
source_filename = "/tmp/tmpqqdvd5me.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @latlon2tile(double noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca double, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load double, ptr %6, align 8
%16 = load double, ptr @M_PI, align 8
%17 = fmul double %15, %16
%18 = fdiv double %17, 1.800000e+02
store double %18, ptr %11, align 8
%19 = load i32, ptr %8, align 4
%20 = zext i32 %19 to i64
%21 = shl i64 1, %20
store i64 %21, ptr %12, align 8
%22 = load i64, ptr %12, align 8
%23 = uitofp i64 %22 to double
%24 = load double, ptr %7, align 8
%25 = fadd double %24, 1.800000e+02
%26 = fdiv double %25, 3.600000e+02
%27 = fmul double %23, %26
%28 = fptosi double %27 to i64
store i64 %28, ptr %13, align 8
%29 = load i64, ptr %12, align 8
%30 = uitofp i64 %29 to double
%31 = load double, ptr %11, align 8
%32 = call i64 @tan(double noundef %31)
%33 = load double, ptr %11, align 8
%34 = call i32 @cos(double noundef %33)
%35 = sdiv i32 1, %34
%36 = sext i32 %35 to i64
%37 = add nsw i64 %32, %36
%38 = call double @log(i64 noundef %37)
%39 = load double, ptr @M_PI, align 8
%40 = fdiv double %38, %39
%41 = fsub double 1.000000e+00, %40
%42 = fmul double %30, %41
%43 = fdiv double %42, 2.000000e+00
%44 = fptosi double %43 to i64
store i64 %44, ptr %14, align 8
%45 = load double, ptr %6, align 8
%46 = fcmp oge double %45, 8.505110e+01
br i1 %46, label %47, label %48
47: ; preds = %5
store i64 0, ptr %14, align 8
br label %48
48: ; preds = %47, %5
%49 = load double, ptr %6, align 8
%50 = fcmp ole double %49, -8.505110e+01
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i64, ptr %12, align 8
%53 = sub i64 %52, 1
store i64 %53, ptr %14, align 8
br label %54
54: ; preds = %51, %48
%55 = load i64, ptr %13, align 8
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %54
store i64 0, ptr %13, align 8
br label %58
58: ; preds = %57, %54
%59 = load i64, ptr %14, align 8
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %58
store i64 0, ptr %14, align 8
br label %62
62: ; preds = %61, %58
%63 = load i64, ptr %13, align 8
%64 = load i64, ptr %12, align 8
%65 = icmp uge i64 %63, %64
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i64, ptr %12, align 8
%68 = sub i64 %67, 1
store i64 %68, ptr %13, align 8
br label %69
69: ; preds = %66, %62
%70 = load i64, ptr %14, align 8
%71 = load i64, ptr %12, align 8
%72 = icmp uge i64 %70, %71
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load i64, ptr %12, align 8
%75 = sub i64 %74, 1
store i64 %75, ptr %14, align 8
br label %76
76: ; preds = %73, %69
%77 = load i64, ptr %13, align 8
%78 = trunc i64 %77 to i32
%79 = load ptr, ptr %9, align 8
store i32 %78, ptr %79, align 4
%80 = load i64, ptr %14, align 8
%81 = trunc i64 %80 to i32
%82 = load ptr, ptr %10, align 8
store i32 %81, ptr %82, align 4
ret void
}
declare double @log(i64 noundef) #1
declare i64 @tan(double noundef) #1
declare i32 @cos(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/tmpqqdvd5me.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @latlon2tile(double noundef %0, double noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca double, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
store double %0, ptr %6, align 8
store double %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%15 = load double, ptr %6, align 8
%16 = load double, ptr @M_PI, align 8
%17 = fmul double %15, %16
%18 = fdiv double %17, 1.800000e+02
store double %18, ptr %11, align 8
%19 = load i32, ptr %8, align 4
%20 = zext i32 %19 to i64
%21 = shl i64 1, %20
store i64 %21, ptr %12, align 8
%22 = load i64, ptr %12, align 8
%23 = uitofp i64 %22 to double
%24 = load double, ptr %7, align 8
%25 = fadd double %24, 1.800000e+02
%26 = fdiv double %25, 3.600000e+02
%27 = fmul double %23, %26
%28 = fptosi double %27 to i64
store i64 %28, ptr %13, align 8
%29 = load i64, ptr %12, align 8
%30 = uitofp i64 %29 to double
%31 = load double, ptr %11, align 8
%32 = call i64 @tan(double noundef %31)
%33 = load double, ptr %11, align 8
%34 = call i32 @cos(double noundef %33)
%35 = sdiv i32 1, %34
%36 = sext i32 %35 to i64
%37 = add nsw i64 %32, %36
%38 = call double @log(i64 noundef %37)
%39 = load double, ptr @M_PI, align 8
%40 = fdiv double %38, %39
%41 = fsub double 1.000000e+00, %40
%42 = fmul double %30, %41
%43 = fdiv double %42, 2.000000e+00
%44 = fptosi double %43 to i64
store i64 %44, ptr %14, align 8
%45 = load double, ptr %6, align 8
%46 = fcmp oge double %45, 8.505110e+01
br i1 %46, label %47, label %48
47: ; preds = %5
store i64 0, ptr %14, align 8
br label %48
48: ; preds = %47, %5
%49 = load double, ptr %6, align 8
%50 = fcmp ole double %49, -8.505110e+01
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i64, ptr %12, align 8
%53 = sub i64 %52, 1
store i64 %53, ptr %14, align 8
br label %54
54: ; preds = %51, %48
%55 = load i64, ptr %13, align 8
%56 = icmp slt i64 %55, 0
br i1 %56, label %57, label %58
57: ; preds = %54
store i64 0, ptr %13, align 8
br label %58
58: ; preds = %57, %54
%59 = load i64, ptr %14, align 8
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %62
61: ; preds = %58
store i64 0, ptr %14, align 8
br label %62
62: ; preds = %61, %58
%63 = load i64, ptr %13, align 8
%64 = load i64, ptr %12, align 8
%65 = icmp uge i64 %63, %64
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i64, ptr %12, align 8
%68 = sub i64 %67, 1
store i64 %68, ptr %13, align 8
br label %69
69: ; preds = %66, %62
%70 = load i64, ptr %14, align 8
%71 = load i64, ptr %12, align 8
%72 = icmp uge i64 %70, %71
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load i64, ptr %12, align 8
%75 = sub i64 %74, 1
store i64 %75, ptr %14, align 8
br label %76
76: ; preds = %73, %69
%77 = load i64, ptr %13, align 8
%78 = trunc i64 %77 to i32
%79 = load ptr, ptr %9, align 8
store i32 %78, ptr %79, align 4
%80 = load i64, ptr %14, align 8
%81 = trunc i64 %80 to i32
%82 = load ptr, ptr %10, align 8
store i32 %81, ptr %82, align 4
ret void
}
declare double @log(i64 noundef) #1
declare i64 @tan(double noundef) #1
declare i32 @cos(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/tmpx0315woq.c'
source_filename = "/tmp/tmpx0315woq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f197(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 @f196(ptr noundef %3)
ret i32 %4
}
declare i32 @f196(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0315woq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f197(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 @f196(ptr noundef %3)
ret i32 %4
}
declare i32 @f196(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx5lnwo7q.c'
source_filename = "/tmp/tmpx5lnwo7q.c"
target datalayout = "e-m:e-p270: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/tmpx5lnwo7q.c"
target datalayout = "e-m:e-p270: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/tmpqe864nze.c'
source_filename = "/tmp/tmpqe864nze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%10s %7s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Fahrenheit\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Celsius\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%10d %6.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %14, %0
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 300
br i1 %6, label %7, label %17
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 32
%11 = sitofp i32 %10 to double
%12 = fmul double 0x3FE1C71C71C71C72, %11
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %8, double noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 20
store i32 %16, ptr %2, align 4
br label %4, !llvm.loop !6
17: ; preds = %4
%18 = load i32, ptr %1, align 4
ret i32 %18
}
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/tmpqe864nze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%10s %7s\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Fahrenheit\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"Celsius\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"%10d %6.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 300
br i1 %5, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %13
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 32
%10 = sitofp i32 %9 to double
%11 = fmul double 0x3FE1C71C71C71C72, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %7, double noundef %11)
br label %13
13: ; preds = %6
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 20
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp sle i32 %16, 300
br i1 %17, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %1, align 4
ret i32 %19
}
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/tmpqtyako8a.c'
source_filename = "/tmp/tmpqtyako8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %167
8: ; preds = %0
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = add nsw i32 %9, 2
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 2
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 0
%17 = xor i1 %16, true
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load i32, ptr %3, align 4
%21 = icmp sge i32 %20, 0
br i1 %21, label %22, label %82
22: ; preds = %8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 4
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 %25, 6
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %22
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 0
%34 = xor i1 %33, true
br label %35
35: ; preds = %31, %22
%36 = phi i1 [ false, %22 ], [ %34, %31 ]
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load i32, ptr %4, align 4
%40 = icmp sge i32 %39, 0
br i1 %40, label %41, label %61
41: ; preds = %35
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 6
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp eq i32 %44, 12
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 noundef %46)
%48 = load i32, ptr %2, align 4
%49 = icmp slt i32 %48, 0
br i1 %49, label %57, label %50
50: ; preds = %41
%51 = load i32, ptr %3, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %50
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %54, 0
%56 = xor i1 %55, true
br label %57
57: ; preds = %53, %50, %41
%58 = phi i1 [ false, %50 ], [ false, %41 ], [ %56, %53 ]
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
br label %81
61: ; preds = %35
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 8
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp eq i32 %64, 14
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 noundef %66)
%68 = load i32, ptr %2, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %77, label %70
70: ; preds = %61
%71 = load i32, ptr %3, align 4
%72 = icmp slt i32 %71, 0
br i1 %72, label %77, label %73
73: ; preds = %70
%74 = load i32, ptr %4, align 4
%75 = icmp sge i32 %74, 0
%76 = xor i1 %75, true
br label %77
77: ; preds = %73, %70, %61
%78 = phi i1 [ false, %70 ], [ false, %61 ], [ %76, %73 ]
%79 = zext i1 %78 to i32
%80 = call i32 @assert(i32 noundef %79)
br label %81
81: ; preds = %77, %57
br label %142
82: ; preds = %8
%83 = load i32, ptr %5, align 4
%84 = add nsw i32 %83, 10
store i32 %84, ptr %5, align 4
%85 = load i32, ptr %5, align 4
%86 = icmp eq i32 %85, 12
%87 = zext i1 %86 to i32
%88 = call i32 @assert(i32 noundef %87)
%89 = load i32, ptr %2, align 4
%90 = icmp slt i32 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %82
%92 = load i32, ptr %3, align 4
%93 = icmp sge i32 %92, 0
%94 = xor i1 %93, true
br label %95
95: ; preds = %91, %82
%96 = phi i1 [ false, %82 ], [ %94, %91 ]
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 noundef %97)
%99 = load i32, ptr %4, align 4
%100 = icmp sge i32 %99, 0
br i1 %100, label %101, label %121
101: ; preds = %95
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %102, 12
store i32 %103, ptr %5, align 4
%104 = load i32, ptr %5, align 4
%105 = icmp eq i32 %104, 24
%106 = zext i1 %105 to i32
%107 = call i32 @assert(i32 noundef %106)
%108 = load i32, ptr %2, align 4
%109 = icmp slt i32 %108, 0
br i1 %109, label %117, label %110
110: ; preds = %101
%111 = load i32, ptr %3, align 4
%112 = icmp sge i32 %111, 0
br i1 %112, label %117, label %113
113: ; preds = %110
%114 = load i32, ptr %4, align 4
%115 = icmp slt i32 %114, 0
%116 = xor i1 %115, true
br label %117
117: ; preds = %113, %110, %101
%118 = phi i1 [ false, %110 ], [ false, %101 ], [ %116, %113 ]
%119 = zext i1 %118 to i32
%120 = call i32 @assert(i32 noundef %119)
br label %141
121: ; preds = %95
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 14
store i32 %123, ptr %5, align 4
%124 = load i32, ptr %5, align 4
%125 = icmp eq i32 %124, 26
%126 = zext i1 %125 to i32
%127 = call i32 @assert(i32 noundef %126)
%128 = load i32, ptr %2, align 4
%129 = icmp slt i32 %128, 0
br i1 %129, label %137, label %130
130: ; preds = %121
%131 = load i32, ptr %3, align 4
%132 = icmp sge i32 %131, 0
br i1 %132, label %137, label %133
133: ; preds = %130
%134 = load i32, ptr %4, align 4
%135 = icmp sge i32 %134, 0
%136 = xor i1 %135, true
br label %137
137: ; preds = %133, %130, %121
%138 = phi i1 [ false, %130 ], [ false, %121 ], [ %136, %133 ]
%139 = zext i1 %138 to i32
%140 = call i32 @assert(i32 noundef %139)
br label %141
141: ; preds = %137, %117
br label %142
142: ; preds = %141, %81
%143 = load i32, ptr %5, align 4
%144 = srem i32 %143, 2
%145 = icmp eq i32 %144, 0
br i1 %145, label %146, label %163
146: ; preds = %142
%147 = load i32, ptr %2, align 4
%148 = icmp sge i32 %147, 0
br i1 %148, label %149, label %163
149: ; preds = %146
%150 = load i32, ptr %3, align 4
%151 = icmp sge i32 %150, 0
br i1 %151, label %155, label %152
152: ; preds = %149
%153 = load i32, ptr %3, align 4
%154 = icmp slt i32 %153, 0
br i1 %154, label %155, label %163
155: ; preds = %152, %149
%156 = load i32, ptr %4, align 4
%157 = icmp sge i32 %156, 0
br i1 %157, label %161, label %158
158: ; preds = %155
%159 = load i32, ptr %4, align 4
%160 = icmp slt i32 %159, 0
br label %161
161: ; preds = %158, %155
%162 = phi i1 [ true, %155 ], [ %160, %158 ]
br label %163
163: ; preds = %161, %152, %146, %142
%164 = phi i1 [ false, %152 ], [ false, %146 ], [ false, %142 ], [ %162, %161 ]
%165 = zext i1 %164 to i32
%166 = call i32 @assert(i32 noundef %165)
br label %326
167: ; preds = %0
store i32 1, ptr %5, align 4
%168 = load i32, ptr %5, align 4
%169 = add nsw i32 %168, 2
store i32 %169, ptr %5, align 4
%170 = load i32, ptr %5, align 4
%171 = icmp eq i32 %170, 3
%172 = zext i1 %171 to i32
%173 = call i32 @assert(i32 noundef %172)
%174 = load i32, ptr %2, align 4
%175 = icmp sge i32 %174, 0
%176 = xor i1 %175, true
%177 = zext i1 %176 to i32
%178 = call i32 @assert(i32 noundef %177)
%179 = load i32, ptr %3, align 4
%180 = icmp sge i32 %179, 0
br i1 %180, label %181, label %241
181: ; preds = %167
%182 = load i32, ptr %5, align 4
%183 = add nsw i32 %182, 4
store i32 %183, ptr %5, align 4
%184 = load i32, ptr %5, align 4
%185 = icmp eq i32 %184, 7
%186 = zext i1 %185 to i32
%187 = call i32 @assert(i32 noundef %186)
%188 = load i32, ptr %2, align 4
%189 = icmp sge i32 %188, 0
br i1 %189, label %194, label %190
190: ; preds = %181
%191 = load i32, ptr %3, align 4
%192 = icmp slt i32 %191, 0
%193 = xor i1 %192, true
br label %194
194: ; preds = %190, %181
%195 = phi i1 [ false, %181 ], [ %193, %190 ]
%196 = zext i1 %195 to i32
%197 = call i32 @assert(i32 noundef %196)
%198 = load i32, ptr %4, align 4
%199 = icmp sge i32 %198, 0
br i1 %199, label %200, label %220
200: ; preds = %194
%201 = load i32, ptr %5, align 4
%202 = add nsw i32 %201, 6
store i32 %202, ptr %5, align 4
%203 = load i32, ptr %5, align 4
%204 = icmp eq i32 %203, 13
%205 = zext i1 %204 to i32
%206 = call i32 @assert(i32 noundef %205)
%207 = load i32, ptr %2, align 4
%208 = icmp sge i32 %207, 0
br i1 %208, label %216, label %209
209: ; preds = %200
%210 = load i32, ptr %3, align 4
%211 = icmp slt i32 %210, 0
br i1 %211, label %216, label %212
212: ; preds = %209
%213 = load i32, ptr %4, align 4
%214 = icmp slt i32 %213, 0
%215 = xor i1 %214, true
br label %216
216: ; preds = %212, %209, %200
%217 = phi i1 [ false, %209 ], [ false, %200 ], [ %215, %212 ]
%218 = zext i1 %217 to i32
%219 = call i32 @assert(i32 noundef %218)
br label %240
220: ; preds = %194
%221 = load i32, ptr %5, align 4
%222 = add nsw i32 %221, 8
store i32 %222, ptr %5, align 4
%223 = load i32, ptr %5, align 4
%224 = icmp eq i32 %223, 15
%225 = zext i1 %224 to i32
%226 = call i32 @assert(i32 noundef %225)
%227 = load i32, ptr %2, align 4
%228 = icmp sge i32 %227, 0
br i1 %228, label %236, label %229
229: ; preds = %220
%230 = load i32, ptr %3, align 4
%231 = icmp slt i32 %230, 0
br i1 %231, label %236, label %232
232: ; preds = %229
%233 = load i32, ptr %4, align 4
%234 = icmp sge i32 %233, 0
%235 = xor i1 %234, true
br label %236
236: ; preds = %232, %229, %220
%237 = phi i1 [ false, %229 ], [ false, %220 ], [ %235, %232 ]
%238 = zext i1 %237 to i32
%239 = call i32 @assert(i32 noundef %238)
br label %240
240: ; preds = %236, %216
br label %301
241: ; preds = %167
%242 = load i32, ptr %5, align 4
%243 = add nsw i32 %242, 10
store i32 %243, ptr %5, align 4
%244 = load i32, ptr %5, align 4
%245 = icmp eq i32 %244, 13
%246 = zext i1 %245 to i32
%247 = call i32 @assert(i32 noundef %246)
%248 = load i32, ptr %2, align 4
%249 = icmp sge i32 %248, 0
br i1 %249, label %254, label %250
250: ; preds = %241
%251 = load i32, ptr %3, align 4
%252 = icmp sge i32 %251, 0
%253 = xor i1 %252, true
br label %254
254: ; preds = %250, %241
%255 = phi i1 [ false, %241 ], [ %253, %250 ]
%256 = zext i1 %255 to i32
%257 = call i32 @assert(i32 noundef %256)
%258 = load i32, ptr %4, align 4
%259 = icmp sge i32 %258, 0
br i1 %259, label %260, label %280
260: ; preds = %254
%261 = load i32, ptr %5, align 4
%262 = add nsw i32 %261, 12
store i32 %262, ptr %5, align 4
%263 = load i32, ptr %5, align 4
%264 = icmp eq i32 %263, 25
%265 = zext i1 %264 to i32
%266 = call i32 @assert(i32 noundef %265)
%267 = load i32, ptr %2, align 4
%268 = icmp sge i32 %267, 0
br i1 %268, label %276, label %269
269: ; preds = %260
%270 = load i32, ptr %3, align 4
%271 = icmp sge i32 %270, 0
br i1 %271, label %276, label %272
272: ; preds = %269
%273 = load i32, ptr %4, align 4
%274 = icmp slt i32 %273, 0
%275 = xor i1 %274, true
br label %276
276: ; preds = %272, %269, %260
%277 = phi i1 [ false, %269 ], [ false, %260 ], [ %275, %272 ]
%278 = zext i1 %277 to i32
%279 = call i32 @assert(i32 noundef %278)
br label %300
280: ; preds = %254
%281 = load i32, ptr %5, align 4
%282 = add nsw i32 %281, 14
store i32 %282, ptr %5, align 4
%283 = load i32, ptr %5, align 4
%284 = icmp eq i32 %283, 27
%285 = zext i1 %284 to i32
%286 = call i32 @assert(i32 noundef %285)
%287 = load i32, ptr %2, align 4
%288 = icmp sge i32 %287, 0
br i1 %288, label %296, label %289
289: ; preds = %280
%290 = load i32, ptr %3, align 4
%291 = icmp sge i32 %290, 0
br i1 %291, label %296, label %292
292: ; preds = %289
%293 = load i32, ptr %4, align 4
%294 = icmp sge i32 %293, 0
%295 = xor i1 %294, true
br label %296
296: ; preds = %292, %289, %280
%297 = phi i1 [ false, %289 ], [ false, %280 ], [ %295, %292 ]
%298 = zext i1 %297 to i32
%299 = call i32 @assert(i32 noundef %298)
br label %300
300: ; preds = %296, %276
br label %301
301: ; preds = %300, %240
%302 = load i32, ptr %5, align 4
%303 = srem i32 %302, 2
%304 = icmp eq i32 %303, 1
br i1 %304, label %305, label %322
305: ; preds = %301
%306 = load i32, ptr %2, align 4
%307 = icmp slt i32 %306, 0
br i1 %307, label %308, label %322
308: ; preds = %305
%309 = load i32, ptr %3, align 4
%310 = icmp sge i32 %309, 0
br i1 %310, label %314, label %311
311: ; preds = %308
%312 = load i32, ptr %3, align 4
%313 = icmp slt i32 %312, 0
br i1 %313, label %314, label %322
314: ; preds = %311, %308
%315 = load i32, ptr %4, align 4
%316 = icmp sge i32 %315, 0
br i1 %316, label %320, label %317
317: ; preds = %314
%318 = load i32, ptr %4, align 4
%319 = icmp slt i32 %318, 0
br label %320
320: ; preds = %317, %314
%321 = phi i1 [ true, %314 ], [ %319, %317 ]
br label %322
322: ; preds = %320, %311, %305, %301
%323 = phi i1 [ false, %311 ], [ false, %305 ], [ false, %301 ], [ %321, %320 ]
%324 = zext i1 %323 to i32
%325 = call i32 @assert(i32 noundef %324)
br label %326
326: ; preds = %322, %163
ret i32 0
}
declare i32 @assert(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/tmpqtyako8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 0
br i1 %7, label %8, label %167
8: ; preds = %0
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = add nsw i32 %9, 2
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, 2
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 0
%17 = xor i1 %16, true
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load i32, ptr %3, align 4
%21 = icmp sge i32 %20, 0
br i1 %21, label %22, label %82
22: ; preds = %8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 4
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp eq i32 %25, 6
%27 = zext i1 %26 to i32
%28 = call i32 @assert(i32 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %29, 0
br i1 %30, label %35, label %31
31: ; preds = %22
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 0
%34 = xor i1 %33, true
br label %35
35: ; preds = %31, %22
%36 = phi i1 [ false, %22 ], [ %34, %31 ]
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load i32, ptr %4, align 4
%40 = icmp sge i32 %39, 0
br i1 %40, label %41, label %61
41: ; preds = %35
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 6
store i32 %43, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = icmp eq i32 %44, 12
%46 = zext i1 %45 to i32
%47 = call i32 @assert(i32 noundef %46)
%48 = load i32, ptr %2, align 4
%49 = icmp slt i32 %48, 0
br i1 %49, label %57, label %50
50: ; preds = %41
%51 = load i32, ptr %3, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %57, label %53
53: ; preds = %50
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %54, 0
%56 = xor i1 %55, true
br label %57
57: ; preds = %53, %50, %41
%58 = phi i1 [ false, %50 ], [ false, %41 ], [ %56, %53 ]
%59 = zext i1 %58 to i32
%60 = call i32 @assert(i32 noundef %59)
br label %81
61: ; preds = %35
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 8
store i32 %63, ptr %5, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp eq i32 %64, 14
%66 = zext i1 %65 to i32
%67 = call i32 @assert(i32 noundef %66)
%68 = load i32, ptr %2, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %77, label %70
70: ; preds = %61
%71 = load i32, ptr %3, align 4
%72 = icmp slt i32 %71, 0
br i1 %72, label %77, label %73
73: ; preds = %70
%74 = load i32, ptr %4, align 4
%75 = icmp sge i32 %74, 0
%76 = xor i1 %75, true
br label %77
77: ; preds = %73, %70, %61
%78 = phi i1 [ false, %70 ], [ false, %61 ], [ %76, %73 ]
%79 = zext i1 %78 to i32
%80 = call i32 @assert(i32 noundef %79)
br label %81
81: ; preds = %77, %57
br label %142
82: ; preds = %8
%83 = load i32, ptr %5, align 4
%84 = add nsw i32 %83, 10
store i32 %84, ptr %5, align 4
%85 = load i32, ptr %5, align 4
%86 = icmp eq i32 %85, 12
%87 = zext i1 %86 to i32
%88 = call i32 @assert(i32 noundef %87)
%89 = load i32, ptr %2, align 4
%90 = icmp slt i32 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %82
%92 = load i32, ptr %3, align 4
%93 = icmp sge i32 %92, 0
%94 = xor i1 %93, true
br label %95
95: ; preds = %91, %82
%96 = phi i1 [ false, %82 ], [ %94, %91 ]
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 noundef %97)
%99 = load i32, ptr %4, align 4
%100 = icmp sge i32 %99, 0
br i1 %100, label %101, label %121
101: ; preds = %95
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 %102, 12
store i32 %103, ptr %5, align 4
%104 = load i32, ptr %5, align 4
%105 = icmp eq i32 %104, 24
%106 = zext i1 %105 to i32
%107 = call i32 @assert(i32 noundef %106)
%108 = load i32, ptr %2, align 4
%109 = icmp slt i32 %108, 0
br i1 %109, label %117, label %110
110: ; preds = %101
%111 = load i32, ptr %3, align 4
%112 = icmp sge i32 %111, 0
br i1 %112, label %117, label %113
113: ; preds = %110
%114 = load i32, ptr %4, align 4
%115 = icmp slt i32 %114, 0
%116 = xor i1 %115, true
br label %117
117: ; preds = %113, %110, %101
%118 = phi i1 [ false, %110 ], [ false, %101 ], [ %116, %113 ]
%119 = zext i1 %118 to i32
%120 = call i32 @assert(i32 noundef %119)
br label %141
121: ; preds = %95
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 14
store i32 %123, ptr %5, align 4
%124 = load i32, ptr %5, align 4
%125 = icmp eq i32 %124, 26
%126 = zext i1 %125 to i32
%127 = call i32 @assert(i32 noundef %126)
%128 = load i32, ptr %2, align 4
%129 = icmp slt i32 %128, 0
br i1 %129, label %137, label %130
130: ; preds = %121
%131 = load i32, ptr %3, align 4
%132 = icmp sge i32 %131, 0
br i1 %132, label %137, label %133
133: ; preds = %130
%134 = load i32, ptr %4, align 4
%135 = icmp sge i32 %134, 0
%136 = xor i1 %135, true
br label %137
137: ; preds = %133, %130, %121
%138 = phi i1 [ false, %130 ], [ false, %121 ], [ %136, %133 ]
%139 = zext i1 %138 to i32
%140 = call i32 @assert(i32 noundef %139)
br label %141
141: ; preds = %137, %117
br label %142
142: ; preds = %141, %81
%143 = load i32, ptr %5, align 4
%144 = srem i32 %143, 2
%145 = icmp eq i32 %144, 0
br i1 %145, label %146, label %163
146: ; preds = %142
%147 = load i32, ptr %2, align 4
%148 = icmp sge i32 %147, 0
br i1 %148, label %149, label %163
149: ; preds = %146
%150 = load i32, ptr %3, align 4
%151 = icmp sge i32 %150, 0
br i1 %151, label %155, label %152
152: ; preds = %149
%153 = load i32, ptr %3, align 4
%154 = icmp slt i32 %153, 0
br i1 %154, label %155, label %163
155: ; preds = %152, %149
%156 = load i32, ptr %4, align 4
%157 = icmp sge i32 %156, 0
br i1 %157, label %161, label %158
158: ; preds = %155
%159 = load i32, ptr %4, align 4
%160 = icmp slt i32 %159, 0
br label %161
161: ; preds = %158, %155
%162 = phi i1 [ true, %155 ], [ %160, %158 ]
br label %163
163: ; preds = %161, %152, %146, %142
%164 = phi i1 [ false, %152 ], [ false, %146 ], [ false, %142 ], [ %162, %161 ]
%165 = zext i1 %164 to i32
%166 = call i32 @assert(i32 noundef %165)
br label %326
167: ; preds = %0
store i32 1, ptr %5, align 4
%168 = load i32, ptr %5, align 4
%169 = add nsw i32 %168, 2
store i32 %169, ptr %5, align 4
%170 = load i32, ptr %5, align 4
%171 = icmp eq i32 %170, 3
%172 = zext i1 %171 to i32
%173 = call i32 @assert(i32 noundef %172)
%174 = load i32, ptr %2, align 4
%175 = icmp sge i32 %174, 0
%176 = xor i1 %175, true
%177 = zext i1 %176 to i32
%178 = call i32 @assert(i32 noundef %177)
%179 = load i32, ptr %3, align 4
%180 = icmp sge i32 %179, 0
br i1 %180, label %181, label %241
181: ; preds = %167
%182 = load i32, ptr %5, align 4
%183 = add nsw i32 %182, 4
store i32 %183, ptr %5, align 4
%184 = load i32, ptr %5, align 4
%185 = icmp eq i32 %184, 7
%186 = zext i1 %185 to i32
%187 = call i32 @assert(i32 noundef %186)
%188 = load i32, ptr %2, align 4
%189 = icmp sge i32 %188, 0
br i1 %189, label %194, label %190
190: ; preds = %181
%191 = load i32, ptr %3, align 4
%192 = icmp slt i32 %191, 0
%193 = xor i1 %192, true
br label %194
194: ; preds = %190, %181
%195 = phi i1 [ false, %181 ], [ %193, %190 ]
%196 = zext i1 %195 to i32
%197 = call i32 @assert(i32 noundef %196)
%198 = load i32, ptr %4, align 4
%199 = icmp sge i32 %198, 0
br i1 %199, label %200, label %220
200: ; preds = %194
%201 = load i32, ptr %5, align 4
%202 = add nsw i32 %201, 6
store i32 %202, ptr %5, align 4
%203 = load i32, ptr %5, align 4
%204 = icmp eq i32 %203, 13
%205 = zext i1 %204 to i32
%206 = call i32 @assert(i32 noundef %205)
%207 = load i32, ptr %2, align 4
%208 = icmp sge i32 %207, 0
br i1 %208, label %216, label %209
209: ; preds = %200
%210 = load i32, ptr %3, align 4
%211 = icmp slt i32 %210, 0
br i1 %211, label %216, label %212
212: ; preds = %209
%213 = load i32, ptr %4, align 4
%214 = icmp slt i32 %213, 0
%215 = xor i1 %214, true
br label %216
216: ; preds = %212, %209, %200
%217 = phi i1 [ false, %209 ], [ false, %200 ], [ %215, %212 ]
%218 = zext i1 %217 to i32
%219 = call i32 @assert(i32 noundef %218)
br label %240
220: ; preds = %194
%221 = load i32, ptr %5, align 4
%222 = add nsw i32 %221, 8
store i32 %222, ptr %5, align 4
%223 = load i32, ptr %5, align 4
%224 = icmp eq i32 %223, 15
%225 = zext i1 %224 to i32
%226 = call i32 @assert(i32 noundef %225)
%227 = load i32, ptr %2, align 4
%228 = icmp sge i32 %227, 0
br i1 %228, label %236, label %229
229: ; preds = %220
%230 = load i32, ptr %3, align 4
%231 = icmp slt i32 %230, 0
br i1 %231, label %236, label %232
232: ; preds = %229
%233 = load i32, ptr %4, align 4
%234 = icmp sge i32 %233, 0
%235 = xor i1 %234, true
br label %236
236: ; preds = %232, %229, %220
%237 = phi i1 [ false, %229 ], [ false, %220 ], [ %235, %232 ]
%238 = zext i1 %237 to i32
%239 = call i32 @assert(i32 noundef %238)
br label %240
240: ; preds = %236, %216
br label %301
241: ; preds = %167
%242 = load i32, ptr %5, align 4
%243 = add nsw i32 %242, 10
store i32 %243, ptr %5, align 4
%244 = load i32, ptr %5, align 4
%245 = icmp eq i32 %244, 13
%246 = zext i1 %245 to i32
%247 = call i32 @assert(i32 noundef %246)
%248 = load i32, ptr %2, align 4
%249 = icmp sge i32 %248, 0
br i1 %249, label %254, label %250
250: ; preds = %241
%251 = load i32, ptr %3, align 4
%252 = icmp sge i32 %251, 0
%253 = xor i1 %252, true
br label %254
254: ; preds = %250, %241
%255 = phi i1 [ false, %241 ], [ %253, %250 ]
%256 = zext i1 %255 to i32
%257 = call i32 @assert(i32 noundef %256)
%258 = load i32, ptr %4, align 4
%259 = icmp sge i32 %258, 0
br i1 %259, label %260, label %280
260: ; preds = %254
%261 = load i32, ptr %5, align 4
%262 = add nsw i32 %261, 12
store i32 %262, ptr %5, align 4
%263 = load i32, ptr %5, align 4
%264 = icmp eq i32 %263, 25
%265 = zext i1 %264 to i32
%266 = call i32 @assert(i32 noundef %265)
%267 = load i32, ptr %2, align 4
%268 = icmp sge i32 %267, 0
br i1 %268, label %276, label %269
269: ; preds = %260
%270 = load i32, ptr %3, align 4
%271 = icmp sge i32 %270, 0
br i1 %271, label %276, label %272
272: ; preds = %269
%273 = load i32, ptr %4, align 4
%274 = icmp slt i32 %273, 0
%275 = xor i1 %274, true
br label %276
276: ; preds = %272, %269, %260
%277 = phi i1 [ false, %269 ], [ false, %260 ], [ %275, %272 ]
%278 = zext i1 %277 to i32
%279 = call i32 @assert(i32 noundef %278)
br label %300
280: ; preds = %254
%281 = load i32, ptr %5, align 4
%282 = add nsw i32 %281, 14
store i32 %282, ptr %5, align 4
%283 = load i32, ptr %5, align 4
%284 = icmp eq i32 %283, 27
%285 = zext i1 %284 to i32
%286 = call i32 @assert(i32 noundef %285)
%287 = load i32, ptr %2, align 4
%288 = icmp sge i32 %287, 0
br i1 %288, label %296, label %289
289: ; preds = %280
%290 = load i32, ptr %3, align 4
%291 = icmp sge i32 %290, 0
br i1 %291, label %296, label %292
292: ; preds = %289
%293 = load i32, ptr %4, align 4
%294 = icmp sge i32 %293, 0
%295 = xor i1 %294, true
br label %296
296: ; preds = %292, %289, %280
%297 = phi i1 [ false, %289 ], [ false, %280 ], [ %295, %292 ]
%298 = zext i1 %297 to i32
%299 = call i32 @assert(i32 noundef %298)
br label %300
300: ; preds = %296, %276
br label %301
301: ; preds = %300, %240
%302 = load i32, ptr %5, align 4
%303 = srem i32 %302, 2
%304 = icmp eq i32 %303, 1
br i1 %304, label %305, label %322
305: ; preds = %301
%306 = load i32, ptr %2, align 4
%307 = icmp slt i32 %306, 0
br i1 %307, label %308, label %322
308: ; preds = %305
%309 = load i32, ptr %3, align 4
%310 = icmp sge i32 %309, 0
br i1 %310, label %314, label %311
311: ; preds = %308
%312 = load i32, ptr %3, align 4
%313 = icmp slt i32 %312, 0
br i1 %313, label %314, label %322
314: ; preds = %311, %308
%315 = load i32, ptr %4, align 4
%316 = icmp sge i32 %315, 0
br i1 %316, label %320, label %317
317: ; preds = %314
%318 = load i32, ptr %4, align 4
%319 = icmp slt i32 %318, 0
br label %320
320: ; preds = %317, %314
%321 = phi i1 [ true, %314 ], [ %319, %317 ]
br label %322
322: ; preds = %320, %311, %305, %301
%323 = phi i1 [ false, %311 ], [ false, %305 ], [ false, %301 ], [ %321, %320 ]
%324 = zext i1 %323 to i32
%325 = call i32 @assert(i32 noundef %324)
br label %326
326: ; preds = %322, %163
ret i32 0
}
declare i32 @assert(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/tmphbnzp9sv.c'
source_filename = "/tmp/tmphbnzp9sv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_pcrew(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @Write(i32 noundef 15, ptr noundef %5, i64 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Write(i32 noundef, ptr noundef, i64 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/tmphbnzp9sv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_pcrew(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @Write(i32 noundef 15, ptr noundef %5, i64 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @Write(i32 noundef, ptr noundef, i64 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/tmpxycx953b.c'
source_filename = "/tmp/tmpxycx953b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 %6, 4
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = call i32 @time(ptr noundef null)
%11 = call i32 @srand(i32 noundef %10)
store i32 0, ptr %3, align 4
br label %12
12: ; preds = %24, %0
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %13, %15
br i1 %16, label %17, label %27
17: ; preds = %12
%18 = call i32 (...) @rand()
%19 = srem i32 %18, 10
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
store i32 %19, ptr %23, align 4
br label %24
24: ; preds = %17
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %12, !llvm.loop !6
27: ; preds = %12
store i32 0, ptr %3, align 4
br label %28
28: ; preds = %40, %27
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = sub nsw i32 %30, 1
%32 = icmp slt i32 %29, %31
br i1 %32, label %33, label %43
33: ; preds = %28
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %3, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %38)
br label %40
40: ; preds = %33
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
br label %28, !llvm.loop !8
43: ; preds = %28
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %2, align 4
%47 = call i32 @sort(ptr noundef %45, i32 noundef %46)
store i32 0, ptr %3, align 4
br label %48
48: ; preds = %60, %43
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr %2, align 4
%51 = sub nsw i32 %50, 1
%52 = icmp slt i32 %49, %51
br i1 %52, label %53, label %63
53: ; preds = %48
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %58)
br label %60
60: ; preds = %53
%61 = load i32, ptr %3, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %3, align 4
br label %48, !llvm.loop !9
63: ; preds = %48
%64 = load ptr, ptr %4, align 8
%65 = call i32 @free(ptr noundef %64)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sort(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxycx953b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%i \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = mul i64 %6, 4
%8 = trunc i64 %7 to i32
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %4, align 8
%10 = call i32 @time(ptr noundef null)
%11 = call i32 @srand(i32 noundef %10)
store i32 0, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %23
%17 = call i32 (...) @rand()
%18 = srem i32 %17, 10
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 %18, ptr %22, align 4
br label %23
23: ; preds = %16
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%31 = load i32, ptr %3, align 4
%32 = load i32, ptr %2, align 4
%33 = sub nsw i32 %32, 1
%34 = icmp slt i32 %31, %33
br i1 %34, label %.lr.ph2, label %49
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %42
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %40)
br label %42
42: ; preds = %35
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %2, align 4
%47 = sub nsw i32 %46, 1
%48 = icmp slt i32 %45, %47
br i1 %48, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %49
49: ; preds = %._crit_edge3, %30
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %2, align 4
%53 = call i32 @sort(ptr noundef %51, i32 noundef %52)
store i32 0, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %2, align 4
%56 = sub nsw i32 %55, 1
%57 = icmp slt i32 %54, %56
br i1 %57, label %.lr.ph5, label %72
.lr.ph5: ; preds = %49
br label %58
58: ; preds = %.lr.ph5, %65
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %63)
br label %65
65: ; preds = %58
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %3, align 4
%68 = load i32, ptr %3, align 4
%69 = load i32, ptr %2, align 4
%70 = sub nsw i32 %69, 1
%71 = icmp slt i32 %68, %70
br i1 %71, label %58, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %65
br label %72
72: ; preds = %._crit_edge6, %49
%73 = load ptr, ptr %4, align 8
%74 = call i32 @free(ptr noundef %73)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sort(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbk5sspgu.c'
source_filename = "/tmp/tmpbk5sspgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_bcc_branch() #0 {
%1 = call i32 (...) @e_branch()
%2 = call i32 (...) @e_bcc()
ret void
}
declare i32 @e_branch(...) #1
declare i32 @e_bcc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbk5sspgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @e_bcc_branch() #0 {
%1 = call i32 (...) @e_branch()
%2 = call i32 (...) @e_bcc()
ret void
}
declare i32 @e_branch(...) #1
declare i32 @e_bcc(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn4731za3.c'
source_filename = "/tmp/tmpn4731za3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"stty -g\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = 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 i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %10, %0
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fgetc(ptr noundef %6)
store i32 %7, ptr %2, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %10, label %13
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = call i32 @putchar(i32 noundef %11)
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = load ptr, ptr %3, align 8
%15 = call i32 @pclose(ptr noundef %14)
ret i32 0
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn4731za3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"stty -g\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = 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 i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fgetc(ptr noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i32, ptr %2, align 4
%11 = call i32 @putchar(i32 noundef %10)
%12 = load ptr, ptr %3, align 8
%13 = call i32 @fgetc(ptr noundef %12)
store i32 %13, ptr %2, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %16
16: ; preds = %._crit_edge, %0
%17 = load ptr, ptr %3, align 8
%18 = call i32 @pclose(ptr noundef %17)
ret i32 0
}
declare ptr @popen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @putchar(i32 noundef) #1
declare i32 @pclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp8lffrot_.c'
source_filename = "/tmp/tmp8lffrot_.c"
target datalayout = "e-m:e-p270: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/tmp8lffrot_.c"
target datalayout = "e-m:e-p270: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/tmp3_2h3u7v.c'
source_filename = "/tmp/tmp3_2h3u7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input R and n\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%f%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.60f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca float, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
store double 1.000000e+00, ptr %4, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %3)
store i32 0, ptr %2, align 4
br label %7
7: ; preds = %16, %0
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %7
%12 = load double, ptr %4, align 8
%13 = load float, ptr %1, align 4
%14 = fpext float %13 to double
%15 = fmul double %12, %14
store double %15, ptr %4, align 8
br label %16
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
%20 = load double, ptr %4, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %20)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3_2h3u7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input R and n\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%f%d\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"%.60f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca float, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca double, align 8
store double 1.000000e+00, ptr %4, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1, ptr noundef %3)
store i32 0, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %15
%11 = load double, ptr %4, align 8
%12 = load float, ptr %1, align 4
%13 = fpext float %12 to double
%14 = fmul double %11, %13
store double %14, ptr %4, align 8
br label %15
15: ; preds = %10
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %0
%22 = load double, ptr %4, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7qtjaaip.c'
source_filename = "/tmp/tmp7qtjaaip.c"
target datalayout = "e-m:e-p270: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/tmp7qtjaaip.c"
target datalayout = "e-m:e-p270: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/tmphldp8rzg.c'
source_filename = "/tmp/tmphldp8rzg.c"
target datalayout = "e-m:e-p270: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/tmphldp8rzg.c"
target datalayout = "e-m:e-p270: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/tmpzse65lrk.c'
source_filename = "/tmp/tmpzse65lrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [155 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jedediah/gospel/refs/heads/master/cgreen/tests/assertion_tests.c\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"hello\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @case_different_strings_should_not_match() #0 {
%1 = call i32 @_assert_string_not_equal(ptr noundef @.str, i32 noundef 26, ptr noundef @.str.1, ptr noundef @.str.2)
ret void
}
declare i32 @_assert_string_not_equal(ptr noundef, 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/tmpzse65lrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [155 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jedediah/gospel/refs/heads/master/cgreen/tests/assertion_tests.c\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Hello\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"hello\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @case_different_strings_should_not_match() #0 {
%1 = call i32 @_assert_string_not_equal(ptr noundef @.str, i32 noundef 26, ptr noundef @.str.1, ptr noundef @.str.2)
ret void
}
declare i32 @_assert_string_not_equal(ptr noundef, 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/tmpgi1p83f_.c'
source_filename = "/tmp/tmpgi1p83f_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @simplificar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr %3, align 4
br label %14
12: ; preds = %2
%13 = load i32, ptr %4, align 4
br label %14
14: ; preds = %12, %10
%15 = phi i32 [ %11, %10 ], [ %13, %12 ]
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
store i32 %16, ptr %6, align 4
br label %17
17: ; preds = %32, %14
%18 = load i32, ptr %6, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %35
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %6, align 4
%23 = srem i32 %21, %22
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %6, align 4
%28 = srem i32 %26, %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %25
br label %35
31: ; preds = %25, %20
br label %32
32: ; preds = %31
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %6, align 4
br label %17, !llvm.loop !6
35: ; preds = %30, %17
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %6, align 4
%38 = sdiv i32 %36, %37
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr %6, align 4
%41 = sdiv i32 %39, %40
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %38, i32 noundef %41)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgi1p83f_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @simplificar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %7, %8
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr %3, align 4
br label %14
12: ; preds = %2
%13 = load i32, ptr %4, align 4
br label %14
14: ; preds = %12, %10
%15 = phi i32 [ %11, %10 ], [ %13, %12 ]
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %31
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %6, align 4
%22 = srem i32 %20, %21
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %6, align 4
%27 = srem i32 %25, %26
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %24
br label %36
30: ; preds = %24, %19
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
%34 = load i32, ptr %6, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %19, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %31
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %14
br label %36
36: ; preds = %.loopexit, %29
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %6, align 4
%39 = sdiv i32 %37, %38
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %6, align 4
%42 = sdiv i32 %40, %41
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %42)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkpmor60j.c'
source_filename = "/tmp/tmpkpmor60j.c"
target datalayout = "e-m:e-p270: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/tmpkpmor60j.c"
target datalayout = "e-m:e-p270: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/tmptgybewh1.c'
source_filename = "/tmp/tmptgybewh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A[%u,%u]:=%d;\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%u %u %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_line_uint8_t(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
br label %21
16: ; preds = %4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %16, %11
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptgybewh1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"A[%u,%u]:=%d;\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%u %u %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_line_uint8_t(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
br label %21
16: ; preds = %4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %16, %11
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf6oaz75v.c'
source_filename = "/tmp/tmpf6oaz75v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@byte_to_binary.b = internal global [9 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @byte_to_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i8 0, ptr @byte_to_binary.b, align 1
store i32 128, ptr %3, align 4
br label %4
4: ; preds = %16, %1
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %19
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = and i32 %8, %9
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %10, %11
%13 = zext i1 %12 to i64
%14 = select i1 %12, ptr @.str, ptr @.str.1
%15 = call i32 @strcat(ptr noundef @byte_to_binary.b, ptr noundef %14)
br label %16
16: ; preds = %7
%17 = load i32, ptr %3, align 4
%18 = ashr i32 %17, 1
store i32 %18, ptr %3, align 4
br label %4, !llvm.loop !6
19: ; preds = %4
ret ptr @byte_to_binary.b
}
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf6oaz75v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@byte_to_binary.b = internal global [9 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @byte_to_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i8 0, ptr @byte_to_binary.b, align 1
store i32 128, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = and i32 %7, %8
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %9, %10
%12 = zext i1 %11 to i64
%13 = select i1 %11, ptr @.str, ptr @.str.1
%14 = call i32 @strcat(ptr noundef @byte_to_binary.b, ptr noundef %13)
br label %15
15: ; preds = %6
%16 = load i32, ptr %3, align 4
%17 = ashr i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %1
ret ptr @byte_to_binary.b
}
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6vv4hqmt.c'
source_filename = "/tmp/tmp6vv4hqmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_andminus2_int64_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, -2
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6vv4hqmt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_andminus2_int64_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, -2
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpww421iha.c'
source_filename = "/tmp/tmpww421iha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64 }
@.str = private unnamed_addr constant [32 x i8] c"/home/samuel/sam_temp/snapshots\00", align 1
@DT_REG = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [24 x i8] c"\0ANumber of images : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"/home/samuel/sam_temp/pdf_config.conf\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"File created\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Error Creating the file\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"/home/samuel/sam_temp\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"1 \0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"The STAGE\0A\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"/home/samuel/sam_temp/snapshots/camera.png\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"Screenshot : 1 \0A\00", align 1
@.str.11 = private unnamed_addr constant [47 x i8] c"/home/samuel/sam_temp/snapshots/camera-%d.png\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"Screenshot : %d \0A\00", align 1
@.str.13 = private unnamed_addr constant [19 x i8] c"No image recorded\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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%11 = call ptr @opendir(ptr noundef @.str)
store ptr %11, ptr %7, align 8
br label %12
12: ; preds = %25, %2
%13 = load ptr, ptr %7, align 8
%14 = call ptr @readdir(ptr noundef %13)
store ptr %14, ptr %8, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %26
16: ; preds = %12
%17 = load ptr, ptr %8, align 8
%18 = getelementptr inbounds %struct.dirent, ptr %17, i32 0, i32 0
%19 = load i64, ptr %18, align 8
%20 = load i64, ptr @DT_REG, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %22, %16
br label %12, !llvm.loop !6
26: ; preds = %12
%27 = load ptr, ptr %7, align 8
%28 = call i32 @closedir(ptr noundef %27)
%29 = load i32, ptr %6, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29)
store ptr null, ptr %9, align 8
store i32 1, ptr %10, align 4
%31 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %31, ptr %9, align 8
%32 = load ptr, ptr %9, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %38
36: ; preds = %26
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %34
%39 = load ptr, ptr %9, align 8
%40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.6)
%41 = load ptr, ptr %9, align 8
%42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.7)
%43 = load ptr, ptr %9, align 8
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.7)
%45 = load ptr, ptr %9, align 8
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.8)
%47 = load i32, ptr %6, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %73
49: ; preds = %38
%50 = load ptr, ptr %9, align 8
%51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.9)
%52 = load ptr, ptr %9, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.10)
%54 = load i32, ptr %6, align 4
%55 = icmp sgt i32 %54, 1
br i1 %55, label %56, label %72
56: ; preds = %49
br label %57
57: ; preds = %61, %56
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %71
61: ; preds = %57
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %10, align 4
%64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.11, i32 noundef %63)
%65 = load ptr, ptr %9, align 8
%66 = load i32, ptr %10, align 4
%67 = add nsw i32 %66, 1
%68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %65, ptr noundef @.str.12, i32 noundef %67)
%69 = load i32, ptr %10, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %10, align 4
br label %57, !llvm.loop !8
71: ; preds = %57
br label %72
72: ; preds = %71, %49
br label %76
73: ; preds = %38
%74 = load ptr, ptr %9, align 8
%75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.13)
br label %76
76: ; preds = %73, %72
%77 = load ptr, ptr %9, align 8
%78 = call i32 @fclose(ptr noundef %77)
ret i32 0
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpww421iha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { i64 }
@.str = private unnamed_addr constant [32 x i8] c"/home/samuel/sam_temp/snapshots\00", align 1
@DT_REG = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [24 x i8] c"\0ANumber of images : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"/home/samuel/sam_temp/pdf_config.conf\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"File created\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Error Creating the file\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"/home/samuel/sam_temp\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"1 \0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [12 x i8] c"The STAGE\0A\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"/home/samuel/sam_temp/snapshots/camera.png\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"Screenshot : 1 \0A\00", align 1
@.str.11 = private unnamed_addr constant [47 x i8] c"/home/samuel/sam_temp/snapshots/camera-%d.png\0A\00", align 1
@.str.12 = private unnamed_addr constant [18 x i8] c"Screenshot : %d \0A\00", align 1
@.str.13 = private unnamed_addr constant [19 x i8] c"No image recorded\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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%11 = call ptr @opendir(ptr noundef @.str)
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = call ptr @readdir(ptr noundef %12)
store ptr %13, ptr %8, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %28
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %24
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds %struct.dirent, ptr %16, i32 0, i32 0
%18 = load i64, ptr %17, align 8
%19 = load i64, ptr @DT_REG, align 8
%20 = icmp eq i64 %18, %19
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %21, %15
%25 = load ptr, ptr %7, align 8
%26 = call ptr @readdir(ptr noundef %25)
store ptr %26, ptr %8, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %28
28: ; preds = %._crit_edge, %2
%29 = load ptr, ptr %7, align 8
%30 = call i32 @closedir(ptr noundef %29)
%31 = load i32, ptr %6, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31)
store ptr null, ptr %9, align 8
store i32 1, ptr %10, align 4
%33 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %33, ptr %9, align 8
%34 = load ptr, ptr %9, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %38
36: ; preds = %28
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %40
38: ; preds = %28
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %40
40: ; preds = %38, %36
%41 = load ptr, ptr %9, align 8
%42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.6)
%43 = load ptr, ptr %9, align 8
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.7)
%45 = load ptr, ptr %9, align 8
%46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.7)
%47 = load ptr, ptr %9, align 8
%48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.8)
%49 = load i32, ptr %6, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %51, label %77
51: ; preds = %40
%52 = load ptr, ptr %9, align 8
%53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.9)
%54 = load ptr, ptr %9, align 8
%55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.10)
%56 = load i32, ptr %6, align 4
%57 = icmp sgt i32 %56, 1
br i1 %57, label %58, label %76
58: ; preds = %51
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %.lr.ph2, label %75
.lr.ph2: ; preds = %58
br label %62
62: ; preds = %.lr.ph2, %62
%63 = load ptr, ptr %9, align 8
%64 = load i32, ptr %10, align 4
%65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %63, ptr noundef @.str.11, i32 noundef %64)
%66 = load ptr, ptr %9, align 8
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
%69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.12, i32 noundef %68)
%70 = load i32, ptr %10, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %10, align 4
%72 = load i32, ptr %10, align 4
%73 = load i32, ptr %6, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %62
br label %75
75: ; preds = %._crit_edge3, %58
br label %76
76: ; preds = %75, %51
br label %80
77: ; preds = %40
%78 = load ptr, ptr %9, align 8
%79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.13)
br label %80
80: ; preds = %77, %76
%81 = load ptr, ptr %9, align 8
%82 = call i32 @fclose(ptr noundef %81)
ret i32 0
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpny01ho5n.c'
source_filename = "/tmp/tmpny01ho5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%ld\09%s\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"PASS\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"FAIL\00", align 1
@BUFSIZ = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [10 x i8] c" (%s:%ld)\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"\09Actual: %s\0A\09Expected: %s\0A[%s] %s%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"\09%s:%ld\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_test_errno(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%16 = load i64, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %5
%20 = load i64, ptr %9, align 8
%21 = call ptr @strerror(i64 noundef %20)
br label %23
22: ; preds = %5
br label %23
23: ; preds = %22, %19
%24 = phi ptr [ %21, %19 ], [ @.str.1, %22 ]
%25 = call i32 @asprintf(ptr noundef %11, ptr noundef @.str, i64 noundef %16, ptr noundef %24)
%26 = load i64, ptr %10, align 8
%27 = load i64, ptr %10, align 8
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load i64, ptr %10, align 8
%31 = call ptr @strerror(i64 noundef %30)
br label %33
32: ; preds = %23
br label %33
33: ; preds = %32, %29
%34 = phi ptr [ %31, %29 ], [ @.str.1, %32 ]
%35 = call i32 @asprintf(ptr noundef %12, ptr noundef @.str, i64 noundef %26, ptr noundef %34)
br label %36
36: ; preds = %33
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %10, align 8
%39 = icmp eq i64 %37, %38
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.2, ptr @.str.3
store ptr %41, ptr %13, align 8
%42 = load i32, ptr @BUFSIZ, align 4
%43 = zext i32 %42 to i64
%44 = call ptr @llvm.stacksave()
store ptr %44, ptr %14, align 8
%45 = alloca i8, i64 %43, align 16
store i64 %43, ptr %15, align 8
%46 = load i64, ptr %9, align 8
%47 = load i64, ptr %10, align 8
%48 = icmp eq i64 %46, %47
br i1 %48, label %54, label %49
49: ; preds = %36
%50 = trunc i64 %43 to i32
%51 = load ptr, ptr %6, align 8
%52 = load i64, ptr %7, align 8
%53 = call i32 @snprintf(ptr noundef %45, i32 noundef %50, ptr noundef @.str.4, ptr noundef %51, i64 noundef %52)
br label %56
54: ; preds = %36
%55 = getelementptr inbounds i8, ptr %45, i64 0
store i8 0, ptr %55, align 16
br label %56
56: ; preds = %54, %49
%57 = load ptr, ptr %11, align 8
%58 = load ptr, ptr %12, align 8
%59 = load ptr, ptr %13, align 8
%60 = load ptr, ptr %8, align 8
%61 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %45)
%62 = load i64, ptr %9, align 8
%63 = load i64, ptr %10, align 8
%64 = icmp eq i64 %62, %63
br i1 %64, label %69, label %65
65: ; preds = %56
%66 = load ptr, ptr %6, align 8
%67 = load i64, ptr %7, align 8
%68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %66, i64 noundef %67)
br label %69
69: ; preds = %65, %56
%70 = load i32, ptr @stdout, align 4
%71 = call i32 @fflush(i32 noundef %70)
%72 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %72)
br label %73
73: ; preds = %69
%74 = load ptr, ptr %11, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %12, align 8
%77 = call i32 @free(ptr noundef %76)
ret void
}
declare i32 @asprintf(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @strerror(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpny01ho5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%ld\09%s\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"PASS\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"FAIL\00", align 1
@BUFSIZ = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [10 x i8] c" (%s:%ld)\00", align 1
@.str.5 = private unnamed_addr constant [37 x i8] c"\09Actual: %s\0A\09Expected: %s\0A[%s] %s%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"\09%s:%ld\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_test_errno(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%16 = load i64, ptr %9, align 8
%17 = load i64, ptr %9, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %5
%20 = load i64, ptr %9, align 8
%21 = call ptr @strerror(i64 noundef %20)
br label %23
22: ; preds = %5
br label %23
23: ; preds = %22, %19
%24 = phi ptr [ %21, %19 ], [ @.str.1, %22 ]
%25 = call i32 @asprintf(ptr noundef %11, ptr noundef @.str, i64 noundef %16, ptr noundef %24)
%26 = load i64, ptr %10, align 8
%27 = load i64, ptr %10, align 8
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %23
%30 = load i64, ptr %10, align 8
%31 = call ptr @strerror(i64 noundef %30)
br label %33
32: ; preds = %23
br label %33
33: ; preds = %32, %29
%34 = phi ptr [ %31, %29 ], [ @.str.1, %32 ]
%35 = call i32 @asprintf(ptr noundef %12, ptr noundef @.str, i64 noundef %26, ptr noundef %34)
br label %36
36: ; preds = %33
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %10, align 8
%39 = icmp eq i64 %37, %38
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.2, ptr @.str.3
store ptr %41, ptr %13, align 8
%42 = load i32, ptr @BUFSIZ, align 4
%43 = zext i32 %42 to i64
%44 = call ptr @llvm.stacksave()
store ptr %44, ptr %14, align 8
%45 = alloca i8, i64 %43, align 16
store i64 %43, ptr %15, align 8
%46 = load i64, ptr %9, align 8
%47 = load i64, ptr %10, align 8
%48 = icmp eq i64 %46, %47
br i1 %48, label %54, label %49
49: ; preds = %36
%50 = trunc i64 %43 to i32
%51 = load ptr, ptr %6, align 8
%52 = load i64, ptr %7, align 8
%53 = call i32 @snprintf(ptr noundef %45, i32 noundef %50, ptr noundef @.str.4, ptr noundef %51, i64 noundef %52)
br label %56
54: ; preds = %36
%55 = getelementptr inbounds i8, ptr %45, i64 0
store i8 0, ptr %55, align 16
br label %56
56: ; preds = %54, %49
%57 = load ptr, ptr %11, align 8
%58 = load ptr, ptr %12, align 8
%59 = load ptr, ptr %13, align 8
%60 = load ptr, ptr %8, align 8
%61 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %45)
%62 = load i64, ptr %9, align 8
%63 = load i64, ptr %10, align 8
%64 = icmp eq i64 %62, %63
br i1 %64, label %69, label %65
65: ; preds = %56
%66 = load ptr, ptr %6, align 8
%67 = load i64, ptr %7, align 8
%68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %66, i64 noundef %67)
br label %69
69: ; preds = %65, %56
%70 = load i32, ptr @stdout, align 4
%71 = call i32 @fflush(i32 noundef %70)
%72 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %72)
br label %73
73: ; preds = %69
%74 = load ptr, ptr %11, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %12, align 8
%77 = call i32 @free(ptr noundef %76)
ret void
}
declare i32 @asprintf(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1
declare ptr @strerror(i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0zw7bmmc.c'
source_filename = "/tmp/tmp0zw7bmmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hybrid_orient_at(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store float 0x3FD47AE140000000, ptr %5, align 4
%6 = load float, ptr %5, align 4
%7 = fneg float %6
%8 = load i32, ptr %4, align 4
%9 = sitofp i32 %8 to float
%10 = fmul float %7, %9
%11 = load float, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to float
%14 = fmul float %11, %13
%15 = call i32 @set_wheel_pows(float noundef %10, float noundef %14)
br label %16
16: ; preds = %21, %2
%17 = load float, ptr %3, align 4
%18 = call i32 @hybrid_gyro_within_threshold(float noundef %17, i32 noundef 10)
%19 = icmp ne i32 %18, 0
%20 = xor i1 %19, true
br i1 %20, label %21, label %23
21: ; preds = %16
%22 = call i32 @pause(i32 noundef 5)
br label %16, !llvm.loop !6
23: ; preds = %16
%24 = call i32 @set_wheel_pows(float noundef 0.000000e+00, float noundef 0.000000e+00)
ret void
}
declare i32 @set_wheel_pows(float noundef, float noundef) #1
declare i32 @hybrid_gyro_within_threshold(float noundef, i32 noundef) #1
declare i32 @pause(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0zw7bmmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hybrid_orient_at(float noundef %0, i32 noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store float 0x3FD47AE140000000, ptr %5, align 4
%6 = load float, ptr %5, align 4
%7 = fneg float %6
%8 = load i32, ptr %4, align 4
%9 = sitofp i32 %8 to float
%10 = fmul float %7, %9
%11 = load float, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = sitofp i32 %12 to float
%14 = fmul float %11, %13
%15 = call i32 @set_wheel_pows(float noundef %10, float noundef %14)
%16 = load float, ptr %3, align 4
%17 = call i32 @hybrid_gyro_within_threshold(float noundef %16, i32 noundef 10)
%18 = icmp ne i32 %17, 0
%19 = xor i1 %18, true
br i1 %19, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %20
%21 = call i32 @pause(i32 noundef 5)
%22 = load float, ptr %3, align 4
%23 = call i32 @hybrid_gyro_within_threshold(float noundef %22, i32 noundef 10)
%24 = icmp ne i32 %23, 0
%25 = xor i1 %24, true
br i1 %25, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
%27 = call i32 @set_wheel_pows(float noundef 0.000000e+00, float noundef 0.000000e+00)
ret void
}
declare i32 @set_wheel_pows(float noundef, float noundef) #1
declare i32 @hybrid_gyro_within_threshold(float noundef, i32 noundef) #1
declare i32 @pause(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprbkol1ct.c'
source_filename = "/tmp/tmprbkol1ct.c"
target datalayout = "e-m:e-p270: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/tmprbkol1ct.c"
target datalayout = "e-m:e-p270: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/tmpy8lsm55s.c'
source_filename = "/tmp/tmpy8lsm55s.c"
target datalayout = "e-m:e-p270: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.timex = type { i64, i32 }
@__const.main.ppm = private unnamed_addr constant [5 x i32] [i32 0, i32 250, i32 500, i32 -250, i32 -500], align 16
@.str = private unnamed_addr constant [16 x i8] c"killall -9 ntpd\00", align 1
@ADJ_OFFSET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Maybe you're not running as root?\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Using %i ppm adjustment\0A\00", align 1
@ADJ_FREQUENCY = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"[FAIL]\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"[OK]\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 %struct.timex, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [5 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.ppm, i64 20, i1 false)
%10 = call i32 @system(ptr noundef @.str)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr @ADJ_OFFSET, align 4
%12 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 1
store i32 %11, ptr %12, align 8
%13 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 0
store i64 0, ptr %13, align 8
%14 = call i32 @adjtimex(ptr noundef %6)
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %54
19: ; preds = %2
store i32 0, ptr %7, align 4
br label %20
20: ; preds = %38, %19
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %41
23: ; preds = %20
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @change_skew_test(i32 noundef %32)
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %23
br label %41
37: ; preds = %23
br label %38
38: ; preds = %37
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %20, !llvm.loop !6
41: ; preds = %36, %20
%42 = load i32, ptr @ADJ_FREQUENCY, align 4
%43 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 1
store i32 %42, ptr %43, align 8
%44 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 0
store i64 0, ptr %44, align 8
%45 = call i32 @adjtimex(ptr noundef %6)
%46 = load i32, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%50 = call i32 (...) @ksft_exit_fail()
store i32 %50, ptr %3, align 4
br label %54
51: ; preds = %41
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%53 = call i32 (...) @ksft_exit_pass()
store i32 %53, ptr %3, align 4
br label %54
54: ; preds = %51, %48, %17
%55 = load i32, ptr %3, align 4
ret i32 %55
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @system(ptr noundef) #2
declare i32 @adjtimex(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @change_skew_test(i32 noundef) #2
declare i32 @ksft_exit_fail(...) #2
declare i32 @ksft_exit_pass(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy8lsm55s.c"
target datalayout = "e-m:e-p270: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.timex = type { i64, i32 }
@__const.main.ppm = private unnamed_addr constant [5 x i32] [i32 0, i32 250, i32 500, i32 -250, i32 -500], align 16
@.str = private unnamed_addr constant [16 x i8] c"killall -9 ntpd\00", align 1
@ADJ_OFFSET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [35 x i8] c"Maybe you're not running as root?\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Using %i ppm adjustment\0A\00", align 1
@ADJ_FREQUENCY = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"[FAIL]\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"[OK]\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 %struct.timex, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [5 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.ppm, i64 20, i1 false)
%10 = call i32 @system(ptr noundef @.str)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr @ADJ_OFFSET, align 4
%12 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 1
store i32 %11, ptr %12, align 8
%13 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 0
store i64 0, ptr %13, align 8
%14 = call i32 @adjtimex(ptr noundef %6)
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %55
19: ; preds = %2
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 5
br i1 %21, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %22
22: ; preds = %.lr.ph, %37
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26)
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i32], ptr %9, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = call i32 @change_skew_test(i32 noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %22
br label %42
36: ; preds = %22
br label %37
37: ; preds = %36
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp slt i32 %40, 5
br i1 %41, label %22, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %37
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %42
42: ; preds = %.loopexit, %35
%43 = load i32, ptr @ADJ_FREQUENCY, align 4
%44 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 1
store i32 %43, ptr %44, align 8
%45 = getelementptr inbounds %struct.timex, ptr %6, i32 0, i32 0
store i64 0, ptr %45, align 8
%46 = call i32 @adjtimex(ptr noundef %6)
%47 = load i32, ptr %8, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%51 = call i32 (...) @ksft_exit_fail()
store i32 %51, ptr %3, align 4
br label %55
52: ; preds = %42
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%54 = call i32 (...) @ksft_exit_pass()
store i32 %54, ptr %3, align 4
br label %55
55: ; preds = %52, %49, %17
%56 = load i32, ptr %3, align 4
ret i32 %56
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @system(ptr noundef) #2
declare i32 @adjtimex(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @change_skew_test(i32 noundef) #2
declare i32 @ksft_exit_fail(...) #2
declare i32 @ksft_exit_pass(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp69h22tuv.c'
source_filename = "/tmp/tmp69h22tuv.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp69h22tuv.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoud3bzj3.c'
source_filename = "/tmp/tmpoud3bzj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"| \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 @format3_line_type3() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %13, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 16
br i1 %4, label %5, label %16
5: ; preds = %2
%6 = call i32 @printf(ptr noundef @.str)
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
%9 = icmp eq i32 %8, 16
br i1 %9, label %10, label %12
10: ; preds = %5
%11 = call i32 @printf(ptr noundef @.str.1)
br label %12
12: ; preds = %10, %5
br label %13
13: ; preds = %12
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
br label %2, !llvm.loop !6
16: ; preds = %2
%17 = call i32 @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/tmpoud3bzj3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"| \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 @format3_line_type3() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 16
br i1 %3, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %12
%5 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr %1, align 4
%7 = add nsw i32 %6, 1
%8 = icmp eq i32 %7, 16
br i1 %8, label %9, label %11
9: ; preds = %4
%10 = call i32 @printf(ptr noundef @.str.1)
br label %11
11: ; preds = %9, %4
br label %12
12: ; preds = %11
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 16
br i1 %16, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = call i32 @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/tmp6yhq1037.c'
source_filename = "/tmp/tmp6yhq1037.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOTDIR = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"PATH_INFO\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"SCRIPT_NAME\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"DOCUMENT_ROOT\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"SCRIPT_FILENAME\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @split_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
br label %6
6: ; preds = %58, %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @stat(ptr noundef %7, ptr noundef %3)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %21
11: ; preds = %6
%12 = load i64, ptr @errno, align 8
%13 = load i64, ptr @ENOTDIR, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i64, ptr @errno, align 8
%17 = load i64, ptr @ENOENT, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
br label %59
20: ; preds = %15, %11
br label %28
21: ; preds = %6
%22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = call i64 @S_ISREG(i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
br label %59
27: ; preds = %21
br label %28
28: ; preds = %27, %20
%29 = load ptr, ptr %4, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
store i8 47, ptr %32, align 1
br label %39
33: ; preds = %28
%34 = load ptr, ptr %2, align 8
%35 = load ptr, ptr %2, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store ptr %38, ptr %4, align 8
br label %39
39: ; preds = %33, %31
br label %40
40: ; preds = %52, %39
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 -1
store ptr %42, ptr %4, align 8
%43 = load ptr, ptr %2, align 8
%44 = icmp ugt ptr %42, %43
br i1 %44, label %45, label %53
45: ; preds = %40
%46 = load ptr, ptr %4, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 47
br i1 %49, label %50, label %52
50: ; preds = %45
%51 = load ptr, ptr %4, align 8
store i8 0, ptr %51, align 1
br label %53
52: ; preds = %45
br label %40, !llvm.loop !6
53: ; preds = %50, %40
%54 = load ptr, ptr %4, align 8
%55 = load ptr, ptr %2, align 8
%56 = icmp eq ptr %54, %55
br i1 %56, label %57, label %58
57: ; preds = %53
store ptr null, ptr %4, align 8
br label %59
58: ; preds = %53
br label %6
59: ; preds = %57, %26, %19
%60 = load ptr, ptr %4, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %67
62: ; preds = %59
%63 = load ptr, ptr %4, align 8
store i8 47, ptr %63, align 1
%64 = load ptr, ptr %4, align 8
%65 = call i32 @setenv(ptr noundef @.str, ptr noundef %64, i32 noundef 1)
%66 = load ptr, ptr %4, align 8
store i8 0, ptr %66, align 1
br label %67
67: ; preds = %62, %59
%68 = load ptr, ptr %2, align 8
%69 = call ptr @getenv(ptr noundef @.str.2)
%70 = call i32 @strlen(ptr noundef %69)
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = call i32 @setenv(ptr noundef @.str.1, ptr noundef %72, i32 noundef 1)
%74 = load ptr, ptr %2, align 8
%75 = call i32 @setenv(ptr noundef @.str.3, ptr noundef %74, i32 noundef 1)
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6yhq1037.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOTDIR = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [10 x i8] c"PATH_INFO\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"SCRIPT_NAME\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"DOCUMENT_ROOT\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"SCRIPT_FILENAME\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @split_path(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
br label %6
6: ; preds = %56, %1
%7 = load ptr, ptr %2, align 8
%8 = call i32 @stat(ptr noundef %7, ptr noundef %3)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %21
11: ; preds = %6
%12 = load i64, ptr @errno, align 8
%13 = load i64, ptr @ENOTDIR, align 8
%14 = icmp ne i64 %12, %13
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = load i64, ptr @errno, align 8
%17 = load i64, ptr @ENOENT, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %20
19: ; preds = %15
br label %61
20: ; preds = %15, %11
br label %28
21: ; preds = %6
%22 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = call i64 @S_ISREG(i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
br label %61
27: ; preds = %21
br label %28
28: ; preds = %27, %20
%29 = load ptr, ptr %4, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %33
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
store i8 47, ptr %32, align 1
br label %39
33: ; preds = %28
%34 = load ptr, ptr %2, align 8
%35 = load ptr, ptr %2, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
store ptr %38, ptr %4, align 8
br label %39
39: ; preds = %33, %31
%40 = load ptr, ptr %4, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 -1
store ptr %41, ptr %4, align 8
%42 = load ptr, ptr %2, align 8
%43 = icmp ugt ptr %41, %42
br i1 %43, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %39
br label %49
44: ; preds = %49
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 -1
store ptr %46, ptr %4, align 8
%47 = load ptr, ptr %2, align 8
%48 = icmp ugt ptr %46, %47
br i1 %48, label %49, label %..loopexit_crit_edge, !llvm.loop !6
49: ; preds = %.lr.ph, %44
%50 = load ptr, ptr %4, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 47
br i1 %53, label %54, label %44
54: ; preds = %49
%55 = load ptr, ptr %4, align 8
store i8 0, ptr %55, align 1
br label %56
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %39
br label %56
56: ; preds = %.loopexit, %54
%57 = load ptr, ptr %4, align 8
%58 = load ptr, ptr %2, align 8
%59 = icmp eq ptr %57, %58
br i1 %59, label %60, label %6
60: ; preds = %56
store ptr null, ptr %4, align 8
br label %61
61: ; preds = %60, %26, %19
%62 = load ptr, ptr %4, align 8
%63 = icmp ne ptr %62, null
br i1 %63, label %64, label %69
64: ; preds = %61
%65 = load ptr, ptr %4, align 8
store i8 47, ptr %65, align 1
%66 = load ptr, ptr %4, align 8
%67 = call i32 @setenv(ptr noundef @.str, ptr noundef %66, i32 noundef 1)
%68 = load ptr, ptr %4, align 8
store i8 0, ptr %68, align 1
br label %69
69: ; preds = %64, %61
%70 = load ptr, ptr %2, align 8
%71 = call ptr @getenv(ptr noundef @.str.2)
%72 = call i32 @strlen(ptr noundef %71)
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, ptr %70, i64 %73
%75 = call i32 @setenv(ptr noundef @.str.1, ptr noundef %74, i32 noundef 1)
%76 = load ptr, ptr %2, align 8
%77 = call i32 @setenv(ptr noundef @.str.3, ptr noundef %76, i32 noundef 1)
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISREG(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppyrdjmqy.c'
source_filename = "/tmp/tmppyrdjmqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"number of arguments: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"\09argv[%d] = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %23, %3
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %26
15: ; preds = %11
%16 = load i32, ptr %8, align 4
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %8, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %16, ptr noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppyrdjmqy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"number of arguments: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"\09argv[%d] = %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %28
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %22
%15 = load i32, ptr %8, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %15, ptr noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %3
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpaoqrt5hd.c'
source_filename = "/tmp/tmpaoqrt5hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"java\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"/* SMIX */\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 sge i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp eq i64 %13, 0
br label %15
15: ; preds = %9, %2
%16 = phi i1 [ false, %2 ], [ %14, %9 ]
%17 = zext i1 %16 to i32
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = call i32 @make_tables(i32 noundef %18)
%20 = load i32, ptr %6, align 4
%21 = call i32 @print_core(i32 noundef 2, i32 noundef 2, i32 noundef 30, i32 noundef %20)
%22 = load i32, ptr %6, align 4
%23 = call i32 @print_core(i32 noundef 2, i32 noundef 3, i32 noundef 36, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = call i32 @print_core(i32 noundef 2, i32 noundef 4, i32 noundef 36, i32 noundef %24)
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %15
%29 = call i32 @printf(ptr noundef @.str.1)
%30 = call i32 @printf(ptr noundef @.str.2)
%31 = call i32 @printSMIX(i32 noundef 2, i32 noundef 0, i32 noundef 30, i32 noundef 1)
br label %32
32: ; preds = %28, %15
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @make_tables(i32 noundef) #1
declare i32 @print_core(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @printSMIX(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaoqrt5hd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"java\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"/* SMIX */\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 sge i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp eq i64 %13, 0
br label %15
15: ; preds = %9, %2
%16 = phi i1 [ false, %2 ], [ %14, %9 ]
%17 = zext i1 %16 to i32
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = call i32 @make_tables(i32 noundef %18)
%20 = load i32, ptr %6, align 4
%21 = call i32 @print_core(i32 noundef 2, i32 noundef 2, i32 noundef 30, i32 noundef %20)
%22 = load i32, ptr %6, align 4
%23 = call i32 @print_core(i32 noundef 2, i32 noundef 3, i32 noundef 36, i32 noundef %22)
%24 = load i32, ptr %6, align 4
%25 = call i32 @print_core(i32 noundef 2, i32 noundef 4, i32 noundef 36, i32 noundef %24)
%26 = load i32, ptr %6, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %32
28: ; preds = %15
%29 = call i32 @printf(ptr noundef @.str.1)
%30 = call i32 @printf(ptr noundef @.str.2)
%31 = call i32 @printSMIX(i32 noundef 2, i32 noundef 0, i32 noundef 30, i32 noundef 1)
br label %32
32: ; preds = %28, %15
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @make_tables(i32 noundef) #1
declare i32 @print_core(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @printSMIX(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbghuh3xu.c'
source_filename = "/tmp/tmpbghuh3xu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [100 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store ptr %4, ptr %5, align 8
store ptr null, ptr %2, align 8
br label %6
6: ; preds = %28, %0
%7 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%8 = load ptr, ptr %5, align 8
%9 = call i64 @getword(ptr noundef %7, i32 noundef 100, ptr noundef %8)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %29
12: ; preds = %6
%13 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%14 = load i8, ptr %13, align 16
%15 = call i64 @isalpha(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %12
%18 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @isnoise(ptr noundef %18)
%20 = icmp ne i32 %19, 0
br i1 %20, label %27, label %21
21: ; preds = %17
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %24, align 4
%26 = call ptr @addtree(ptr noundef %22, ptr noundef %23, i32 noundef %25)
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %21, %17
br label %28
28: ; preds = %27, %12
br label %6, !llvm.loop !6
29: ; preds = %6
%30 = load ptr, ptr %2, align 8
%31 = call i32 @treeprint(ptr noundef %30)
ret i32 0
}
declare i64 @getword(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i8 noundef signext) #1
declare i32 @isnoise(ptr noundef) #1
declare ptr @addtree(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @treeprint(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbghuh3xu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [100 x i8], align 16
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store ptr %4, ptr %5, align 8
store ptr null, ptr %2, align 8
%6 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%7 = load ptr, ptr %5, align 8
%8 = call i64 @getword(ptr noundef %6, i32 noundef 100, ptr noundef %7)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %27
%12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%13 = load i8, ptr %12, align 16
%14 = call i64 @isalpha(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %11
%17 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%18 = call i32 @isnoise(ptr noundef %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %16
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %23, align 4
%25 = call ptr @addtree(ptr noundef %21, ptr noundef %22, i32 noundef %24)
store ptr %25, ptr %2, align 8
br label %26
26: ; preds = %20, %16
br label %27
27: ; preds = %26, %11
%28 = load ptr, ptr %5, align 8
%29 = call i64 @getword(ptr noundef %6, i32 noundef 100, ptr noundef %28)
%30 = load i64, ptr @EOF, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %0
%33 = load ptr, ptr %2, align 8
%34 = call i32 @treeprint(ptr noundef %33)
ret i32 0
}
declare i64 @getword(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i8 noundef signext) #1
declare i32 @isnoise(ptr noundef) #1
declare ptr @addtree(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @treeprint(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6x6_z4lp.c'
source_filename = "/tmp/tmp6x6_z4lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_standard_Laurent_witness_set(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [2 x i32], align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%13 = load ptr, ptr %9, align 8
%14 = call i32 @_ada_use_c2phc4c(i32 noundef 798, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0)
store i32 %14, ptr %7, align 4
%15 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %5, align 8
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %6, align 8
store i32 %19, ptr %20, align 4
%21 = load i32, ptr %7, align 4
ret i32 %21
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6x6_z4lp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @read_standard_Laurent_witness_set(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [2 x i32], align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%13 = load ptr, ptr %9, align 8
%14 = call i32 @_ada_use_c2phc4c(i32 noundef 798, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0)
store i32 %14, ptr %7, align 4
%15 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %5, align 8
store i32 %16, ptr %17, align 4
%18 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 1
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %6, align 8
store i32 %19, ptr %20, align 4
%21 = load i32, ptr %7, align 4
ret i32 %21
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjcwzomoi.c'
source_filename = "/tmp/tmpjcwzomoi.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @scalblnl(x86_fp80 noundef %0, i64 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca i64, align 8
store x86_fp80 %0, ptr %3, align 16
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr @INT_MAX, align 8
%7 = icmp sgt i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i64, ptr @INT_MAX, align 8
store i64 %9, ptr %4, align 8
br label %17
10: ; preds = %2
%11 = load i64, ptr %4, align 8
%12 = load i64, ptr @INT_MIN, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load i64, ptr @INT_MIN, align 8
store i64 %15, ptr %4, align 8
br label %16
16: ; preds = %14, %10
br label %17
17: ; preds = %16, %8
%18 = load x86_fp80, ptr %3, align 16
%19 = load i64, ptr %4, align 8
%20 = call x86_fp80 @scalbnl(x86_fp80 noundef %18, i64 noundef %19)
ret x86_fp80 %20
}
declare x86_fp80 @scalbnl(x86_fp80 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjcwzomoi.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
@INT_MIN = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @scalblnl(x86_fp80 noundef %0, i64 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca i64, align 8
store x86_fp80 %0, ptr %3, align 16
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr @INT_MAX, align 8
%7 = icmp sgt i64 %5, %6
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = load i64, ptr @INT_MAX, align 8
store i64 %9, ptr %4, align 8
br label %17
10: ; preds = %2
%11 = load i64, ptr %4, align 8
%12 = load i64, ptr @INT_MIN, align 8
%13 = icmp slt i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = load i64, ptr @INT_MIN, align 8
store i64 %15, ptr %4, align 8
br label %16
16: ; preds = %14, %10
br label %17
17: ; preds = %16, %8
%18 = load x86_fp80, ptr %3, align 16
%19 = load i64, ptr %4, align 8
%20 = call x86_fp80 @scalbnl(x86_fp80 noundef %18, i64 noundef %19)
ret x86_fp80 %20
}
declare x86_fp80 @scalbnl(x86_fp80 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa3s1oh0f.c'
source_filename = "/tmp/tmpa3s1oh0f.c"
target datalayout = "e-m:e-p270: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/tmpa3s1oh0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.