llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpzbb1amxd.c'
source_filename = "/tmp/tmpzbb1amxd.c"
target datalayout = "e-m:e-p270: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/tmpzbb1amxd.c"
target datalayout = "e-m:e-p270: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/tmpdj2y4bgx.c'
source_filename = "/tmp/tmpdj2y4bgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store volatile i32 0, ptr %3, align 4
br label %4
4: ; preds = %9, %1
%5 = load volatile i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %4
br label %9
9: ; preds = %8
%10 = load volatile i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store volatile i32 %11, ptr %3, align 4
br label %4, !llvm.loop !6
12: ; preds = %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdj2y4bgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delay(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store volatile i32 0, ptr %3, align 4
%4 = load volatile i32, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %8
br label %8
8: ; preds = %7
%9 = load volatile i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store volatile i32 %10, ptr %3, align 4
%11 = load volatile i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %14
14: ; preds = %._crit_edge, %1
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/tmpn29vn00h.c'
source_filename = "/tmp/tmpn29vn00h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_venus_sdiam(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
store double 8.410000e+00, ptr %3, align 8
%5 = load double, ptr %2, align 8
%6 = call double @ln_get_venus_earth_dist(double noundef %5)
store double %6, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = fdiv double %7, %8
ret double %9
}
declare double @ln_get_venus_earth_dist(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/tmpn29vn00h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ln_get_venus_sdiam(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
store double 8.410000e+00, ptr %3, align 8
%5 = load double, ptr %2, align 8
%6 = call double @ln_get_venus_earth_dist(double noundef %5)
store double %6, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = fdiv double %7, %8
ret double %9
}
declare double @ln_get_venus_earth_dist(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/tmpzipob_wt.c'
source_filename = "/tmp/tmpzipob_wt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = call float (...) @rand_float()
%12 = fmul float %11, 1.000000e+05
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = call float @stdlib_base_rsqrtf(float noundef %13)
store float %14, ptr %3, align 4
%15 = load float, ptr %3, align 4
%16 = load float, ptr %3, align 4
%17 = fcmp une float %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %24
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %18, %7
%25 = call double (...) @tic()
%26 = load double, ptr %4, align 8
%27 = fsub double %25, %26
store double %27, ptr %1, align 8
%28 = load float, ptr %3, align 4
%29 = load float, ptr %3, align 4
%30 = fcmp une float %28, %29
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %24
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare float @rand_float(...) #1
declare float @stdlib_base_rsqrtf(float noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzipob_wt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca double, align 8
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %4, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %20
%10 = call float (...) @rand_float()
%11 = fmul float %10, 1.000000e+05
store float %11, ptr %2, align 4
%12 = load float, ptr %2, align 4
%13 = call float @stdlib_base_rsqrtf(float noundef %12)
store float %13, ptr %3, align 4
%14 = load float, ptr %3, align 4
%15 = load float, ptr %3, align 4
%16 = fcmp une float %14, %15
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str)
br label %25
19: ; preds = %9
br label %20
20: ; preds = %19
%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 = icmp slt i32 %23, 1000000
br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %17
%26 = call double (...) @tic()
%27 = load double, ptr %4, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load float, ptr %3, align 4
%30 = load float, ptr %3, align 4
%31 = fcmp une float %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare float @rand_float(...) #1
declare float @stdlib_base_rsqrtf(float noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxg_abqp2.c'
source_filename = "/tmp/tmpxg_abqp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij(i32 noundef 3)
ret i32 0
}
declare i32 @abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij(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/tmpxg_abqp2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij(i32 noundef 3)
ret i32 0
}
declare i32 @abcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghijabcdefghijABCDEFGHIJabcdefghijABCDEFGHIJabcdefghij(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/tmp5tgeqmnm.c'
source_filename = "/tmp/tmp5tgeqmnm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @foo(i32 noundef 1)
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i64 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmp5tgeqmnm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 @foo(i32 noundef 1)
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (...) @abort() #3
unreachable
6: ; preds = %0
ret i32 0
}
declare i64 @foo(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpzzo3buqq.c'
source_filename = "/tmp/tmpzzo3buqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%i%i%i\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 [128 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [128 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [128 x i8], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [128 x i8], align 16
%17 = alloca i32, align 4
%18 = alloca [128 x i8], align 16
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = 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
%27 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 0
%28 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef 512)
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
br label %29
29: ; preds = %152, %2
%30 = load i32, ptr %8, align 4
%31 = icmp sle i32 %30, 50
br i1 %31, label %32, label %155
32: ; preds = %29
%33 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%34 = load i32, ptr %8, align 4
%35 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %33, ptr noundef @.str, i32 noundef %34)
store i32 %35, ptr %10, align 4
%36 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%37 = call ptr @strstr(ptr noundef %36, ptr noundef @.str.1)
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %40
39: ; preds = %32
br label %152
40: ; preds = %32
store i32 1, ptr %11, align 4
br label %41
41: ; preds = %148, %40
%42 = load i32, ptr %11, align 4
%43 = icmp slt i32 %42, 2000
br i1 %43, label %44, label %151
44: ; preds = %41
store i32 1, ptr %12, align 4
%45 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%46 = load i32, ptr %11, align 4
%47 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %45, ptr noundef @.str, i32 noundef %46)
store i32 %47, ptr %14, align 4
%48 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%49 = call ptr @strstr(ptr noundef %48, ptr noundef @.str.1)
%50 = icmp ne ptr %49, null
br i1 %50, label %51, label %52
51: ; preds = %44
br label %148
52: ; preds = %44
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %11, align 4
%55 = mul nsw i32 %53, %54
store i32 %55, ptr %15, align 4
%56 = load i32, ptr %15, align 4
%57 = icmp sgt i32 %56, 987654321
br i1 %57, label %58, label %59
58: ; preds = %52
br label %148
59: ; preds = %52
%60 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%61 = load i32, ptr %15, align 4
%62 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %60, ptr noundef @.str, i32 noundef %61)
store i32 %62, ptr %17, align 4
%63 = load i32, ptr %17, align 4
%64 = load i32, ptr %10, align 4
%65 = add nsw i32 %63, %64
%66 = load i32, ptr %14, align 4
%67 = add nsw i32 %65, %66
%68 = icmp ne i32 %67, 9
br i1 %68, label %69, label %70
69: ; preds = %59
br label %148
70: ; preds = %59
%71 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%72 = call ptr @strstr(ptr noundef %71, ptr noundef @.str.1)
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %75
74: ; preds = %70
br label %148
75: ; preds = %70
%76 = getelementptr inbounds [128 x i8], ptr %18, i64 0, i64 0
%77 = load i32, ptr %15, align 4
%78 = load i32, ptr %8, align 4
%79 = load i32, ptr %11, align 4
%80 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %76, ptr noundef @.str.2, i32 noundef %77, i32 noundef %78, i32 noundef %79)
store i32 %80, ptr %19, align 4
%81 = load i32, ptr %19, align 4
%82 = icmp ne i32 %81, 9
br i1 %82, label %83, label %84
83: ; preds = %75
br label %148
84: ; preds = %75
store i32 1, ptr %20, align 4
br label %85
85: ; preds = %113, %84
%86 = load i32, ptr %20, align 4
%87 = icmp sle i32 %86, 9
br i1 %87, label %88, label %116
88: ; preds = %85
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
br label %89
89: ; preds = %105, %88
%90 = load i32, ptr %22, align 4
%91 = icmp slt i32 %90, 9
br i1 %91, label %92, label %108
92: ; preds = %89
%93 = load i32, ptr %22, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [128 x i8], ptr %18, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = sub nsw i32 %97, 48
%99 = load i32, ptr %20, align 4
%100 = icmp eq i32 %98, %99
br i1 %100, label %101, label %104
101: ; preds = %92
%102 = load i32, ptr %21, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %21, align 4
br label %104
104: ; preds = %101, %92
br label %105
105: ; preds = %104
%106 = load i32, ptr %22, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %22, align 4
br label %89, !llvm.loop !6
108: ; preds = %89
%109 = load i32, ptr %21, align 4
%110 = icmp ne i32 %109, 1
br i1 %110, label %111, label %112
111: ; preds = %108
store i32 0, ptr %12, align 4
br label %116
112: ; preds = %108
br label %113
113: ; preds = %112
%114 = load i32, ptr %20, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %20, align 4
br label %85, !llvm.loop !8
116: ; preds = %111, %85
%117 = load i32, ptr %12, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %147
119: ; preds = %116
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
br label %120
120: ; preds = %133, %119
%121 = load i32, ptr %24, align 4
%122 = load i32, ptr %7, align 4
%123 = icmp slt i32 %121, %122
br i1 %123, label %124, label %136
124: ; preds = %120
%125 = load i32, ptr %24, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 %126
%128 = load i32, ptr %127, align 4
%129 = load i32, ptr %15, align 4
%130 = icmp eq i32 %128, %129
br i1 %130, label %131, label %132
131: ; preds = %124
store i32 1, ptr %23, align 4
br label %136
132: ; preds = %124
br label %133
133: ; preds = %132
%134 = load i32, ptr %24, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %24, align 4
br label %120, !llvm.loop !9
136: ; preds = %131, %120
%137 = load i32, ptr %23, align 4
%138 = icmp ne i32 %137, 0
br i1 %138, label %146, label %139
139: ; preds = %136
%140 = load i32, ptr %15, align 4
%141 = load i32, ptr %7, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 %142
store i32 %140, ptr %143, align 4
%144 = load i32, ptr %7, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %7, align 4
br label %146
146: ; preds = %139, %136
br label %147
147: ; preds = %146, %116
br label %148
148: ; preds = %147, %83, %74, %69, %58, %51
%149 = load i32, ptr %11, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %11, align 4
br label %41, !llvm.loop !10
151: ; preds = %41
br label %152
152: ; preds = %151, %39
%153 = load i32, ptr %8, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %8, align 4
br label %29, !llvm.loop !11
155: ; preds = %29
store i32 0, ptr %25, align 4
store i32 0, ptr %26, align 4
br label %156
156: ; preds = %167, %155
%157 = load i32, ptr %26, align 4
%158 = load i32, ptr %7, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %160, label %170
160: ; preds = %156
%161 = load i32, ptr %26, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 %162
%164 = load i32, ptr %163, align 4
%165 = load i32, ptr %25, align 4
%166 = add nsw i32 %165, %164
store i32 %166, ptr %25, align 4
br label %167
167: ; preds = %160
%168 = load i32, ptr %26, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %26, align 4
br label %156, !llvm.loop !12
170: ; preds = %156
%171 = load i32, ptr %25, align 4
%172 = call i32 @printf(ptr noundef @.str, i32 noundef %171)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzzo3buqq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"%i%i%i\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 [128 x i32], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [128 x i8], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [128 x i8], align 16
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca [128 x i8], align 16
%17 = alloca i32, align 4
%18 = alloca [128 x i8], align 16
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = 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
%27 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 0
%28 = call i32 @memset(ptr noundef %27, i32 noundef 0, i32 noundef 512)
store i32 0, ptr %7, align 4
store i32 1, ptr %8, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp sle i32 %29, 50
br i1 %30, label %.lr.ph10, label %161
.lr.ph10: ; preds = %2
br label %31
31: ; preds = %.lr.ph10, %156
%32 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%33 = load i32, ptr %8, align 4
%34 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %32, ptr noundef @.str, i32 noundef %33)
store i32 %34, ptr %10, align 4
%35 = getelementptr inbounds [128 x i8], ptr %9, i64 0, i64 0
%36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.1)
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %39
38: ; preds = %31
br label %156
39: ; preds = %31
store i32 1, ptr %11, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %40, 2000
br i1 %41, label %.lr.ph7, label %155
.lr.ph7: ; preds = %39
br label %42
42: ; preds = %.lr.ph7, %150
store i32 1, ptr %12, align 4
%43 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%44 = load i32, ptr %11, align 4
%45 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %43, ptr noundef @.str, i32 noundef %44)
store i32 %45, ptr %14, align 4
%46 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%47 = call ptr @strstr(ptr noundef %46, ptr noundef @.str.1)
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %50
49: ; preds = %42
br label %150
50: ; preds = %42
%51 = load i32, ptr %8, align 4
%52 = load i32, ptr %11, align 4
%53 = mul nsw i32 %51, %52
store i32 %53, ptr %15, align 4
%54 = load i32, ptr %15, align 4
%55 = icmp sgt i32 %54, 987654321
br i1 %55, label %56, label %57
56: ; preds = %50
br label %150
57: ; preds = %50
%58 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%59 = load i32, ptr %15, align 4
%60 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %58, ptr noundef @.str, i32 noundef %59)
store i32 %60, ptr %17, align 4
%61 = load i32, ptr %17, align 4
%62 = load i32, ptr %10, align 4
%63 = add nsw i32 %61, %62
%64 = load i32, ptr %14, align 4
%65 = add nsw i32 %63, %64
%66 = icmp ne i32 %65, 9
br i1 %66, label %67, label %68
67: ; preds = %57
br label %150
68: ; preds = %57
%69 = getelementptr inbounds [128 x i8], ptr %16, i64 0, i64 0
%70 = call ptr @strstr(ptr noundef %69, ptr noundef @.str.1)
%71 = icmp ne ptr %70, null
br i1 %71, label %72, label %73
72: ; preds = %68
br label %150
73: ; preds = %68
%74 = getelementptr inbounds [128 x i8], ptr %18, i64 0, i64 0
%75 = load i32, ptr %15, align 4
%76 = load i32, ptr %8, align 4
%77 = load i32, ptr %11, align 4
%78 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %74, ptr noundef @.str.2, i32 noundef %75, i32 noundef %76, i32 noundef %77)
store i32 %78, ptr %19, align 4
%79 = load i32, ptr %19, align 4
%80 = icmp ne i32 %79, 9
br i1 %80, label %81, label %82
81: ; preds = %73
br label %150
82: ; preds = %73
store i32 1, ptr %20, align 4
%83 = load i32, ptr %20, align 4
%84 = icmp sle i32 %83, 9
br i1 %84, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %82
br label %85
85: ; preds = %.lr.ph3, %111
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
%86 = load i32, ptr %22, align 4
%87 = icmp slt i32 %86, 9
br i1 %87, label %.lr.ph, label %106
.lr.ph: ; preds = %85
br label %88
88: ; preds = %.lr.ph, %101
%89 = load i32, ptr %22, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [128 x i8], ptr %18, i64 0, i64 %90
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = sub nsw i32 %93, 48
%95 = load i32, ptr %20, align 4
%96 = icmp eq i32 %94, %95
br i1 %96, label %97, label %100
97: ; preds = %88
%98 = load i32, ptr %21, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %21, align 4
br label %100
100: ; preds = %97, %88
br label %101
101: ; preds = %100
%102 = load i32, ptr %22, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %22, align 4
%104 = load i32, ptr %22, align 4
%105 = icmp slt i32 %104, 9
br i1 %105, label %88, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %101
br label %106
106: ; preds = %._crit_edge, %85
%107 = load i32, ptr %21, align 4
%108 = icmp ne i32 %107, 1
br i1 %108, label %109, label %110
109: ; preds = %106
store i32 0, ptr %12, align 4
br label %116
110: ; preds = %106
br label %111
111: ; preds = %110
%112 = load i32, ptr %20, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %20, align 4
%114 = load i32, ptr %20, align 4
%115 = icmp sle i32 %114, 9
br i1 %115, label %85, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %111
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %82
br label %116
116: ; preds = %.loopexit1, %109
%117 = load i32, ptr %12, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %149
119: ; preds = %116
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
%120 = load i32, ptr %24, align 4
%121 = load i32, ptr %7, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %119
br label %123
123: ; preds = %.lr.ph5, %132
%124 = load i32, ptr %24, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 %125
%127 = load i32, ptr %126, align 4
%128 = load i32, ptr %15, align 4
%129 = icmp eq i32 %127, %128
br i1 %129, label %130, label %131
130: ; preds = %123
store i32 1, ptr %23, align 4
br label %138
131: ; preds = %123
br label %132
132: ; preds = %131
%133 = load i32, ptr %24, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %24, align 4
%135 = load i32, ptr %24, align 4
%136 = load i32, ptr %7, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %123, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %132
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %119
br label %138
138: ; preds = %.loopexit, %130
%139 = load i32, ptr %23, align 4
%140 = icmp ne i32 %139, 0
br i1 %140, label %148, label %141
141: ; preds = %138
%142 = load i32, ptr %15, align 4
%143 = load i32, ptr %7, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 %144
store i32 %142, ptr %145, align 4
%146 = load i32, ptr %7, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %7, align 4
br label %148
148: ; preds = %141, %138
br label %149
149: ; preds = %148, %116
br label %150
150: ; preds = %149, %81, %72, %67, %56, %49
%151 = load i32, ptr %11, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %11, align 4
%153 = load i32, ptr %11, align 4
%154 = icmp slt i32 %153, 2000
br i1 %154, label %42, label %._crit_edge8, !llvm.loop !10
._crit_edge8: ; preds = %150
br label %155
155: ; preds = %._crit_edge8, %39
br label %156
156: ; preds = %155, %38
%157 = load i32, ptr %8, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %8, align 4
%159 = load i32, ptr %8, align 4
%160 = icmp sle i32 %159, 50
br i1 %160, label %31, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %156
br label %161
161: ; preds = %._crit_edge11, %2
store i32 0, ptr %25, align 4
store i32 0, ptr %26, align 4
%162 = load i32, ptr %26, align 4
%163 = load i32, ptr %7, align 4
%164 = icmp slt i32 %162, %163
br i1 %164, label %.lr.ph13, label %178
.lr.ph13: ; preds = %161
br label %165
165: ; preds = %.lr.ph13, %172
%166 = load i32, ptr %26, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [128 x i32], ptr %6, i64 0, i64 %167
%169 = load i32, ptr %168, align 4
%170 = load i32, ptr %25, align 4
%171 = add nsw i32 %170, %169
store i32 %171, ptr %25, align 4
br label %172
172: ; preds = %165
%173 = load i32, ptr %26, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %26, align 4
%175 = load i32, ptr %26, align 4
%176 = load i32, ptr %7, align 4
%177 = icmp slt i32 %175, %176
br i1 %177, label %165, label %._crit_edge14, !llvm.loop !12
._crit_edge14: ; preds = %172
br label %178
178: ; preds = %._crit_edge14, %161
%179 = load i32, ptr %25, align 4
%180 = call i32 @printf(ptr noundef @.str, i32 noundef %179)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmppw56vi7j.c'
source_filename = "/tmp/tmppw56vi7j.c"
target datalayout = "e-m:e-p270: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/tmppw56vi7j.c"
target datalayout = "e-m:e-p270: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/tmp6_el6ne7.c'
source_filename = "/tmp/tmp6_el6ne7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@sys_errlist = dso_local global ptr null, align 8
@sys_nerr = 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/tmp6_el6ne7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@sys_errlist = dso_local global ptr null, align 8
@sys_nerr = 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/tmp2l5y6drz.c'
source_filename = "/tmp/tmp2l5y6drz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xtAx(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca 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 i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = call ptr @dmatrix(i32 noundef 1, i32 noundef %15, i32 noundef 1, i32 noundef %16)
store ptr %17, ptr %11, align 8
store i32 1, ptr %12, align 4
br label %18
18: ; preds = %40, %5
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %22, label %43
22: ; preds = %18
store i32 1, ptr %13, align 4
br label %23
23: ; preds = %36, %22
%24 = load i32, ptr %13, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp sle i32 %24, %25
br i1 %26, label %27, label %39
27: ; preds = %23
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
store double 0.000000e+00, ptr %35, align 8
br label %36
36: ; preds = %27
%37 = load i32, ptr %13, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %13, align 4
br label %23, !llvm.loop !6
39: ; preds = %23
br label %40
40: ; preds = %39
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
br label %18, !llvm.loop !8
43: ; preds = %18
store i32 1, ptr %12, align 4
br label %44
44: ; preds = %66, %43
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %48, label %69
48: ; preds = %44
store i32 1, ptr %13, align 4
br label %49
49: ; preds = %62, %48
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %10, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %53, label %65
53: ; preds = %49
%54 = load ptr, ptr %11, align 8
%55 = load i32, ptr %12, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
store double 0.000000e+00, ptr %61, align 8
br label %62
62: ; preds = %53
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
br label %49, !llvm.loop !9
65: ; preds = %49
br label %66
66: ; preds = %65
%67 = load i32, ptr %12, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %12, align 4
br label %44, !llvm.loop !10
69: ; preds = %44
store i32 1, ptr %12, align 4
br label %70
70: ; preds = %155, %69
%71 = load i32, ptr %12, align 4
%72 = load i32, ptr %9, align 4
%73 = icmp sle i32 %71, %72
br i1 %73, label %74, label %158
74: ; preds = %70
store i32 1, ptr %13, align 4
br label %75
75: ; preds = %151, %74
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %10, align 4
%78 = icmp sle i32 %76, %77
br i1 %78, label %79, label %154
79: ; preds = %75
store i32 1, ptr %14, align 4
br label %80
80: ; preds = %147, %79
%81 = load i32, ptr %14, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp sle i32 %81, %82
br i1 %83, label %84, label %150
84: ; preds = %80
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %14, align 4
%87 = icmp sle i32 %85, %86
br i1 %87, label %88, label %117
88: ; preds = %84
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %12, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %14, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %93, i64 %95
%97 = load double, ptr %96, align 8
%98 = load ptr, ptr %7, align 8
%99 = load i32, ptr %14, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %13, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds double, ptr %102, i64 %104
%106 = load double, ptr %105, align 8
%107 = load ptr, ptr %11, align 8
%108 = load i32, ptr %12, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds ptr, ptr %107, i64 %109
%111 = load ptr, ptr %110, align 8
%112 = load i32, ptr %13, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, ptr %111, i64 %113
%115 = load double, ptr %114, align 8
%116 = call double @llvm.fmuladd.f64(double %97, double %106, double %115)
store double %116, ptr %114, align 8
br label %146
117: ; preds = %84
%118 = load ptr, ptr %6, align 8
%119 = load i32, ptr %14, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds ptr, ptr %118, i64 %120
%122 = load ptr, ptr %121, align 8
%123 = load i32, ptr %12, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %122, i64 %124
%126 = load double, ptr %125, align 8
%127 = load ptr, ptr %7, align 8
%128 = load i32, ptr %14, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds ptr, ptr %127, i64 %129
%131 = load ptr, ptr %130, align 8
%132 = load i32, ptr %13, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, ptr %131, i64 %133
%135 = load double, ptr %134, align 8
%136 = load ptr, ptr %11, align 8
%137 = load i32, ptr %12, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds ptr, ptr %136, i64 %138
%140 = load ptr, ptr %139, align 8
%141 = load i32, ptr %13, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, ptr %140, i64 %142
%144 = load double, ptr %143, align 8
%145 = call double @llvm.fmuladd.f64(double %126, double %135, double %144)
store double %145, ptr %143, align 8
br label %146
146: ; preds = %117, %88
br label %147
147: ; preds = %146
%148 = load i32, ptr %14, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %14, align 4
br label %80, !llvm.loop !11
150: ; preds = %80
br label %151
151: ; preds = %150
%152 = load i32, ptr %13, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %13, align 4
br label %75, !llvm.loop !12
154: ; preds = %75
br label %155
155: ; preds = %154
%156 = load i32, ptr %12, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %12, align 4
br label %70, !llvm.loop !13
158: ; preds = %70
store i32 1, ptr %12, align 4
br label %159
159: ; preds = %210, %158
%160 = load i32, ptr %12, align 4
%161 = load i32, ptr %10, align 4
%162 = icmp sle i32 %160, %161
br i1 %162, label %163, label %213
163: ; preds = %159
store i32 1, ptr %13, align 4
br label %164
164: ; preds = %206, %163
%165 = load i32, ptr %13, align 4
%166 = load i32, ptr %10, align 4
%167 = icmp sle i32 %165, %166
br i1 %167, label %168, label %209
168: ; preds = %164
store i32 1, ptr %14, align 4
br label %169
169: ; preds = %202, %168
%170 = load i32, ptr %14, align 4
%171 = load i32, ptr %9, align 4
%172 = icmp sle i32 %170, %171
br i1 %172, label %173, label %205
173: ; preds = %169
%174 = load ptr, ptr %7, align 8
%175 = load i32, ptr %14, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds ptr, ptr %174, i64 %176
%178 = load ptr, ptr %177, align 8
%179 = load i32, ptr %12, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %178, i64 %180
%182 = load double, ptr %181, align 8
%183 = load ptr, ptr %11, align 8
%184 = load i32, ptr %14, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds ptr, ptr %183, i64 %185
%187 = load ptr, ptr %186, align 8
%188 = load i32, ptr %13, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds double, ptr %187, i64 %189
%191 = load double, ptr %190, align 8
%192 = load ptr, ptr %8, align 8
%193 = load i32, ptr %12, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds ptr, ptr %192, i64 %194
%196 = load ptr, ptr %195, align 8
%197 = load i32, ptr %13, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, ptr %196, i64 %198
%200 = load double, ptr %199, align 8
%201 = call double @llvm.fmuladd.f64(double %182, double %191, double %200)
store double %201, ptr %199, align 8
br label %202
202: ; preds = %173
%203 = load i32, ptr %14, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %14, align 4
br label %169, !llvm.loop !14
205: ; preds = %169
br label %206
206: ; preds = %205
%207 = load i32, ptr %13, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %13, align 4
br label %164, !llvm.loop !15
209: ; preds = %164
br label %210
210: ; preds = %209
%211 = load i32, ptr %12, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %12, align 4
br label %159, !llvm.loop !16
213: ; preds = %159
store i32 1, ptr %12, align 4
br label %214
214: ; preds = %265, %213
%215 = load i32, ptr %12, align 4
%216 = load i32, ptr %10, align 4
%217 = icmp sle i32 %215, %216
br i1 %217, label %218, label %268
218: ; preds = %214
%219 = load i32, ptr %12, align 4
store i32 %219, ptr %13, align 4
br label %220
220: ; preds = %261, %218
%221 = load i32, ptr %13, align 4
%222 = load i32, ptr %10, align 4
%223 = icmp sle i32 %221, %222
br i1 %223, label %224, label %264
224: ; preds = %220
%225 = load ptr, ptr %8, align 8
%226 = load i32, ptr %12, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds ptr, ptr %225, i64 %227
%229 = load ptr, ptr %228, align 8
%230 = load i32, ptr %13, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double, ptr %229, i64 %231
%233 = load double, ptr %232, align 8
%234 = load ptr, ptr %8, align 8
%235 = load i32, ptr %13, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds ptr, ptr %234, i64 %236
%238 = load ptr, ptr %237, align 8
%239 = load i32, ptr %12, align 4
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds double, ptr %238, i64 %240
%242 = load double, ptr %241, align 8
%243 = fadd double %233, %242
%244 = fmul double 5.000000e-01, %243
%245 = load ptr, ptr %8, align 8
%246 = load i32, ptr %13, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds ptr, ptr %245, i64 %247
%249 = load ptr, ptr %248, align 8
%250 = load i32, ptr %12, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double, ptr %249, i64 %251
store double %244, ptr %252, align 8
%253 = load ptr, ptr %8, align 8
%254 = load i32, ptr %12, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds ptr, ptr %253, i64 %255
%257 = load ptr, ptr %256, align 8
%258 = load i32, ptr %13, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds double, ptr %257, i64 %259
store double %244, ptr %260, align 8
br label %261
261: ; preds = %224
%262 = load i32, ptr %13, align 4
%263 = add nsw i32 %262, 1
store i32 %263, ptr %13, align 4
br label %220, !llvm.loop !17
264: ; preds = %220
br label %265
265: ; preds = %264
%266 = load i32, ptr %12, align 4
%267 = add nsw i32 %266, 1
store i32 %267, ptr %12, align 4
br label %214, !llvm.loop !18
268: ; preds = %214
%269 = load ptr, ptr %11, align 8
%270 = load i32, ptr %9, align 4
%271 = load i32, ptr %10, align 4
%272 = call i32 @free_dmatrix(ptr noundef %269, i32 noundef 1, i32 noundef %270, i32 noundef 1, i32 noundef %271)
ret void
}
declare ptr @dmatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_dmatrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2l5y6drz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xtAx(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca 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 i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%15 = load i32, ptr %9, align 4
%16 = load i32, ptr %10, align 4
%17 = call ptr @dmatrix(i32 noundef 1, i32 noundef %15, i32 noundef 1, i32 noundef %16)
store ptr %17, ptr %11, align 8
store i32 1, ptr %12, align 4
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr %10, align 4
%20 = icmp sle i32 %18, %19
br i1 %20, label %.lr.ph2, label %47
.lr.ph2: ; preds = %5
br label %21
21: ; preds = %.lr.ph2, %41
store i32 1, ptr %13, align 4
%22 = load i32, ptr %13, align 4
%23 = load i32, ptr %10, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph, label %40
.lr.ph: ; preds = %21
br label %25
25: ; preds = %.lr.ph, %34
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %12, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds ptr, ptr %26, i64 %28
%30 = load ptr, ptr %29, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
store double 0.000000e+00, ptr %33, align 8
br label %34
34: ; preds = %25
%35 = load i32, ptr %13, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %13, align 4
%37 = load i32, ptr %13, align 4
%38 = load i32, ptr %10, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %21
br label %41
41: ; preds = %40
%42 = load i32, ptr %12, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %12, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %10, align 4
%46 = icmp sle i32 %44, %45
br i1 %46, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %47
47: ; preds = %._crit_edge3, %5
store i32 1, ptr %12, align 4
%48 = load i32, ptr %12, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %.lr.ph8, label %77
.lr.ph8: ; preds = %47
br label %51
51: ; preds = %.lr.ph8, %71
store i32 1, ptr %13, align 4
%52 = load i32, ptr %13, align 4
%53 = load i32, ptr %10, align 4
%54 = icmp sle i32 %52, %53
br i1 %54, label %.lr.ph5, label %70
.lr.ph5: ; preds = %51
br label %55
55: ; preds = %.lr.ph5, %64
%56 = load ptr, ptr %11, align 8
%57 = load i32, ptr %12, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
store double 0.000000e+00, ptr %63, align 8
br label %64
64: ; preds = %55
%65 = load i32, ptr %13, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %13, align 4
%67 = load i32, ptr %13, align 4
%68 = load i32, ptr %10, align 4
%69 = icmp sle i32 %67, %68
br i1 %69, label %55, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %70
70: ; preds = %._crit_edge6, %51
br label %71
71: ; preds = %70
%72 = load i32, ptr %12, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %12, align 4
%74 = load i32, ptr %12, align 4
%75 = load i32, ptr %9, align 4
%76 = icmp sle i32 %74, %75
br i1 %76, label %51, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %71
br label %77
77: ; preds = %._crit_edge9, %47
store i32 1, ptr %12, align 4
%78 = load i32, ptr %12, align 4
%79 = load i32, ptr %9, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %.lr.ph17, label %172
.lr.ph17: ; preds = %77
br label %81
81: ; preds = %.lr.ph17, %166
store i32 1, ptr %13, align 4
%82 = load i32, ptr %13, align 4
%83 = load i32, ptr %10, align 4
%84 = icmp sle i32 %82, %83
br i1 %84, label %.lr.ph14, label %165
.lr.ph14: ; preds = %81
br label %85
85: ; preds = %.lr.ph14, %159
store i32 1, ptr %14, align 4
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp sle i32 %86, %87
br i1 %88, label %.lr.ph11, label %158
.lr.ph11: ; preds = %85
br label %89
89: ; preds = %.lr.ph11, %152
%90 = load i32, ptr %12, align 4
%91 = load i32, ptr %14, align 4
%92 = icmp sle i32 %90, %91
br i1 %92, label %93, label %122
93: ; preds = %89
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %12, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds ptr, ptr %94, i64 %96
%98 = load ptr, ptr %97, align 8
%99 = load i32, ptr %14, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %98, i64 %100
%102 = load double, ptr %101, align 8
%103 = load ptr, ptr %7, align 8
%104 = load i32, ptr %14, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds ptr, ptr %103, i64 %105
%107 = load ptr, ptr %106, align 8
%108 = load i32, ptr %13, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, ptr %107, i64 %109
%111 = load double, ptr %110, align 8
%112 = load ptr, ptr %11, align 8
%113 = load i32, ptr %12, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds ptr, ptr %112, i64 %114
%116 = load ptr, ptr %115, align 8
%117 = load i32, ptr %13, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds double, ptr %116, i64 %118
%120 = load double, ptr %119, align 8
%121 = call double @llvm.fmuladd.f64(double %102, double %111, double %120)
store double %121, ptr %119, align 8
br label %151
122: ; preds = %89
%123 = load ptr, ptr %6, align 8
%124 = load i32, ptr %14, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds ptr, ptr %123, i64 %125
%127 = load ptr, ptr %126, align 8
%128 = load i32, ptr %12, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %127, i64 %129
%131 = load double, ptr %130, align 8
%132 = load ptr, ptr %7, align 8
%133 = load i32, ptr %14, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds ptr, ptr %132, i64 %134
%136 = load ptr, ptr %135, align 8
%137 = load i32, ptr %13, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
%140 = load double, ptr %139, align 8
%141 = load ptr, ptr %11, align 8
%142 = load i32, ptr %12, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds ptr, ptr %141, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = load i32, ptr %13, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load double, ptr %148, align 8
%150 = call double @llvm.fmuladd.f64(double %131, double %140, double %149)
store double %150, ptr %148, align 8
br label %151
151: ; preds = %122, %93
br label %152
152: ; preds = %151
%153 = load i32, ptr %14, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %14, align 4
%155 = load i32, ptr %14, align 4
%156 = load i32, ptr %9, align 4
%157 = icmp sle i32 %155, %156
br i1 %157, label %89, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %152
br label %158
158: ; preds = %._crit_edge12, %85
br label %159
159: ; preds = %158
%160 = load i32, ptr %13, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %13, align 4
%162 = load i32, ptr %13, align 4
%163 = load i32, ptr %10, align 4
%164 = icmp sle i32 %162, %163
br i1 %164, label %85, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %159
br label %165
165: ; preds = %._crit_edge15, %81
br label %166
166: ; preds = %165
%167 = load i32, ptr %12, align 4
%168 = add nsw i32 %167, 1
store i32 %168, ptr %12, align 4
%169 = load i32, ptr %12, align 4
%170 = load i32, ptr %9, align 4
%171 = icmp sle i32 %169, %170
br i1 %171, label %81, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %166
br label %172
172: ; preds = %._crit_edge18, %77
store i32 1, ptr %12, align 4
%173 = load i32, ptr %12, align 4
%174 = load i32, ptr %10, align 4
%175 = icmp sle i32 %173, %174
br i1 %175, label %.lr.ph26, label %233
.lr.ph26: ; preds = %172
br label %176
176: ; preds = %.lr.ph26, %227
store i32 1, ptr %13, align 4
%177 = load i32, ptr %13, align 4
%178 = load i32, ptr %10, align 4
%179 = icmp sle i32 %177, %178
br i1 %179, label %.lr.ph23, label %226
.lr.ph23: ; preds = %176
br label %180
180: ; preds = %.lr.ph23, %220
store i32 1, ptr %14, align 4
%181 = load i32, ptr %14, align 4
%182 = load i32, ptr %9, align 4
%183 = icmp sle i32 %181, %182
br i1 %183, label %.lr.ph20, label %219
.lr.ph20: ; preds = %180
br label %184
184: ; preds = %.lr.ph20, %213
%185 = load ptr, ptr %7, align 8
%186 = load i32, ptr %14, align 4
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds ptr, ptr %185, i64 %187
%189 = load ptr, ptr %188, align 8
%190 = load i32, ptr %12, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %189, i64 %191
%193 = load double, ptr %192, align 8
%194 = load ptr, ptr %11, align 8
%195 = load i32, ptr %14, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds ptr, ptr %194, i64 %196
%198 = load ptr, ptr %197, align 8
%199 = load i32, ptr %13, align 4
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds double, ptr %198, i64 %200
%202 = load double, ptr %201, align 8
%203 = load ptr, ptr %8, align 8
%204 = load i32, ptr %12, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds ptr, ptr %203, i64 %205
%207 = load ptr, ptr %206, align 8
%208 = load i32, ptr %13, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, ptr %207, i64 %209
%211 = load double, ptr %210, align 8
%212 = call double @llvm.fmuladd.f64(double %193, double %202, double %211)
store double %212, ptr %210, align 8
br label %213
213: ; preds = %184
%214 = load i32, ptr %14, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %14, align 4
%216 = load i32, ptr %14, align 4
%217 = load i32, ptr %9, align 4
%218 = icmp sle i32 %216, %217
br i1 %218, label %184, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %213
br label %219
219: ; preds = %._crit_edge21, %180
br label %220
220: ; preds = %219
%221 = load i32, ptr %13, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %13, align 4
%223 = load i32, ptr %13, align 4
%224 = load i32, ptr %10, align 4
%225 = icmp sle i32 %223, %224
br i1 %225, label %180, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %220
br label %226
226: ; preds = %._crit_edge24, %176
br label %227
227: ; preds = %226
%228 = load i32, ptr %12, align 4
%229 = add nsw i32 %228, 1
store i32 %229, ptr %12, align 4
%230 = load i32, ptr %12, align 4
%231 = load i32, ptr %10, align 4
%232 = icmp sle i32 %230, %231
br i1 %232, label %176, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %227
br label %233
233: ; preds = %._crit_edge27, %172
store i32 1, ptr %12, align 4
%234 = load i32, ptr %12, align 4
%235 = load i32, ptr %10, align 4
%236 = icmp sle i32 %234, %235
br i1 %236, label %.lr.ph32, label %292
.lr.ph32: ; preds = %233
br label %237
237: ; preds = %.lr.ph32, %286
%238 = load i32, ptr %12, align 4
store i32 %238, ptr %13, align 4
%239 = load i32, ptr %13, align 4
%240 = load i32, ptr %10, align 4
%241 = icmp sle i32 %239, %240
br i1 %241, label %.lr.ph29, label %285
.lr.ph29: ; preds = %237
br label %242
242: ; preds = %.lr.ph29, %279
%243 = load ptr, ptr %8, align 8
%244 = load i32, ptr %12, align 4
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds ptr, ptr %243, i64 %245
%247 = load ptr, ptr %246, align 8
%248 = load i32, ptr %13, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds double, ptr %247, i64 %249
%251 = load double, ptr %250, align 8
%252 = load ptr, ptr %8, align 8
%253 = load i32, ptr %13, align 4
%254 = sext i32 %253 to i64
%255 = getelementptr inbounds ptr, ptr %252, i64 %254
%256 = load ptr, ptr %255, align 8
%257 = load i32, ptr %12, align 4
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, ptr %256, i64 %258
%260 = load double, ptr %259, align 8
%261 = fadd double %251, %260
%262 = fmul double 5.000000e-01, %261
%263 = load ptr, ptr %8, align 8
%264 = load i32, ptr %13, align 4
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds ptr, ptr %263, i64 %265
%267 = load ptr, ptr %266, align 8
%268 = load i32, ptr %12, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds double, ptr %267, i64 %269
store double %262, ptr %270, align 8
%271 = load ptr, ptr %8, align 8
%272 = load i32, ptr %12, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds ptr, ptr %271, i64 %273
%275 = load ptr, ptr %274, align 8
%276 = load i32, ptr %13, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds double, ptr %275, i64 %277
store double %262, ptr %278, align 8
br label %279
279: ; preds = %242
%280 = load i32, ptr %13, align 4
%281 = add nsw i32 %280, 1
store i32 %281, ptr %13, align 4
%282 = load i32, ptr %13, align 4
%283 = load i32, ptr %10, align 4
%284 = icmp sle i32 %282, %283
br i1 %284, label %242, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %279
br label %285
285: ; preds = %._crit_edge30, %237
br label %286
286: ; preds = %285
%287 = load i32, ptr %12, align 4
%288 = add nsw i32 %287, 1
store i32 %288, ptr %12, align 4
%289 = load i32, ptr %12, align 4
%290 = load i32, ptr %10, align 4
%291 = icmp sle i32 %289, %290
br i1 %291, label %237, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %286
br label %292
292: ; preds = %._crit_edge33, %233
%293 = load ptr, ptr %11, align 8
%294 = load i32, ptr %9, align 4
%295 = load i32, ptr %10, align 4
%296 = call i32 @free_dmatrix(ptr noundef %293, i32 noundef 1, i32 noundef %294, i32 noundef 1, i32 noundef %295)
ret void
}
declare ptr @dmatrix(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free_dmatrix(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmpz1tnl_u6.c'
source_filename = "/tmp/tmpz1tnl_u6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n:\00", align 1
@optarg = dso_local global ptr null, align 8
@optind = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca 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 i32 10, ptr %6, align 4
br label %9
9: ; preds = %33, %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %7, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %34
14: ; preds = %9
%15 = load i32, ptr %7, align 4
switch i32 %15, label %31 [
i32 110, label %16
]
16: ; preds = %14
%17 = load ptr, ptr @optarg, align 8
%18 = call i32 @strtol(ptr noundef %17, ptr noundef %8, i32 noundef 10)
store i32 %18, ptr %6, align 4
%19 = load ptr, ptr @optarg, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %16
%24 = load ptr, ptr %8, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23, %16
%29 = call i32 (...) @_usage()
store i32 %29, ptr %3, align 4
br label %47
30: ; preds = %23
br label %33
31: ; preds = %14
%32 = call i32 (...) @_usage()
store i32 %32, ptr %3, align 4
br label %47
33: ; preds = %30
br label %9, !llvm.loop !6
34: ; preds = %9
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %4, align 4
%37 = load i32, ptr @optind, align 4
%38 = sub nsw i32 %36, %37
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr @optind, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = call i64 @_head(i32 noundef %35, i32 noundef %38, ptr noundef %42)
%44 = icmp eq i64 %43, 0
%45 = zext i1 %44 to i64
%46 = select i1 %44, i32 0, i32 2
store i32 %46, ptr %3, align 4
br label %47
47: ; preds = %34, %31, %28
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_usage(...) #1
declare i64 @_head(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1tnl_u6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"n:\00", align 1
@optarg = dso_local global ptr null, align 8
@optind = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca 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 i32 10, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt(i32 noundef %9, ptr noundef %10, ptr noundef @.str)
store i32 %11, ptr %7, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %.lr.ph, label %37
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %32
%14 = load i32, ptr %7, align 4
switch i32 %14, label %30 [
i32 110, label %15
]
15: ; preds = %13
%16 = load ptr, ptr @optarg, align 8
%17 = call i32 @strtol(ptr noundef %16, ptr noundef %8, i32 noundef 10)
store i32 %17, ptr %6, align 4
%18 = load ptr, ptr @optarg, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %15
%23 = load ptr, ptr %8, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %22, %15
%28 = call i32 (...) @_usage()
store i32 %28, ptr %3, align 4
br label %50
29: ; preds = %22
br label %32
30: ; preds = %13
%31 = call i32 (...) @_usage()
store i32 %31, ptr %3, align 4
br label %50
32: ; preds = %29
%33 = load i32, ptr %4, align 4
%34 = load ptr, ptr %5, align 8
%35 = call i32 @getopt(i32 noundef %33, ptr noundef %34, ptr noundef @.str)
store i32 %35, ptr %7, align 4
%36 = icmp ne i32 %35, -1
br i1 %36, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %2
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %4, align 4
%40 = load i32, ptr @optind, align 4
%41 = sub nsw i32 %39, %40
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr @optind, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = call i64 @_head(i32 noundef %38, i32 noundef %41, ptr noundef %45)
%47 = icmp eq i64 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i32 0, i32 2
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %37, %30, %27
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @_usage(...) #1
declare i64 @_head(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"}
|
; ModuleID = '/tmp/tmp48pqo8hn.c'
source_filename = "/tmp/tmp48pqo8hn.c"
target datalayout = "e-m:e-p270: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/tmp48pqo8hn.c"
target datalayout = "e-m:e-p270: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/tmppsbdcdob.c'
source_filename = "/tmp/tmppsbdcdob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @floattooctfloat(x86_fp80 noundef %0, ptr noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca ptr, align 8
%5 = alloca x86_fp80, align 16
%6 = alloca x86_fp80, align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store x86_fp80 %0, ptr %3, align 16
store ptr %1, ptr %4, align 8
store x86_fp80 0xK00000000000000000000, ptr %5, align 16
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
%9 = load x86_fp80, ptr %3, align 16
%10 = call x86_fp80 @modfl(x86_fp80 noundef %9, ptr noundef %5) #3
store x86_fp80 %10, ptr %6, align 16
%11 = call ptr @malloc(i32 noundef 128)
store ptr %11, ptr %7, align 8
%12 = call ptr @malloc(i32 noundef 128)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef 128)
%15 = load ptr, ptr %8, align 8
%16 = call i32 @memset(ptr noundef %15, i8 noundef signext 0, i32 noundef 128)
%17 = load x86_fp80, ptr %5, align 16
%18 = load ptr, ptr %7, align 8
%19 = call i32 @inttooct(x86_fp80 noundef %17, ptr noundef %18)
%20 = load x86_fp80, ptr %6, align 16
%21 = load ptr, ptr %8, align 8
%22 = call i32 @inttooctfloatpart(x86_fp80 noundef %20, ptr noundef %21, i32 noundef 127)
%23 = load ptr, ptr %4, align 8
%24 = call i32 @memset(ptr noundef %23, i8 noundef signext 0, i32 noundef 128)
%25 = load x86_fp80, ptr %3, align 16
%26 = fcmp olt x86_fp80 %25, 0xK00000000000000000000
br i1 %26, label %27, label %36
27: ; preds = %2
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 45
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %4, align 8
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str)
br label %36
36: ; preds = %33, %27, %2
%37 = load ptr, ptr %4, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i32 @strcat(ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = call i32 @strcat(ptr noundef %40, ptr noundef @.str.1)
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %8, align 8
%44 = call i32 @strcat(ptr noundef %42, ptr noundef %43)
ret void
}
; Function Attrs: nounwind
declare x86_fp80 @modfl(x86_fp80 noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #2
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2
declare i32 @inttooct(x86_fp80 noundef, ptr noundef) #2
declare i32 @inttooctfloatpart(x86_fp80 noundef, ptr noundef, i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppsbdcdob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @floattooctfloat(x86_fp80 noundef %0, ptr noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca ptr, align 8
%5 = alloca x86_fp80, align 16
%6 = alloca x86_fp80, align 16
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store x86_fp80 %0, ptr %3, align 16
store ptr %1, ptr %4, align 8
store x86_fp80 0xK00000000000000000000, ptr %5, align 16
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
%9 = load x86_fp80, ptr %3, align 16
%10 = call x86_fp80 @modfl(x86_fp80 noundef %9, ptr noundef %5) #3
store x86_fp80 %10, ptr %6, align 16
%11 = call ptr @malloc(i32 noundef 128)
store ptr %11, ptr %7, align 8
%12 = call ptr @malloc(i32 noundef 128)
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %7, align 8
%14 = call i32 @memset(ptr noundef %13, i8 noundef signext 0, i32 noundef 128)
%15 = load ptr, ptr %8, align 8
%16 = call i32 @memset(ptr noundef %15, i8 noundef signext 0, i32 noundef 128)
%17 = load x86_fp80, ptr %5, align 16
%18 = load ptr, ptr %7, align 8
%19 = call i32 @inttooct(x86_fp80 noundef %17, ptr noundef %18)
%20 = load x86_fp80, ptr %6, align 16
%21 = load ptr, ptr %8, align 8
%22 = call i32 @inttooctfloatpart(x86_fp80 noundef %20, ptr noundef %21, i32 noundef 127)
%23 = load ptr, ptr %4, align 8
%24 = call i32 @memset(ptr noundef %23, i8 noundef signext 0, i32 noundef 128)
%25 = load x86_fp80, ptr %3, align 16
%26 = fcmp olt x86_fp80 %25, 0xK00000000000000000000
br i1 %26, label %27, label %36
27: ; preds = %2
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 45
br i1 %32, label %33, label %36
33: ; preds = %27
%34 = load ptr, ptr %4, align 8
%35 = call i32 @strcpy(ptr noundef %34, ptr noundef @.str)
br label %36
36: ; preds = %33, %27, %2
%37 = load ptr, ptr %4, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i32 @strcat(ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %4, align 8
%41 = call i32 @strcat(ptr noundef %40, ptr noundef @.str.1)
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %8, align 8
%44 = call i32 @strcat(ptr noundef %42, ptr noundef %43)
ret void
}
; Function Attrs: nounwind
declare x86_fp80 @modfl(x86_fp80 noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #2
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #2
declare i32 @inttooct(x86_fp80 noundef, ptr noundef) #2
declare i32 @inttooctfloatpart(x86_fp80 noundef, ptr noundef, i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp51fr17_n.c'
source_filename = "/tmp/tmp51fr17_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"./ponmayusculas\00", align 1
@__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x i32], align 4
%7 = alloca [2 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [500 x i8], align 16
%14 = alloca i8, align 1
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [500 x i8], align 16
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca [2 x ptr], align 16
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 %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 -999, ptr %11, align 4
store i32 -999, ptr %12, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 -999, ptr %17, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr @O_CREAT, align 4
%28 = load i32, ptr @O_RDWR, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @O_APPEND, align 4
%31 = or i32 %29, %30
%32 = call i32 @open(ptr noundef %26, i32 noundef %31)
store i32 %32, ptr %10, align 4
%33 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%34 = call i32 @pipe(ptr noundef %33)
store i32 %34, ptr %8, align 4
store i32 0, ptr %8, align 4
%35 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%36 = call i32 @pipe(ptr noundef %35)
store i32 %36, ptr %8, align 4
%37 = call i32 (...) @fork()
store i32 %37, ptr %17, align 4
%38 = load i32, ptr %17, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %55
40: ; preds = %2
%41 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%45 = load i32, ptr %44, align 4
%46 = call i32 @close(i32 noundef %45)
%47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%48 = load i32, ptr %47, align 4
%49 = call i32 @dup2(i32 noundef %48, i32 noundef 0)
store i32 %49, ptr %22, align 4
%50 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%51 = load i32, ptr %50, align 4
%52 = call i32 @dup2(i32 noundef %51, i32 noundef 1)
store i32 %52, ptr %22, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 @__const.main.args, i64 16, i1 false)
%53 = getelementptr inbounds [2 x ptr], ptr %23, i64 0, i64 0
%54 = call i32 @execve(ptr noundef @.str, ptr noundef %53, ptr noundef null)
br label %128
55: ; preds = %2
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 1
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr @O_RDONLY, align 4
%60 = call i32 @open(ptr noundef %58, i32 noundef %59)
store i32 %60, ptr %9, align 4
%61 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%62 = load i32, ptr %61, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%65 = load i32, ptr %64, align 4
%66 = call i32 @close(i32 noundef %65)
br label %67
67: ; preds = %124, %55
%68 = load i32, ptr %9, align 4
%69 = call i32 (i32, ...) @read(i32 noundef %68, ptr noundef %14, i32 noundef 1)
store i32 %69, ptr %11, align 4
%70 = load i8, ptr %14, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 10
br i1 %72, label %73, label %80
73: ; preds = %67
%74 = load i8, ptr %14, align 1
%75 = load i32, ptr %16, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 %76
store i8 %74, ptr %77, align 1
%78 = load i32, ptr %16, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %16, align 4
br label %123
80: ; preds = %67
%81 = load i32, ptr %16, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 %83
store i8 0, ptr %84, align 1
%85 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 4
%86 = load i8, ptr %85, align 4
%87 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %86)
%88 = load i32, ptr %15, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %15, align 4
%90 = load i32, ptr %16, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %16, align 4
%92 = load i32, ptr %15, align 4
%93 = srem i32 %92, 2
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %106
95: ; preds = %80
%96 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%97 = load i32, ptr %96, align 4
%98 = call i32 (i32, ...) @write(i32 noundef %97, ptr noundef %16, i64 noundef 4)
store i32 %98, ptr %12, align 4
store i32 -999, ptr %12, align 4
%99 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%100 = load i32, ptr %99, align 4
%101 = load i32, ptr %16, align 4
%102 = call i32 (i32, ...) @write(i32 noundef %100, ptr noundef %13, i32 noundef %101)
store i32 %102, ptr %12, align 4
%103 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%104 = load i32, ptr %103, align 4
%105 = call i32 (i32, ...) @read(i32 noundef %104, ptr noundef %18, i64 noundef 500)
store i32 %105, ptr %11, align 4
br label %110
106: ; preds = %80
%107 = load i32, ptr %10, align 4
%108 = load i32, ptr %16, align 4
%109 = call i32 (i32, ...) @write(i32 noundef %107, ptr noundef %13, i32 noundef %108)
store i32 %109, ptr %12, align 4
br label %110
110: ; preds = %106, %95
store i32 0, ptr %16, align 4
br label %111
111: ; preds = %119, %110
%112 = load i32, ptr %16, align 4
%113 = sext i32 %112 to i64
%114 = icmp ult i64 %113, 500
br i1 %114, label %115, label %122
115: ; preds = %111
%116 = load i32, ptr %16, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 %117
store i8 32, ptr %118, align 1
br label %119
119: ; preds = %115
%120 = load i32, ptr %16, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %16, align 4
br label %111, !llvm.loop !6
122: ; preds = %111
store i32 0, ptr %16, align 4
br label %123
123: ; preds = %122, %73
br label %124
124: ; preds = %123
%125 = load i32, ptr %11, align 4
%126 = icmp ne i32 %125, 0
br i1 %126, label %67, label %127, !llvm.loop !8
127: ; preds = %124
br label %128
128: ; preds = %127, %40
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @write(i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51fr17_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"./ponmayusculas\00", align 1
@__const.main.args = private unnamed_addr constant [2 x ptr] [ptr @.str, ptr null], align 16
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [2 x i32], align 4
%7 = alloca [2 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [500 x i8], align 16
%14 = alloca i8, align 1
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [500 x i8], align 16
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca [2 x ptr], align 16
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 %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 -999, ptr %11, align 4
store i32 -999, ptr %12, align 4
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
store i32 -999, ptr %17, align 4
store i32 0, ptr %19, align 4
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr @O_CREAT, align 4
%28 = load i32, ptr @O_RDWR, align 4
%29 = or i32 %27, %28
%30 = load i32, ptr @O_APPEND, align 4
%31 = or i32 %29, %30
%32 = call i32 @open(ptr noundef %26, i32 noundef %31)
store i32 %32, ptr %10, align 4
%33 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%34 = call i32 @pipe(ptr noundef %33)
store i32 %34, ptr %8, align 4
store i32 0, ptr %8, align 4
%35 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%36 = call i32 @pipe(ptr noundef %35)
store i32 %36, ptr %8, align 4
%37 = call i32 (...) @fork()
store i32 %37, ptr %17, align 4
%38 = load i32, ptr %17, align 4
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %55
40: ; preds = %2
%41 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%45 = load i32, ptr %44, align 4
%46 = call i32 @close(i32 noundef %45)
%47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%48 = load i32, ptr %47, align 4
%49 = call i32 @dup2(i32 noundef %48, i32 noundef 0)
store i32 %49, ptr %22, align 4
%50 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%51 = load i32, ptr %50, align 4
%52 = call i32 @dup2(i32 noundef %51, i32 noundef 1)
store i32 %52, ptr %22, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 @__const.main.args, i64 16, i1 false)
%53 = getelementptr inbounds [2 x ptr], ptr %23, i64 0, i64 0
%54 = call i32 @execve(ptr noundef @.str, ptr noundef %53, ptr noundef null)
br label %130
55: ; preds = %2
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 1
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr @O_RDONLY, align 4
%60 = call i32 @open(ptr noundef %58, i32 noundef %59)
store i32 %60, ptr %9, align 4
%61 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
%62 = load i32, ptr %61, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1
%65 = load i32, ptr %64, align 4
%66 = call i32 @close(i32 noundef %65)
br label %67
67: ; preds = %126, %55
%68 = load i32, ptr %9, align 4
%69 = call i32 (i32, ...) @read(i32 noundef %68, ptr noundef %14, i32 noundef 1)
store i32 %69, ptr %11, align 4
%70 = load i8, ptr %14, align 1
%71 = sext i8 %70 to i32
%72 = icmp ne i32 %71, 10
br i1 %72, label %73, label %80
73: ; preds = %67
%74 = load i8, ptr %14, align 1
%75 = load i32, ptr %16, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 %76
store i8 %74, ptr %77, align 1
%78 = load i32, ptr %16, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %16, align 4
br label %125
80: ; preds = %67
%81 = load i32, ptr %16, align 4
%82 = add nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 %83
store i8 0, ptr %84, align 1
%85 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 4
%86 = load i8, ptr %85, align 4
%87 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %86)
%88 = load i32, ptr %15, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %15, align 4
%90 = load i32, ptr %16, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %16, align 4
%92 = load i32, ptr %15, align 4
%93 = srem i32 %92, 2
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %106
95: ; preds = %80
%96 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%97 = load i32, ptr %96, align 4
%98 = call i32 (i32, ...) @write(i32 noundef %97, ptr noundef %16, i64 noundef 4)
store i32 %98, ptr %12, align 4
store i32 -999, ptr %12, align 4
%99 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 1
%100 = load i32, ptr %99, align 4
%101 = load i32, ptr %16, align 4
%102 = call i32 (i32, ...) @write(i32 noundef %100, ptr noundef %13, i32 noundef %101)
store i32 %102, ptr %12, align 4
%103 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0
%104 = load i32, ptr %103, align 4
%105 = call i32 (i32, ...) @read(i32 noundef %104, ptr noundef %18, i64 noundef 500)
store i32 %105, ptr %11, align 4
br label %110
106: ; preds = %80
%107 = load i32, ptr %10, align 4
%108 = load i32, ptr %16, align 4
%109 = call i32 (i32, ...) @write(i32 noundef %107, ptr noundef %13, i32 noundef %108)
store i32 %109, ptr %12, align 4
br label %110
110: ; preds = %106, %95
store i32 0, ptr %16, align 4
%111 = load i32, ptr %16, align 4
%112 = sext i32 %111 to i64
%113 = icmp ult i64 %112, 500
br i1 %113, label %.lr.ph, label %124
.lr.ph: ; preds = %110
br label %114
114: ; preds = %.lr.ph, %118
%115 = load i32, ptr %16, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [500 x i8], ptr %13, i64 0, i64 %116
store i8 32, ptr %117, align 1
br label %118
118: ; preds = %114
%119 = load i32, ptr %16, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %16, align 4
%121 = load i32, ptr %16, align 4
%122 = sext i32 %121 to i64
%123 = icmp ult i64 %122, 500
br i1 %123, label %114, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %118
br label %124
124: ; preds = %._crit_edge, %110
store i32 0, ptr %16, align 4
br label %125
125: ; preds = %124, %73
br label %126
126: ; preds = %125
%127 = load i32, ptr %11, align 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %67, label %129, !llvm.loop !8
129: ; preds = %126
br label %130
130: ; preds = %129, %40
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @pipe(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare i32 @execve(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ...) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
declare i32 @write(i32 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpdbx3_927.c'
source_filename = "/tmp/tmpdbx3_927.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Once upon a time, there was...\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"od -c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @BUFSIZ, align 4
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %4, align 8
%10 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str)
%11 = call ptr @popen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %22
14: ; preds = %0
%15 = call i32 @strlen(ptr noundef %9)
%16 = load ptr, ptr %2, align 8
%17 = call i32 @fwrite(ptr noundef %9, i32 noundef 1, i32 noundef %15, ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @pclose(ptr noundef %18)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
%21 = call i32 @exit(i32 noundef %20) #4
unreachable
22: ; preds = %0
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sprintf(ptr noundef, ptr noundef) #2
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @pclose(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdbx3_927.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [32 x i8] c"Once upon a time, there was...\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"od -c\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = load i32, ptr @BUFSIZ, align 4
%6 = add nsw i32 %5, 1
%7 = zext i32 %6 to i64
%8 = call ptr @llvm.stacksave()
store ptr %8, ptr %3, align 8
%9 = alloca i8, i64 %7, align 16
store i64 %7, ptr %4, align 8
%10 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str)
%11 = call ptr @popen(ptr noundef @.str.1, ptr noundef @.str.2)
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %22
14: ; preds = %0
%15 = call i32 @strlen(ptr noundef %9)
%16 = load ptr, ptr %2, align 8
%17 = call i32 @fwrite(ptr noundef %9, i32 noundef 1, i32 noundef %15, ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = call i32 @pclose(ptr noundef %18)
%20 = load i32, ptr @EXIT_SUCCESS, align 4
%21 = call i32 @exit(i32 noundef %20) #4
unreachable
22: ; preds = %0
%23 = load i32, ptr @EXIT_FAILURE, align 4
%24 = call i32 @exit(i32 noundef %23) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sprintf(ptr noundef, ptr noundef) #2
declare ptr @popen(ptr noundef, ptr noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @pclose(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8xq7r9kl.c'
source_filename = "/tmp/tmp8xq7r9kl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"integer division: 5/4 is %d \0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"integer division: 6/3 is %d \0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"integer division: 7/4 is %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"floating division: 7./4. is %.2f \0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"mixed division: 7/4. is %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2)
%4 = call i32 @printf(ptr noundef @.str.2, i32 noundef 1)
%5 = call i32 @printf(ptr noundef @.str.3, i32 noundef 1)
%6 = call i32 @printf(ptr noundef @.str.4, i32 noundef 1)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8xq7r9kl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"integer division: 5/4 is %d \0A\00", align 1
@.str.1 = private unnamed_addr constant [33 x i8] c"integer division: 6/3 is %d \0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"integer division: 7/4 is %d \0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"floating division: 7./4. is %.2f \0A\00", align 1
@.str.4 = private unnamed_addr constant [35 x i8] c"mixed division: 7/4. is %.2f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, i32 noundef 1)
%3 = call i32 @printf(ptr noundef @.str.1, i32 noundef 2)
%4 = call i32 @printf(ptr noundef @.str.2, i32 noundef 1)
%5 = call i32 @printf(ptr noundef @.str.3, i32 noundef 1)
%6 = call i32 @printf(ptr noundef @.str.4, i32 noundef 1)
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"}
|
; ModuleID = '/tmp/tmppqt9oetf.c'
source_filename = "/tmp/tmppqt9oetf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mrf24j40_hard_reset() #0 {
%1 = call i32 @pmrf_reset_pin(i32 noundef 0)
%2 = call i32 @pmrf_delay_us(i32 noundef 500)
%3 = call i32 @pmrf_reset_pin(i32 noundef 1)
%4 = call i32 @pmrf_delay_us(i32 noundef 500)
ret void
}
declare i32 @pmrf_reset_pin(i32 noundef) #1
declare i32 @pmrf_delay_us(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/tmppqt9oetf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mrf24j40_hard_reset() #0 {
%1 = call i32 @pmrf_reset_pin(i32 noundef 0)
%2 = call i32 @pmrf_delay_us(i32 noundef 500)
%3 = call i32 @pmrf_reset_pin(i32 noundef 1)
%4 = call i32 @pmrf_delay_us(i32 noundef 500)
ret void
}
declare i32 @pmrf_reset_pin(i32 noundef) #1
declare i32 @pmrf_delay_us(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/tmp6xy_e6rt.c'
source_filename = "/tmp/tmp6xy_e6rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6xy_e6rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprwkbvsaj.c'
source_filename = "/tmp/tmprwkbvsaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mgc_create_identifier(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprwkbvsaj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mgc_create_identifier(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdh463nke.c'
source_filename = "/tmp/tmpdh463nke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"#include \22raid6.h\22\0A\00", align 1
@.str.1 = private unnamed_addr constant [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\09{\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\09\09\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"0x%02x, \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\09},\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@.str.8 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.10 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00", align 1
@.str.11 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\0A\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"};\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [256 x i32], align 16
%11 = alloca [256 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
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %44, %2
%15 = load i32, ptr %6, align 4
%16 = icmp slt i32 %15, 256
br i1 %16, label %17, label %47
17: ; preds = %14
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
br label %19
19: ; preds = %39, %17
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 256
br i1 %21, label %22, label %42
22: ; preds = %19
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
br label %24
24: ; preds = %34, %22
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 8
br i1 %26, label %27, label %37
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %29, %30
%32 = call i32 @gfmul(i32 noundef %28, i32 noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %32)
br label %34
34: ; preds = %27
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %24, !llvm.loop !6
37: ; preds = %24
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %39
39: ; preds = %37
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 8
store i32 %41, ptr %7, align 4
br label %19, !llvm.loop !8
42: ; preds = %19
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %44
44: ; preds = %42
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %14, !llvm.loop !9
47: ; preds = %14
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %9, align 4
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 0, ptr %6, align 4
br label %50
50: ; preds = %78, %47
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %51, 256
br i1 %52, label %53, label %81
53: ; preds = %50
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %73, %53
%56 = load i32, ptr %7, align 4
%57 = icmp slt i32 %56, 8
br i1 %57, label %58, label %76
58: ; preds = %55
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %6, align 4
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %60, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %63
store i32 %59, ptr %64, align 4
%65 = load i32, ptr %9, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %65)
%67 = load i32, ptr %9, align 4
%68 = call i32 @gfmul(i32 noundef %67, i32 noundef 2)
store i32 %68, ptr %9, align 4
%69 = load i32, ptr %9, align 4
%70 = icmp eq i32 %69, 1
br i1 %70, label %71, label %72
71: ; preds = %58
store i32 0, ptr %9, align 4
br label %72
72: ; preds = %71, %58
br label %73
73: ; preds = %72
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
br label %55, !llvm.loop !10
76: ; preds = %55
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %78
78: ; preds = %76
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 8
store i32 %80, ptr %6, align 4
br label %50, !llvm.loop !11
81: ; preds = %50
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %6, align 4
br label %84
84: ; preds = %109, %81
%85 = load i32, ptr %6, align 4
%86 = icmp slt i32 %85, 256
br i1 %86, label %87, label %112
87: ; preds = %84
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %7, align 4
br label %89
89: ; preds = %104, %87
%90 = load i32, ptr %7, align 4
%91 = icmp slt i32 %90, 8
br i1 %91, label %92, label %107
92: ; preds = %89
%93 = load i32, ptr %6, align 4
%94 = load i32, ptr %7, align 4
%95 = add nsw i32 %93, %94
%96 = call i32 @gfpow(i32 noundef %95, i32 noundef 254)
store i32 %96, ptr %9, align 4
%97 = load i32, ptr %6, align 4
%98 = load i32, ptr %7, align 4
%99 = add nsw i32 %97, %98
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %100
store i32 %96, ptr %101, align 4
%102 = load i32, ptr %9, align 4
%103 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %102)
br label %104
104: ; preds = %92
%105 = load i32, ptr %7, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %7, align 4
br label %89, !llvm.loop !12
107: ; preds = %89
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %109
109: ; preds = %107
%110 = load i32, ptr %6, align 4
%111 = add nsw i32 %110, 8
store i32 %111, ptr %6, align 4
br label %84, !llvm.loop !13
112: ; preds = %84
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %6, align 4
br label %115
115: ; preds = %140, %112
%116 = load i32, ptr %6, align 4
%117 = icmp slt i32 %116, 256
br i1 %117, label %118, label %143
118: ; preds = %115
%119 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %7, align 4
br label %120
120: ; preds = %135, %118
%121 = load i32, ptr %7, align 4
%122 = icmp slt i32 %121, 8
br i1 %122, label %123, label %138
123: ; preds = %120
%124 = load i32, ptr %6, align 4
%125 = load i32, ptr %7, align 4
%126 = add nsw i32 %124, %125
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %127
%129 = load i32, ptr %128, align 4
%130 = xor i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %131
%133 = load i32, ptr %132, align 4
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %133)
br label %135
135: ; preds = %123
%136 = load i32, ptr %7, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %7, align 4
br label %120, !llvm.loop !14
138: ; preds = %120
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %140
140: ; preds = %138
%141 = load i32, ptr %6, align 4
%142 = add nsw i32 %141, 8
store i32 %142, ptr %6, align 4
br label %115, !llvm.loop !15
143: ; preds = %115
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gfmul(i32 noundef, i32 noundef) #1
declare i32 @gfpow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdh463nke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"#include \22raid6.h\22\0A\00", align 1
@.str.1 = private unnamed_addr constant [68 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfmul[256][256] =\0A{\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\09{\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\09\09\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"0x%02x, \00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"\09},\0A\00", align 1
@.str.7 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
@.str.8 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexp[256] =\0A{\0A\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@.str.10 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfinv[256] =\0A{\0A\00", align 1
@.str.11 = private unnamed_addr constant [62 x i8] c"\0Aconst u8 __attribute__((aligned(256)))\0Araid6_gfexi[256] =\0A{\0A\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c"};\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [256 x i32], align 16
%11 = alloca [256 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
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 256
br i1 %15, label %.lr.ph5, label %50
.lr.ph5: ; preds = %2
br label %16
16: ; preds = %.lr.ph5, %45
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %18, 256
br i1 %19, label %.lr.ph2, label %43
.lr.ph2: ; preds = %16
br label %20
20: ; preds = %.lr.ph2, %38
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %22, 8
br i1 %23, label %.lr.ph, label %36
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %31
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %8, align 4
%28 = add nsw i32 %26, %27
%29 = call i32 @gfmul(i32 noundef %25, i32 noundef %28)
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29)
br label %31
31: ; preds = %24
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp slt i32 %34, 8
br i1 %35, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %20
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 8
store i32 %40, ptr %7, align 4
%41 = load i32, ptr %7, align 4
%42 = icmp slt i32 %41, 256
br i1 %42, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %16
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %45
45: ; preds = %43
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %48, 256
br i1 %49, label %16, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %50
50: ; preds = %._crit_edge6, %2
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %9, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 0, ptr %6, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %53, 256
br i1 %54, label %.lr.ph11, label %86
.lr.ph11: ; preds = %50
br label %55
55: ; preds = %.lr.ph11, %81
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %7, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp slt i32 %57, 8
br i1 %58, label %.lr.ph8, label %79
.lr.ph8: ; preds = %55
br label %59
59: ; preds = %.lr.ph8, %74
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %61, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %64
store i32 %60, ptr %65, align 4
%66 = load i32, ptr %9, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %66)
%68 = load i32, ptr %9, align 4
%69 = call i32 @gfmul(i32 noundef %68, i32 noundef 2)
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp eq i32 %70, 1
br i1 %71, label %72, label %73
72: ; preds = %59
store i32 0, ptr %9, align 4
br label %73
73: ; preds = %72, %59
br label %74
74: ; preds = %73
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
%77 = load i32, ptr %7, align 4
%78 = icmp slt i32 %77, 8
br i1 %78, label %59, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %74
br label %79
79: ; preds = %._crit_edge9, %55
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %81
81: ; preds = %79
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 8
store i32 %83, ptr %6, align 4
%84 = load i32, ptr %6, align 4
%85 = icmp slt i32 %84, 256
br i1 %85, label %55, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %81
br label %86
86: ; preds = %._crit_edge12, %50
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
store i32 0, ptr %6, align 4
%89 = load i32, ptr %6, align 4
%90 = icmp slt i32 %89, 256
br i1 %90, label %.lr.ph17, label %119
.lr.ph17: ; preds = %86
br label %91
91: ; preds = %.lr.ph17, %114
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %7, align 4
%93 = load i32, ptr %7, align 4
%94 = icmp slt i32 %93, 8
br i1 %94, label %.lr.ph14, label %112
.lr.ph14: ; preds = %91
br label %95
95: ; preds = %.lr.ph14, %107
%96 = load i32, ptr %6, align 4
%97 = load i32, ptr %7, align 4
%98 = add nsw i32 %96, %97
%99 = call i32 @gfpow(i32 noundef %98, i32 noundef 254)
store i32 %99, ptr %9, align 4
%100 = load i32, ptr %6, align 4
%101 = load i32, ptr %7, align 4
%102 = add nsw i32 %100, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %103
store i32 %99, ptr %104, align 4
%105 = load i32, ptr %9, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %105)
br label %107
107: ; preds = %95
%108 = load i32, ptr %7, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %7, align 4
%110 = load i32, ptr %7, align 4
%111 = icmp slt i32 %110, 8
br i1 %111, label %95, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %107
br label %112
112: ; preds = %._crit_edge15, %91
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %114
114: ; preds = %112
%115 = load i32, ptr %6, align 4
%116 = add nsw i32 %115, 8
store i32 %116, ptr %6, align 4
%117 = load i32, ptr %6, align 4
%118 = icmp slt i32 %117, 256
br i1 %118, label %91, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %114
br label %119
119: ; preds = %._crit_edge18, %86
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i32 0, ptr %6, align 4
%122 = load i32, ptr %6, align 4
%123 = icmp slt i32 %122, 256
br i1 %123, label %.lr.ph23, label %152
.lr.ph23: ; preds = %119
br label %124
124: ; preds = %.lr.ph23, %147
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
store i32 0, ptr %7, align 4
%126 = load i32, ptr %7, align 4
%127 = icmp slt i32 %126, 8
br i1 %127, label %.lr.ph20, label %145
.lr.ph20: ; preds = %124
br label %128
128: ; preds = %.lr.ph20, %140
%129 = load i32, ptr %6, align 4
%130 = load i32, ptr %7, align 4
%131 = add nsw i32 %129, %130
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [256 x i32], ptr %10, i64 0, i64 %132
%134 = load i32, ptr %133, align 4
%135 = xor i32 %134, 1
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %136
%138 = load i32, ptr %137, align 4
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %138)
br label %140
140: ; preds = %128
%141 = load i32, ptr %7, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %7, align 4
%143 = load i32, ptr %7, align 4
%144 = icmp slt i32 %143, 8
br i1 %144, label %128, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %140
br label %145
145: ; preds = %._crit_edge21, %124
%146 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %147
147: ; preds = %145
%148 = load i32, ptr %6, align 4
%149 = add nsw i32 %148, 8
store i32 %149, ptr %6, align 4
%150 = load i32, ptr %6, align 4
%151 = icmp slt i32 %150, 256
br i1 %151, label %124, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %147
br label %152
152: ; preds = %._crit_edge24, %119
%153 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gfmul(i32 noundef, i32 noundef) #1
declare i32 @gfpow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
|
; ModuleID = '/tmp/tmpnepf2vk7.c'
source_filename = "/tmp/tmpnepf2vk7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wdt_reset() #0 {
%1 = call i32 @usleep(i32 noundef 100)
ret void
}
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnepf2vk7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wdt_reset() #0 {
%1 = call i32 @usleep(i32 noundef 100)
ret void
}
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0lt9mfs0.c'
source_filename = "/tmp/tmp0lt9mfs0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @basis_calloc(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i64, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = mul nsw i64 %6, %8
%10 = call ptr @basis_malloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
ret ptr %11
}
declare ptr @basis_malloc(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/tmp0lt9mfs0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @basis_calloc(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i64, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = mul nsw i64 %6, %8
%10 = call ptr @basis_malloc(i64 noundef %9)
store ptr %10, ptr %5, align 8
%11 = load ptr, ptr %5, align 8
ret ptr %11
}
declare ptr @basis_malloc(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/tmpktgl93wx.c'
source_filename = "/tmp/tmpktgl93wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Not enough arguments...specify PID\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Invalid PID specified...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %26
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @atol(ptr noundef %14)
store i64 %15, ptr %6, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp sle i64 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %11
%19 = load i64, ptr %6, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18, %11
%22 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %26
23: ; preds = %18
%24 = load i64, ptr %6, align 8
%25 = call i32 @syscall(i32 noundef 288, i64 noundef %24)
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %23, %21, %9
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef) #1
declare i64 @atol(ptr noundef) #1
declare i32 @syscall(i32 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/tmpktgl93wx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Not enough arguments...specify PID\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Invalid PID specified...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %26
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i64 @atol(ptr noundef %14)
store i64 %15, ptr %6, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp sle i64 %16, 1
br i1 %17, label %21, label %18
18: ; preds = %11
%19 = load i64, ptr %6, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18, %11
%22 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %26
23: ; preds = %18
%24 = load i64, ptr %6, align 8
%25 = call i32 @syscall(i32 noundef 288, i64 noundef %24)
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %23, %21, %9
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef) #1
declare i64 @atol(ptr noundef) #1
declare i32 @syscall(i32 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/tmpppq1qv4u.c'
source_filename = "/tmp/tmpppq1qv4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"How many grades will you be entering? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Enter grade #%i: \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Grade average = %.2f\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Number of failures = %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 1, ptr %3, align 4
br label %10
10: ; preds = %27, %0
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %30
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp slt i32 %21, 65
br i1 %22, label %23, label %26
23: ; preds = %14
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %23, %14
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %10, !llvm.loop !6
30: ; preds = %10
%31 = load i32, ptr %5, align 4
%32 = sitofp i32 %31 to float
%33 = load i32, ptr %2, align 4
%34 = sitofp i32 %33 to float
%35 = fdiv float %32, %34
store float %35, ptr %7, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%37 = load float, ptr %7, align 4
%38 = fpext float %37 to double
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %38)
%40 = load i32, ptr %6, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %40)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppq1qv4u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"How many grades will you be entering? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Enter grade #%i: \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"Grade average = %.2f\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"Number of failures = %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 1, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %26
%14 = load i32, ptr %3, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14)
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%17 = load i32, ptr %4, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 65
br i1 %21, label %22, label %25
22: ; preds = %13
%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, %13
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %0
%33 = load i32, ptr %5, align 4
%34 = sitofp i32 %33 to float
%35 = load i32, ptr %2, align 4
%36 = sitofp i32 %35 to float
%37 = fdiv float %34, %36
store float %37, ptr %7, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%39 = load float, ptr %7, align 4
%40 = fpext float %39 to double
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %40)
%42 = load i32, ptr %6, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %42)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpllwdldqh.c'
source_filename = "/tmp/tmpllwdldqh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [10 x i32] [i32 5, i32 7, i32 3, i32 4, i32 10, i32 9, i32 6, i32 8, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [8 x i8] c"input: \00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"non-descending: \00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"non-ascending: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false)
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @display(ptr noundef %4, i32 noundef 10)
%6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @mergeSort(ptr noundef %6, i32 noundef 0, i32 noundef 9, i32 noundef 1)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%10 = call i32 @display(ptr noundef %9, i32 noundef 10)
%11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%12 = call i32 @mergeSort(ptr noundef %11, i32 noundef 0, i32 noundef 9, i32 noundef 2)
%13 = call i32 @printf(ptr noundef @.str.2)
%14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%15 = call i32 @display(ptr noundef %14, i32 noundef 10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @display(ptr noundef, i32 noundef) #2
declare i32 @mergeSort(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllwdldqh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [10 x i32] [i32 5, i32 7, i32 3, i32 4, i32 10, i32 9, i32 6, i32 8, i32 1, i32 2], align 16
@.str = private unnamed_addr constant [8 x i8] c"input: \00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"non-descending: \00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"non-ascending: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 40, i1 false)
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%5 = call i32 @display(ptr noundef %4, i32 noundef 10)
%6 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @mergeSort(ptr noundef %6, i32 noundef 0, i32 noundef 9, i32 noundef 1)
%8 = call i32 @printf(ptr noundef @.str.1)
%9 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%10 = call i32 @display(ptr noundef %9, i32 noundef 10)
%11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%12 = call i32 @mergeSort(ptr noundef %11, i32 noundef 0, i32 noundef 9, i32 noundef 2)
%13 = call i32 @printf(ptr noundef @.str.2)
%14 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%15 = call i32 @display(ptr noundef %14, i32 noundef 10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare i32 @display(ptr noundef, i32 noundef) #2
declare i32 @mergeSort(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpilybn4ov.c'
source_filename = "/tmp/tmpilybn4ov.c"
target datalayout = "e-m:e-p270: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/tmpilybn4ov.c"
target datalayout = "e-m:e-p270: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/tmp79x10166.c'
source_filename = "/tmp/tmp79x10166.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global float 0.000000e+00, align 4
@M_PI = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @acosf(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fcmp ogt float %4, 1.000000e+00
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load float, ptr %3, align 4
%8 = fcmp olt float %7, -1.000000e+00
br i1 %8, label %9, label %11
9: ; preds = %6, %1
%10 = call float (...) @__domain_error()
store float %10, ptr %2, align 4
br label %34
11: ; preds = %6
%12 = load float, ptr %3, align 4
%13 = call i64 @isnan(float noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load float, ptr @NAN, align 4
store float %16, ptr %2, align 4
br label %34
17: ; preds = %11
%18 = load i64, ptr @M_PI, align 8
%19 = sitofp i64 %18 to float
%20 = fdiv float %19, 2.000000e+00
%21 = load float, ptr %3, align 4
%22 = call float @__signf(float noundef %21)
%23 = load float, ptr %3, align 4
%24 = load float, ptr %3, align 4
%25 = load float, ptr %3, align 4
%26 = fneg float %24
%27 = call float @llvm.fmuladd.f32(float %26, float %25, float 1.000000e+00)
%28 = call float @sqrtf(float noundef %27) #4
%29 = fadd float 1.000000e+00, %28
%30 = fdiv float %23, %29
%31 = call float @atanf(float noundef %30) #4
%32 = fneg float %22
%33 = call float @llvm.fmuladd.f32(float %32, float %31, float %20)
store float %33, ptr %2, align 4
br label %34
34: ; preds = %17, %15, %9
%35 = load float, ptr %2, align 4
ret float %35
}
declare float @__domain_error(...) #1
declare i64 @isnan(float noundef) #1
declare float @__signf(float noundef) #1
; Function Attrs: nounwind
declare float @atanf(float noundef) #2
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp79x10166.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NAN = dso_local global float 0.000000e+00, align 4
@M_PI = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @acosf(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = fcmp ogt float %4, 1.000000e+00
br i1 %5, label %9, label %6
6: ; preds = %1
%7 = load float, ptr %3, align 4
%8 = fcmp olt float %7, -1.000000e+00
br i1 %8, label %9, label %11
9: ; preds = %6, %1
%10 = call float (...) @__domain_error()
store float %10, ptr %2, align 4
br label %34
11: ; preds = %6
%12 = load float, ptr %3, align 4
%13 = call i64 @isnan(float noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load float, ptr @NAN, align 4
store float %16, ptr %2, align 4
br label %34
17: ; preds = %11
%18 = load i64, ptr @M_PI, align 8
%19 = sitofp i64 %18 to float
%20 = fdiv float %19, 2.000000e+00
%21 = load float, ptr %3, align 4
%22 = call float @__signf(float noundef %21)
%23 = load float, ptr %3, align 4
%24 = load float, ptr %3, align 4
%25 = load float, ptr %3, align 4
%26 = fneg float %24
%27 = call float @llvm.fmuladd.f32(float %26, float %25, float 1.000000e+00)
%28 = call float @sqrtf(float noundef %27) #4
%29 = fadd float 1.000000e+00, %28
%30 = fdiv float %23, %29
%31 = call float @atanf(float noundef %30) #4
%32 = fneg float %22
%33 = call float @llvm.fmuladd.f32(float %32, float %31, float %20)
store float %33, ptr %2, align 4
br label %34
34: ; preds = %17, %15, %9
%35 = load float, ptr %2, align 4
ret float %35
}
declare float @__domain_error(...) #1
declare i64 @isnan(float noundef) #1
declare float @__signf(float noundef) #1
; Function Attrs: nounwind
declare float @atanf(float noundef) #2
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeiktebxw.c'
source_filename = "/tmp/tmpeiktebxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %25, %2
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %28
13: ; preds = %10
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
%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 = %13
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, -1
store i32 %27, ptr %5, align 4
br label %10, !llvm.loop !6
28: ; preds = %10
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeiktebxw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rev(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %24
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
%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 = %12
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp sge i32 %27, 0
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
store i8 0, ptr %33, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm7uh6l89.c'
source_filename = "/tmp/tmpm7uh6l89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_size_legend(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca [11 x i8], align 1
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = call i64 @read(i32 noundef %9, ptr noundef %6, i32 noundef 1)
%11 = load i8, ptr %6, align 1
%12 = sext i8 %11 to i32
%13 = icmp sge i32 %12, 48
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = load i8, ptr %6, align 1
%16 = sext i8 %15 to i32
%17 = icmp sle i32 %16, 57
br i1 %17, label %26, label %18
18: ; preds = %14, %2
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 43
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i8, ptr %6, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %26, label %29
26: ; preds = %22, %18, %14
%27 = load i8, ptr %6, align 1
%28 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
store i8 %27, ptr %28, align 1
br label %30
29: ; preds = %22
store i32 -1, ptr %3, align 4
br label %89
30: ; preds = %26
store i32 1, ptr %8, align 4
br label %31
31: ; preds = %45, %30
%32 = load i32, ptr %4, align 4
%33 = call i64 @read(i32 noundef %32, ptr noundef %6, i32 noundef 1)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %31
%36 = load i8, ptr %6, align 1
%37 = sext i8 %36 to i32
%38 = icmp sge i32 %37, 48
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i8, ptr %6, align 1
%41 = sext i8 %40 to i32
%42 = icmp sle i32 %41, 57
br label %43
43: ; preds = %39, %35, %31
%44 = phi i1 [ false, %35 ], [ false, %31 ], [ %42, %39 ]
br i1 %44, label %45, label %52
45: ; preds = %43
%46 = load i8, ptr %6, align 1
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 %48
store i8 %46, ptr %49, align 1
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
br label %31, !llvm.loop !6
52: ; preds = %43
store i32 -1, ptr %8, align 4
br label %53
53: ; preds = %57, %52
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %8, align 4
%56 = icmp slt i32 %55, 3
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load i8, ptr %6, align 1
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %8, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store i8 %58, ptr %62, align 1
%63 = load i32, ptr %4, align 4
%64 = call i64 @read(i32 noundef %63, ptr noundef %6, i32 noundef 1)
br label %53, !llvm.loop !8
65: ; preds = %53
%66 = load ptr, ptr %5, align 8
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 0, ptr %69, align 1
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 %71
store i8 0, ptr %72, align 1
%73 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 43
br i1 %76, label %82, label %77
77: ; preds = %65
%78 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 45
br i1 %81, label %82, label %86
82: ; preds = %77, %65
%83 = load i32, ptr %8, align 4
%84 = icmp eq i32 %83, 1
br i1 %84, label %85, label %86
85: ; preds = %82
store i32 -1, ptr %3, align 4
br label %89
86: ; preds = %82, %77
%87 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%88 = call i32 @string_to_int(ptr noundef %87)
store i32 %88, ptr %3, align 4
br label %89
89: ; preds = %86, %85, %29
%90 = load i32, ptr %3, align 4
ret i32 %90
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @string_to_int(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpm7uh6l89.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_size_legend(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca [11 x i8], align 1
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = call i64 @read(i32 noundef %9, ptr noundef %6, i32 noundef 1)
%11 = load i8, ptr %6, align 1
%12 = sext i8 %11 to i32
%13 = icmp sge i32 %12, 48
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = load i8, ptr %6, align 1
%16 = sext i8 %15 to i32
%17 = icmp sle i32 %16, 57
br i1 %17, label %26, label %18
18: ; preds = %14, %2
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 43
br i1 %21, label %26, label %22
22: ; preds = %18
%23 = load i8, ptr %6, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 45
br i1 %25, label %26, label %29
26: ; preds = %22, %18, %14
%27 = load i8, ptr %6, align 1
%28 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
store i8 %27, ptr %28, align 1
br label %30
29: ; preds = %22
store i32 -1, ptr %3, align 4
br label %91
30: ; preds = %26
store i32 1, ptr %8, align 4
br label %31
31: ; preds = %45, %30
%32 = load i32, ptr %4, align 4
%33 = call i64 @read(i32 noundef %32, ptr noundef %6, i32 noundef 1)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %43
35: ; preds = %31
%36 = load i8, ptr %6, align 1
%37 = sext i8 %36 to i32
%38 = icmp sge i32 %37, 48
br i1 %38, label %39, label %43
39: ; preds = %35
%40 = load i8, ptr %6, align 1
%41 = sext i8 %40 to i32
%42 = icmp sle i32 %41, 57
br label %43
43: ; preds = %39, %35, %31
%44 = phi i1 [ false, %35 ], [ false, %31 ], [ %42, %39 ]
br i1 %44, label %45, label %52
45: ; preds = %43
%46 = load i8, ptr %6, align 1
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 %48
store i8 %46, ptr %49, align 1
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
br label %31, !llvm.loop !6
52: ; preds = %43
store i32 -1, ptr %8, align 4
%53 = load i32, ptr %8, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %8, align 4
%55 = icmp slt i32 %54, 3
br i1 %55, label %.lr.ph, label %67
.lr.ph: ; preds = %52
br label %56
56: ; preds = %.lr.ph, %56
%57 = load i8, ptr %6, align 1
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %8, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 %57, ptr %61, align 1
%62 = load i32, ptr %4, align 4
%63 = call i64 @read(i32 noundef %62, ptr noundef %6, i32 noundef 1)
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
%66 = icmp slt i32 %65, 3
br i1 %66, label %56, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %56
br label %67
67: ; preds = %._crit_edge, %52
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
store i8 0, ptr %71, align 1
%72 = load i32, ptr %8, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 %73
store i8 0, ptr %74, align 1
%75 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 43
br i1 %78, label %84, label %79
79: ; preds = %67
%80 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%81 = load i8, ptr %80, align 1
%82 = sext i8 %81 to i32
%83 = icmp eq i32 %82, 45
br i1 %83, label %84, label %88
84: ; preds = %79, %67
%85 = load i32, ptr %8, align 4
%86 = icmp eq i32 %85, 1
br i1 %86, label %87, label %88
87: ; preds = %84
store i32 -1, ptr %3, align 4
br label %91
88: ; preds = %84, %79
%89 = getelementptr inbounds [11 x i8], ptr %7, i64 0, i64 0
%90 = call i32 @string_to_int(ptr noundef %89)
store i32 %90, ptr %3, align 4
br label %91
91: ; preds = %88, %87, %29
%92 = load i32, ptr %3, align 4
ret i32 %92
}
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @string_to_int(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8fgca2zh.c'
source_filename = "/tmp/tmp8fgca2zh.c"
target datalayout = "e-m:e-p270: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/tmp8fgca2zh.c"
target datalayout = "e-m:e-p270: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/tmpteayfia7.c'
source_filename = "/tmp/tmpteayfia7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ecl2fk4(ptr noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = call i32 @ecl2fk5(ptr noundef %7, ptr noundef %8, double noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load double, ptr %6, align 8
%14 = call i32 @fk524e(ptr noundef %11, ptr noundef %12, double noundef %13)
ret void
}
declare i32 @ecl2fk5(ptr noundef, ptr noundef, double noundef) #1
declare i32 @fk524e(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpteayfia7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ecl2fk4(ptr noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = call i32 @ecl2fk5(ptr noundef %7, ptr noundef %8, double noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load double, ptr %6, align 8
%14 = call i32 @fk524e(ptr noundef %11, ptr noundef %12, double noundef %13)
ret void
}
declare i32 @ecl2fk5(ptr noundef, ptr noundef, double noundef) #1
declare i32 @fk524e(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb7g2lli8.c'
source_filename = "/tmp/tmpb7g2lli8.c"
target datalayout = "e-m:e-p270: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/tmpb7g2lli8.c"
target datalayout = "e-m:e-p270: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/tmpbrmyft45.c'
source_filename = "/tmp/tmpbrmyft45.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_raw_copy(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = 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
store i64 %3, ptr %8, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %8, align 8
%16 = mul i64 %14, %15
%17 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i64 noundef %16)
br label %18
18: ; preds = %11, %4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbrmyft45.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_raw_copy(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = 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
store i64 %3, ptr %8, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp ugt i64 %9, 0
br i1 %10, label %11, label %18
11: ; preds = %4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = load i64, ptr %8, align 8
%16 = mul i64 %14, %15
%17 = call i32 @memcpy(ptr noundef %12, ptr noundef %13, i64 noundef %16)
br label %18
18: ; preds = %11, %4
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoiuvsjbd.c'
source_filename = "/tmp/tmpoiuvsjbd.c"
target datalayout = "e-m:e-p270: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/tmpoiuvsjbd.c"
target datalayout = "e-m:e-p270: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/tmptc6cmhut.c'
source_filename = "/tmp/tmptc6cmhut.c"
target datalayout = "e-m:e-p270: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/tmptc6cmhut.c"
target datalayout = "e-m:e-p270: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/tmprahk_lon.c'
source_filename = "/tmp/tmprahk_lon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2rat(double noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%18 = load double, ptr %5, align 8
%19 = call double @llvm.floor.f64(double %18)
store double %19, ptr %9, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %9, align 8
%22 = fsub double %20, %21
store double %22, ptr %10, align 8
store double 0.000000e+00, ptr %12, align 8
store double 1.000000e+00, ptr %13, align 8
store double 1.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
%23 = load double, ptr %9, align 8
%24 = load double, ptr %13, align 8
%25 = load double, ptr %12, align 8
%26 = call double @llvm.fmuladd.f64(double %23, double %24, double %25)
store double %26, ptr %16, align 8
%27 = load double, ptr %9, align 8
%28 = load double, ptr %15, align 8
%29 = load double, ptr %14, align 8
%30 = call double @llvm.fmuladd.f64(double %27, double %28, double %29)
store double %30, ptr %17, align 8
br label %31
31: ; preds = %42, %4
%32 = load double, ptr %17, align 8
%33 = load i32, ptr %6, align 4
%34 = sitofp i32 %33 to double
%35 = fcmp ole double %32, %34
br i1 %35, label %36, label %62
36: ; preds = %31
%37 = load double, ptr %10, align 8
%38 = call i32 @fabs(double noundef %37)
%39 = sitofp i32 %38 to double
%40 = fcmp olt double %39, 1.000000e-10
br i1 %40, label %41, label %42
41: ; preds = %36
br label %62
42: ; preds = %36
%43 = load double, ptr %10, align 8
%44 = fdiv double 1.000000e+00, %43
store double %44, ptr %11, align 8
%45 = load double, ptr %11, align 8
%46 = call double @llvm.floor.f64(double %45)
store double %46, ptr %9, align 8
%47 = load double, ptr %11, align 8
%48 = load double, ptr %9, align 8
%49 = fsub double %47, %48
store double %49, ptr %10, align 8
%50 = load double, ptr %13, align 8
store double %50, ptr %12, align 8
%51 = load double, ptr %16, align 8
store double %51, ptr %13, align 8
%52 = load double, ptr %15, align 8
store double %52, ptr %14, align 8
%53 = load double, ptr %17, align 8
store double %53, ptr %15, align 8
%54 = load double, ptr %9, align 8
%55 = load double, ptr %13, align 8
%56 = load double, ptr %12, align 8
%57 = call double @llvm.fmuladd.f64(double %54, double %55, double %56)
store double %57, ptr %16, align 8
%58 = load double, ptr %9, align 8
%59 = load double, ptr %15, align 8
%60 = load double, ptr %14, align 8
%61 = call double @llvm.fmuladd.f64(double %58, double %59, double %60)
store double %61, ptr %17, align 8
br label %31, !llvm.loop !6
62: ; preds = %41, %31
%63 = load double, ptr %17, align 8
%64 = fptosi double %63 to i32
%65 = load ptr, ptr %8, align 8
store i32 %64, ptr %65, align 4
%66 = load double, ptr %16, align 8
%67 = fptosi double %66 to i32
%68 = load ptr, ptr %7, align 8
store i32 %67, ptr %68, align 4
ret void
}
; 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
declare i32 @fabs(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprahk_lon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2rat(double noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store double %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%18 = load double, ptr %5, align 8
%19 = call double @llvm.floor.f64(double %18)
store double %19, ptr %9, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %9, align 8
%22 = fsub double %20, %21
store double %22, ptr %10, align 8
store double 0.000000e+00, ptr %12, align 8
store double 1.000000e+00, ptr %13, align 8
store double 1.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %15, align 8
%23 = load double, ptr %9, align 8
%24 = load double, ptr %13, align 8
%25 = load double, ptr %12, align 8
%26 = call double @llvm.fmuladd.f64(double %23, double %24, double %25)
store double %26, ptr %16, align 8
%27 = load double, ptr %9, align 8
%28 = load double, ptr %15, align 8
%29 = load double, ptr %14, align 8
%30 = call double @llvm.fmuladd.f64(double %27, double %28, double %29)
store double %30, ptr %17, align 8
%31 = load double, ptr %17, align 8
%32 = load i32, ptr %6, align 4
%33 = sitofp i32 %32 to double
%34 = fcmp ole double %31, %33
br i1 %34, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %4
br label %35
35: ; preds = %.lr.ph, %41
%36 = load double, ptr %10, align 8
%37 = call i32 @fabs(double noundef %36)
%38 = sitofp i32 %37 to double
%39 = fcmp olt double %38, 1.000000e-10
br i1 %39, label %40, label %41
40: ; preds = %35
br label %65
41: ; preds = %35
%42 = load double, ptr %10, align 8
%43 = fdiv double 1.000000e+00, %42
store double %43, ptr %11, align 8
%44 = load double, ptr %11, align 8
%45 = call double @llvm.floor.f64(double %44)
store double %45, ptr %9, align 8
%46 = load double, ptr %11, align 8
%47 = load double, ptr %9, align 8
%48 = fsub double %46, %47
store double %48, ptr %10, align 8
%49 = load double, ptr %13, align 8
store double %49, ptr %12, align 8
%50 = load double, ptr %16, align 8
store double %50, ptr %13, align 8
%51 = load double, ptr %15, align 8
store double %51, ptr %14, align 8
%52 = load double, ptr %17, align 8
store double %52, ptr %15, align 8
%53 = load double, ptr %9, align 8
%54 = load double, ptr %13, align 8
%55 = load double, ptr %12, align 8
%56 = call double @llvm.fmuladd.f64(double %53, double %54, double %55)
store double %56, ptr %16, align 8
%57 = load double, ptr %9, align 8
%58 = load double, ptr %15, align 8
%59 = load double, ptr %14, align 8
%60 = call double @llvm.fmuladd.f64(double %57, double %58, double %59)
store double %60, ptr %17, align 8
%61 = load double, ptr %17, align 8
%62 = load i32, ptr %6, align 4
%63 = sitofp i32 %62 to double
%64 = fcmp ole double %61, %63
br i1 %64, label %35, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %41
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %65
65: ; preds = %.loopexit, %40
%66 = load double, ptr %17, align 8
%67 = fptosi double %66 to i32
%68 = load ptr, ptr %8, align 8
store i32 %67, ptr %68, align 4
%69 = load double, ptr %16, align 8
%70 = fptosi double %69 to i32
%71 = load ptr, ptr %7, align 8
store i32 %70, ptr %71, align 4
ret void
}
; 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
declare i32 @fabs(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwwqnwrjv.c'
source_filename = "/tmp/tmpwwqnwrjv.c"
target datalayout = "e-m:e-p270: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.fb_var_screeninfo = type { i32, i32, i32 }
%struct.fb_fix_screeninfo = type { i32, i32, i32 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"Error: cannot open framebuffer device.\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"The framebuffer device was opened successfully.\0A\00", align 1
@FBIOGET_FSCREENINFO = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [34 x i8] c"Error reading fixed information.\0A\00", align 1
@FBIOGET_VSCREENINFO = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"Error reading variable information.\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [52 x i8] c"Error: failed to map framebuffer device to memory.\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"screen size : %d\00", align 1
@.str.7 = private unnamed_addr constant [59 x i8] c"The framebuffer device was mapped to memory successfully.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.fb_var_screeninfo, align 4
%4 = alloca %struct.fb_fix_screeninfo, align 4
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i64 0, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %0
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr @FBIOGET_FSCREENINFO, align 4
%18 = call i64 @ioctl(i32 noundef %16, i32 noundef %17, ptr noundef %4)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%22 = call i32 @exit(i32 noundef 2) #3
unreachable
23: ; preds = %14
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr @FBIOGET_VSCREENINFO, align 4
%26 = call i64 @ioctl(i32 noundef %24, i32 noundef %25, ptr noundef %3)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = call i32 @exit(i32 noundef 3) #3
unreachable
31: ; preds = %23
%32 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %3, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %3, i32 0, i32 1
%35 = load i32, ptr %34, align 4
%36 = mul nsw i32 %33, %35
%37 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %3, i32 0, i32 2
%38 = load i32, ptr %37, align 4
%39 = mul nsw i32 %36, %38
%40 = sdiv i32 %39, 8
%41 = sext i32 %40 to i64
store i64 %41, ptr %5, align 8
%42 = load i64, ptr %5, align 8
%43 = load i32, ptr @PROT_READ, align 4
%44 = load i32, ptr @PROT_WRITE, align 4
%45 = or i32 %43, %44
%46 = load i32, ptr @MAP_SHARED, align 4
%47 = load i32, ptr %2, align 4
%48 = call i64 @mmap(i32 noundef 0, i64 noundef %42, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef 0)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = ptrtoint ptr %50 to i32
%52 = icmp eq i32 %51, -1
br i1 %52, label %53, label %56
53: ; preds = %31
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%55 = call i32 @exit(i32 noundef 4) #3
unreachable
56: ; preds = %31
%57 = load i64, ptr %5, align 8
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %5, align 8
%62 = call i32 @munmap(ptr noundef %60, i64 noundef %61)
%63 = load i32, ptr %2, align 4
%64 = call i32 @close(i32 noundef %63)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwwqnwrjv.c"
target datalayout = "e-m:e-p270: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.fb_var_screeninfo = type { i32, i32, i32 }
%struct.fb_fix_screeninfo = type { i32, i32, i32 }
@.str = private unnamed_addr constant [9 x i8] c"/dev/fb0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [40 x i8] c"Error: cannot open framebuffer device.\0A\00", align 1
@.str.2 = private unnamed_addr constant [49 x i8] c"The framebuffer device was opened successfully.\0A\00", align 1
@FBIOGET_FSCREENINFO = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [34 x i8] c"Error reading fixed information.\0A\00", align 1
@FBIOGET_VSCREENINFO = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"Error reading variable information.\0A\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [52 x i8] c"Error: failed to map framebuffer device to memory.\0A\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"screen size : %d\00", align 1
@.str.7 = private unnamed_addr constant [59 x i8] c"The framebuffer device was mapped to memory successfully.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca %struct.fb_var_screeninfo, align 4
%4 = alloca %struct.fb_fix_screeninfo, align 4
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i64 0, ptr %5, align 8
store ptr null, ptr %6, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%13 = call i32 @exit(i32 noundef 1) #3
unreachable
14: ; preds = %0
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr @FBIOGET_FSCREENINFO, align 4
%18 = call i64 @ioctl(i32 noundef %16, i32 noundef %17, ptr noundef %4)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%22 = call i32 @exit(i32 noundef 2) #3
unreachable
23: ; preds = %14
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr @FBIOGET_VSCREENINFO, align 4
%26 = call i64 @ioctl(i32 noundef %24, i32 noundef %25, ptr noundef %3)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %23
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%30 = call i32 @exit(i32 noundef 3) #3
unreachable
31: ; preds = %23
%32 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %3, i32 0, i32 0
%33 = load i32, ptr %32, align 4
%34 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %3, i32 0, i32 1
%35 = load i32, ptr %34, align 4
%36 = mul nsw i32 %33, %35
%37 = getelementptr inbounds %struct.fb_var_screeninfo, ptr %3, i32 0, i32 2
%38 = load i32, ptr %37, align 4
%39 = mul nsw i32 %36, %38
%40 = sdiv i32 %39, 8
%41 = sext i32 %40 to i64
store i64 %41, ptr %5, align 8
%42 = load i64, ptr %5, align 8
%43 = load i32, ptr @PROT_READ, align 4
%44 = load i32, ptr @PROT_WRITE, align 4
%45 = or i32 %43, %44
%46 = load i32, ptr @MAP_SHARED, align 4
%47 = load i32, ptr %2, align 4
%48 = call i64 @mmap(i32 noundef 0, i64 noundef %42, i32 noundef %45, i32 noundef %46, i32 noundef %47, i32 noundef 0)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %6, align 8
%50 = load ptr, ptr %6, align 8
%51 = ptrtoint ptr %50 to i32
%52 = icmp eq i32 %51, -1
br i1 %52, label %53, label %56
53: ; preds = %31
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%55 = call i32 @exit(i32 noundef 4) #3
unreachable
56: ; preds = %31
%57 = load i64, ptr %5, align 8
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %5, align 8
%62 = call i32 @munmap(ptr noundef %60, i64 noundef %61)
%63 = load i32, ptr %2, align 4
%64 = call i32 @close(i32 noundef %63)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @munmap(ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5h8c65u4.c'
source_filename = "/tmp/tmp5h8c65u4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cria_tabuleiro(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %5
5: ; preds = %41, %1
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = trunc i64 %8 to i32
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %40
14: ; preds = %5
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %36, %14
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %39
19: ; preds = %15
br label %20
20: ; preds = %28, %19
%21 = load i32, ptr %2, align 4
%22 = call i64 @calloc(i32 noundef %21, i32 noundef 4)
%23 = inttoptr i64 %22 to ptr
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
store ptr %23, ptr %27, align 8
br label %28
28: ; preds = %20
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %20, label %35, !llvm.loop !6
35: ; preds = %28
br label %36
36: ; preds = %35
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %15, !llvm.loop !8
39: ; preds = %15
br label %40
40: ; preds = %39, %5
br label %41
41: ; preds = %40
%42 = load ptr, ptr %3, align 8
%43 = icmp eq ptr %42, null
br i1 %43, label %5, label %44, !llvm.loop !9
44: ; preds = %41
%45 = load ptr, ptr %3, align 8
ret ptr %45
}
declare i64 @malloc(i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5h8c65u4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cria_tabuleiro(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %5
5: ; preds = %43, %1
%6 = load i32, ptr %2, align 4
%7 = sext i32 %6 to i64
%8 = mul i64 %7, 8
%9 = trunc i64 %8 to i32
%10 = call i64 @malloc(i32 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %42
14: ; preds = %5
store i32 0, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %41
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %35
br label %19
19: ; preds = %27, %18
%20 = load i32, ptr %2, align 4
%21 = call i64 @calloc(i32 noundef %20, i32 noundef 4)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
store ptr %22, ptr %26, align 8
br label %27
27: ; preds = %19
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %4, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %19, label %34, !llvm.loop !6
34: ; preds = %27
br label %35
35: ; preds = %34
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %18, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %14
br label %42
42: ; preds = %41, %5
br label %43
43: ; preds = %42
%44 = load ptr, ptr %3, align 8
%45 = icmp eq ptr %44, null
br i1 %45, label %5, label %46, !llvm.loop !9
46: ; preds = %43
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
declare i64 @malloc(i32 noundef) #1
declare i64 @calloc(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpizaxx9ps.c'
source_filename = "/tmp/tmpizaxx9ps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = sub nsw i32 %22, %23
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 4
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %11, align 8
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 4
%35 = trunc i64 %34 to i32
%36 = call ptr @malloc(i32 noundef %35)
store ptr %36, ptr %12, align 8
%37 = load i32, ptr @INT_MAX, align 4
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
%42 = load i32, ptr @INT_MAX, align 4
%43 = load ptr, ptr %12, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
store i32 0, ptr %13, align 4
br label %47
47: ; preds = %63, %4
%48 = load i32, ptr %13, align 4
%49 = load i32, ptr %9, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %66
51: ; preds = %47
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %6, align 4
%54 = load i32, ptr %13, align 4
%55 = add nsw i32 %53, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %52, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load ptr, ptr %11, align 8
%60 = load i32, ptr %13, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
store i32 %58, ptr %62, align 4
br label %63
63: ; preds = %51
%64 = load i32, ptr %13, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %13, align 4
br label %47, !llvm.loop !6
66: ; preds = %47
store i32 0, ptr %14, align 4
br label %67
67: ; preds = %84, %66
%68 = load i32, ptr %14, align 4
%69 = load i32, ptr %10, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %87
71: ; preds = %67
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %7, align 4
%74 = load i32, ptr %14, align 4
%75 = add nsw i32 %73, %74
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %72, i64 %77
%79 = load i32, ptr %78, align 4
%80 = load ptr, ptr %12, align 8
%81 = load i32, ptr %14, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
store i32 %79, ptr %83, align 4
br label %84
84: ; preds = %71
%85 = load i32, ptr %14, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %14, align 4
br label %67, !llvm.loop !8
87: ; preds = %67
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%88 = load i32, ptr %6, align 4
store i32 %88, ptr %17, align 4
br label %89
89: ; preds = %130, %87
%90 = load i32, ptr %17, align 4
%91 = load i32, ptr %8, align 4
%92 = icmp sle i32 %90, %91
br i1 %92, label %93, label %133
93: ; preds = %89
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %15, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
%99 = load ptr, ptr %12, align 8
%100 = load i32, ptr %16, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
%103 = load i32, ptr %102, align 4
%104 = icmp sle i32 %98, %103
br i1 %104, label %105, label %117
105: ; preds = %93
%106 = load ptr, ptr %11, align 8
%107 = load i32, ptr %15, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds i32, ptr %106, i64 %108
%110 = load i32, ptr %109, align 4
%111 = load ptr, ptr %5, align 8
%112 = load i32, ptr %17, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %111, i64 %113
store i32 %110, ptr %114, align 4
%115 = load i32, ptr %15, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %15, align 4
br label %129
117: ; preds = %93
%118 = load ptr, ptr %12, align 8
%119 = load i32, ptr %16, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
%122 = load i32, ptr %121, align 4
%123 = load ptr, ptr %5, align 8
%124 = load i32, ptr %17, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %123, i64 %125
store i32 %122, ptr %126, align 4
%127 = load i32, ptr %16, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %16, align 4
br label %129
129: ; preds = %117, %105
br label %130
130: ; preds = %129
%131 = load i32, ptr %17, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %17, align 4
br label %89, !llvm.loop !9
133: ; preds = %89
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpizaxx9ps.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %18, %19
%21 = add nsw i32 %20, 1
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %7, align 4
%24 = sub nsw i32 %22, %23
store i32 %24, ptr %10, align 4
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = mul i64 %27, 4
%29 = trunc i64 %28 to i32
%30 = call ptr @malloc(i32 noundef %29)
store ptr %30, ptr %11, align 8
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = mul i64 %33, 4
%35 = trunc i64 %34 to i32
%36 = call ptr @malloc(i32 noundef %35)
store ptr %36, ptr %12, align 8
%37 = load i32, ptr @INT_MAX, align 4
%38 = load ptr, ptr %11, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
%42 = load i32, ptr @INT_MAX, align 4
%43 = load ptr, ptr %12, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
store i32 %42, ptr %46, align 4
store i32 0, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %68
.lr.ph: ; preds = %4
br label %50
50: ; preds = %.lr.ph, %62
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %6, align 4
%53 = load i32, ptr %13, align 4
%54 = add nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %51, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %11, align 8
%59 = load i32, ptr %13, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 %57, ptr %61, align 4
br label %62
62: ; preds = %50
%63 = load i32, ptr %13, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %13, align 4
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %9, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %4
store i32 0, ptr %14, align 4
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %10, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %.lr.ph2, label %91
.lr.ph2: ; preds = %68
br label %72
72: ; preds = %.lr.ph2, %85
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %7, align 4
%75 = load i32, ptr %14, align 4
%76 = add nsw i32 %74, %75
%77 = add nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %73, i64 %78
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %12, align 8
%82 = load i32, ptr %14, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
store i32 %80, ptr %84, align 4
br label %85
85: ; preds = %72
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %14, align 4
%88 = load i32, ptr %14, align 4
%89 = load i32, ptr %10, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %85
br label %91
91: ; preds = %._crit_edge3, %68
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%92 = load i32, ptr %6, align 4
store i32 %92, ptr %17, align 4
%93 = load i32, ptr %17, align 4
%94 = load i32, ptr %8, align 4
%95 = icmp sle i32 %93, %94
br i1 %95, label %.lr.ph5, label %139
.lr.ph5: ; preds = %91
br label %96
96: ; preds = %.lr.ph5, %133
%97 = load ptr, ptr %11, align 8
%98 = load i32, ptr %15, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %97, i64 %99
%101 = load i32, ptr %100, align 4
%102 = load ptr, ptr %12, align 8
%103 = load i32, ptr %16, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp sle i32 %101, %106
br i1 %107, label %108, label %120
108: ; preds = %96
%109 = load ptr, ptr %11, align 8
%110 = load i32, ptr %15, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
%113 = load i32, ptr %112, align 4
%114 = load ptr, ptr %5, align 8
%115 = load i32, ptr %17, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
store i32 %113, ptr %117, align 4
%118 = load i32, ptr %15, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %15, align 4
br label %132
120: ; preds = %96
%121 = load ptr, ptr %12, align 8
%122 = load i32, ptr %16, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i32, ptr %121, i64 %123
%125 = load i32, ptr %124, align 4
%126 = load ptr, ptr %5, align 8
%127 = load i32, ptr %17, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i32, ptr %126, i64 %128
store i32 %125, ptr %129, align 4
%130 = load i32, ptr %16, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %16, align 4
br label %132
132: ; preds = %120, %108
br label %133
133: ; preds = %132
%134 = load i32, ptr %17, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %17, align 4
%136 = load i32, ptr %17, align 4
%137 = load i32, ptr %8, align 4
%138 = icmp sle i32 %136, %137
br i1 %138, label %96, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %133
br label %139
139: ; preds = %._crit_edge6, %91
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpx1lqlc9w.c'
source_filename = "/tmp/tmpx1lqlc9w.c"
target datalayout = "e-m:e-p270: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/tmpx1lqlc9w.c"
target datalayout = "e-m:e-p270: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/tmpjourekmd.c'
source_filename = "/tmp/tmpjourekmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @makeDotTxt(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 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjourekmd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @makeDotTxt(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 @strcpy(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmpgb419krh.c'
source_filename = "/tmp/tmpgb419krh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @readInt16FromBuffer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i16, ptr %7, align 2
%9 = zext i16 %8 to i32
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %6, i64 %10
%12 = call i32 @memcpy(ptr noundef %5, ptr noundef %11, i32 noundef 2)
%13 = load i16, ptr %5, align 2
%14 = call zeroext i16 @ntohs(i16 noundef zeroext %13)
store i16 %14, ptr %5, align 2
%15 = load ptr, ptr %4, align 8
%16 = load i16, ptr %15, align 2
%17 = zext i16 %16 to i64
%18 = add i64 %17, 2
%19 = trunc i64 %18 to i16
store i16 %19, ptr %15, align 2
%20 = load i16, ptr %5, align 2
ret i16 %20
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare zeroext i16 @ntohs(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgb419krh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @readInt16FromBuffer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i16, ptr %7, align 2
%9 = zext i16 %8 to i32
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %6, i64 %10
%12 = call i32 @memcpy(ptr noundef %5, ptr noundef %11, i32 noundef 2)
%13 = load i16, ptr %5, align 2
%14 = call zeroext i16 @ntohs(i16 noundef zeroext %13)
store i16 %14, ptr %5, align 2
%15 = load ptr, ptr %4, align 8
%16 = load i16, ptr %15, align 2
%17 = zext i16 %16 to i64
%18 = add i64 %17, 2
%19 = trunc i64 %18 to i16
store i16 %19, ptr %15, align 2
%20 = load i16, ptr %5, align 2
ret i16 %20
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare zeroext i16 @ntohs(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvd6o_ra8.c'
source_filename = "/tmp/tmpvd6o_ra8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16
@__const.main.name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1
@__const.main.full_name = private unnamed_addr constant [12 x i8] c"Zed A. Shaw\00", align 1
@.str = private unnamed_addr constant [25 x i8] c"The size of an int: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"The size of areas (int[]): %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The number of ints in the areas array: %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"The first area is %d. The 2nd area is %d.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"The size of a char: %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"The size of name (char[] string): %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"The number of chars in name: %ld\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"The size of full_name (char[]): %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"The number of chars in full_name: %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"name=\22%s\22 and full_name=\22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [5 x i32], align 16
%7 = alloca [4 x i8], align 1
%8 = alloca [12 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.areas, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.full_name, i64 12, i1 false)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 20)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 5)
%12 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 1
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 4)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 12)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef 12)
%22 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%23 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %22, ptr noundef %23)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvd6o_ra8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.areas = private unnamed_addr constant [5 x i32] [i32 10, i32 12, i32 13, i32 14, i32 20], align 16
@__const.main.name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1
@__const.main.full_name = private unnamed_addr constant [12 x i8] c"Zed A. Shaw\00", align 1
@.str = private unnamed_addr constant [25 x i8] c"The size of an int: %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"The size of areas (int[]): %ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The number of ints in the areas array: %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [44 x i8] c"The first area is %d. The 2nd area is %d.\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"The size of a char: %ld\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"The size of name (char[] string): %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"The number of chars in name: %ld\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [37 x i8] c"The size of full_name (char[]): %ld\0A\00", align 1
@.str.8 = private unnamed_addr constant [39 x i8] c"The number of chars in full_name: %ld\0A\00", align 1
@.str.9 = private unnamed_addr constant [30 x i8] c"name=\22%s\22 and full_name=\22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [5 x i32], align 16
%7 = alloca [4 x i8], align 1
%8 = alloca [12 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.areas, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.main.name, i64 4, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.main.full_name, i64 12, i1 false)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 4)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef 20)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef 5)
%12 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 1
%15 = load i32, ptr %14, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %13, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 1)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 4)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef 4)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 12)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i64 noundef 12)
%22 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
%23 = getelementptr inbounds [12 x i8], ptr %8, i64 0, i64 0
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %22, ptr noundef %23)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm1qr2jp8.c'
source_filename = "/tmp/tmpm1qr2jp8.c"
target datalayout = "e-m:e-p270: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/tmpm1qr2jp8.c"
target datalayout = "e-m:e-p270: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/tmpg_f41itz.c'
source_filename = "/tmp/tmpg_f41itz.c"
target datalayout = "e-m:e-p270: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/tmpg_f41itz.c"
target datalayout = "e-m:e-p270: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/tmp0ky1owwq.c'
source_filename = "/tmp/tmp0ky1owwq.c"
target datalayout = "e-m:e-p270: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/tmp0ky1owwq.c"
target datalayout = "e-m:e-p270: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/tmp7j8wlqy9.c'
source_filename = "/tmp/tmp7j8wlqy9.c"
target datalayout = "e-m:e-p270: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
@RPC_ANYSOCK = dso_local global i32 0, align 4
@RPC_SUCCESS = dso_local global i32 0, align 4
@YPBINDPROC_DOMAIN = dso_local global i32 0, align 4
@YPBINDPROG = dso_local global i32 0, align 4
@YPBINDVERS = dso_local global i32 0, align 4
@YPBIND_SUCC_VAL = dso_local global i64 0, align 8
@YPERR_YPBIND = dso_local global i32 0, align 4
@xdr_domainname = dso_local global i64 0, align 8
@xdr_ypbind_resp = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7j8wlqy9.c"
target datalayout = "e-m:e-p270: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
@RPC_ANYSOCK = dso_local global i32 0, align 4
@RPC_SUCCESS = dso_local global i32 0, align 4
@YPBINDPROC_DOMAIN = dso_local global i32 0, align 4
@YPBINDPROG = dso_local global i32 0, align 4
@YPBINDVERS = dso_local global i32 0, align 4
@YPBIND_SUCC_VAL = dso_local global i64 0, align 8
@YPERR_YPBIND = dso_local global i32 0, align 4
@xdr_domainname = dso_local global i64 0, align 8
@xdr_ypbind_resp = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn61hldc6.c'
source_filename = "/tmp/tmpn61hldc6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s=[%f;%f;%f]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ltr_int_print_vec(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i64 1
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds double, ptr %12, i64 2
%14 = load double, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %5, double noundef %8, double noundef %11, double noundef %14)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn61hldc6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s=[%f;%f;%f]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ltr_int_print_vec(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 %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds double, ptr %6, i64 0
%8 = load double, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i64 1
%11 = load double, ptr %10, align 8
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds double, ptr %12, i64 2
%14 = load double, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str, ptr noundef %5, double noundef %8, double noundef %11, double noundef %14)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6hroadet.c'
source_filename = "/tmp/tmp6hroadet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bin8ToStr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef 9)
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 8
store i8 0, ptr %7, align 1
store i32 7, ptr %3, align 4
br label %8
8: ; preds = %20, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = and i32 %12, 1
%14 = add nsw i32 %13, 48
%15 = trunc i32 %14 to i8
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
store i8 %15, ptr %19, align 1
br label %20
20: ; preds = %11
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %2, align 4
%24 = ashr i32 %23, 1
store i32 %24, ptr %2, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6hroadet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bin8ToStr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef 9)
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 8
store i8 0, ptr %7, align 1
store i32 7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %19
%11 = load i32, ptr %2, align 4
%12 = and i32 %11, 1
%13 = add nsw i32 %12, 48
%14 = trunc i32 %13 to i8
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store i8 %14, ptr %18, align 1
br label %19
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %2, align 4
%23 = ashr i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp sge i32 %24, 0
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %1
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw__4maob.c'
source_filename = "/tmp/tmpw__4maob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @print_status()
ret i32 %2
}
declare i32 @print_status(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw__4maob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @print_status()
ret i32 %2
}
declare i32 @print_status(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmxhmgaza.c'
source_filename = "/tmp/tmpmxhmgaza.c"
target datalayout = "e-m:e-p270: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 [571 x i8] c"Usage: imageundelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] base.ndz delta.ndz newimage.ndz\0A\0AProduce a new full image (newimage) by combining a base image\0A(base) and a delta image (delta).\0A\0A-S Use sigfile for delta to optimize image creation.\0A-V Verify consistency of delta and signature.\0A-f Force imagedelta to use a questionable sigfile.\0A-d Enable debugging.\0A-D hfunc Hash function to use (md5 or sha1) for new sigfile.\0A-b blksize Size of hash blocks (512 <= size <= 32M) for new sigfile.\0A-z level Compression level (0 to 9).\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, 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/tmpmxhmgaza.c"
target datalayout = "e-m:e-p270: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 [571 x i8] c"Usage: imageundelta [-SVfd] [-b blksize] [-D hashfunc] [-z level] base.ndz delta.ndz newimage.ndz\0A\0AProduce a new full image (newimage) by combining a base image\0A(base) and a delta image (delta).\0A\0A-S Use sigfile for delta to optimize image creation.\0A-V Verify consistency of delta and signature.\0A-f Force imagedelta to use a questionable sigfile.\0A-d Enable debugging.\0A-D hfunc Hash function to use (md5 or sha1) for new sigfile.\0A-b blksize Size of hash blocks (512 <= size <= 32M) for new sigfile.\0A-z level Compression level (0 to 9).\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, 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/tmp3xkdz_33.c'
source_filename = "/tmp/tmp3xkdz_33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart1_rxb(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = call i32 @uart1_rx(ptr noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %8
7: ; preds = %3
br label %3, !llvm.loop !6
8: ; preds = %3
ret void
}
declare i32 @uart1_rx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3xkdz_33.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uart1_rxb(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %3, %1
%4 = load ptr, ptr %2, align 8
%5 = call i32 @uart1_rx(ptr noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %3, label %7, !llvm.loop !6
7: ; preds = %3
ret void
}
declare i32 @uart1_rx(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmprrkfwhx7.c'
source_filename = "/tmp/tmprrkfwhx7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @factorial(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store double %0, ptr %2, align 8
store double 0.000000e+00, ptr %6, align 8
store double 1.000000e+00, ptr %7, align 8
%11 = load double, ptr %2, align 8
%12 = fadd double 5.000000e+01, %11
store double %12, ptr %3, align 8
%13 = load double, ptr %3, align 8
%14 = load double, ptr %3, align 8
%15 = call double @pow(double noundef %13, double noundef %14) #3
%16 = load double, ptr %3, align 8
%17 = fneg double %16
%18 = call double @exp(double noundef %17) #3
%19 = fmul double %15, %18
%20 = load double, ptr %3, align 8
%21 = fmul double 0x401921FB54442D18, %20
%22 = fptosi double %21 to i32
%23 = call double @sqrt(i32 noundef %22)
%24 = fmul double %19, %23
store double %24, ptr %4, align 8
%25 = load double, ptr %3, align 8
%26 = fmul double 1.200000e+01, %25
%27 = fdiv double 1.000000e+00, %26
%28 = load double, ptr %3, align 8
%29 = call double @pow(double noundef %28, double noundef 3.000000e+00) #3
%30 = fmul double 3.600000e+02, %29
%31 = fdiv double 1.000000e+00, %30
%32 = fsub double %27, %31
%33 = load double, ptr %3, align 8
%34 = call double @pow(double noundef %33, double noundef 5.000000e+00) #3
%35 = fmul double 1.260000e+03, %34
%36 = fdiv double 1.000000e+00, %35
%37 = fadd double %32, %36
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 7.000000e+00) #3
%40 = fmul double 1.680000e+03, %39
%41 = fdiv double 1.000000e+00, %40
%42 = fsub double %37, %41
%43 = call double @exp(double noundef %42) #3
store double %43, ptr %5, align 8
%44 = load double, ptr %4, align 8
%45 = load double, ptr %5, align 8
%46 = fmul double %44, %45
store double %46, ptr %8, align 8
store i32 1, ptr %10, align 4
br label %47
47: ; preds = %57, %1
%48 = load i32, ptr %10, align 4
%49 = icmp ule i32 %48, 50
br i1 %49, label %50, label %60
50: ; preds = %47
%51 = load double, ptr %2, align 8
%52 = load i32, ptr %10, align 4
%53 = uitofp i32 %52 to double
%54 = fadd double %51, %53
%55 = load double, ptr %7, align 8
%56 = fmul double %55, %54
store double %56, ptr %7, align 8
br label %57
57: ; preds = %50
%58 = load i32, ptr %10, align 4
%59 = add i32 %58, 1
store i32 %59, ptr %10, align 4
br label %47, !llvm.loop !6
60: ; preds = %47
%61 = load double, ptr %8, align 8
%62 = load double, ptr %7, align 8
%63 = fdiv double %61, %62
store double %63, ptr %9, align 8
%64 = load double, ptr %9, align 8
ret double %64
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
declare double @sqrt(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprrkfwhx7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @factorial(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
store double %0, ptr %2, align 8
store double 0.000000e+00, ptr %6, align 8
store double 1.000000e+00, ptr %7, align 8
%11 = load double, ptr %2, align 8
%12 = fadd double 5.000000e+01, %11
store double %12, ptr %3, align 8
%13 = load double, ptr %3, align 8
%14 = load double, ptr %3, align 8
%15 = call double @pow(double noundef %13, double noundef %14) #3
%16 = load double, ptr %3, align 8
%17 = fneg double %16
%18 = call double @exp(double noundef %17) #3
%19 = fmul double %15, %18
%20 = load double, ptr %3, align 8
%21 = fmul double 0x401921FB54442D18, %20
%22 = fptosi double %21 to i32
%23 = call double @sqrt(i32 noundef %22)
%24 = fmul double %19, %23
store double %24, ptr %4, align 8
%25 = load double, ptr %3, align 8
%26 = fmul double 1.200000e+01, %25
%27 = fdiv double 1.000000e+00, %26
%28 = load double, ptr %3, align 8
%29 = call double @pow(double noundef %28, double noundef 3.000000e+00) #3
%30 = fmul double 3.600000e+02, %29
%31 = fdiv double 1.000000e+00, %30
%32 = fsub double %27, %31
%33 = load double, ptr %3, align 8
%34 = call double @pow(double noundef %33, double noundef 5.000000e+00) #3
%35 = fmul double 1.260000e+03, %34
%36 = fdiv double 1.000000e+00, %35
%37 = fadd double %32, %36
%38 = load double, ptr %3, align 8
%39 = call double @pow(double noundef %38, double noundef 7.000000e+00) #3
%40 = fmul double 1.680000e+03, %39
%41 = fdiv double 1.000000e+00, %40
%42 = fsub double %37, %41
%43 = call double @exp(double noundef %42) #3
store double %43, ptr %5, align 8
%44 = load double, ptr %4, align 8
%45 = load double, ptr %5, align 8
%46 = fmul double %44, %45
store double %46, ptr %8, align 8
store i32 1, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp ule i32 %47, 50
br i1 %48, label %.lr.ph, label %61
.lr.ph: ; preds = %1
br label %49
49: ; preds = %.lr.ph, %56
%50 = load double, ptr %2, align 8
%51 = load i32, ptr %10, align 4
%52 = uitofp i32 %51 to double
%53 = fadd double %50, %52
%54 = load double, ptr %7, align 8
%55 = fmul double %54, %53
store double %55, ptr %7, align 8
br label %56
56: ; preds = %49
%57 = load i32, ptr %10, align 4
%58 = add i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp ule i32 %59, 50
br i1 %60, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %61
61: ; preds = %._crit_edge, %1
%62 = load double, ptr %8, align 8
%63 = load double, ptr %7, align 8
%64 = fdiv double %62, %63
store double %64, ptr %9, align 8
%65 = load double, ptr %9, align 8
ret double %65
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #1
declare double @sqrt(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm6cbw8uz.c'
source_filename = "/tmp/tmpm6cbw8uz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetBrightness_BF3403(i8 noundef zeroext %0) #0 {
%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
switch i32 %4, label %15 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %11
i32 5, label %13
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 144)
br label %16
7: ; preds = %1
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 136)
br label %16
9: ; preds = %1
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 0)
br label %16
11: ; preds = %1
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 8)
br label %16
13: ; preds = %1
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 16)
br label %16
15: ; preds = %1
br label %16
16: ; preds = %15, %13, %11, %9, %7, %5
ret void
}
declare i32 @VIM_SIF_I2cWriteByte(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/tmpm6cbw8uz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetBrightness_BF3403(i8 noundef zeroext %0) #0 {
%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
switch i32 %4, label %15 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %11
i32 5, label %13
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 144)
br label %16
7: ; preds = %1
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 136)
br label %16
9: ; preds = %1
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 0)
br label %16
11: ; preds = %1
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 8)
br label %16
13: ; preds = %1
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 85, i32 noundef 16)
br label %16
15: ; preds = %1
br label %16
16: ; preds = %15, %13, %11, %9, %7, %5
ret void
}
declare i32 @VIM_SIF_I2cWriteByte(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/tmpfi_k1yio.c'
source_filename = "/tmp/tmpfi_k1yio.c"
target datalayout = "e-m:e-p270: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/tmpfi_k1yio.c"
target datalayout = "e-m:e-p270: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/tmpqta9iw5_.c'
source_filename = "/tmp/tmpqta9iw5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hscore_clean() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @hscore_open(ptr noundef @.str)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %0
store i32 25, ptr %2, align 4
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fwrite(ptr noundef %2, i32 noundef 4, i32 noundef 1, ptr noundef %7)
%9 = load ptr, ptr %1, align 8
%10 = call i32 @fclose(ptr noundef %9)
br label %11
11: ; preds = %6, %0
ret void
}
declare ptr @hscore_open(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/tmpqta9iw5_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hscore_clean() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = call ptr @hscore_open(ptr noundef @.str)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %11
6: ; preds = %0
store i32 25, ptr %2, align 4
%7 = load ptr, ptr %1, align 8
%8 = call i32 @fwrite(ptr noundef %2, i32 noundef 4, i32 noundef 1, ptr noundef %7)
%9 = load ptr, ptr %1, align 8
%10 = call i32 @fclose(ptr noundef %9)
br label %11
11: ; preds = %6, %0
ret void
}
declare ptr @hscore_open(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/tmp5z9gu8_v.c'
source_filename = "/tmp/tmp5z9gu8_v.c"
target datalayout = "e-m:e-p270: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/tmp5z9gu8_v.c"
target datalayout = "e-m:e-p270: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/tmpd94dss_m.c'
source_filename = "/tmp/tmpd94dss_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Could not create socket\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"115.239.211.112\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Connect error\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Connected\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"GET / HTTP/1.1\0D\0A\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Send failed.\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"Data Send\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"recv failed.\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"Reply received.\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 %struct.sockaddr_in, align 4
%8 = alloca ptr, align 8
%9 = alloca [2000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
store ptr null, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 2000, i1 false)
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
br label %17
17: ; preds = %15, %2
%18 = call i32 @inet_addr(ptr noundef @.str.1)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %21, ptr %22, align 4
%23 = call i32 @htons(i32 noundef 80)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %6, align 4
%26 = call i64 @connect(i32 noundef %25, ptr noundef %7, i32 noundef 12)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %17
%29 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %54
30: ; preds = %17
%31 = call i32 @printf(ptr noundef @.str.3)
store ptr @.str.4, ptr %8, align 8
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = call i32 @strlen(ptr noundef %34)
%36 = call i64 @send(i32 noundef %32, ptr noundef %33, i32 noundef %35, i32 noundef 0)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %30
%39 = call i32 @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %54
40: ; preds = %30
%41 = call i32 @printf(ptr noundef @.str.6)
%42 = load i32, ptr %6, align 4
%43 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0
%44 = call i64 @recv(i32 noundef %42, ptr noundef %43, i32 noundef 2000, i32 noundef 0)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = call i32 @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %40
%49 = call i32 @printf(ptr noundef @.str.8)
%50 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0
%51 = call i32 @puts(ptr noundef %50)
%52 = load i32, ptr %6, align 4
%53 = call i32 @close(i32 noundef %52)
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %48, %38, %28
%55 = load i32, ptr %3, align 4
ret i32 %55
}
; 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @inet_addr(ptr noundef) #2
declare i32 @htons(i32 noundef) #2
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd94dss_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Could not create socket\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"115.239.211.112\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Connect error\0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Connected\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"GET / HTTP/1.1\0D\0A\0D\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Send failed.\0A\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"Data Send\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"recv failed.\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"Reply received.\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 %struct.sockaddr_in, align 4
%8 = alloca ptr, align 8
%9 = alloca [2000 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
store ptr null, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 2000, i1 false)
%10 = load i32, ptr @AF_INET, align 4
%11 = load i32, ptr @SOCK_STREAM, align 4
%12 = call i32 @socket(i32 noundef %10, i32 noundef %11, i32 noundef 0)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 @printf(ptr noundef @.str)
br label %17
17: ; preds = %15, %2
%18 = call i32 @inet_addr(ptr noundef @.str.1)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = load i32, ptr @AF_INET, align 4
%22 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
store i32 %21, ptr %22, align 4
%23 = call i32 @htons(i32 noundef 80)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %6, align 4
%26 = call i64 @connect(i32 noundef %25, ptr noundef %7, i32 noundef 12)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %17
%29 = call i32 @printf(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %54
30: ; preds = %17
%31 = call i32 @printf(ptr noundef @.str.3)
store ptr @.str.4, ptr %8, align 8
%32 = load i32, ptr %6, align 4
%33 = load ptr, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = call i32 @strlen(ptr noundef %34)
%36 = call i64 @send(i32 noundef %32, ptr noundef %33, i32 noundef %35, i32 noundef 0)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %30
%39 = call i32 @printf(ptr noundef @.str.5)
store i32 1, ptr %3, align 4
br label %54
40: ; preds = %30
%41 = call i32 @printf(ptr noundef @.str.6)
%42 = load i32, ptr %6, align 4
%43 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0
%44 = call i64 @recv(i32 noundef %42, ptr noundef %43, i32 noundef 2000, i32 noundef 0)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %40
%47 = call i32 @printf(ptr noundef @.str.7)
br label %48
48: ; preds = %46, %40
%49 = call i32 @printf(ptr noundef @.str.8)
%50 = getelementptr inbounds [2000 x i8], ptr %9, i64 0, i64 0
%51 = call i32 @puts(ptr noundef %50)
%52 = load i32, ptr %6, align 4
%53 = call i32 @close(i32 noundef %52)
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %48, %38, %28
%55 = load i32, ptr %3, align 4
ret i32 %55
}
; 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 @socket(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
declare i32 @inet_addr(ptr noundef) #2
declare i32 @htons(i32 noundef) #2
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #2
declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i64 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmrn2at75.c'
source_filename = "/tmp/tmpmrn2at75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @as_strncmpi(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = load i64, ptr %7, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17, %3
store i32 0, ptr %4, align 4
br label %56
21: ; preds = %17
br label %22
22: ; preds = %48, %21
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
%25 = load i8, ptr %23, align 1
%26 = zext i8 %25 to i32
%27 = call zeroext i8 @tolower(i32 noundef %26)
store i8 %27, ptr %10, align 1
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %9, align 8
%30 = load i8, ptr %28, align 1
%31 = zext i8 %30 to i32
%32 = call zeroext i8 @tolower(i32 noundef %31)
store i8 %32, ptr %11, align 1
%33 = load i8, ptr %10, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %22
br label %50
37: ; preds = %22
br label %38
38: ; preds = %37
%39 = load i8, ptr %10, align 1
%40 = zext i8 %39 to i32
%41 = load i8, ptr %11, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %48
44: ; preds = %38
%45 = load i64, ptr %7, align 8
%46 = add i64 %45, -1
store i64 %46, ptr %7, align 8
%47 = icmp ne i64 %46, 0
br label %48
48: ; preds = %44, %38
%49 = phi i1 [ false, %38 ], [ %47, %44 ]
br i1 %49, label %22, label %50, !llvm.loop !6
50: ; preds = %48, %36
%51 = load i8, ptr %10, align 1
%52 = zext i8 %51 to i32
%53 = load i8, ptr %11, align 1
%54 = zext i8 %53 to i32
%55 = sub nsw i32 %52, %54
store i32 %55, ptr %4, align 4
br label %56
56: ; preds = %50, %20
%57 = load i32, ptr %4, align 4
ret i32 %57
}
declare zeroext i8 @tolower(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/tmpmrn2at75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @as_strncmpi(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = icmp eq ptr %14, %15
br i1 %16, label %20, label %17
17: ; preds = %3
%18 = load i64, ptr %7, align 8
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %17, %3
store i32 0, ptr %4, align 4
br label %56
21: ; preds = %17
br label %22
22: ; preds = %48, %21
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %8, align 8
%25 = load i8, ptr %23, align 1
%26 = zext i8 %25 to i32
%27 = call zeroext i8 @tolower(i32 noundef %26)
store i8 %27, ptr %10, align 1
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %9, align 8
%30 = load i8, ptr %28, align 1
%31 = zext i8 %30 to i32
%32 = call zeroext i8 @tolower(i32 noundef %31)
store i8 %32, ptr %11, align 1
%33 = load i8, ptr %10, align 1
%34 = zext i8 %33 to i32
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %22
br label %50
37: ; preds = %22
br label %38
38: ; preds = %37
%39 = load i8, ptr %10, align 1
%40 = zext i8 %39 to i32
%41 = load i8, ptr %11, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %40, %42
br i1 %43, label %44, label %48
44: ; preds = %38
%45 = load i64, ptr %7, align 8
%46 = add i64 %45, -1
store i64 %46, ptr %7, align 8
%47 = icmp ne i64 %46, 0
br label %48
48: ; preds = %44, %38
%49 = phi i1 [ false, %38 ], [ %47, %44 ]
br i1 %49, label %22, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %48
br label %50
50: ; preds = %.loopexit, %36
%51 = load i8, ptr %10, align 1
%52 = zext i8 %51 to i32
%53 = load i8, ptr %11, align 1
%54 = zext i8 %53 to i32
%55 = sub nsw i32 %52, %54
store i32 %55, ptr %4, align 4
br label %56
56: ; preds = %50, %20
%57 = load i32, ptr %4, align 4
ret i32 %57
}
declare zeroext i8 @tolower(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/tmplyheqra1.c'
source_filename = "/tmp/tmplyheqra1.c"
target datalayout = "e-m:e-p270: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/tmplyheqra1.c"
target datalayout = "e-m:e-p270: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/tmpx1in8eq5.c'
source_filename = "/tmp/tmpx1in8eq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ls_setpriority(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 40
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 40, ptr %3, align 4
br label %13
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, -40
br i1 %10, label %11, label %12
11: ; preds = %8
store i32 -40, ptr %3, align 4
br label %12
12: ; preds = %11, %8
br label %13
13: ; preds = %12, %7
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %4, align 4
store i64 0, ptr @errno, align 8
%15 = load i32, ptr %4, align 4
%16 = call i32 @nice(i32 noundef %15)
%17 = icmp eq i32 -1, %16
br i1 %17, label %18, label %22
18: ; preds = %13
%19 = load i64, ptr @errno, align 8
%20 = icmp ne i64 0, %19
br i1 %20, label %21, label %22
21: ; preds = %18
store i32 0, ptr %2, align 4
br label %23
22: ; preds = %18, %13
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %22, %21
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @nice(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/tmpx1in8eq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ls_setpriority(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 40
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 40, ptr %3, align 4
br label %13
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, -40
br i1 %10, label %11, label %12
11: ; preds = %8
store i32 -40, ptr %3, align 4
br label %12
12: ; preds = %11, %8
br label %13
13: ; preds = %12, %7
%14 = load i32, ptr %3, align 4
store i32 %14, ptr %4, align 4
store i64 0, ptr @errno, align 8
%15 = load i32, ptr %4, align 4
%16 = call i32 @nice(i32 noundef %15)
%17 = icmp eq i32 -1, %16
br i1 %17, label %18, label %22
18: ; preds = %13
%19 = load i64, ptr @errno, align 8
%20 = icmp ne i64 0, %19
br i1 %20, label %21, label %22
21: ; preds = %18
store i32 0, ptr %2, align 4
br label %23
22: ; preds = %18, %13
store i32 1, ptr %2, align 4
br label %23
23: ; preds = %22, %21
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @nice(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/tmpo6ivubc2.c'
source_filename = "/tmp/tmpo6ivubc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"Usage: %s hostname\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"hostname is: %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"create socket error\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"create socket done!\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"192.168.2.110\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"connect to server ...\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"connect to server error\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"connect server done!\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"please input msg:\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [80 x i8], align 16
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca ptr, align 8
%10 = alloca [80 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
store i32 -1, ptr %3, align 4
br label %60
18: ; preds = %2
%19 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%20 = call i32 @gethostname(ptr noundef %19, i32 noundef 80)
%21 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%22 = call i64 @gethostbyname(ptr noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %9, align 8
%24 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24)
%26 = load i32, ptr @AF_INET, align 4
%27 = load i32, ptr @SOCK_STREAM, align 4
%28 = call i32 @socket(i32 noundef %26, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %6, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %32
30: ; preds = %18
%31 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %60
32: ; preds = %18
%33 = call i32 @puts(ptr noundef @.str.3)
%34 = call i32 @bzero(ptr noundef %8, i32 noundef 12)
%35 = load i32, ptr @AF_INET, align 4
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %35, ptr %36, align 4
%37 = call i32 @inet_addr(ptr noundef @.str.4)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
%40 = call i32 @htons(i32 noundef 8888)
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store i32 %40, ptr %41, align 4
%42 = call i32 @puts(ptr noundef @.str.5)
%43 = load i32, ptr %6, align 4
%44 = call i32 @connect(i32 noundef %43, ptr noundef %8, i32 noundef 4)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %48
46: ; preds = %32
%47 = call i32 @perror(ptr noundef @.str.6)
store i32 3, ptr %3, align 4
br label %60
48: ; preds = %32
%49 = call i32 @puts(ptr noundef @.str.7)
br label %50
50: ; preds = %48, %50
%51 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%52 = call i32 @memset(ptr noundef %51, i8 noundef signext 0, i32 noundef 80)
%53 = call i32 @puts(ptr noundef @.str.8)
%54 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%55 = load i32, ptr @stdin, align 4
%56 = call i32 @fgets(ptr noundef %54, i32 noundef 80, i32 noundef %55)
%57 = load i32, ptr %6, align 4
%58 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%59 = call i32 @write(i32 noundef %57, ptr noundef %58, i32 noundef 80)
br label %50
60: ; preds = %46, %30, %13
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i64 @gethostbyname(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6ivubc2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [20 x i8] c"Usage: %s hostname\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"hostname is: %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"create socket error\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"create socket done!\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"192.168.2.110\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"connect to server ...\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"connect to server error\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"connect server done!\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"please input msg:\00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [80 x i8], align 16
%8 = alloca %struct.sockaddr_in, align 4
%9 = alloca ptr, align 8
%10 = alloca [80 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
store i32 -1, ptr %3, align 4
br label %60
18: ; preds = %2
%19 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%20 = call i32 @gethostname(ptr noundef %19, i32 noundef 80)
%21 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%22 = call i64 @gethostbyname(ptr noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %9, align 8
%24 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str.1, ptr noundef %24)
%26 = load i32, ptr @AF_INET, align 4
%27 = load i32, ptr @SOCK_STREAM, align 4
%28 = call i32 @socket(i32 noundef %26, i32 noundef %27, i32 noundef 0)
store i32 %28, ptr %6, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %32
30: ; preds = %18
%31 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %3, align 4
br label %60
32: ; preds = %18
%33 = call i32 @puts(ptr noundef @.str.3)
%34 = call i32 @bzero(ptr noundef %8, i32 noundef 12)
%35 = load i32, ptr @AF_INET, align 4
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
store i32 %35, ptr %36, align 4
%37 = call i32 @inet_addr(ptr noundef @.str.4)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
%40 = call i32 @htons(i32 noundef 8888)
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store i32 %40, ptr %41, align 4
%42 = call i32 @puts(ptr noundef @.str.5)
%43 = load i32, ptr %6, align 4
%44 = call i32 @connect(i32 noundef %43, ptr noundef %8, i32 noundef 4)
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %48
46: ; preds = %32
%47 = call i32 @perror(ptr noundef @.str.6)
store i32 3, ptr %3, align 4
br label %60
48: ; preds = %32
%49 = call i32 @puts(ptr noundef @.str.7)
br label %50
50: ; preds = %50, %48
%51 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%52 = call i32 @memset(ptr noundef %51, i8 noundef signext 0, i32 noundef 80)
%53 = call i32 @puts(ptr noundef @.str.8)
%54 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%55 = load i32, ptr @stdin, align 4
%56 = call i32 @fgets(ptr noundef %54, i32 noundef 80, i32 noundef %55)
%57 = load i32, ptr %6, align 4
%58 = getelementptr inbounds [80 x i8], ptr %7, i64 0, i64 0
%59 = call i32 @write(i32 noundef %57, ptr noundef %58, i32 noundef 80)
br label %50
60: ; preds = %46, %30, %13
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @gethostname(ptr noundef, i32 noundef) #1
declare i64 @gethostbyname(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphld84l0j.c'
source_filename = "/tmp/tmphld84l0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_renameat2 = 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/tmphld84l0j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_renameat2 = 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/tmpwidmt0do.c'
source_filename = "/tmp/tmpwidmt0do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @abbreviate(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %15, label %9
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %9, %1
store ptr null, ptr %2, align 8
br label %66
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = call i64 @count_words(ptr noundef %17)
%19 = add nsw i64 %18, 1
%20 = call ptr @calloc(i64 noundef %19, i32 noundef 1)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %16
store ptr null, ptr %2, align 8
br label %66
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = call signext i8 @toupper(i8 noundef signext %27)
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
store i8 %28, ptr %30, align 1
store i64 1, ptr %5, align 8
store i64 1, ptr %6, align 8
br label %31
31: ; preds = %61, %24
%32 = load ptr, ptr %3, align 8
%33 = load i64, ptr %5, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %64
38: ; preds = %31
%39 = load ptr, ptr %3, align 8
%40 = load i64, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %3, align 8
%44 = load i64, ptr %5, align 8
%45 = sub i64 %44, 1
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = call i64 @is_first_letter_of_word(i8 noundef signext %42, i8 noundef signext %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %60
50: ; preds = %38
%51 = load ptr, ptr %3, align 8
%52 = load i64, ptr %5, align 8
%53 = getelementptr inbounds i8, ptr %51, i64 %52
%54 = load i8, ptr %53, align 1
%55 = call signext i8 @toupper(i8 noundef signext %54)
%56 = load ptr, ptr %4, align 8
%57 = load i64, ptr %6, align 8
%58 = add i64 %57, 1
store i64 %58, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %56, i64 %57
store i8 %55, ptr %59, align 1
br label %60
60: ; preds = %50, %38
br label %61
61: ; preds = %60
%62 = load i64, ptr %5, align 8
%63 = add i64 %62, 1
store i64 %63, ptr %5, align 8
br label %31, !llvm.loop !6
64: ; preds = %31
%65 = load ptr, ptr %4, align 8
store ptr %65, ptr %2, align 8
br label %66
66: ; preds = %64, %23, %15
%67 = load ptr, ptr %2, align 8
ret ptr %67
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @count_words(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i64 @is_first_letter_of_word(i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwidmt0do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @abbreviate(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %15, label %9
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds i8, ptr %10, i64 0
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %9, %1
store ptr null, ptr %2, align 8
br label %71
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = call i64 @count_words(ptr noundef %17)
%19 = add nsw i64 %18, 1
%20 = call ptr @calloc(i64 noundef %19, i32 noundef 1)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %24, label %23
23: ; preds = %16
store ptr null, ptr %2, align 8
br label %71
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = call signext i8 @toupper(i8 noundef signext %27)
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 0
store i8 %28, ptr %30, align 1
store i64 1, ptr %5, align 8
store i64 1, ptr %6, align 8
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %.lr.ph, label %69
.lr.ph: ; preds = %24
br label %37
37: ; preds = %.lr.ph, %60
%38 = load ptr, ptr %3, align 8
%39 = load i64, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %3, align 8
%43 = load i64, ptr %5, align 8
%44 = sub i64 %43, 1
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = call i64 @is_first_letter_of_word(i8 noundef signext %41, i8 noundef signext %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %59
49: ; preds = %37
%50 = load ptr, ptr %3, align 8
%51 = load i64, ptr %5, align 8
%52 = getelementptr inbounds i8, ptr %50, i64 %51
%53 = load i8, ptr %52, align 1
%54 = call signext i8 @toupper(i8 noundef signext %53)
%55 = load ptr, ptr %4, align 8
%56 = load i64, ptr %6, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %6, align 8
%58 = getelementptr inbounds i8, ptr %55, i64 %56
store i8 %54, ptr %58, align 1
br label %59
59: ; preds = %49, %37
br label %60
60: ; preds = %59
%61 = load i64, ptr %5, align 8
%62 = add i64 %61, 1
store i64 %62, ptr %5, align 8
%63 = load ptr, ptr %3, align 8
%64 = load i64, ptr %5, align 8
%65 = getelementptr inbounds i8, ptr %63, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp ne i32 %67, 0
br i1 %68, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %69
69: ; preds = %._crit_edge, %24
%70 = load ptr, ptr %4, align 8
store ptr %70, ptr %2, align 8
br label %71
71: ; preds = %69, %23, %15
%72 = load ptr, ptr %2, align 8
ret ptr %72
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @count_words(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
declare i64 @is_first_letter_of_word(i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp61w3_g_k.c'
source_filename = "/tmp/tmp61w3_g_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @posix_memalign(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%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 ult i64 %8, 8
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = load i32, ptr @EINVAL, align 4
store i32 %11, ptr %4, align 4
br label %25
12: ; preds = %3
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = call ptr @memalign(i64 noundef %13, i64 noundef %14) #3
call void @llvm.assume(i1 true) [ "align"(ptr %15, i64 %13) ]
%16 = load ptr, ptr %5, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %12
br label %23
21: ; preds = %12
%22 = load i32, ptr @errno, align 4
br label %23
23: ; preds = %21, %20
%24 = phi i32 [ 0, %20 ], [ %22, %21 ]
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %23, %10
%26 = load i32, ptr %4, align 4
ret i32 %26
}
; Function Attrs: allocsize(1)
declare ptr @memalign(i64 noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite)
declare void @llvm.assume(i1 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 memory(inaccessiblemem: readwrite) }
attributes #3 = { 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/tmp61w3_g_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @posix_memalign(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%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 ult i64 %8, 8
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = load i32, ptr @EINVAL, align 4
store i32 %11, ptr %4, align 4
br label %25
12: ; preds = %3
%13 = load i64, ptr %6, align 8
%14 = load i64, ptr %7, align 8
%15 = call ptr @memalign(i64 noundef %13, i64 noundef %14) #3
call void @llvm.assume(i1 true) [ "align"(ptr %15, i64 %13) ]
%16 = load ptr, ptr %5, align 8
store ptr %15, ptr %16, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %12
br label %23
21: ; preds = %12
%22 = load i32, ptr @errno, align 4
br label %23
23: ; preds = %21, %20
%24 = phi i32 [ 0, %20 ], [ %22, %21 ]
store i32 %24, ptr %4, align 4
br label %25
25: ; preds = %23, %10
%26 = load i32, ptr %4, align 4
ret i32 %26
}
; Function Attrs: allocsize(1)
declare ptr @memalign(i64 noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite)
declare void @llvm.assume(i1 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-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 memory(inaccessiblemem: readwrite) }
attributes #3 = { 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/tmp5c7uhwus.c'
source_filename = "/tmp/tmp5c7uhwus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"parametro short.....:\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"parametro short*....:\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"parametro int.......:\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"parametro int*......:\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"parametro long......:\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"parametro long*.....:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parameters(i16 noundef signext %0, i32 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i16 %0, ptr %7, align 2
store i32 %1, ptr %8, align 4
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = ptrtoint ptr %7 to i64
%14 = call i32 @print_title(ptr noundef @.str, i64 noundef %13, i32 noundef 2)
%15 = ptrtoint ptr %10 to i64
%16 = call i32 @print_title(ptr noundef @.str.1, i64 noundef %15, i32 noundef 8)
%17 = ptrtoint ptr %8 to i64
%18 = call i32 @print_title(ptr noundef @.str.2, i64 noundef %17, i32 noundef 4)
%19 = ptrtoint ptr %11 to i64
%20 = call i32 @print_title(ptr noundef @.str.3, i64 noundef %19, i32 noundef 8)
%21 = ptrtoint ptr %9 to i64
%22 = call i32 @print_title(ptr noundef @.str.4, i64 noundef %21, i32 noundef 8)
%23 = ptrtoint ptr %12 to i64
%24 = call i32 @print_title(ptr noundef @.str.5, i64 noundef %23, i32 noundef 8)
ret void
}
declare i32 @print_title(ptr noundef, i64 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/tmp5c7uhwus.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"parametro short.....:\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"parametro short*....:\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"parametro int.......:\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"parametro int*......:\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"parametro long......:\00", align 1
@.str.5 = private unnamed_addr constant [22 x i8] c"parametro long*.....:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parameters(i16 noundef signext %0, i32 noundef %1, i64 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i16 %0, ptr %7, align 2
store i32 %1, ptr %8, align 4
store i64 %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = ptrtoint ptr %7 to i64
%14 = call i32 @print_title(ptr noundef @.str, i64 noundef %13, i32 noundef 2)
%15 = ptrtoint ptr %10 to i64
%16 = call i32 @print_title(ptr noundef @.str.1, i64 noundef %15, i32 noundef 8)
%17 = ptrtoint ptr %8 to i64
%18 = call i32 @print_title(ptr noundef @.str.2, i64 noundef %17, i32 noundef 4)
%19 = ptrtoint ptr %11 to i64
%20 = call i32 @print_title(ptr noundef @.str.3, i64 noundef %19, i32 noundef 8)
%21 = ptrtoint ptr %9 to i64
%22 = call i32 @print_title(ptr noundef @.str.4, i64 noundef %21, i32 noundef 8)
%23 = ptrtoint ptr %12 to i64
%24 = call i32 @print_title(ptr noundef @.str.5, i64 noundef %23, i32 noundef 8)
ret void
}
declare i32 @print_title(ptr noundef, i64 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/tmp6d7l7toh.c'
source_filename = "/tmp/tmp6d7l7toh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @si_send_n_ints(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %8, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
store i32 0, ptr %9, align 4
br label %22
22: ; preds = %32, %3
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load ptr, ptr %10, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = call i32 @si_swapl(ptr noundef %30)
br label %32
32: ; preds = %26
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
br label %22, !llvm.loop !6
35: ; preds = %22
%36 = load i32, ptr %5, align 4
%37 = load ptr, ptr %10, align 8
%38 = load i32, ptr %8, align 4
%39 = call i32 @write(i32 noundef %36, ptr noundef %37, i32 noundef %38)
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %8, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %35
store i32 -1, ptr %4, align 4
br label %47
43: ; preds = %35
%44 = load ptr, ptr %10, align 8
%45 = call i32 @free(ptr noundef %44)
%46 = load i32, ptr %8, align 4
store i32 %46, ptr %4, align 4
br label %47
47: ; preds = %43, %42
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @si_swapl(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6d7l7toh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @si_send_n_ints(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 4
%14 = trunc i64 %13 to i32
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %8, align 4
%21 = call i32 @memcpy(ptr noundef %18, ptr noundef %19, i32 noundef %20)
store i32 0, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %37
.lr.ph: ; preds = %3
br label %25
25: ; preds = %.lr.ph, %31
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = call i32 @si_swapl(ptr noundef %29)
br label %31
31: ; preds = %25
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %3
%38 = load i32, ptr %5, align 4
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %8, align 4
%41 = call i32 @write(i32 noundef %38, ptr noundef %39, i32 noundef %40)
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %8, align 4
%43 = icmp ne i32 %41, %42
br i1 %43, label %44, label %45
44: ; preds = %37
store i32 -1, ptr %4, align 4
br label %49
45: ; preds = %37
%46 = load ptr, ptr %10, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = load i32, ptr %8, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %45, %44
%50 = load i32, ptr %4, align 4
ret i32 %50
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @si_swapl(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpukeubd7w.c'
source_filename = "/tmp/tmpukeubd7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math_csc(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 i32 @sin(double noundef %3)
%5 = sdiv i32 1, %4
%6 = sitofp i32 %5 to double
ret double %6
}
declare i32 @sin(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/tmpukeubd7w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @math_csc(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 i32 @sin(double noundef %3)
%5 = sdiv i32 1, %4
%6 = sitofp i32 %5 to double
ret double %6
}
declare i32 @sin(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/tmpxwa0e_eb.c'
source_filename = "/tmp/tmpxwa0e_eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"The %s flag has returned!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Team_ReturnFlag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @Team_ResetFlag(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @Team_ReturnFlagSound(i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @TeamName(i32 noundef %7)
%9 = call i32 @PrintMsg(ptr noundef null, ptr noundef @.str, i32 noundef %8)
ret void
}
declare i32 @Team_ReturnFlagSound(i32 noundef, i32 noundef) #1
declare i32 @Team_ResetFlag(i32 noundef) #1
declare i32 @PrintMsg(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @TeamName(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/tmpxwa0e_eb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"The %s flag has returned!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Team_ReturnFlag(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @Team_ResetFlag(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @Team_ReturnFlagSound(i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = call i32 @TeamName(i32 noundef %7)
%9 = call i32 @PrintMsg(ptr noundef null, ptr noundef @.str, i32 noundef %8)
ret void
}
declare i32 @Team_ReturnFlagSound(i32 noundef, i32 noundef) #1
declare i32 @Team_ResetFlag(i32 noundef) #1
declare i32 @PrintMsg(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @TeamName(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/tmpz4u4ghut.c'
source_filename = "/tmp/tmpz4u4ghut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ALISTundo() #0 {
br label %1
1: ; preds = %4, %0
%2 = call i64 (...) @ALISTundo_iter()
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %5
4: ; preds = %1
br label %1, !llvm.loop !6
5: ; preds = %1
ret void
}
declare i64 @ALISTundo_iter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpz4u4ghut.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ALISTundo() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i64 (...) @ALISTundo_iter()
%3 = icmp ne i64 %2, 0
br i1 %3, label %1, label %4, !llvm.loop !6
4: ; preds = %1
ret void
}
declare i64 @ALISTundo_iter(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpng48pxny.c'
source_filename = "/tmp/tmpng48pxny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g2_set_line_width_(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 float, ptr %5, align 4
%7 = call i32 @dtoi(float noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = load float, ptr %8, align 4
%10 = call i32 @g2_set_line_width(i32 noundef %7, float noundef %9)
ret void
}
declare i32 @g2_set_line_width(i32 noundef, float noundef) #1
declare i32 @dtoi(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpng48pxny.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g2_set_line_width_(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 float, ptr %5, align 4
%7 = call i32 @dtoi(float noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = load float, ptr %8, align 4
%10 = call i32 @g2_set_line_width(i32 noundef %7, float noundef %9)
ret void
}
declare i32 @g2_set_line_width(i32 noundef, float noundef) #1
declare i32 @dtoi(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl4ba5mje.c'
source_filename = "/tmp/tmpl4ba5mje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wcspbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %29, %2
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %10, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %32
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %28, %13
%16 = load ptr, ptr %7, align 8
%17 = load i64, ptr %16, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %29
19: ; preds = %15
%20 = load ptr, ptr %6, align 8
%21 = load i64, ptr %20, align 8
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i64, ptr %22, i32 1
store ptr %23, ptr %7, align 8
%24 = load i64, ptr %22, align 8
%25 = icmp eq i64 %21, %24
br i1 %25, label %26, label %28
26: ; preds = %19
%27 = load ptr, ptr %6, align 8
store ptr %27, ptr %3, align 8
br label %33
28: ; preds = %19
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds i64, ptr %30, i32 1
store ptr %31, ptr %6, align 8
br label %9, !llvm.loop !8
32: ; preds = %9
store ptr null, ptr %3, align 8
br label %33
33: ; preds = %32, %26
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl4ba5mje.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wcspbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i64, ptr %9, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %.lr.ph2, label %36
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %30
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %14, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %.lr.ph, label %30
.lr.ph: ; preds = %12
br label %21
17: ; preds = %21
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %18, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %._crit_edge, !llvm.loop !6
21: ; preds = %.lr.ph, %17
%22 = load ptr, ptr %6, align 8
%23 = load i64, ptr %22, align 8
%24 = load ptr, ptr %7, align 8
%25 = getelementptr inbounds i64, ptr %24, i32 1
store ptr %25, ptr %7, align 8
%26 = load i64, ptr %24, align 8
%27 = icmp eq i64 %23, %26
br i1 %27, label %28, label %17
28: ; preds = %21
%29 = load ptr, ptr %6, align 8
store ptr %29, ptr %3, align 8
br label %37
._crit_edge: ; preds = %17
br label %30
30: ; preds = %._crit_edge, %12
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds i64, ptr %31, i32 1
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = load i64, ptr %33, align 8
%35 = icmp ne i64 %34, 0
br i1 %35, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %36
36: ; preds = %._crit_edge3, %2
store ptr null, ptr %3, align 8
br label %37
37: ; preds = %36, %28
%38 = load ptr, ptr %3, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpooyf5opu.c'
source_filename = "/tmp/tmpooyf5opu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %10
10: ; preds = %191, %1
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %194
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %98, label %17
17: ; preds = %14
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %6, 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 = icmp eq i32 %23, 65
br i1 %24, label %97, label %25
25: ; preds = %17
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 66
br i1 %32, label %97, label %33
33: ; preds = %25
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 67
br i1 %40, label %97, label %41
41: ; preds = %33
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 69
br i1 %48, label %97, label %49
49: ; preds = %41
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 72
br i1 %56, label %97, label %57
57: ; preds = %49
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 73
br i1 %64, label %97, label %65
65: ; preds = %57
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %6, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 79
br i1 %72, label %97, label %73
73: ; preds = %65
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %6, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 83
br i1 %80, label %97, label %81
81: ; preds = %73
%82 = load ptr, ptr %3, align 8
%83 = load i32, ptr %6, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i8, ptr %82, i64 %84
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp eq i32 %87, 84
br i1 %88, label %97, label %89
89: ; preds = %81
%90 = load ptr, ptr %3, align 8
%91 = load i32, ptr %6, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %90, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 89
br i1 %96, label %97, label %98
97: ; preds = %89, %81, %73, %65, %57, %49, %41, %33, %25, %17
store i32 1, ptr %4, align 4
br label %183
98: ; preds = %89, %14
%99 = load i32, ptr %5, align 4
%100 = icmp ne i32 %99, 0
br i1 %100, label %182, label %101
101: ; preds = %98
%102 = load ptr, ptr %3, align 8
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp eq i32 %107, 52
br i1 %108, label %181, label %109
109: ; preds = %101
%110 = load ptr, ptr %3, align 8
%111 = load i32, ptr %6, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %110, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 56
br i1 %116, label %181, label %117
117: ; preds = %109
%118 = load ptr, ptr %3, align 8
%119 = load i32, ptr %6, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i8, ptr %118, i64 %120
%122 = load i8, ptr %121, align 1
%123 = sext i8 %122 to i32
%124 = icmp eq i32 %123, 40
br i1 %124, label %181, label %125
125: ; preds = %117
%126 = load ptr, ptr %3, align 8
%127 = load i32, ptr %6, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds i8, ptr %126, i64 %128
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp eq i32 %131, 51
br i1 %132, label %181, label %133
133: ; preds = %125
%134 = load ptr, ptr %3, align 8
%135 = load i32, ptr %6, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i8, ptr %134, i64 %136
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %139, 35
br i1 %140, label %181, label %141
141: ; preds = %133
%142 = load ptr, ptr %3, align 8
%143 = load i32, ptr %6, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds i8, ptr %142, i64 %144
%146 = load i8, ptr %145, align 1
%147 = sext i8 %146 to i32
%148 = icmp eq i32 %147, 49
br i1 %148, label %181, label %149
149: ; preds = %141
%150 = load ptr, ptr %3, align 8
%151 = load i32, ptr %6, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds i8, ptr %150, i64 %152
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 48
br i1 %156, label %181, label %157
157: ; preds = %149
%158 = load ptr, ptr %3, align 8
%159 = load i32, ptr %6, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %158, i64 %160
%162 = load i8, ptr %161, align 1
%163 = sext i8 %162 to i32
%164 = icmp eq i32 %163, 53
br i1 %164, label %181, label %165
165: ; preds = %157
%166 = load ptr, ptr %3, align 8
%167 = load i32, ptr %6, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i8, ptr %166, i64 %168
%170 = load i8, ptr %169, align 1
%171 = sext i8 %170 to i32
%172 = icmp eq i32 %171, 55
br i1 %172, label %181, label %173
173: ; preds = %165
%174 = load ptr, ptr %3, align 8
%175 = load i32, ptr %6, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i8, ptr %174, i64 %176
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = icmp eq i32 %179, 38
br i1 %180, label %181, label %182
181: ; preds = %173, %165, %157, %149, %141, %133, %125, %117, %109, %101
store i32 1, ptr %5, align 4
br label %182
182: ; preds = %181, %173, %98
br label %183
183: ; preds = %182, %97
%184 = load i32, ptr %5, align 4
%185 = icmp ne i32 %184, 0
br i1 %185, label %186, label %190
186: ; preds = %183
%187 = load i32, ptr %4, align 4
%188 = icmp ne i32 %187, 0
br i1 %188, label %189, label %190
189: ; preds = %186
store i32 -1, ptr %2, align 4
br label %203
190: ; preds = %186, %183
br label %191
191: ; preds = %190
%192 = load i32, ptr %6, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %6, align 4
br label %10, !llvm.loop !6
194: ; preds = %10
%195 = load i32, ptr %5, align 4
%196 = icmp ne i32 %195, 0
br i1 %196, label %197, label %198
197: ; preds = %194
store i32 1, ptr %2, align 4
br label %203
198: ; preds = %194
%199 = load i32, ptr %4, align 4
%200 = icmp ne i32 %199, 0
br i1 %200, label %201, label %202
201: ; preds = %198
store i32 0, ptr %2, align 4
br label %203
202: ; preds = %198
br label %203
203: ; preds = %189, %197, %201, %202
%204 = load i32, ptr %2, align 4
ret i32 %204
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpooyf5opu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %7, align 4
store i32 0, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %196
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %190
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %97, label %16
16: ; preds = %13
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 65
br i1 %23, label %96, label %24
24: ; preds = %16
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 66
br i1 %31, label %96, label %32
32: ; preds = %24
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 67
br i1 %39, label %96, label %40
40: ; preds = %32
%41 = load ptr, ptr %3, 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, 69
br i1 %47, label %96, label %48
48: ; preds = %40
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 72
br i1 %55, label %96, label %56
56: ; preds = %48
%57 = load ptr, ptr %3, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 73
br i1 %63, label %96, label %64
64: ; preds = %56
%65 = load ptr, ptr %3, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 79
br i1 %71, label %96, label %72
72: ; preds = %64
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 83
br i1 %79, label %96, label %80
80: ; preds = %72
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 84
br i1 %87, label %96, label %88
88: ; preds = %80
%89 = load ptr, ptr %3, align 8
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 89
br i1 %95, label %96, label %97
96: ; preds = %88, %80, %72, %64, %56, %48, %40, %32, %24, %16
store i32 1, ptr %4, align 4
br label %182
97: ; preds = %88, %13
%98 = load i32, ptr %5, align 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %181, label %100
100: ; preds = %97
%101 = load ptr, ptr %3, align 8
%102 = load i32, ptr %6, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = icmp eq i32 %106, 52
br i1 %107, label %180, label %108
108: ; preds = %100
%109 = load ptr, ptr %3, align 8
%110 = load i32, ptr %6, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %109, i64 %111
%113 = load i8, ptr %112, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 56
br i1 %115, label %180, label %116
116: ; preds = %108
%117 = load ptr, ptr %3, align 8
%118 = load i32, ptr %6, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, ptr %117, i64 %119
%121 = load i8, ptr %120, align 1
%122 = sext i8 %121 to i32
%123 = icmp eq i32 %122, 40
br i1 %123, label %180, label %124
124: ; preds = %116
%125 = load ptr, ptr %3, align 8
%126 = load i32, ptr %6, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8, ptr %125, i64 %127
%129 = load i8, ptr %128, align 1
%130 = sext i8 %129 to i32
%131 = icmp eq i32 %130, 51
br i1 %131, label %180, label %132
132: ; preds = %124
%133 = load ptr, ptr %3, align 8
%134 = load i32, ptr %6, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds i8, ptr %133, i64 %135
%137 = load i8, ptr %136, align 1
%138 = sext i8 %137 to i32
%139 = icmp eq i32 %138, 35
br i1 %139, label %180, label %140
140: ; preds = %132
%141 = load ptr, ptr %3, align 8
%142 = load i32, ptr %6, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i8, ptr %141, i64 %143
%145 = load i8, ptr %144, align 1
%146 = sext i8 %145 to i32
%147 = icmp eq i32 %146, 49
br i1 %147, label %180, label %148
148: ; preds = %140
%149 = load ptr, ptr %3, align 8
%150 = load i32, ptr %6, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i8, ptr %149, i64 %151
%153 = load i8, ptr %152, align 1
%154 = sext i8 %153 to i32
%155 = icmp eq i32 %154, 48
br i1 %155, label %180, label %156
156: ; preds = %148
%157 = load ptr, ptr %3, align 8
%158 = load i32, ptr %6, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i8, ptr %157, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 53
br i1 %163, label %180, label %164
164: ; preds = %156
%165 = load ptr, ptr %3, align 8
%166 = load i32, ptr %6, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i8, ptr %165, i64 %167
%169 = load i8, ptr %168, align 1
%170 = sext i8 %169 to i32
%171 = icmp eq i32 %170, 55
br i1 %171, label %180, label %172
172: ; preds = %164
%173 = load ptr, ptr %3, align 8
%174 = load i32, ptr %6, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds i8, ptr %173, i64 %175
%177 = load i8, ptr %176, align 1
%178 = sext i8 %177 to i32
%179 = icmp eq i32 %178, 38
br i1 %179, label %180, label %181
180: ; preds = %172, %164, %156, %148, %140, %132, %124, %116, %108, %100
store i32 1, ptr %5, align 4
br label %181
181: ; preds = %180, %172, %97
br label %182
182: ; preds = %181, %96
%183 = load i32, ptr %5, align 4
%184 = icmp ne i32 %183, 0
br i1 %184, label %185, label %189
185: ; preds = %182
%186 = load i32, ptr %4, align 4
%187 = icmp ne i32 %186, 0
br i1 %187, label %188, label %189
188: ; preds = %185
store i32 -1, ptr %2, align 4
br label %205
189: ; preds = %185, %182
br label %190
190: ; preds = %189
%191 = load i32, ptr %6, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %6, align 4
%193 = load i32, ptr %6, align 4
%194 = load i32, ptr %7, align 4
%195 = icmp slt i32 %193, %194
br i1 %195, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %190
br label %196
196: ; preds = %._crit_edge, %1
%197 = load i32, ptr %5, align 4
%198 = icmp ne i32 %197, 0
br i1 %198, label %199, label %200
199: ; preds = %196
store i32 1, ptr %2, align 4
br label %205
200: ; preds = %196
%201 = load i32, ptr %4, align 4
%202 = icmp ne i32 %201, 0
br i1 %202, label %203, label %204
203: ; preds = %200
store i32 0, ptr %2, align 4
br label %205
204: ; preds = %200
br label %205
205: ; preds = %204, %203, %199, %188
%206 = load i32, ptr %2, align 4
ret i32 %206
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpac4yw8ot.c'
source_filename = "/tmp/tmpac4yw8ot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpac4yw8ot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpigb8smgm.c'
source_filename = "/tmp/tmpigb8smgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d green bottles hanging on the wall\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @thisFunctionWontReturn(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %19
6: ; preds = %1
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %14, %6
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = sub nsw i32 10, %11
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
%18 = call i32 (...) @thisFunctionTerminatesTheProcess()
br label %19
19: ; preds = %17, %1
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @thisFunctionTerminatesTheProcess(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpigb8smgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d green bottles hanging on the wall\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @thisFunctionWontReturn(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %20
6: ; preds = %1
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %6
br label %9
9: ; preds = %.lr.ph, %13
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 10, %10
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
br label %13
13: ; preds = %9
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %6
%19 = call i32 (...) @thisFunctionTerminatesTheProcess()
br label %20
20: ; preds = %18, %1
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @thisFunctionTerminatesTheProcess(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8mrdso8q.c'
source_filename = "/tmp/tmp8mrdso8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.sampleMatrix = private unnamed_addr constant [3 x [5 x i32]] [[5 x i32] [i32 7, i32 16, i32 55, i32 13, i32 12], [5 x i32] [i32 12, i32 10, i32 52, i32 0, i32 7], [5 x i32] [i32 -2, i32 1, i32 2, i32 4, i32 9]], align 16
@.str = private unnamed_addr constant [18 x i8] c"Original matrix:\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Matrix multipled by 2:\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Martix multiplied by -1:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [5 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.sampleMatrix, i64 60, i1 false)
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @displayMatrix(i32 noundef 3, i32 noundef 5, ptr noundef %4)
%5 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @scalarMultiply(i32 noundef 3, i32 noundef 5, ptr noundef %5, i32 noundef 2)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @displayMatrix(i32 noundef 3, i32 noundef 5, ptr noundef %7)
%8 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @scalarMultiply(i32 noundef 3, i32 noundef 5, ptr noundef %8, i32 noundef -1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @displayMatrix(i32 noundef 3, i32 noundef 5, ptr noundef %10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare void @displayMatrix(i32 noundef, i32 noundef, ptr noundef) #2
declare void @scalarMultiply(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8mrdso8q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.sampleMatrix = private unnamed_addr constant [3 x [5 x i32]] [[5 x i32] [i32 7, i32 16, i32 55, i32 13, i32 12], [5 x i32] [i32 12, i32 10, i32 52, i32 0, i32 7], [5 x i32] [i32 -2, i32 1, i32 2, i32 4, i32 9]], align 16
@.str = private unnamed_addr constant [18 x i8] c"Original matrix:\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Matrix multipled by 2:\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Martix multiplied by -1:\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x [5 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.sampleMatrix, i64 60, i1 false)
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @displayMatrix(i32 noundef 3, i32 noundef 5, ptr noundef %4)
%5 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @scalarMultiply(i32 noundef 3, i32 noundef 5, ptr noundef %5, i32 noundef 2)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @displayMatrix(i32 noundef 3, i32 noundef 5, ptr noundef %7)
%8 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @scalarMultiply(i32 noundef 3, i32 noundef 5, ptr noundef %8, i32 noundef -1)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = getelementptr inbounds [3 x [5 x i32]], ptr %2, i64 0, i64 0
call void @displayMatrix(i32 noundef 3, i32 noundef 5, ptr noundef %10)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef) #2
declare void @displayMatrix(i32 noundef, i32 noundef, ptr noundef) #2
declare void @scalarMultiply(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu5sox7dh.c'
source_filename = "/tmp/tmpu5sox7dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error(ptr noundef %0, ...) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu5sox7dh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @error(ptr noundef %0, ...) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnssf9nm6.c'
source_filename = "/tmp/tmpnssf9nm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%9.5f \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @d_print_mat(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %11
11: ; preds = %36, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %39
15: ; preds = %11
store i32 0, ptr %10, align 4
br label %16
16: ; preds = %31, %15
%17 = load i32, ptr %10, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %34
20: ; preds = %16
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %10, align 4
%25 = mul nsw i32 %23, %24
%26 = add nsw i32 %22, %25
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %21, i64 %27
%29 = load double, ptr %28, align 8
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %29)
br label %31
31: ; preds = %20
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
br label %16, !llvm.loop !6
34: ; preds = %16
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %36
36: ; preds = %34
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
br label %11, !llvm.loop !8
39: ; preds = %11
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnssf9nm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%9.5f \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @d_print_mat(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %43
.lr.ph2: ; preds = %4
br label %14
14: ; preds = %.lr.ph2, %37
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %35
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %29
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %10, align 4
%23 = mul nsw i32 %21, %22
%24 = add nsw i32 %20, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %19, i64 %25
%27 = load double, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %27)
br label %29
29: ; preds = %18
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %14
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplda45iil.c'
source_filename = "/tmp/tmplda45iil.c"
target datalayout = "e-m:e-p270: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/tmplda45iil.c"
target datalayout = "e-m:e-p270: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/tmpybheoy_p.c'
source_filename = "/tmp/tmpybheoy_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@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/tmpybheoy_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@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/tmpy12_olyg.c'
source_filename = "/tmp/tmpy12_olyg.c"
target datalayout = "e-m:e-p270: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/tmpy12_olyg.c"
target datalayout = "e-m:e-p270: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/tmpvaw_4jrc.c'
source_filename = "/tmp/tmpvaw_4jrc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_wc() #0 {
%1 = alloca i32, align 4
%2 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef null)
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 0, ptr %1, align 4
br label %6
5: ; preds = %0
store i32 1, ptr %1, align 4
br label %6
6: ; preds = %5, %4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @execlp(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/tmpvaw_4jrc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"wc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @my_wc() #0 {
%1 = alloca i32, align 4
%2 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef null)
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %5
4: ; preds = %0
store i32 0, ptr %1, align 4
br label %6
5: ; preds = %0
store i32 1, ptr %1, align 4
br label %6
6: ; preds = %5, %4
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @execlp(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/tmpz1o4zkza.c'
source_filename = "/tmp/tmpz1o4zkza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld-Magh-%ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%ld-Falgun-%ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Invalid Input.\0APlease Check Your Input..........\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Falgun(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = srem i64 %10, 4
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = load i64, ptr %6, align 8
%15 = srem i64 %14, 100
%16 = icmp ne i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %13, %3
%18 = load i64, ptr %6, align 8
%19 = srem i64 %18, 400
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17, %13
store i64 29, ptr %9, align 8
br label %23
22: ; preds = %17
store i64 28, ptr %9, align 8
br label %23
23: ; preds = %22, %21
%24 = load i64, ptr %4, align 8
%25 = load i64, ptr %9, align 8
%26 = icmp sle i64 %24, %25
br i1 %26, label %27, label %53
27: ; preds = %23
%28 = load i64, ptr %5, align 8
%29 = icmp slt i64 %28, 13
br i1 %29, label %30, label %53
30: ; preds = %27
%31 = load i64, ptr %6, align 8
%32 = icmp sgt i64 %31, 1000
br i1 %32, label %33, label %53
33: ; preds = %30
%34 = load i64, ptr %4, align 8
%35 = icmp slt i64 %34, 13
br i1 %35, label %36, label %44
36: ; preds = %33
%37 = load i64, ptr %6, align 8
%38 = sub nsw i64 %37, 594
store i64 %38, ptr %8, align 8
%39 = load i64, ptr %4, align 8
%40 = add nsw i64 %39, 18
store i64 %40, ptr %7, align 8
%41 = load i64, ptr %7, align 8
%42 = load i64, ptr %8, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %41, i64 noundef %42)
br label %52
44: ; preds = %33
%45 = load i64, ptr %6, align 8
%46 = sub nsw i64 %45, 594
store i64 %46, ptr %8, align 8
%47 = load i64, ptr %4, align 8
%48 = sub nsw i64 %47, 12
store i64 %48, ptr %7, align 8
%49 = load i64, ptr %7, align 8
%50 = load i64, ptr %8, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %49, i64 noundef %50)
br label %52
52: ; preds = %44, %36
br label %55
53: ; preds = %30, %27, %23
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %55
55: ; preds = %53, %52
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz1o4zkza.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld-Magh-%ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%ld-Falgun-%ld\0A\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Invalid Input.\0APlease Check Your Input..........\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Falgun(i64 noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = srem i64 %10, 4
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %3
%14 = load i64, ptr %6, align 8
%15 = srem i64 %14, 100
%16 = icmp ne i64 %15, 0
br i1 %16, label %21, label %17
17: ; preds = %13, %3
%18 = load i64, ptr %6, align 8
%19 = srem i64 %18, 400
%20 = icmp eq i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17, %13
store i64 29, ptr %9, align 8
br label %23
22: ; preds = %17
store i64 28, ptr %9, align 8
br label %23
23: ; preds = %22, %21
%24 = load i64, ptr %4, align 8
%25 = load i64, ptr %9, align 8
%26 = icmp sle i64 %24, %25
br i1 %26, label %27, label %53
27: ; preds = %23
%28 = load i64, ptr %5, align 8
%29 = icmp slt i64 %28, 13
br i1 %29, label %30, label %53
30: ; preds = %27
%31 = load i64, ptr %6, align 8
%32 = icmp sgt i64 %31, 1000
br i1 %32, label %33, label %53
33: ; preds = %30
%34 = load i64, ptr %4, align 8
%35 = icmp slt i64 %34, 13
br i1 %35, label %36, label %44
36: ; preds = %33
%37 = load i64, ptr %6, align 8
%38 = sub nsw i64 %37, 594
store i64 %38, ptr %8, align 8
%39 = load i64, ptr %4, align 8
%40 = add nsw i64 %39, 18
store i64 %40, ptr %7, align 8
%41 = load i64, ptr %7, align 8
%42 = load i64, ptr %8, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %41, i64 noundef %42)
br label %52
44: ; preds = %33
%45 = load i64, ptr %6, align 8
%46 = sub nsw i64 %45, 594
store i64 %46, ptr %8, align 8
%47 = load i64, ptr %4, align 8
%48 = sub nsw i64 %47, 12
store i64 %48, ptr %7, align 8
%49 = load i64, ptr %7, align 8
%50 = load i64, ptr %8, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %49, i64 noundef %50)
br label %52
52: ; preds = %44, %36
br label %55
53: ; preds = %30, %27, %23
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %55
55: ; preds = %53, %52
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsvbh3ehz.c'
source_filename = "/tmp/tmpsvbh3ehz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kaiser(i32 noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
%12 = load float, ptr %6, align 4
%13 = call float @besselizero(float noundef %12)
%14 = fpext float %13 to double
%15 = fdiv double 1.000000e+00, %14
%16 = fptrunc double %15 to float
store float %16, ptr %8, align 4
%17 = load i32, ptr %4, align 4
%18 = and i32 %17, 1
%19 = sub nsw i32 1, %18
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
%22 = ashr i32 %21, 1
store i32 %22, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %23
23: ; preds = %70, %3
%24 = load i32, ptr %11, align 4
%25 = load i32, ptr %10, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %73
27: ; preds = %23
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 2, %28
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %29, %30
%32 = sitofp i32 %31 to float
%33 = fpext float %32 to double
%34 = load i32, ptr %4, align 4
%35 = sitofp i32 %34 to float
%36 = fpext float %35 to double
%37 = fsub double %36, 1.000000e+00
%38 = fdiv double %33, %37
%39 = fptrunc double %38 to float
store float %39, ptr %7, align 4
%40 = load float, ptr %8, align 4
%41 = load float, ptr %6, align 4
%42 = load float, ptr %7, align 4
%43 = load float, ptr %7, align 4
%44 = fmul float %42, %43
%45 = fpext float %44 to double
%46 = fsub double 1.000000e+00, %45
%47 = call float @sqrt(double noundef %46)
%48 = fmul float %41, %47
%49 = call float @besselizero(float noundef %48)
%50 = fmul float %40, %49
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %10, align 4
%53 = sub nsw i32 %52, 1
%54 = load i32, ptr %11, align 4
%55 = sub nsw i32 %53, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds float, ptr %51, i64 %56
store float %50, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp ne i32 %60, 0
%62 = xor i1 %61, true
%63 = zext i1 %62 to i32
%64 = and i32 1, %63
%65 = sub nsw i32 %59, %64
%66 = load i32, ptr %11, align 4
%67 = add nsw i32 %65, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds float, ptr %58, i64 %68
store float %50, ptr %69, align 4
br label %70
70: ; preds = %27
%71 = load i32, ptr %11, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %11, align 4
br label %23, !llvm.loop !6
73: ; preds = %23
ret void
}
declare float @besselizero(float noundef) #1
declare float @sqrt(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsvbh3ehz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kaiser(i32 noundef %0, ptr noundef %1, float noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float %2, ptr %6, align 4
%12 = load float, ptr %6, align 4
%13 = call float @besselizero(float noundef %12)
%14 = fpext float %13 to double
%15 = fdiv double 1.000000e+00, %14
%16 = fptrunc double %15 to float
store float %16, ptr %8, align 4
%17 = load i32, ptr %4, align 4
%18 = and i32 %17, 1
%19 = sub nsw i32 1, %18
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
%22 = ashr i32 %21, 1
store i32 %22, ptr %10, align 4
store i32 0, ptr %11, align 4
%23 = load i32, ptr %11, align 4
%24 = load i32, ptr %10, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %75
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %69
%27 = load i32, ptr %11, align 4
%28 = mul nsw i32 2, %27
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %28, %29
%31 = sitofp i32 %30 to float
%32 = fpext float %31 to double
%33 = load i32, ptr %4, align 4
%34 = sitofp i32 %33 to float
%35 = fpext float %34 to double
%36 = fsub double %35, 1.000000e+00
%37 = fdiv double %32, %36
%38 = fptrunc double %37 to float
store float %38, ptr %7, align 4
%39 = load float, ptr %8, align 4
%40 = load float, ptr %6, align 4
%41 = load float, ptr %7, align 4
%42 = load float, ptr %7, align 4
%43 = fmul float %41, %42
%44 = fpext float %43 to double
%45 = fsub double 1.000000e+00, %44
%46 = call float @sqrt(double noundef %45)
%47 = fmul float %40, %46
%48 = call float @besselizero(float noundef %47)
%49 = fmul float %39, %48
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %10, align 4
%52 = sub nsw i32 %51, 1
%53 = load i32, ptr %11, align 4
%54 = sub nsw i32 %52, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds float, ptr %50, i64 %55
store float %49, ptr %56, align 4
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp ne i32 %59, 0
%61 = xor i1 %60, true
%62 = zext i1 %61 to i32
%63 = and i32 1, %62
%64 = sub nsw i32 %58, %63
%65 = load i32, ptr %11, align 4
%66 = add nsw i32 %64, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %57, i64 %67
store float %49, ptr %68, align 4
br label %69
69: ; preds = %26
%70 = load i32, ptr %11, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %11, align 4
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %10, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %3
ret void
}
declare float @besselizero(float noundef) #1
declare float @sqrt(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7pmw87xs.c'
source_filename = "/tmp/tmp7pmw87xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7pmw87xs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfbc33inq.c'
source_filename = "/tmp/tmpfbc33inq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CE_pHP_CO3(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%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 double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%15 = load double, ptr %7, align 8
%16 = fsub double 3.000000e+00, %15
%17 = fptosi double %16 to i32
%18 = call double @pow(double noundef 1.000000e+01, i32 noundef %17)
%19 = load double, ptr %12, align 8
%20 = fdiv double %18, %19
store double %20, ptr %13, align 8
%21 = load double, ptr %9, align 8
%22 = load double, ptr %12, align 8
%23 = call double @pow(double noundef %22, i32 noundef 2)
%24 = fdiv double %21, %23
store double %24, ptr %9, align 8
%25 = load double, ptr %10, align 8
%26 = load double, ptr %12, align 8
%27 = call double @pow(double noundef %26, i32 noundef 4)
%28 = fdiv double %25, %27
store double %28, ptr %10, align 8
%29 = load double, ptr %11, align 8
%30 = load double, ptr %12, align 8
%31 = call double @pow(double noundef %30, i32 noundef 2)
%32 = fdiv double %29, %31
store double %32, ptr %11, align 8
%33 = load double, ptr %10, align 8
%34 = fneg double %33
%35 = load double, ptr %9, align 8
%36 = fmul double %34, %35
%37 = load double, ptr %8, align 8
%38 = load double, ptr %13, align 8
%39 = load double, ptr %11, align 8
%40 = fneg double %39
%41 = call double @llvm.fmuladd.f64(double %37, double %38, double %40)
%42 = load double, ptr %13, align 8
%43 = load double, ptr %13, align 8
%44 = call double @llvm.fmuladd.f64(double %42, double %43, double %41)
%45 = fmul double %36, %44
%46 = load double, ptr %9, align 8
%47 = fneg double %46
%48 = load double, ptr %10, align 8
%49 = load double, ptr %13, align 8
%50 = load double, ptr %13, align 8
%51 = fmul double %49, %50
%52 = call double @llvm.fmuladd.f64(double %47, double %48, double %51)
%53 = fdiv double %45, %52
%54 = load double, ptr %13, align 8
%55 = fdiv double %53, %54
store double %55, ptr %14, align 8
%56 = load double, ptr %14, align 8
ret double %56
}
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfbc33inq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CE_pHP_CO3(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #0 {
%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 double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store double %4, ptr %11, align 8
store double %5, ptr %12, align 8
%15 = load double, ptr %7, align 8
%16 = fsub double 3.000000e+00, %15
%17 = fptosi double %16 to i32
%18 = call double @pow(double noundef 1.000000e+01, i32 noundef %17)
%19 = load double, ptr %12, align 8
%20 = fdiv double %18, %19
store double %20, ptr %13, align 8
%21 = load double, ptr %9, align 8
%22 = load double, ptr %12, align 8
%23 = call double @pow(double noundef %22, i32 noundef 2)
%24 = fdiv double %21, %23
store double %24, ptr %9, align 8
%25 = load double, ptr %10, align 8
%26 = load double, ptr %12, align 8
%27 = call double @pow(double noundef %26, i32 noundef 4)
%28 = fdiv double %25, %27
store double %28, ptr %10, align 8
%29 = load double, ptr %11, align 8
%30 = load double, ptr %12, align 8
%31 = call double @pow(double noundef %30, i32 noundef 2)
%32 = fdiv double %29, %31
store double %32, ptr %11, align 8
%33 = load double, ptr %10, align 8
%34 = fneg double %33
%35 = load double, ptr %9, align 8
%36 = fmul double %34, %35
%37 = load double, ptr %8, align 8
%38 = load double, ptr %13, align 8
%39 = load double, ptr %11, align 8
%40 = fneg double %39
%41 = call double @llvm.fmuladd.f64(double %37, double %38, double %40)
%42 = load double, ptr %13, align 8
%43 = load double, ptr %13, align 8
%44 = call double @llvm.fmuladd.f64(double %42, double %43, double %41)
%45 = fmul double %36, %44
%46 = load double, ptr %9, align 8
%47 = fneg double %46
%48 = load double, ptr %10, align 8
%49 = load double, ptr %13, align 8
%50 = load double, ptr %13, align 8
%51 = fmul double %49, %50
%52 = call double @llvm.fmuladd.f64(double %47, double %48, double %51)
%53 = fdiv double %45, %52
%54 = load double, ptr %13, align 8
%55 = fdiv double %53, %54
store double %55, ptr %14, align 8
%56 = load double, ptr %14, align 8
ret double %56
}
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkguowkdk.c'
source_filename = "/tmp/tmpkguowkdk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x i64], align 16
%4 = alloca [7 x i64], align 16
%5 = alloca [3 x i64], align 16
%6 = alloca [8 x i8], align 1
%7 = alloca [8 x i8], align 1
%8 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 0
%10 = call i32 @bar(ptr noundef %9, i32 noundef 8)
%11 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 0
%12 = call i32 @bar(ptr noundef %11, i32 noundef 7)
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %20, %0
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 8
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %18
store i64 0, ptr %19, align 8
br label %20
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %2, align 4
br label %13, !llvm.loop !6
23: ; preds = %13
%24 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%25 = call i32 @sprintf(ptr noundef %24, ptr noundef @.str, i32 noundef 123456789)
%26 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 4
%27 = load i64, ptr %26, align 16
%28 = getelementptr inbounds [3 x i64], ptr %3, i64 0, i64 1
%29 = load i64, ptr %28, align 8
%30 = add nsw i64 %27, %29
%31 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 1
%32 = load i64, ptr %31, align 8
%33 = add nsw i64 %30, %32
%34 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i64
%37 = add nsw i64 %33, %36
%38 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 2
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i64
%41 = add nsw i64 %37, %40
%42 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i64
%45 = add nsw i64 %41, %44
%46 = sdiv i64 %45, 100000
%47 = and i64 1, %46
%48 = trunc i64 %47 to i32
ret i32 %48
}
declare i32 @bar(ptr noundef, i32 noundef) #1
declare i32 @sprintf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkguowkdk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [3 x i64], align 16
%4 = alloca [7 x i64], align 16
%5 = alloca [3 x i64], align 16
%6 = alloca [8 x i8], align 1
%7 = alloca [8 x i8], align 1
%8 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
%9 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 0
%10 = call i32 @bar(ptr noundef %9, i32 noundef 8)
%11 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 0
%12 = call i32 @bar(ptr noundef %11, i32 noundef 7)
store i32 0, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 8
br i1 %14, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %19
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 %17
store i64 0, ptr %18, align 8
br label %19
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 8
br i1 %23, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
%25 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 0
%26 = call i32 @sprintf(ptr noundef %25, ptr noundef @.str, i32 noundef 123456789)
%27 = getelementptr inbounds [7 x i64], ptr %4, i64 0, i64 4
%28 = load i64, ptr %27, align 16
%29 = getelementptr inbounds [3 x i64], ptr %3, i64 0, i64 1
%30 = load i64, ptr %29, align 8
%31 = add nsw i64 %28, %30
%32 = getelementptr inbounds [3 x i64], ptr %5, i64 0, i64 1
%33 = load i64, ptr %32, align 8
%34 = add nsw i64 %31, %33
%35 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 1
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i64
%38 = add nsw i64 %34, %37
%39 = getelementptr inbounds [8 x i8], ptr %7, i64 0, i64 2
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i64
%42 = add nsw i64 %38, %41
%43 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 3
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i64
%46 = add nsw i64 %42, %45
%47 = sdiv i64 %46, 100000
%48 = and i64 1, %47
%49 = trunc i64 %48 to i32
ret i32 %49
}
declare i32 @bar(ptr noundef, i32 noundef) #1
declare i32 @sprintf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpws167pvm.c'
source_filename = "/tmp/tmpws167pvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Testing permutations...\0A\00", align 1
@__const.test_permutations.array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_permutations() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca ptr, align 8
%3 = call i32 @printf(ptr noundef @.str)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_permutations.array, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%5 = call ptr @permutations(ptr noundef %4, i32 noundef 5)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @factorial(i32 noundef 5)
%8 = call i32 @print_matrix(ptr noundef %6, i32 noundef %7, i32 noundef 5)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @factorial(i32 noundef 5)
%11 = call i32 @free_matrix(ptr noundef %9, i32 noundef %10)
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare ptr @permutations(ptr noundef, i32 noundef) #1
declare i32 @print_matrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @factorial(i32 noundef) #1
declare i32 @free_matrix(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpws167pvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Testing permutations...\0A\00", align 1
@__const.test_permutations.array = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_permutations() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca ptr, align 8
%3 = call i32 @printf(ptr noundef @.str)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_permutations.array, i64 20, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%5 = call ptr @permutations(ptr noundef %4, i32 noundef 5)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @factorial(i32 noundef 5)
%8 = call i32 @print_matrix(ptr noundef %6, i32 noundef %7, i32 noundef 5)
%9 = load ptr, ptr %2, align 8
%10 = call i32 @factorial(i32 noundef 5)
%11 = call i32 @free_matrix(ptr noundef %9, i32 noundef %10)
ret void
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare ptr @permutations(ptr noundef, i32 noundef) #1
declare i32 @print_matrix(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @factorial(i32 noundef) #1
declare i32 @free_matrix(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpapermdqa.c'
source_filename = "/tmp/tmpapermdqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @make_socket_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr @F_SETFL, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @O_NONBLOCK, align 4
%11 = or i32 %9, %10
%12 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef %11)
ret void
}
declare i32 @fcntl(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/tmpapermdqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @make_socket_nonblocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @F_GETFL, align 4
%6 = call i32 @fcntl(i32 noundef %4, i32 noundef %5, i32 noundef 0)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr @F_SETFL, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @O_NONBLOCK, align 4
%11 = or i32 %9, %10
%12 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i32 noundef %11)
ret void
}
declare i32 @fcntl(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/tmps4g1j8mo.c'
source_filename = "/tmp/tmps4g1j8mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memchr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = trunc i32 %1 to i8
store ptr %0, ptr %5, align 8
store i8 %8, ptr %6, align 1
store i32 %2, ptr %7, align 4
br label %9
9: ; preds = %24, %3
%10 = load i32, ptr %7, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %7, align 4
%12 = icmp sge i32 %11, 0
br i1 %12, label %13, label %25
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %5, align 8
%16 = load i8, ptr %14, align 1
%17 = sext i8 %16 to i32
%18 = load i8, ptr %6, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %17, %19
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %5, align 8
store ptr %23, ptr %4, align 8
br label %26
24: ; preds = %13
br label %9, !llvm.loop !6
25: ; preds = %9
store ptr null, ptr %4, align 8
br label %26
26: ; preds = %25, %21
%27 = load ptr, ptr %4, align 8
ret ptr %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmps4g1j8mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memchr(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i32, align 4
%8 = trunc i32 %1 to i8
store ptr %0, ptr %5, align 8
store i8 %8, ptr %6, align 1
store i32 %2, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %7, align 4
%11 = icmp sge i32 %10, 0
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %16
12: ; preds = %16
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %7, align 4
%15 = icmp sge i32 %14, 0
br i1 %15, label %16, label %._crit_edge, !llvm.loop !6
16: ; preds = %.lr.ph, %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
%19 = load i8, ptr %17, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %20, %22
br i1 %23, label %24, label %12
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 -1
store ptr %26, ptr %5, align 8
store ptr %26, ptr %4, align 8
br label %28
._crit_edge: ; preds = %12
br label %27
27: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %28
28: ; preds = %27, %24
%29 = load ptr, ptr %4, align 8
ret ptr %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp73qqhrn8.c'
source_filename = "/tmp/tmp73qqhrn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfeast_sbgv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) #0 {
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
store ptr %0, ptr %20, align 8
store ptr %1, ptr %21, align 8
store ptr %2, ptr %22, align 8
store ptr %3, ptr %23, align 8
store ptr %4, ptr %24, align 8
store ptr %5, ptr %25, align 8
store ptr %6, ptr %26, align 8
store ptr %7, ptr %27, align 8
store ptr %8, ptr %28, align 8
store ptr %9, ptr %29, align 8
store ptr %10, ptr %30, align 8
store ptr %11, ptr %31, align 8
store ptr %12, ptr %32, align 8
store ptr %13, ptr %33, align 8
store ptr %14, ptr %34, align 8
store ptr %15, ptr %35, align 8
store ptr %16, ptr %36, align 8
store ptr %17, ptr %37, align 8
store ptr %18, ptr %38, align 8
%39 = load ptr, ptr %20, align 8
%40 = load ptr, ptr %21, align 8
%41 = load ptr, ptr %22, align 8
%42 = load ptr, ptr %23, align 8
%43 = load ptr, ptr %24, align 8
%44 = load ptr, ptr %25, align 8
%45 = load ptr, ptr %26, align 8
%46 = load ptr, ptr %27, align 8
%47 = load ptr, ptr %28, align 8
%48 = load ptr, ptr %29, align 8
%49 = load ptr, ptr %30, align 8
%50 = load ptr, ptr %31, align 8
%51 = load ptr, ptr %32, align 8
%52 = load ptr, ptr %33, align 8
%53 = load ptr, ptr %34, align 8
%54 = load ptr, ptr %35, align 8
%55 = load ptr, ptr %36, align 8
%56 = load ptr, ptr %37, align 8
%57 = load ptr, ptr %38, align 8
%58 = call i32 @sfeast_sbgv_(ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57)
ret void
}
declare i32 @sfeast_sbgv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73qqhrn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfeast_sbgv(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) #0 {
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
%29 = alloca ptr, align 8
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
store ptr %0, ptr %20, align 8
store ptr %1, ptr %21, align 8
store ptr %2, ptr %22, align 8
store ptr %3, ptr %23, align 8
store ptr %4, ptr %24, align 8
store ptr %5, ptr %25, align 8
store ptr %6, ptr %26, align 8
store ptr %7, ptr %27, align 8
store ptr %8, ptr %28, align 8
store ptr %9, ptr %29, align 8
store ptr %10, ptr %30, align 8
store ptr %11, ptr %31, align 8
store ptr %12, ptr %32, align 8
store ptr %13, ptr %33, align 8
store ptr %14, ptr %34, align 8
store ptr %15, ptr %35, align 8
store ptr %16, ptr %36, align 8
store ptr %17, ptr %37, align 8
store ptr %18, ptr %38, align 8
%39 = load ptr, ptr %20, align 8
%40 = load ptr, ptr %21, align 8
%41 = load ptr, ptr %22, align 8
%42 = load ptr, ptr %23, align 8
%43 = load ptr, ptr %24, align 8
%44 = load ptr, ptr %25, align 8
%45 = load ptr, ptr %26, align 8
%46 = load ptr, ptr %27, align 8
%47 = load ptr, ptr %28, align 8
%48 = load ptr, ptr %29, align 8
%49 = load ptr, ptr %30, align 8
%50 = load ptr, ptr %31, align 8
%51 = load ptr, ptr %32, align 8
%52 = load ptr, ptr %33, align 8
%53 = load ptr, ptr %34, align 8
%54 = load ptr, ptr %35, align 8
%55 = load ptr, ptr %36, align 8
%56 = load ptr, ptr %37, align 8
%57 = load ptr, ptr %38, align 8
%58 = call i32 @sfeast_sbgv_(ptr noundef %39, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, ptr noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57)
ret void
}
declare i32 @sfeast_sbgv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3xq370_b.c'
source_filename = "/tmp/tmp3xq370_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fail()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fail_test(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 = call i32 @strdup(ptr noundef @.str)
%6 = call i32 @submod_setres(i32 noundef 0, i32 noundef %5)
ret void
}
declare i32 @submod_setres(i32 noundef, i32 noundef) #1
declare i32 @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xq370_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fail()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fail_test(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 = call i32 @strdup(ptr noundef @.str)
%6 = call i32 @submod_setres(i32 noundef 0, i32 noundef %5)
ret void
}
declare i32 @submod_setres(i32 noundef, i32 noundef) #1
declare i32 @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq4e676c5.c'
source_filename = "/tmp/tmpq4e676c5.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getTimeElapsed(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 8
store ptr %0, ptr %2, align 8
%4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%6 = load i32, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 8
%10 = sub nsw i32 %6, %9
%11 = sitofp i32 %10 to double
%12 = fdiv double %11, 1.000000e+06
%13 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%14 = load i64, ptr %13, align 8
%15 = sitofp i64 %14 to double
%16 = fadd double %12, %15
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = sitofp i64 %19 to double
%21 = fsub double %16, %20
ret double %21
}
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/tmpq4e676c5.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getTimeElapsed(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 8
store ptr %0, ptr %2, align 8
%4 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%5 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%6 = load i32, ptr %5, align 8
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%9 = load i32, ptr %8, align 8
%10 = sub nsw i32 %6, %9
%11 = sitofp i32 %10 to double
%12 = fdiv double %11, 1.000000e+06
%13 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%14 = load i64, ptr %13, align 8
%15 = sitofp i64 %14 to double
%16 = fadd double %12, %15
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = sitofp i64 %19 to double
%21 = fsub double %16, %20
ret double %21
}
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/tmptmj49dw0.c'
source_filename = "/tmp/tmptmj49dw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %7
7: ; preds = %24, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %27
11: ; preds = %7
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = call i32 @affiche_service(ptr noundef %16, ptr noundef @.str)
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @affiche_service(ptr noundef %22, ptr noundef @.str.1)
br label %24
24: ; preds = %11
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %7, !llvm.loop !6
27: ; preds = %7
ret i32 0
}
declare i32 @affiche_service(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/tmptmj49dw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"tcp\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %23
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = call i32 @affiche_service(ptr noundef %15, ptr noundef @.str)
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, 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 @affiche_service(ptr noundef %21, ptr noundef @.str.1)
br label %23
23: ; preds = %10
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @affiche_service(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/tmph19r_2le.c'
source_filename = "/tmp/tmph19r_2le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-v\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"--version\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-h\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-i\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"--init\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-e\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"--init_env\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"-j\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"--init_jdks\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_option(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %5, align 4
br label %7
7: ; preds = %121, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %124
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 45
br i1 %19, label %20, label %117
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str)
%27 = icmp eq i64 %26, 0
br i1 %27, label %36, label %28
28: ; preds = %20
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %28, %20
%37 = load i32, ptr %6, align 4
%38 = or i32 %37, 32
store i32 %38, ptr %6, align 4
br label %39
39: ; preds = %36, %28
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds ptr, ptr %40, i64 %42
%44 = load ptr, ptr %43, align 8
%45 = call i64 @strcmp(ptr noundef %44, ptr noundef @.str.2)
%46 = icmp eq i64 %45, 0
br i1 %46, label %55, label %47
47: ; preds = %39
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.3)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %47, %39
%56 = load i32, ptr %6, align 4
%57 = or i32 %56, 16
store i32 %57, ptr %6, align 4
br label %58
58: ; preds = %55, %47
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.4)
%65 = icmp eq i64 %64, 0
br i1 %65, label %74, label %66
66: ; preds = %58
%67 = load ptr, ptr %4, align 8
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = call i64 @strcmp(ptr noundef %71, ptr noundef @.str.5)
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %66, %58
%75 = load i32, ptr %6, align 4
%76 = or i32 %75, 4
%77 = or i32 %76, 8
store i32 %77, ptr %6, align 4
br label %78
78: ; preds = %74, %66
%79 = load ptr, ptr %4, align 8
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %79, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = call i64 @strcmp(ptr noundef %83, ptr noundef @.str.6)
%85 = icmp eq i64 %84, 0
br i1 %85, label %94, label %86
86: ; preds = %78
%87 = load ptr, ptr %4, align 8
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds ptr, ptr %87, i64 %89
%91 = load ptr, ptr %90, align 8
%92 = call i64 @strcmp(ptr noundef %91, ptr noundef @.str.7)
%93 = icmp eq i64 %92, 0
br i1 %93, label %94, label %97
94: ; preds = %86, %78
%95 = load i32, ptr %6, align 4
%96 = or i32 %95, 4
store i32 %96, ptr %6, align 4
br label %97
97: ; preds = %94, %86
%98 = load ptr, ptr %4, align 8
%99 = load i32, ptr %5, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = call i64 @strcmp(ptr noundef %102, ptr noundef @.str.8)
%104 = icmp eq i64 %103, 0
br i1 %104, label %113, label %105
105: ; preds = %97
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %5, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds ptr, ptr %106, i64 %108
%110 = load ptr, ptr %109, align 8
%111 = call i64 @strcmp(ptr noundef %110, ptr noundef @.str.9)
%112 = icmp eq i64 %111, 0
br i1 %112, label %113, label %116
113: ; preds = %105, %97
%114 = load i32, ptr %6, align 4
%115 = or i32 %114, 8
store i32 %115, ptr %6, align 4
br label %116
116: ; preds = %113, %105
br label %120
117: ; preds = %11
%118 = load i32, ptr %6, align 4
%119 = or i32 %118, 2
store i32 %119, ptr %6, align 4
br label %120
120: ; preds = %117, %116
br label %121
121: ; preds = %120
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %5, align 4
br label %7, !llvm.loop !6
124: ; preds = %7
%125 = load i32, ptr %6, align 4
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %128
127: ; preds = %124
store i32 1, ptr %6, align 4
br label %128
128: ; preds = %127, %124
%129 = load i32, ptr %6, align 4
ret i32 %129
}
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/tmph19r_2le.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-v\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"--version\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"-h\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"-i\00", align 1
@.str.5 = private unnamed_addr constant [7 x i8] c"--init\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"-e\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"--init_env\00", align 1
@.str.8 = private unnamed_addr constant [3 x i8] c"-j\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"--init_jdks\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parse_option(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %126
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %120
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 45
br i1 %18, label %19, label %116
19: ; preds = %10
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str)
%26 = icmp eq i64 %25, 0
br i1 %26, label %35, label %27
27: ; preds = %19
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %38
35: ; preds = %27, %19
%36 = load i32, ptr %6, align 4
%37 = or i32 %36, 32
store i32 %37, ptr %6, align 4
br label %38
38: ; preds = %35, %27
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.2)
%45 = icmp eq i64 %44, 0
br i1 %45, label %54, label %46
46: ; preds = %38
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.3)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %46, %38
%55 = load i32, ptr %6, align 4
%56 = or i32 %55, 16
store i32 %56, ptr %6, align 4
br label %57
57: ; preds = %54, %46
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %5, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.4)
%64 = icmp eq i64 %63, 0
br i1 %64, label %73, label %65
65: ; preds = %57
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %66, i64 %68
%70 = load ptr, ptr %69, align 8
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.5)
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %77
73: ; preds = %65, %57
%74 = load i32, ptr %6, align 4
%75 = or i32 %74, 4
%76 = or i32 %75, 8
store i32 %76, ptr %6, align 4
br label %77
77: ; preds = %73, %65
%78 = load ptr, ptr %4, align 8
%79 = load i32, ptr %5, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds ptr, ptr %78, i64 %80
%82 = load ptr, ptr %81, align 8
%83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.6)
%84 = icmp eq i64 %83, 0
br i1 %84, label %93, label %85
85: ; preds = %77
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %5, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds ptr, ptr %86, i64 %88
%90 = load ptr, ptr %89, align 8
%91 = call i64 @strcmp(ptr noundef %90, ptr noundef @.str.7)
%92 = icmp eq i64 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %85, %77
%94 = load i32, ptr %6, align 4
%95 = or i32 %94, 4
store i32 %95, ptr %6, align 4
br label %96
96: ; preds = %93, %85
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %5, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.8)
%103 = icmp eq i64 %102, 0
br i1 %103, label %112, label %104
104: ; preds = %96
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %5, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds ptr, ptr %105, i64 %107
%109 = load ptr, ptr %108, align 8
%110 = call i64 @strcmp(ptr noundef %109, ptr noundef @.str.9)
%111 = icmp eq i64 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %104, %96
%113 = load i32, ptr %6, align 4
%114 = or i32 %113, 8
store i32 %114, ptr %6, align 4
br label %115
115: ; preds = %112, %104
br label %119
116: ; preds = %10
%117 = load i32, ptr %6, align 4
%118 = or i32 %117, 2
store i32 %118, ptr %6, align 4
br label %119
119: ; preds = %116, %115
br label %120
120: ; preds = %119
%121 = load i32, ptr %5, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %5, align 4
%123 = load i32, ptr %5, align 4
%124 = load i32, ptr %3, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %120
br label %126
126: ; preds = %._crit_edge, %2
%127 = load i32, ptr %6, align 4
%128 = icmp eq i32 %127, 0
br i1 %128, label %129, label %130
129: ; preds = %126
store i32 1, ptr %6, align 4
br label %130
130: ; preds = %129, %126
%131 = load i32, ptr %6, align 4
ret i32 %131
}
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/tmpeu8aj52a.c'
source_filename = "/tmp/tmpeu8aj52a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sudeste(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
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 0, ptr %13, align 4
%14 = load ptr, ptr %7, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %12, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %10, align 4
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %11, align 4
br label %20
20: ; preds = %48, %4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %12, align 4
%24 = add nsw i32 %22, %23
%25 = icmp slt i32 %21, %24
br i1 %25, label %26, label %53
26: ; preds = %20
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %10, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x i8], ptr %27, i64 %29
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100 x i8], ptr %30, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load ptr, ptr %7, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %35, %41
br i1 %42, label %43, label %44
43: ; preds = %26
store i32 -1, ptr %5, align 4
br label %58
44: ; preds = %26
%45 = load i32, ptr %13, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %13, align 4
br label %47
47: ; preds = %44
br label %48
48: ; preds = %47
%49 = load i32, ptr %11, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %11, align 4
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %10, align 4
br label %20, !llvm.loop !6
53: ; preds = %20
%54 = load i32, ptr %10, align 4
%55 = load ptr, ptr %9, align 8
store i32 %54, ptr %55, align 4
%56 = load i32, ptr %11, align 4
%57 = load ptr, ptr %8, align 8
store i32 %56, ptr %57, align 4
store i32 0, ptr %5, align 4
br label %58
58: ; preds = %53, %43
%59 = load i32, ptr %5, align 4
ret i32 %59
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeu8aj52a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sudeste(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
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 0, ptr %13, align 4
%14 = load ptr, ptr %7, align 8
%15 = call i32 @strlen(ptr noundef %14)
store i32 %15, ptr %12, align 4
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %10, align 4
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %10, align 4
%22 = load i32, ptr %12, align 4
%23 = add nsw i32 %21, %22
%24 = icmp slt i32 %20, %23
br i1 %24, label %.lr.ph, label %57
.lr.ph: ; preds = %4
br label %25
25: ; preds = %.lr.ph, %47
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [100 x i8], ptr %26, i64 %28
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %34, %40
br i1 %41, label %42, label %43
42: ; preds = %25
store i32 -1, ptr %5, align 4
br label %62
43: ; preds = %25
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
br label %46
46: ; preds = %43
br label %47
47: ; preds = %46
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %11, align 4
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %10, align 4
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %10, align 4
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %53, %54
%56 = icmp slt i32 %52, %55
br i1 %56, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %57
57: ; preds = %._crit_edge, %4
%58 = load i32, ptr %10, align 4
%59 = load ptr, ptr %9, align 8
store i32 %58, ptr %59, align 4
%60 = load i32, ptr %11, align 4
%61 = load ptr, ptr %8, align 8
store i32 %60, ptr %61, align 4
store i32 0, ptr %5, align 4
br label %62
62: ; preds = %57, %42
%63 = load i32, ptr %5, align 4
ret i32 %63
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv4s70ql_.c'
source_filename = "/tmp/tmpv4s70ql_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swe_difdegn(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = fsub double %5, %6
%8 = call double @swe_degnorm(double noundef %7)
ret double %8
}
declare double @swe_degnorm(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/tmpv4s70ql_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swe_difdegn(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = fsub double %5, %6
%8 = call double @swe_degnorm(double noundef %7)
ret double %8
}
declare double @swe_degnorm(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/tmpuzy7d_0o.c'
source_filename = "/tmp/tmpuzy7d_0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"\1B[%d;%dH\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_gotoxy(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 @stdout, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @fprintf(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/tmpuzy7d_0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"\1B[%d;%dH\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_gotoxy(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 @stdout, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @fprintf(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/tmpvag9us_4.c'
source_filename = "/tmp/tmpvag9us_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cistlv_mkInterest(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %8, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i32 @ccnl_cistlv_prependChunkInterestWithHdr(ptr noundef %13, ptr noundef %10, ptr noundef %14)
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i32, ptr %9, align 4
%25 = call i32 @memmove(ptr noundef %19, ptr noundef %23, i32 noundef %24)
br label %26
26: ; preds = %18, %4
%27 = load i32, ptr %9, align 4
ret i32 %27
}
declare i32 @ccnl_cistlv_prependChunkInterestWithHdr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memmove(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/tmpvag9us_4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cistlv_mkInterest(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %8, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %7, align 8
%15 = call i32 @ccnl_cistlv_prependChunkInterestWithHdr(ptr noundef %13, ptr noundef %10, ptr noundef %14)
store i32 %15, ptr %9, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i32, ptr %9, align 4
%25 = call i32 @memmove(ptr noundef %19, ptr noundef %23, i32 noundef %24)
br label %26
26: ; preds = %18, %4
%27 = load i32, ptr %9, align 4
ret i32 %27
}
declare i32 @ccnl_cistlv_prependChunkInterestWithHdr(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @memmove(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/tmp3rv72tdk.c'
source_filename = "/tmp/tmp3rv72tdk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"(%d,%d)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %27, %2
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %9, 3000
br i1 %10, label %11, label %30
11: ; preds = %8
%12 = load i32, ptr %6, align 4
%13 = call i32 @divisor_sum(i32 noundef %12)
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = call i32 @divisor_sum(i32 noundef %14)
%16 = load i32, ptr %6, align 4
%17 = icmp eq i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %11
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 @printf(ptr noundef @.str, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %22, %18, %11
br label %27
27: ; preds = %26
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %8, !llvm.loop !6
30: ; preds = %8
ret i32 0
}
declare i32 @divisor_sum(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rv72tdk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"(%d,%d)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp sle i32 %8, 3000
br i1 %9, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %26
%11 = load i32, ptr %6, align 4
%12 = call i32 @divisor_sum(i32 noundef %11)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @divisor_sum(i32 noundef %13)
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %25
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21, %17, %10
br label %26
26: ; preds = %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sle i32 %29, 3000
br i1 %30, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @divisor_sum(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.