llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpla6d63at.c'
source_filename = "/tmp/tmpla6d63at.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @window_controller() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
br label %2
2: ; preds = %11, %0
%3 = load i32, ptr %1, align 4
%4 = icmp ne i32 %3, -1
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, ptr %1, align 4
switch i32 %6, label %11 [
i32 1, label %7
i32 2, label %9
]
7: ; preds = %5
%8 = call i32 (...) @main_window_controller()
store i32 %8, ptr %1, align 4
br label %11
9: ; preds = %5
%10 = call i32 (...) @archive_window_controller()
store i32 %10, ptr %1, align 4
br label %11
11: ; preds = %5, %9, %7
br label %2, !llvm.loop !6
12: ; preds = %2
ret void
}
declare i32 @main_window_controller(...) #1
declare i32 @archive_window_controller(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpla6d63at.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @window_controller() #0 {
%1 = alloca i32, align 4
store i32 1, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp ne i32 %2, -1
br i1 %3, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %10
%5 = load i32, ptr %1, align 4
switch i32 %5, label %10 [
i32 1, label %6
i32 2, label %8
]
6: ; preds = %4
%7 = call i32 (...) @main_window_controller()
store i32 %7, ptr %1, align 4
br label %10
8: ; preds = %4
%9 = call i32 (...) @archive_window_controller()
store i32 %9, ptr %1, align 4
br label %10
10: ; preds = %8, %6, %4
%11 = load i32, ptr %1, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %13
13: ; preds = %._crit_edge, %0
ret void
}
declare i32 @main_window_controller(...) #1
declare i32 @archive_window_controller(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp43b45ymm.c'
source_filename = "/tmp/tmp43b45ymm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(+loop)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PlusLoop() #0 {
%1 = call i32 @c(ptr noundef @.str)
%2 = call i32 (...) @resolve_back()
ret void
}
declare i32 @c(ptr noundef) #1
declare i32 @resolve_back(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp43b45ymm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(+loop)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PlusLoop() #0 {
%1 = call i32 @c(ptr noundef @.str)
%2 = call i32 (...) @resolve_back()
ret void
}
declare i32 @c(ptr noundef) #1
declare i32 @resolve_back(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_8kv850.c'
source_filename = "/tmp/tmpg_8kv850.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*** init_task\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @q_init_task() #0 {
%1 = call i32 @qprintf(ptr noundef @.str)
ret void
}
declare i32 @qprintf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_8kv850.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*** init_task\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @q_init_task() #0 {
%1 = call i32 @qprintf(ptr noundef @.str)
ret void
}
declare i32 @qprintf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_isuawca.c'
source_filename = "/tmp/tmp_isuawca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pumas_elastic_path(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca [3 x double], align 16
%15 = alloca [4 x double], align 16
%16 = alloca [2 x double], align 16
%17 = alloca [2 x double], align 16
%18 = alloca double, align 8
%19 = alloca [3 x x86_fp80], align 16
%20 = alloca [3 x x86_fp80], align 16
%21 = alloca [4 x x86_fp80], align 16
%22 = alloca double, align 8
store i32 %0, ptr %7, align 4
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
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %5
%26 = load i32, ptr %7, align 4
%27 = icmp sgt i32 %26, 1
br i1 %27, label %31, label %28
28: ; preds = %25
%29 = load double, ptr %11, align 8
%30 = fcmp ole double %29, 0.000000e+00
br i1 %30, label %31, label %32
31: ; preds = %28, %25, %5
store double 0.000000e+00, ptr %6, align 8
br label %95
32: ; preds = %28
%33 = load double, ptr %8, align 8
%34 = load double, ptr %9, align 8
%35 = load double, ptr %10, align 8
%36 = load double, ptr %11, align 8
%37 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 0
%38 = call i32 @coulomb_frame_parameters(double noundef %33, double noundef %34, double noundef %35, double noundef %36, ptr noundef %13, ptr noundef %37)
%39 = load double, ptr %8, align 8
%40 = load double, ptr %9, align 8
%41 = load double, ptr %10, align 8
%42 = load double, ptr %11, align 8
%43 = load double, ptr %13, align 8
%44 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%45 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%46 = call i32 @coulomb_screening_parameters(double noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, ptr noundef %12, ptr noundef %44, ptr noundef %45)
%47 = load double, ptr %10, align 8
%48 = load double, ptr %11, align 8
%49 = call double @coulomb_spin_factor(double noundef %47, double noundef %48)
store double %49, ptr %18, align 8
%50 = load i32, ptr %12, align 4
%51 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%52 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%53 = getelementptr inbounds [3 x x86_fp80], ptr %19, i64 0, i64 0
%54 = getelementptr inbounds [3 x x86_fp80], ptr %20, i64 0, i64 0
%55 = getelementptr inbounds [4 x x86_fp80], ptr %21, i64 0, i64 0
%56 = call i32 @coulomb_pole_reduction(i32 noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55)
%57 = load double, ptr %18, align 8
%58 = load i32, ptr %12, align 4
%59 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%60 = getelementptr inbounds [3 x x86_fp80], ptr %19, i64 0, i64 0
%61 = getelementptr inbounds [3 x x86_fp80], ptr %20, i64 0, i64 0
%62 = getelementptr inbounds [4 x x86_fp80], ptr %21, i64 0, i64 0
%63 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%64 = call i32 @coulomb_transport_coefficients(i32 noundef 1, double noundef %57, i32 noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63)
%65 = load i32, ptr %7, align 4
%66 = icmp eq i32 %65, 1
br i1 %66, label %67, label %83
67: ; preds = %32
%68 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 0
%69 = load double, ptr %68, align 16
%70 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 1
%71 = load double, ptr %70, align 8
%72 = fadd double 1.000000e+00, %71
%73 = fmul double %69, %72
%74 = fdiv double 1.000000e+00, %73
store double %74, ptr %22, align 8
%75 = load double, ptr %22, align 8
%76 = load double, ptr %22, align 8
%77 = fmul double %75, %76
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 %79
%81 = load double, ptr %80, align 8
%82 = fmul double %81, %77
store double %82, ptr %80, align 8
br label %83
83: ; preds = %67, %32
%84 = load double, ptr %8, align 8
%85 = load double, ptr %9, align 8
%86 = load double, ptr %10, align 8
%87 = load double, ptr %11, align 8
%88 = load double, ptr %13, align 8
%89 = call double @coulomb_normalisation(double noundef %84, double noundef %85, double noundef %86, double noundef %87, double noundef %88)
%90 = load i32, ptr %7, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 %91
%93 = load double, ptr %92, align 8
%94 = fdiv double %89, %93
store double %94, ptr %6, align 8
br label %95
95: ; preds = %83, %31
%96 = load double, ptr %6, align 8
ret double %96
}
declare i32 @coulomb_frame_parameters(double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1
declare i32 @coulomb_screening_parameters(double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @coulomb_spin_factor(double noundef, double noundef) #1
declare i32 @coulomb_pole_reduction(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @coulomb_transport_coefficients(i32 noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @coulomb_normalisation(double noundef, double 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/tmp_isuawca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pumas_elastic_path(i32 noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4) #0 {
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca [3 x double], align 16
%15 = alloca [4 x double], align 16
%16 = alloca [2 x double], align 16
%17 = alloca [2 x double], align 16
%18 = alloca double, align 8
%19 = alloca [3 x x86_fp80], align 16
%20 = alloca [3 x x86_fp80], align 16
%21 = alloca [4 x x86_fp80], align 16
%22 = alloca double, align 8
store i32 %0, ptr %7, align 4
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
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 0
br i1 %24, label %31, label %25
25: ; preds = %5
%26 = load i32, ptr %7, align 4
%27 = icmp sgt i32 %26, 1
br i1 %27, label %31, label %28
28: ; preds = %25
%29 = load double, ptr %11, align 8
%30 = fcmp ole double %29, 0.000000e+00
br i1 %30, label %31, label %32
31: ; preds = %28, %25, %5
store double 0.000000e+00, ptr %6, align 8
br label %95
32: ; preds = %28
%33 = load double, ptr %8, align 8
%34 = load double, ptr %9, align 8
%35 = load double, ptr %10, align 8
%36 = load double, ptr %11, align 8
%37 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 0
%38 = call i32 @coulomb_frame_parameters(double noundef %33, double noundef %34, double noundef %35, double noundef %36, ptr noundef %13, ptr noundef %37)
%39 = load double, ptr %8, align 8
%40 = load double, ptr %9, align 8
%41 = load double, ptr %10, align 8
%42 = load double, ptr %11, align 8
%43 = load double, ptr %13, align 8
%44 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%45 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%46 = call i32 @coulomb_screening_parameters(double noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, ptr noundef %12, ptr noundef %44, ptr noundef %45)
%47 = load double, ptr %10, align 8
%48 = load double, ptr %11, align 8
%49 = call double @coulomb_spin_factor(double noundef %47, double noundef %48)
store double %49, ptr %18, align 8
%50 = load i32, ptr %12, align 4
%51 = getelementptr inbounds [3 x double], ptr %14, i64 0, i64 0
%52 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%53 = getelementptr inbounds [3 x x86_fp80], ptr %19, i64 0, i64 0
%54 = getelementptr inbounds [3 x x86_fp80], ptr %20, i64 0, i64 0
%55 = getelementptr inbounds [4 x x86_fp80], ptr %21, i64 0, i64 0
%56 = call i32 @coulomb_pole_reduction(i32 noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, ptr noundef %55)
%57 = load double, ptr %18, align 8
%58 = load i32, ptr %12, align 4
%59 = getelementptr inbounds [4 x double], ptr %15, i64 0, i64 0
%60 = getelementptr inbounds [3 x x86_fp80], ptr %19, i64 0, i64 0
%61 = getelementptr inbounds [3 x x86_fp80], ptr %20, i64 0, i64 0
%62 = getelementptr inbounds [4 x x86_fp80], ptr %21, i64 0, i64 0
%63 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 0
%64 = call i32 @coulomb_transport_coefficients(i32 noundef 1, double noundef %57, i32 noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63)
%65 = load i32, ptr %7, align 4
%66 = icmp eq i32 %65, 1
br i1 %66, label %67, label %83
67: ; preds = %32
%68 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 0
%69 = load double, ptr %68, align 16
%70 = getelementptr inbounds [2 x double], ptr %17, i64 0, i64 1
%71 = load double, ptr %70, align 8
%72 = fadd double 1.000000e+00, %71
%73 = fmul double %69, %72
%74 = fdiv double 1.000000e+00, %73
store double %74, ptr %22, align 8
%75 = load double, ptr %22, align 8
%76 = load double, ptr %22, align 8
%77 = fmul double %75, %76
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 %79
%81 = load double, ptr %80, align 8
%82 = fmul double %81, %77
store double %82, ptr %80, align 8
br label %83
83: ; preds = %67, %32
%84 = load double, ptr %8, align 8
%85 = load double, ptr %9, align 8
%86 = load double, ptr %10, align 8
%87 = load double, ptr %11, align 8
%88 = load double, ptr %13, align 8
%89 = call double @coulomb_normalisation(double noundef %84, double noundef %85, double noundef %86, double noundef %87, double noundef %88)
%90 = load i32, ptr %7, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [2 x double], ptr %16, i64 0, i64 %91
%93 = load double, ptr %92, align 8
%94 = fdiv double %89, %93
store double %94, ptr %6, align 8
br label %95
95: ; preds = %83, %31
%96 = load double, ptr %6, align 8
ret double %96
}
declare i32 @coulomb_frame_parameters(double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef) #1
declare i32 @coulomb_screening_parameters(double noundef, double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @coulomb_spin_factor(double noundef, double noundef) #1
declare i32 @coulomb_pole_reduction(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @coulomb_transport_coefficients(i32 noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare double @coulomb_normalisation(double noundef, double 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/tmp_rxd7i1m.c'
source_filename = "/tmp/tmp_rxd7i1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s: string\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"%s: string too large\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Compressed, from %lu->%lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"FAILED compressing.\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"Uncompressed ok. String: '%s', size %lu->%lu\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"FAILED uncompressing.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca [2048 x i8], align 16
%10 = alloca [2048 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 i64 2010, ptr %8, align 8
%11 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 2048)
%13 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 2048)
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strlen(ptr noundef %26)
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ugt i64 %28, 2000
br i1 %29, label %30, label %36
30: ; preds = %23
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %23
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 1
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%41 = load i64, ptr %7, align 8
%42 = load i64, ptr %8, align 8
%43 = call i64 @os_zlib_compress(ptr noundef %39, ptr noundef %40, i64 noundef %41, i64 noundef %42)
store i64 %43, ptr %6, align 8
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %36
%46 = load i64, ptr %7, align 8
%47 = load i64, ptr %6, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %46, i64 noundef %47)
br label %52
49: ; preds = %36
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%51 = call i32 @exit(i32 noundef 1) #3
unreachable
52: ; preds = %45
%53 = load i64, ptr %6, align 8
store i64 %53, ptr %7, align 8
%54 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%55 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
%56 = load i64, ptr %7, align 8
%57 = load i64, ptr %8, align 8
%58 = call i64 @os_zlib_uncompress(ptr noundef %54, ptr noundef %55, i64 noundef %56, i64 noundef %57)
store i64 %58, ptr %6, align 8
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %52
%61 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
%62 = load i64, ptr %7, align 8
%63 = load i64, ptr %6, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %61, i64 noundef %62, i64 noundef %63)
br label %68
65: ; preds = %52
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%67 = call i32 @exit(i32 noundef 1) #3
unreachable
68: ; preds = %60
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strlen(ptr noundef) #1
declare i64 @os_zlib_compress(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @os_zlib_uncompress(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_rxd7i1m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%s: string\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"%s: string too large\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Compressed, from %lu->%lu\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"FAILED compressing.\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"Uncompressed ok. String: '%s', size %lu->%lu\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"FAILED uncompressing.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca [2048 x i8], align 16
%10 = alloca [2048 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 i64 2010, ptr %8, align 8
%11 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%12 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 2048)
%13 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 2048)
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %23
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 1
%26 = load ptr, ptr %25, align 8
%27 = call i64 @strlen(ptr noundef %26)
store i64 %27, ptr %7, align 8
%28 = load i64, ptr %7, align 8
%29 = icmp ugt i64 %28, 2000
br i1 %29, label %30, label %36
30: ; preds = %23
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %33)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %23
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 1
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%41 = load i64, ptr %7, align 8
%42 = load i64, ptr %8, align 8
%43 = call i64 @os_zlib_compress(ptr noundef %39, ptr noundef %40, i64 noundef %41, i64 noundef %42)
store i64 %43, ptr %6, align 8
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %36
%46 = load i64, ptr %7, align 8
%47 = load i64, ptr %6, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %46, i64 noundef %47)
br label %52
49: ; preds = %36
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%51 = call i32 @exit(i32 noundef 1) #3
unreachable
52: ; preds = %45
%53 = load i64, ptr %6, align 8
store i64 %53, ptr %7, align 8
%54 = getelementptr inbounds [2048 x i8], ptr %9, i64 0, i64 0
%55 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
%56 = load i64, ptr %7, align 8
%57 = load i64, ptr %8, align 8
%58 = call i64 @os_zlib_uncompress(ptr noundef %54, ptr noundef %55, i64 noundef %56, i64 noundef %57)
store i64 %58, ptr %6, align 8
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %65
60: ; preds = %52
%61 = getelementptr inbounds [2048 x i8], ptr %10, i64 0, i64 0
%62 = load i64, ptr %7, align 8
%63 = load i64, ptr %6, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %61, i64 noundef %62, i64 noundef %63)
br label %68
65: ; preds = %52
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%67 = call i32 @exit(i32 noundef 1) #3
unreachable
68: ; preds = %60
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strlen(ptr noundef) #1
declare i64 @os_zlib_compress(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
declare i64 @os_zlib_uncompress(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_oczli90.c'
source_filename = "/tmp/tmp_oczli90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_oczli90.c"
target datalayout = "e-m:e-p270: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/tmp64bm8r8m.c'
source_filename = "/tmp/tmp64bm8r8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
br label %4
4: ; preds = %0, %32
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %29, %4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %6, 15
br i1 %7, label %8, label %32
8: ; preds = %5
store i32 0, ptr %1, align 4
br label %9
9: ; preds = %25, %8
%10 = load i32, ptr %1, align 4
%11 = icmp sle i32 %10, 150
br i1 %11, label %12, label %28
12: ; preds = %9
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %21, %12
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %14, 150
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %1, align 4
%19 = load i32, ptr %2, align 4
%20 = call i32 @lin_solve_computation(i32 noundef %17, i32 noundef %18, i32 noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
br label %13, !llvm.loop !6
24: ; preds = %13
br label %25
25: ; preds = %24
%26 = load i32, ptr %1, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %1, align 4
br label %9, !llvm.loop !8
28: ; preds = %9
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %5, !llvm.loop !9
32: ; preds = %5
br label %4
}
declare i32 @lin_solve_computation(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp64bm8r8m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
br label %4
4: ; preds = %35, %0
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 15
br i1 %6, label %.lr.ph5, label %35
.lr.ph5: ; preds = %4
br label %7
7: ; preds = %.lr.ph5, %30
store i32 0, ptr %1, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp sle i32 %8, 150
br i1 %9, label %.lr.ph2, label %29
.lr.ph2: ; preds = %7
br label %10
10: ; preds = %.lr.ph2, %24
store i32 0, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp sle i32 %11, 150
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %18
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %2, align 4
%17 = call i32 @lin_solve_computation(i32 noundef %14, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp sle i32 %21, 150
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %10
br label %24
24: ; preds = %23
%25 = load i32, ptr %1, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %1, align 4
%27 = load i32, ptr %1, align 4
%28 = icmp sle i32 %27, 150
br i1 %28, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %29
29: ; preds = %._crit_edge3, %7
br label %30
30: ; preds = %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp sle i32 %33, 15
br i1 %34, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %30
br label %35
35: ; preds = %._crit_edge6, %4
br label %4
}
declare i32 @lin_solve_computation(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpz9evwg1v.c'
source_filename = "/tmp/tmpz9evwg1v.c"
target datalayout = "e-m:e-p270: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/tmpz9evwg1v.c"
target datalayout = "e-m:e-p270: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/tmpfw7aqpyt.c'
source_filename = "/tmp/tmpfw7aqpyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cDropIO(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i64 @EnvDeactivateRouter(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @EnvDeleteRouter(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %14, %10
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @EnvDeactivateRouter(ptr noundef, ptr noundef) #1
declare i32 @EnvDeleteRouter(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/tmpfw7aqpyt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cDropIO(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i64 @EnvDeactivateRouter(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @EnvDeleteRouter(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %3, align 4
br label %15
14: ; preds = %2
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %14, %10
%16 = load i32, ptr %3, align 4
ret i32 %16
}
declare i64 @EnvDeactivateRouter(ptr noundef, ptr noundef) #1
declare i32 @EnvDeleteRouter(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/tmpq95wv7lz.c'
source_filename = "/tmp/tmpq95wv7lz.c"
target datalayout = "e-m:e-p270: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/tmpq95wv7lz.c"
target datalayout = "e-m:e-p270: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/tmphj5shb4r.c'
source_filename = "/tmp/tmphj5shb4r.c"
target datalayout = "e-m:e-p270: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/tmphj5shb4r.c"
target datalayout = "e-m:e-p270: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/tmpflmeb10g.c'
source_filename = "/tmp/tmpflmeb10g.c"
target datalayout = "e-m:e-p270: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 { double, double }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @exaperf_gettime() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca double, align 8
%3 = call i32 @os_gettimeofday(ptr noundef %1)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load double, ptr %4, align 8
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load double, ptr %6, align 8
%8 = fdiv double %7, 1.000000e+06
%9 = call double @llvm.fmuladd.f64(double %5, double 1.000000e+00, double %8)
store double %9, ptr %2, align 8
%10 = load double, ptr %2, align 8
ret double %10
}
declare i32 @os_gettimeofday(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpflmeb10g.c"
target datalayout = "e-m:e-p270: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 { double, double }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @exaperf_gettime() #0 {
%1 = alloca %struct.timeval, align 8
%2 = alloca double, align 8
%3 = call i32 @os_gettimeofday(ptr noundef %1)
%4 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0
%5 = load double, ptr %4, align 8
%6 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1
%7 = load double, ptr %6, align 8
%8 = fdiv double %7, 1.000000e+06
%9 = call double @llvm.fmuladd.f64(double %5, double 1.000000e+00, double %8)
store double %9, ptr %2, align 8
%10 = load double, ptr %2, align 8
ret double %10
}
declare i32 @os_gettimeofday(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz7sowlhl.c'
source_filename = "/tmp/tmpz7sowlhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Invalid user interrupt number\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_software_interrupt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 3
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 3, %6
%8 = zext i1 %7 to i32
%9 = icmp slt i32 %8, 6
br i1 %9, label %12, label %10
10: ; preds = %1
%11 = call i32 @error(ptr noundef @.str)
br label %12
12: ; preds = %10, %1
%13 = load i32, ptr %3, align 4
%14 = call i32 @send_user_interrupt(i32 noundef %13)
ret void
}
declare i32 @error(ptr noundef) #1
declare i32 @send_user_interrupt(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/tmpz7sowlhl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Invalid user interrupt number\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_software_interrupt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 3
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 3, %6
%8 = zext i1 %7 to i32
%9 = icmp slt i32 %8, 6
br i1 %9, label %12, label %10
10: ; preds = %1
%11 = call i32 @error(ptr noundef @.str)
br label %12
12: ; preds = %10, %1
%13 = load i32, ptr %3, align 4
%14 = call i32 @send_user_interrupt(i32 noundef %13)
ret void
}
declare i32 @error(ptr noundef) #1
declare i32 @send_user_interrupt(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/tmpohtvdaz9.c'
source_filename = "/tmp/tmpohtvdaz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 458752
%7 = ashr i32 %6, 16
%8 = sext i32 %7 to i64
%9 = load i32, ptr %3, align 4
%10 = add i32 %9, -32720
%11 = zext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
%13 = load volatile i64, ptr %12, align 8
%14 = or i64 %13, %8
store volatile i64 %14, ptr %12, align 8
%15 = load i32, ptr %4, align 4
%16 = and i32 %15, 65535
%17 = sext i32 %16 to i64
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 64
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to ptr
%22 = load volatile i64, ptr %21, align 8
%23 = or i64 %22, %17
store volatile i64 %23, ptr %21, 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/tmpohtvdaz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntEnable(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = and i32 %5, 458752
%7 = ashr i32 %6, 16
%8 = sext i32 %7 to i64
%9 = load i32, ptr %3, align 4
%10 = add i32 %9, -32720
%11 = zext i32 %10 to i64
%12 = inttoptr i64 %11 to ptr
%13 = load volatile i64, ptr %12, align 8
%14 = or i64 %13, %8
store volatile i64 %14, ptr %12, align 8
%15 = load i32, ptr %4, align 4
%16 = and i32 %15, 65535
%17 = sext i32 %16 to i64
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 64
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to ptr
%22 = load volatile i64, ptr %21, align 8
%23 = or i64 %22, %17
store volatile i64 %23, ptr %21, 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/tmptu5wxhur.c'
source_filename = "/tmp/tmptu5wxhur.c"
target datalayout = "e-m:e-p270: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.udphdr = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_udphdr_check_ntohs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.udphdr, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @ntohs(i32 noundef %5)
ret i32 %6
}
declare i32 @ntohs(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/tmptu5wxhur.c"
target datalayout = "e-m:e-p270: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.udphdr = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_udphdr_check_ntohs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.udphdr, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
%6 = call i32 @ntohs(i32 noundef %5)
ret i32 %6
}
declare i32 @ntohs(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv_qf2zkr.c'
source_filename = "/tmp/tmpv_qf2zkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wBuiltinLoc() #0 {
%1 = call i64 (...) @wStackPopNumber()
%2 = trunc i64 %1 to i32
%3 = call i32 @wFilePosition(i32 noundef %2)
%4 = call i32 @wStackPushNumber(i32 noundef %3)
ret void
}
declare i32 @wStackPushNumber(i32 noundef) #1
declare i32 @wFilePosition(i32 noundef) #1
declare i64 @wStackPopNumber(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv_qf2zkr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wBuiltinLoc() #0 {
%1 = call i64 (...) @wStackPopNumber()
%2 = trunc i64 %1 to i32
%3 = call i32 @wFilePosition(i32 noundef %2)
%4 = call i32 @wStackPushNumber(i32 noundef %3)
ret void
}
declare i32 @wStackPushNumber(i32 noundef) #1
declare i32 @wFilePosition(i32 noundef) #1
declare i64 @wStackPopNumber(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptefkfu1h.c'
source_filename = "/tmp/tmptefkfu1h.c"
target datalayout = "e-m:e-p270: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/tmptefkfu1h.c"
target datalayout = "e-m:e-p270: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/tmph6lt1yfc.c'
source_filename = "/tmp/tmph6lt1yfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 1, ptr noundef %5)
%7 = icmp ne i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %8
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6lt1yfc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fgetc(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = call i32 @fread(ptr noundef %4, i32 noundef 1, i32 noundef 1, ptr noundef %5)
%7 = icmp ne i32 %6, 0
br i1 %7, label %9, label %8
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %9, %8
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoigi2_ku.c'
source_filename = "/tmp/tmpoigi2_ku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.nsize = internal global [3 x i32] zeroinitializer, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Can't allocate data array.\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"Wrong answer at (%d,%d)! Expected %d, got %d.\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"%d passes. No errors in results.\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"%d passes. %d errors in results.\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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, 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
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 20, ptr %7, align 4
store i32 256, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %22, %23
%25 = sext i32 %24 to i64
store i64 %25, ptr %10, align 8
%26 = load i64, ptr %10, align 8
%27 = add nsw i64 %26, 1
%28 = mul nsw i64 %27, 2
%29 = mul i64 %28, 8
store i64 %29, ptr %11, align 8
%30 = load i32, ptr %8, align 4
store i32 %30, ptr getelementptr inbounds ([3 x i32], ptr @main.nsize, i64 0, i64 2), align 4
store i32 %30, ptr getelementptr inbounds ([3 x i32], ptr @main.nsize, i64 0, i64 1), align 4
%31 = load i64, ptr %11, align 8
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %9, align 8
%34 = load ptr, ptr %9, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %0
%37 = load i32, ptr @stdout, align 4
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str)
%39 = call i32 @exit(i32 noundef 1) #3
unreachable
40: ; preds = %0
%41 = load ptr, ptr %9, align 8
%42 = load i64, ptr %11, align 8
%43 = call i32 @memset(ptr noundef %41, i32 noundef 0, i64 noundef %42)
store i32 0, ptr %2, align 4
br label %44
44: ; preds = %77, %40
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %80
48: ; preds = %44
store i32 0, ptr %3, align 4
br label %49
49: ; preds = %73, %48
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %76
53: ; preds = %49
%54 = load i32, ptr %2, align 4
%55 = and i32 %54, 15
%56 = icmp eq i32 %55, 8
br i1 %56, label %61, label %57
57: ; preds = %53
%58 = load i32, ptr %3, align 4
%59 = and i32 %58, 15
%60 = icmp eq i32 %59, 8
br i1 %60, label %61, label %72
61: ; preds = %57, %53
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %2, align 4
%65 = mul nsw i32 %63, %64
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %65, %66
%68 = mul nsw i32 %67, 2
%69 = add nsw i32 1, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %62, i64 %70
store double 1.280000e+02, ptr %71, align 8
br label %72
72: ; preds = %61, %57
br label %73
73: ; preds = %72
%74 = load i32, ptr %3, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %3, align 4
br label %49, !llvm.loop !6
76: ; preds = %49
br label %77
77: ; preds = %76
%78 = load i32, ptr %2, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %2, align 4
br label %44, !llvm.loop !8
80: ; preds = %44
store i32 0, ptr %2, align 4
br label %81
81: ; preds = %90, %80
%82 = load i32, ptr %2, align 4
%83 = load i32, ptr %7, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %85, label %93
85: ; preds = %81
%86 = load ptr, ptr %9, align 8
%87 = call i32 @fourn(ptr noundef %86, ptr noundef @main.nsize, i32 noundef 2, i32 noundef 1)
%88 = load ptr, ptr %9, align 8
%89 = call i32 @fourn(ptr noundef %88, ptr noundef @main.nsize, i32 noundef 2, i32 noundef -1)
br label %90
90: ; preds = %85
%91 = load i32, ptr %2, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %2, align 4
br label %81, !llvm.loop !9
93: ; preds = %81
store double 1.000000e+10, ptr %14, align 8
store double -1.000000e+10, ptr %15, align 8
store double 1.000000e+10, ptr %16, align 8
store double -1.000000e+10, ptr %17, align 8
store double 0.000000e+00, ptr %20, align 8
store double 0.000000e+00, ptr %21, align 8
store i32 1, ptr %2, align 4
br label %94
94: ; preds = %153, %93
%95 = load i32, ptr %2, align 4
%96 = sext i32 %95 to i64
%97 = load i64, ptr %10, align 8
%98 = icmp sle i64 %96, %97
br i1 %98, label %99, label %156
99: ; preds = %94
%100 = load ptr, ptr %9, align 8
%101 = load i32, ptr %2, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
%104 = load double, ptr %103, align 8
store double %104, ptr %18, align 8
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %2, align 4
%107 = add nsw i32 %106, 1
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, ptr %105, i64 %108
%110 = load double, ptr %109, align 8
store double %110, ptr %19, align 8
%111 = load double, ptr %18, align 8
%112 = load double, ptr %20, align 8
%113 = fadd double %112, %111
store double %113, ptr %20, align 8
%114 = load double, ptr %19, align 8
%115 = load double, ptr %21, align 8
%116 = fadd double %115, %114
store double %116, ptr %21, align 8
%117 = load double, ptr %18, align 8
%118 = load double, ptr %14, align 8
%119 = fcmp ole double %117, %118
br i1 %119, label %120, label %122
120: ; preds = %99
%121 = load double, ptr %18, align 8
br label %124
122: ; preds = %99
%123 = load double, ptr %14, align 8
br label %124
124: ; preds = %122, %120
%125 = phi double [ %121, %120 ], [ %123, %122 ]
store double %125, ptr %14, align 8
%126 = load double, ptr %18, align 8
%127 = load double, ptr %15, align 8
%128 = fcmp ogt double %126, %127
br i1 %128, label %129, label %131
129: ; preds = %124
%130 = load double, ptr %18, align 8
br label %133
131: ; preds = %124
%132 = load double, ptr %15, align 8
br label %133
133: ; preds = %131, %129
%134 = phi double [ %130, %129 ], [ %132, %131 ]
store double %134, ptr %15, align 8
%135 = load double, ptr %19, align 8
%136 = load double, ptr %16, align 8
%137 = fcmp ole double %135, %136
br i1 %137, label %138, label %140
138: ; preds = %133
%139 = load double, ptr %19, align 8
br label %142
140: ; preds = %133
%141 = load double, ptr %16, align 8
br label %142
142: ; preds = %140, %138
%143 = phi double [ %139, %138 ], [ %141, %140 ]
store double %143, ptr %16, align 8
%144 = load double, ptr %19, align 8
%145 = load double, ptr %17, align 8
%146 = fcmp ogt double %144, %145
br i1 %146, label %147, label %149
147: ; preds = %142
%148 = load double, ptr %19, align 8
br label %151
149: ; preds = %142
%150 = load double, ptr %17, align 8
br label %151
151: ; preds = %149, %147
%152 = phi double [ %148, %147 ], [ %150, %149 ]
store double %152, ptr %17, align 8
br label %153
153: ; preds = %151
%154 = load i32, ptr %2, align 4
%155 = add nsw i32 %154, 2
store i32 %155, ptr %2, align 4
br label %94, !llvm.loop !10
156: ; preds = %94
%157 = load double, ptr %14, align 8
store double %157, ptr %12, align 8
%158 = load double, ptr %15, align 8
%159 = load double, ptr %14, align 8
%160 = fsub double %158, %159
%161 = fdiv double 2.550000e+02, %160
store double %161, ptr %13, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %2, align 4
br label %162
162: ; preds = %216, %156
%163 = load i32, ptr %2, align 4
%164 = load i32, ptr %8, align 4
%165 = icmp slt i32 %163, %164
br i1 %165, label %166, label %219
166: ; preds = %162
store i32 0, ptr %3, align 4
br label %167
167: ; preds = %212, %166
%168 = load i32, ptr %3, align 4
%169 = load i32, ptr %8, align 4
%170 = icmp slt i32 %168, %169
br i1 %170, label %171, label %215
171: ; preds = %167
%172 = load ptr, ptr %9, align 8
%173 = load i32, ptr %8, align 4
%174 = load i32, ptr %2, align 4
%175 = mul nsw i32 %173, %174
%176 = load i32, ptr %3, align 4
%177 = add nsw i32 %175, %176
%178 = mul nsw i32 %177, 2
%179 = add nsw i32 1, %178
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %172, i64 %180
%182 = load double, ptr %181, align 8
%183 = load double, ptr %12, align 8
%184 = fsub double %182, %183
%185 = load double, ptr %13, align 8
%186 = fmul double %184, %185
%187 = fptosi double %186 to i32
store i32 %187, ptr %4, align 4
%188 = load i32, ptr %2, align 4
%189 = and i32 %188, 15
%190 = icmp eq i32 %189, 8
br i1 %190, label %195, label %191
191: ; preds = %171
%192 = load i32, ptr %3, align 4
%193 = and i32 %192, 15
%194 = icmp eq i32 %193, 8
br label %195
195: ; preds = %191, %171
%196 = phi i1 [ true, %171 ], [ %194, %191 ]
%197 = zext i1 %196 to i64
%198 = select i1 %196, i32 255, i32 0
store i32 %198, ptr %5, align 4
%199 = load i32, ptr %4, align 4
%200 = load i32, ptr %5, align 4
%201 = icmp ne i32 %199, %200
br i1 %201, label %202, label %211
202: ; preds = %195
%203 = load i32, ptr %6, align 4
%204 = add nsw i32 %203, 1
store i32 %204, ptr %6, align 4
%205 = load i32, ptr @stdout, align 4
%206 = load i32, ptr %2, align 4
%207 = load i32, ptr %3, align 4
%208 = load i32, ptr %5, align 4
%209 = load i32, ptr %4, align 4
%210 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %205, ptr noundef @.str.1, i32 noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209)
br label %211
211: ; preds = %202, %195
br label %212
212: ; preds = %211
%213 = load i32, ptr %3, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %3, align 4
br label %167, !llvm.loop !11
215: ; preds = %167
br label %216
216: ; preds = %215
%217 = load i32, ptr %2, align 4
%218 = add nsw i32 %217, 1
store i32 %218, ptr %2, align 4
br label %162, !llvm.loop !12
219: ; preds = %162
%220 = load i32, ptr %6, align 4
%221 = icmp eq i32 %220, 0
br i1 %221, label %222, label %226
222: ; preds = %219
%223 = load i32, ptr @stdout, align 4
%224 = load i32, ptr %7, align 4
%225 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %223, ptr noundef @.str.2, i32 noundef %224)
br label %231
226: ; preds = %219
%227 = load i32, ptr @stdout, align 4
%228 = load i32, ptr %7, align 4
%229 = load i32, ptr %6, align 4
%230 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %227, ptr noundef @.str.3, i32 noundef %228, i32 noundef %229)
br label %231
231: ; preds = %226, %222
ret i32 0
}
declare i64 @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @fourn(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!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/tmpoigi2_ku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.nsize = internal global [3 x i32] zeroinitializer, align 4
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"Can't allocate data array.\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"Wrong answer at (%d,%d)! Expected %d, got %d.\0A\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"%d passes. No errors in results.\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"%d passes. %d errors in results.\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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, 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
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 20, ptr %7, align 4
store i32 256, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = mul nsw i32 %22, %23
%25 = sext i32 %24 to i64
store i64 %25, ptr %10, align 8
%26 = load i64, ptr %10, align 8
%27 = add nsw i64 %26, 1
%28 = mul nsw i64 %27, 2
%29 = mul i64 %28, 8
store i64 %29, ptr %11, align 8
%30 = load i32, ptr %8, align 4
store i32 %30, ptr getelementptr inbounds ([3 x i32], ptr @main.nsize, i64 0, i64 2), align 4
store i32 %30, ptr getelementptr inbounds ([3 x i32], ptr @main.nsize, i64 0, i64 1), align 4
%31 = load i64, ptr %11, align 8
%32 = call i64 @malloc(i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %9, align 8
%34 = load ptr, ptr %9, align 8
%35 = icmp eq ptr %34, null
br i1 %35, label %36, label %40
36: ; preds = %0
%37 = load i32, ptr @stdout, align 4
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str)
%39 = call i32 @exit(i32 noundef 1) #3
unreachable
40: ; preds = %0
%41 = load ptr, ptr %9, align 8
%42 = load i64, ptr %11, align 8
%43 = call i32 @memset(ptr noundef %41, i32 noundef 0, i64 noundef %42)
store i32 0, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph2, label %84
.lr.ph2: ; preds = %40
br label %47
47: ; preds = %.lr.ph2, %78
store i32 0, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %8, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph, label %77
.lr.ph: ; preds = %47
br label %51
51: ; preds = %.lr.ph, %71
%52 = load i32, ptr %2, align 4
%53 = and i32 %52, 15
%54 = icmp eq i32 %53, 8
br i1 %54, label %59, label %55
55: ; preds = %51
%56 = load i32, ptr %3, align 4
%57 = and i32 %56, 15
%58 = icmp eq i32 %57, 8
br i1 %58, label %59, label %70
59: ; preds = %55, %51
%60 = load ptr, ptr %9, align 8
%61 = load i32, ptr %8, align 4
%62 = load i32, ptr %2, align 4
%63 = mul nsw i32 %61, %62
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %63, %64
%66 = mul nsw i32 %65, 2
%67 = add nsw i32 1, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %60, i64 %68
store double 1.280000e+02, ptr %69, align 8
br label %70
70: ; preds = %59, %55
br label %71
71: ; preds = %70
%72 = load i32, ptr %3, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %3, align 4
%74 = load i32, ptr %3, align 4
%75 = load i32, ptr %8, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %51, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %47
br label %78
78: ; preds = %77
%79 = load i32, ptr %2, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %2, align 4
%81 = load i32, ptr %2, align 4
%82 = load i32, ptr %8, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %78
br label %84
84: ; preds = %._crit_edge3, %40
store i32 0, ptr %2, align 4
%85 = load i32, ptr %2, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph5, label %99
.lr.ph5: ; preds = %84
br label %88
88: ; preds = %.lr.ph5, %93
%89 = load ptr, ptr %9, align 8
%90 = call i32 @fourn(ptr noundef %89, ptr noundef @main.nsize, i32 noundef 2, i32 noundef 1)
%91 = load ptr, ptr %9, align 8
%92 = call i32 @fourn(ptr noundef %91, ptr noundef @main.nsize, i32 noundef 2, i32 noundef -1)
br label %93
93: ; preds = %88
%94 = load i32, ptr %2, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %2, align 4
%96 = load i32, ptr %2, align 4
%97 = load i32, ptr %7, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %88, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %93
br label %99
99: ; preds = %._crit_edge6, %84
store double 1.000000e+10, ptr %14, align 8
store double -1.000000e+10, ptr %15, align 8
store double 1.000000e+10, ptr %16, align 8
store double -1.000000e+10, ptr %17, align 8
store double 0.000000e+00, ptr %20, align 8
store double 0.000000e+00, ptr %21, align 8
store i32 1, ptr %2, align 4
%100 = load i32, ptr %2, align 4
%101 = sext i32 %100 to i64
%102 = load i64, ptr %10, align 8
%103 = icmp sle i64 %101, %102
br i1 %103, label %.lr.ph8, label %165
.lr.ph8: ; preds = %99
br label %104
104: ; preds = %.lr.ph8, %158
%105 = load ptr, ptr %9, align 8
%106 = load i32, ptr %2, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %105, i64 %107
%109 = load double, ptr %108, align 8
store double %109, ptr %18, align 8
%110 = load ptr, ptr %9, align 8
%111 = load i32, ptr %2, align 4
%112 = add nsw i32 %111, 1
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, ptr %110, i64 %113
%115 = load double, ptr %114, align 8
store double %115, ptr %19, align 8
%116 = load double, ptr %18, align 8
%117 = load double, ptr %20, align 8
%118 = fadd double %117, %116
store double %118, ptr %20, align 8
%119 = load double, ptr %19, align 8
%120 = load double, ptr %21, align 8
%121 = fadd double %120, %119
store double %121, ptr %21, align 8
%122 = load double, ptr %18, align 8
%123 = load double, ptr %14, align 8
%124 = fcmp ole double %122, %123
br i1 %124, label %125, label %127
125: ; preds = %104
%126 = load double, ptr %18, align 8
br label %129
127: ; preds = %104
%128 = load double, ptr %14, align 8
br label %129
129: ; preds = %127, %125
%130 = phi double [ %126, %125 ], [ %128, %127 ]
store double %130, ptr %14, align 8
%131 = load double, ptr %18, align 8
%132 = load double, ptr %15, align 8
%133 = fcmp ogt double %131, %132
br i1 %133, label %134, label %136
134: ; preds = %129
%135 = load double, ptr %18, align 8
br label %138
136: ; preds = %129
%137 = load double, ptr %15, align 8
br label %138
138: ; preds = %136, %134
%139 = phi double [ %135, %134 ], [ %137, %136 ]
store double %139, ptr %15, align 8
%140 = load double, ptr %19, align 8
%141 = load double, ptr %16, align 8
%142 = fcmp ole double %140, %141
br i1 %142, label %143, label %145
143: ; preds = %138
%144 = load double, ptr %19, align 8
br label %147
145: ; preds = %138
%146 = load double, ptr %16, align 8
br label %147
147: ; preds = %145, %143
%148 = phi double [ %144, %143 ], [ %146, %145 ]
store double %148, ptr %16, align 8
%149 = load double, ptr %19, align 8
%150 = load double, ptr %17, align 8
%151 = fcmp ogt double %149, %150
br i1 %151, label %152, label %154
152: ; preds = %147
%153 = load double, ptr %19, align 8
br label %156
154: ; preds = %147
%155 = load double, ptr %17, align 8
br label %156
156: ; preds = %154, %152
%157 = phi double [ %153, %152 ], [ %155, %154 ]
store double %157, ptr %17, align 8
br label %158
158: ; preds = %156
%159 = load i32, ptr %2, align 4
%160 = add nsw i32 %159, 2
store i32 %160, ptr %2, align 4
%161 = load i32, ptr %2, align 4
%162 = sext i32 %161 to i64
%163 = load i64, ptr %10, align 8
%164 = icmp sle i64 %162, %163
br i1 %164, label %104, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %158
br label %165
165: ; preds = %._crit_edge9, %99
%166 = load double, ptr %14, align 8
store double %166, ptr %12, align 8
%167 = load double, ptr %15, align 8
%168 = load double, ptr %14, align 8
%169 = fsub double %167, %168
%170 = fdiv double 2.550000e+02, %169
store double %170, ptr %13, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %2, align 4
%171 = load i32, ptr %2, align 4
%172 = load i32, ptr %8, align 4
%173 = icmp slt i32 %171, %172
br i1 %173, label %.lr.ph14, label %232
.lr.ph14: ; preds = %165
br label %174
174: ; preds = %.lr.ph14, %226
store i32 0, ptr %3, align 4
%175 = load i32, ptr %3, align 4
%176 = load i32, ptr %8, align 4
%177 = icmp slt i32 %175, %176
br i1 %177, label %.lr.ph11, label %225
.lr.ph11: ; preds = %174
br label %178
178: ; preds = %.lr.ph11, %219
%179 = load ptr, ptr %9, align 8
%180 = load i32, ptr %8, align 4
%181 = load i32, ptr %2, align 4
%182 = mul nsw i32 %180, %181
%183 = load i32, ptr %3, align 4
%184 = add nsw i32 %182, %183
%185 = mul nsw i32 %184, 2
%186 = add nsw i32 1, %185
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, ptr %179, i64 %187
%189 = load double, ptr %188, align 8
%190 = load double, ptr %12, align 8
%191 = fsub double %189, %190
%192 = load double, ptr %13, align 8
%193 = fmul double %191, %192
%194 = fptosi double %193 to i32
store i32 %194, ptr %4, align 4
%195 = load i32, ptr %2, align 4
%196 = and i32 %195, 15
%197 = icmp eq i32 %196, 8
br i1 %197, label %202, label %198
198: ; preds = %178
%199 = load i32, ptr %3, align 4
%200 = and i32 %199, 15
%201 = icmp eq i32 %200, 8
br label %202
202: ; preds = %198, %178
%203 = phi i1 [ true, %178 ], [ %201, %198 ]
%204 = zext i1 %203 to i64
%205 = select i1 %203, i32 255, i32 0
store i32 %205, ptr %5, align 4
%206 = load i32, ptr %4, align 4
%207 = load i32, ptr %5, align 4
%208 = icmp ne i32 %206, %207
br i1 %208, label %209, label %218
209: ; preds = %202
%210 = load i32, ptr %6, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %6, align 4
%212 = load i32, ptr @stdout, align 4
%213 = load i32, ptr %2, align 4
%214 = load i32, ptr %3, align 4
%215 = load i32, ptr %5, align 4
%216 = load i32, ptr %4, align 4
%217 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %212, ptr noundef @.str.1, i32 noundef %213, i32 noundef %214, i32 noundef %215, i32 noundef %216)
br label %218
218: ; preds = %209, %202
br label %219
219: ; preds = %218
%220 = load i32, ptr %3, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %3, align 4
%222 = load i32, ptr %3, align 4
%223 = load i32, ptr %8, align 4
%224 = icmp slt i32 %222, %223
br i1 %224, label %178, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %219
br label %225
225: ; preds = %._crit_edge12, %174
br label %226
226: ; preds = %225
%227 = load i32, ptr %2, align 4
%228 = add nsw i32 %227, 1
store i32 %228, ptr %2, align 4
%229 = load i32, ptr %2, align 4
%230 = load i32, ptr %8, align 4
%231 = icmp slt i32 %229, %230
br i1 %231, label %174, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %226
br label %232
232: ; preds = %._crit_edge15, %165
%233 = load i32, ptr %6, align 4
%234 = icmp eq i32 %233, 0
br i1 %234, label %235, label %239
235: ; preds = %232
%236 = load i32, ptr @stdout, align 4
%237 = load i32, ptr %7, align 4
%238 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %236, ptr noundef @.str.2, i32 noundef %237)
br label %244
239: ; preds = %232
%240 = load i32, ptr @stdout, align 4
%241 = load i32, ptr %7, align 4
%242 = load i32, ptr %6, align 4
%243 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %240, ptr noundef @.str.3, i32 noundef %241, i32 noundef %242)
br label %244
244: ; preds = %239, %235
ret i32 0
}
declare i64 @malloc(i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @fourn(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpk1aq80z8.c'
source_filename = "/tmp/tmpk1aq80z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ensurePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @mkdir(ptr noundef %8, i32 noundef 511)
br label %10
10: ; preds = %7, %1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @mkdir(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk1aq80z8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ensurePath(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @mkdir(ptr noundef %8, i32 noundef 511)
br label %10
10: ; preds = %7, %1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @mkdir(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppa51brjv.c'
source_filename = "/tmp/tmppa51brjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_cmdline_parser_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @clear_given(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clear_args(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @init_args_info(ptr noundef %7)
ret void
}
declare i32 @clear_given(ptr noundef) #1
declare i32 @clear_args(ptr noundef) #1
declare i32 @init_args_info(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppa51brjv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filter_cmdline_parser_init(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @clear_given(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @clear_args(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 @init_args_info(ptr noundef %7)
ret void
}
declare i32 @clear_given(ptr noundef) #1
declare i32 @clear_args(ptr noundef) #1
declare i32 @init_args_info(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa9_zu4pp.c'
source_filename = "/tmp/tmpa9_zu4pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"@%ld,\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"+%ld,\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c";\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hzf_col(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6)
br label %18
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 0, %12
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
br label %17
15: ; preds = %8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %11
br label %18
18: ; preds = %17, %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa9_zu4pp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"@%ld,\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"+%ld,\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c";\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hzf_col(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sgt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %6)
br label %18
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 0, %12
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
br label %17
15: ; preds = %8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %17
17: ; preds = %15, %11
br label %18
18: ; preds = %17, %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2jb48j9t.c'
source_filename = "/tmp/tmp2jb48j9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4
%4 = alloca [1000 x i32], align 16
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %15, %0
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
br label %6, !llvm.loop !6
18: ; preds = %6
%19 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 0
%20 = load i32, ptr %2, align 4
%21 = call i32 @minmax(ptr noundef %19, i32 noundef %20)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @minmax(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/tmp2jb48j9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32, align 4
%4 = alloca [1000 x i32], align 16
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %0
%21 = getelementptr inbounds [1000 x i32], ptr %4, i64 0, i64 0
%22 = load i32, ptr %2, align 4
%23 = call i32 @minmax(ptr noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @minmax(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/tmp5kccz88q.c'
source_filename = "/tmp/tmp5kccz88q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %2
2: ; preds = %5, %0
%3 = call i64 (...) @work()
%4 = icmp ne i64 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %2
br label %2, !llvm.loop !6
6: ; preds = %2
ret i32 0
}
declare i64 @work(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5kccz88q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %2
2: ; preds = %2, %0
%3 = call i64 (...) @work()
%4 = icmp ne i64 %3, 0
br i1 %4, label %2, label %5, !llvm.loop !6
5: ; preds = %2
ret i32 0
}
declare i64 @work(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmph5ynpvdo.c'
source_filename = "/tmp/tmph5ynpvdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"\0AVavedi chislo:\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lli\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"\0ATsifrite, koito se povtariat sa: \00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"\08\08.\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 [10 x i32], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %12, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %10
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %18
18: ; preds = %21, %15
%19 = load i64, ptr %4, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %18
%22 = load i64, ptr %4, align 8
%23 = srem i64 %22, 10
%24 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %24, align 4
%27 = load i64, ptr %4, align 8
%28 = sdiv i64 %27, 10
store i64 %28, ptr %4, align 8
br label %18, !llvm.loop !8
29: ; preds = %18
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %31
31: ; preds = %44, %29
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 10
br i1 %33, label %34, label %47
34: ; preds = %31
%35 = load i32, ptr %2, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
%39 = icmp sgt i32 %38, 1
br i1 %39, label %40, label %43
40: ; preds = %34
%41 = load i32, ptr %2, align 4
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41)
br label %43
43: ; preds = %40, %34
br label %44
44: ; preds = %43
%45 = load i32, ptr %2, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %2, align 4
br label %31, !llvm.loop !9
47: ; preds = %31
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph5ynpvdo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"\0AVavedi chislo:\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%lli\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"\0ATsifrite, koito se povtariat sa: \00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%d, \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"\08\08.\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 [10 x i32], align 16
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %11
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %9
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%19 = load i64, ptr %4, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %.lr.ph2, label %31
.lr.ph2: ; preds = %16
br label %21
21: ; preds = %.lr.ph2, %21
%22 = load i64, ptr %4, align 8
%23 = srem i64 %22, 10
%24 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %24, align 4
%27 = load i64, ptr %4, align 8
%28 = sdiv i64 %27, 10
store i64 %28, ptr %4, align 8
%29 = load i64, ptr %4, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %21
br label %31
31: ; preds = %._crit_edge3, %16
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 10
br i1 %34, label %.lr.ph5, label %50
.lr.ph5: ; preds = %31
br label %35
35: ; preds = %.lr.ph5, %45
%36 = load i32, ptr %2, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = icmp sgt i32 %39, 1
br i1 %40, label %41, label %44
41: ; preds = %35
%42 = load i32, ptr %2, align 4
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %42)
br label %44
44: ; preds = %41, %35
br label %45
45: ; preds = %44
%46 = load i32, ptr %2, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %2, align 4
%48 = load i32, ptr %2, align 4
%49 = icmp slt i32 %48, 10
br i1 %49, label %35, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %45
br label %50
50: ; preds = %._crit_edge6, %31
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpllfiw9bp.c'
source_filename = "/tmp/tmpllfiw9bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_values(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i32, ptr %4, i64 0
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 1
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %6, %9
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4
%21 = icmp eq i32 %20, 9
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %2, align 4
br label %44
23: ; preds = %17, %1
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 1
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 0
%31 = load i32, ptr %30, align 4
%32 = icmp eq i32 %31, 9
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 1, ptr %2, align 4
br label %44
34: ; preds = %28, %23
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %37, %40
br i1 %41, label %42, label %43
42: ; preds = %34
store i32 0, ptr %2, align 4
br label %44
43: ; preds = %34
store i32 1, ptr %2, align 4
br label %44
44: ; preds = %43, %42, %33, %22
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpllfiw9bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_values(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i32, ptr %4, i64 0
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 1
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %6, %9
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
%15 = load i32, ptr %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
%20 = load i32, ptr %19, align 4
%21 = icmp eq i32 %20, 9
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 0, ptr %2, align 4
br label %44
23: ; preds = %17, %1
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 1
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 0
%31 = load i32, ptr %30, align 4
%32 = icmp eq i32 %31, 9
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 1, ptr %2, align 4
br label %44
34: ; preds = %28, %23
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i32, ptr %35, i64 0
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %37, %40
br i1 %41, label %42, label %43
42: ; preds = %34
store i32 0, ptr %2, align 4
br label %44
43: ; preds = %34
store i32 1, ptr %2, align 4
br label %44
44: ; preds = %43, %42, %33, %22
%45 = load i32, ptr %2, align 4
ret i32 %45
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphb66knws.c'
source_filename = "/tmp/tmphb66knws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determ_isneg_float(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, -2147483648
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
%7 = xor i1 %6, true
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphb66knws.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @determ_isneg_float(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, -2147483648
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
%7 = xor i1 %6, true
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf9_i2brz.c'
source_filename = "/tmp/tmpf9_i2brz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nstrcat(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %8, %10
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @strcat(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
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/tmpf9_i2brz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nstrcat(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = add nsw i64 %8, %10
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %5, align 8
%18 = call i32 @strcat(ptr noundef %16, ptr noundef %17)
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
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/tmp6dno9s7_.c'
source_filename = "/tmp/tmp6dno9s7_.c"
target datalayout = "e-m:e-p270: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/tmp6dno9s7_.c"
target datalayout = "e-m:e-p270: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/tmpoo3x8ple.c'
source_filename = "/tmp/tmpoo3x8ple.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @erf(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = call double @abs(float noundef %6)
%8 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %7, double 1.000000e+00)
%9 = fdiv double 1.000000e+00, %8
%10 = fptrunc double %9 to float
store float %10, ptr %4, align 4
%11 = load float, ptr %4, align 4
%12 = load float, ptr %3, align 4
%13 = fneg float %12
%14 = load float, ptr %3, align 4
%15 = fmul float %13, %14
%16 = fpext float %15 to double
%17 = fsub double %16, 0x3FF43F89C0889BC5
%18 = load float, ptr %4, align 4
%19 = fpext float %18 to double
%20 = load float, ptr %4, align 4
%21 = fpext float %20 to double
%22 = load float, ptr %4, align 4
%23 = fpext float %22 to double
%24 = load float, ptr %4, align 4
%25 = fpext float %24 to double
%26 = load float, ptr %4, align 4
%27 = fpext float %26 to double
%28 = load float, ptr %4, align 4
%29 = fpext float %28 to double
%30 = load float, ptr %4, align 4
%31 = fpext float %30 to double
%32 = load float, ptr %4, align 4
%33 = fpext float %32 to double
%34 = load float, ptr %4, align 4
%35 = fpext float %34 to double
%36 = call double @llvm.fmuladd.f64(double %35, double 0x3FC5DF28AF76A5A4, double 0xBFEA4F123185DEFD)
%37 = call double @llvm.fmuladd.f64(double %33, double %36, double 0x3FF7D0F60453A1BE)
%38 = call double @llvm.fmuladd.f64(double %31, double %37, double 0xBFF229CBA6063980)
%39 = call double @llvm.fmuladd.f64(double %29, double %38, double 0x3FD1D8F976231CE6)
%40 = call double @llvm.fmuladd.f64(double %27, double %39, double 0xBFC7D84982AAEAA5)
%41 = call double @llvm.fmuladd.f64(double %25, double %40, double 0x3FB8C6D917DEC3F0)
%42 = call double @llvm.fmuladd.f64(double %23, double %41, double 0x3FD7F11F677960EA)
%43 = call double @llvm.fmuladd.f64(double %21, double %42, double 0x3FF00018D48D3588)
%44 = call double @llvm.fmuladd.f64(double %19, double %43, double %17)
%45 = fptrunc double %44 to float
%46 = call float @exp(float noundef %45)
%47 = fneg float %11
%48 = call float @llvm.fmuladd.f32(float %47, float %46, float 1.000000e+00)
store float %48, ptr %5, align 4
%49 = load float, ptr %3, align 4
%50 = fcmp oge float %49, 0.000000e+00
br i1 %50, label %51, label %53
51: ; preds = %1
%52 = load float, ptr %5, align 4
store float %52, ptr %2, align 4
br label %56
53: ; preds = %1
%54 = load float, ptr %5, align 4
%55 = fneg float %54
store float %55, ptr %2, align 4
br label %56
56: ; preds = %53, %51
%57 = load float, ptr %2, align 4
ret float %57
}
declare double @abs(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare float @exp(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoo3x8ple.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @erf(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = call double @abs(float noundef %6)
%8 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %7, double 1.000000e+00)
%9 = fdiv double 1.000000e+00, %8
%10 = fptrunc double %9 to float
store float %10, ptr %4, align 4
%11 = load float, ptr %4, align 4
%12 = load float, ptr %3, align 4
%13 = fneg float %12
%14 = load float, ptr %3, align 4
%15 = fmul float %13, %14
%16 = fpext float %15 to double
%17 = fsub double %16, 0x3FF43F89C0889BC5
%18 = load float, ptr %4, align 4
%19 = fpext float %18 to double
%20 = load float, ptr %4, align 4
%21 = fpext float %20 to double
%22 = load float, ptr %4, align 4
%23 = fpext float %22 to double
%24 = load float, ptr %4, align 4
%25 = fpext float %24 to double
%26 = load float, ptr %4, align 4
%27 = fpext float %26 to double
%28 = load float, ptr %4, align 4
%29 = fpext float %28 to double
%30 = load float, ptr %4, align 4
%31 = fpext float %30 to double
%32 = load float, ptr %4, align 4
%33 = fpext float %32 to double
%34 = load float, ptr %4, align 4
%35 = fpext float %34 to double
%36 = call double @llvm.fmuladd.f64(double %35, double 0x3FC5DF28AF76A5A4, double 0xBFEA4F123185DEFD)
%37 = call double @llvm.fmuladd.f64(double %33, double %36, double 0x3FF7D0F60453A1BE)
%38 = call double @llvm.fmuladd.f64(double %31, double %37, double 0xBFF229CBA6063980)
%39 = call double @llvm.fmuladd.f64(double %29, double %38, double 0x3FD1D8F976231CE6)
%40 = call double @llvm.fmuladd.f64(double %27, double %39, double 0xBFC7D84982AAEAA5)
%41 = call double @llvm.fmuladd.f64(double %25, double %40, double 0x3FB8C6D917DEC3F0)
%42 = call double @llvm.fmuladd.f64(double %23, double %41, double 0x3FD7F11F677960EA)
%43 = call double @llvm.fmuladd.f64(double %21, double %42, double 0x3FF00018D48D3588)
%44 = call double @llvm.fmuladd.f64(double %19, double %43, double %17)
%45 = fptrunc double %44 to float
%46 = call float @exp(float noundef %45)
%47 = fneg float %11
%48 = call float @llvm.fmuladd.f32(float %47, float %46, float 1.000000e+00)
store float %48, ptr %5, align 4
%49 = load float, ptr %3, align 4
%50 = fcmp oge float %49, 0.000000e+00
br i1 %50, label %51, label %53
51: ; preds = %1
%52 = load float, ptr %5, align 4
store float %52, ptr %2, align 4
br label %56
53: ; preds = %1
%54 = load float, ptr %5, align 4
%55 = fneg float %54
store float %55, ptr %2, align 4
br label %56
56: ; preds = %53, %51
%57 = load float, ptr %2, align 4
ret float %57
}
declare double @abs(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare float @exp(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqflswq64.c'
source_filename = "/tmp/tmpqflswq64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" 0x%x \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0D\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printStringHexSymbols(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %36, %3
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %39
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
%19 = load i32, ptr %6, align 4
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %33
21: ; preds = %14
%22 = load i32, ptr %8, align 4
%23 = icmp sgt i32 %22, 0
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
%27 = load i32, ptr %6, align 4
%28 = srem i32 %26, %27
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %32
32: ; preds = %30, %24
br label %33
33: ; preds = %32, %21, %14
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %7, align 8
br label %36
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
br label %10, !llvm.loop !6
39: ; preds = %10
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqflswq64.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" 0x%x \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0D\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printStringHexSymbols(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %7, align 8
store i32 0, ptr %8, align 4
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %41
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %35
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = zext i8 %15 to i32
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load i32, ptr %6, align 4
%19 = icmp sgt i32 %18, 0
br i1 %19, label %20, label %32
20: ; preds = %13
%21 = load i32, ptr %8, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %32
23: ; preds = %20
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = load i32, ptr %6, align 4
%27 = srem i32 %25, %26
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %31
31: ; preds = %29, %23
br label %32
32: ; preds = %31, %20, %13
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %7, align 8
br label %35
35: ; preds = %32
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %3
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxcwqxmvm.c'
source_filename = "/tmp/tmpxcwqxmvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"areadfloat: %s: can't open\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"areadfloat: %s: can't read length (empty file?)\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"areadfloat: %s: can't alloc data\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"areadfloat: %s: can't read data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @areadfloat(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr @O_RDONLY, align 4
%15 = call i32 @open(ptr noundef %13, i32 noundef %14, i32 noundef 420)
store i32 %15, ptr %8, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %3
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19)
store i32 -1, ptr %4, align 4
br label %84
21: ; preds = %3
%22 = load i32, ptr %8, align 4
%23 = call i32 @read(i32 noundef %22, ptr noundef %9, i32 noundef 4)
%24 = icmp ne i32 %23, 4
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr %8, align 4
%30 = call i32 @close(i32 noundef %29)
store i32 -1, ptr %4, align 4
br label %84
31: ; preds = %21
%32 = call i32 @SWAPL(ptr noundef %9)
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 4
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %12, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %46, label %40
40: ; preds = %31
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %42)
%44 = load i32, ptr %8, align 4
%45 = call i32 @close(i32 noundef %44)
store i32 -1, ptr %4, align 4
br label %84
46: ; preds = %31
%47 = load i32, ptr %8, align 4
%48 = load ptr, ptr %12, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load i32, ptr %10, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %61
53: ; preds = %46
%54 = load i32, ptr @stderr, align 4
%55 = load ptr, ptr %5, align 8
%56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef %55)
%57 = load i32, ptr %8, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 -1, ptr %4, align 4
br label %84
61: ; preds = %46
%62 = load i32, ptr %8, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %6, align 8
store ptr %64, ptr %65, align 8
store i32 0, ptr %11, align 4
br label %66
66: ; preds = %77, %61
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %80
70: ; preds = %66
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %11, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds float, ptr %72, i64 %74
%76 = call i32 @SWAPF(ptr noundef %75)
br label %77
77: ; preds = %70
%78 = load i32, ptr %11, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %11, align 4
br label %66, !llvm.loop !6
80: ; preds = %66
%81 = load i32, ptr %9, align 4
%82 = load ptr, ptr %7, align 8
store i32 %81, ptr %82, align 4
%83 = load i32, ptr %9, align 4
store i32 %83, ptr %4, align 4
br label %84
84: ; preds = %80, %53, %40, %25, %17
%85 = load i32, ptr %4, align 4
ret i32 %85
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @SWAPL(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @SWAPF(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxcwqxmvm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [28 x i8] c"areadfloat: %s: can't open\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"areadfloat: %s: can't read length (empty file?)\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"areadfloat: %s: can't alloc data\0A\00", align 1
@.str.3 = private unnamed_addr constant [33 x i8] c"areadfloat: %s: can't read data\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @areadfloat(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr @O_RDONLY, align 4
%15 = call i32 @open(ptr noundef %13, i32 noundef %14, i32 noundef 420)
store i32 %15, ptr %8, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %21
17: ; preds = %3
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %19)
store i32 -1, ptr %4, align 4
br label %86
21: ; preds = %3
%22 = load i32, ptr %8, align 4
%23 = call i32 @read(i32 noundef %22, ptr noundef %9, i32 noundef 4)
%24 = icmp ne i32 %23, 4
br i1 %24, label %25, label %31
25: ; preds = %21
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr %8, align 4
%30 = call i32 @close(i32 noundef %29)
store i32 -1, ptr %4, align 4
br label %86
31: ; preds = %21
%32 = call i32 @SWAPL(ptr noundef %9)
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = mul i64 %34, 4
%36 = trunc i64 %35 to i32
store i32 %36, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %12, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %46, label %40
40: ; preds = %31
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %5, align 8
%43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %42)
%44 = load i32, ptr %8, align 4
%45 = call i32 @close(i32 noundef %44)
store i32 -1, ptr %4, align 4
br label %86
46: ; preds = %31
%47 = load i32, ptr %8, align 4
%48 = load ptr, ptr %12, align 8
%49 = load i32, ptr %10, align 4
%50 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef %49)
%51 = load i32, ptr %10, align 4
%52 = icmp ne i32 %50, %51
br i1 %52, label %53, label %61
53: ; preds = %46
%54 = load i32, ptr @stderr, align 4
%55 = load ptr, ptr %5, align 8
%56 = call i32 @fprintf(i32 noundef %54, ptr noundef @.str.3, ptr noundef %55)
%57 = load i32, ptr %8, align 4
%58 = call i32 @close(i32 noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = call i32 @free(ptr noundef %59)
store i32 -1, ptr %4, align 4
br label %86
61: ; preds = %46
%62 = load i32, ptr %8, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load ptr, ptr %12, align 8
%65 = load ptr, ptr %6, align 8
store ptr %64, ptr %65, align 8
store i32 0, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %9, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph, label %82
.lr.ph: ; preds = %61
br label %69
69: ; preds = %.lr.ph, %76
%70 = load ptr, ptr %6, align 8
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %11, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds float, ptr %71, i64 %73
%75 = call i32 @SWAPF(ptr noundef %74)
br label %76
76: ; preds = %69
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %11, align 4
%79 = load i32, ptr %11, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %61
%83 = load i32, ptr %9, align 4
%84 = load ptr, ptr %7, align 8
store i32 %83, ptr %84, align 4
%85 = load i32, ptr %9, align 4
store i32 %85, ptr %4, align 4
br label %86
86: ; preds = %82, %53, %40, %25, %17
%87 = load i32, ptr %4, align 4
ret i32 %87
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @SWAPL(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @SWAPF(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp0gsza5xz.c'
source_filename = "/tmp/tmp0gsza5xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca float, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca float, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %10, align 4
br label %15
15: ; preds = %25, %2
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = call float (...) @rand_float()
%21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04)
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %14, i64 %23
store float %21, ptr %24, align 4
br label %25
25: ; preds = %19
%26 = load i32, ptr %10, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %10, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
store float 0.000000e+00, ptr %8, align 4
%29 = call double (...) @tic()
store double %29, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %30
30: ; preds = %43, %28
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = load i32, ptr %4, align 4
%36 = call float @stdlib_strided_snanvariancewd(i32 noundef %35, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1)
store float %36, ptr %8, align 4
%37 = load float, ptr %8, align 4
%38 = load float, ptr %8, align 4
%39 = fcmp une float %37, %38
br i1 %39, label %40, label %42
40: ; preds = %34
%41 = call i32 @printf(ptr noundef @.str)
br label %46
42: ; preds = %34
br label %43
43: ; preds = %42
%44 = load i32, ptr %10, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %10, align 4
br label %30, !llvm.loop !8
46: ; preds = %40, %30
%47 = call double (...) @tic()
%48 = load double, ptr %9, align 8
%49 = fsub double %47, %48
store double %49, ptr %5, align 8
%50 = load float, ptr %8, align 4
%51 = load float, ptr %8, align 4
%52 = fcmp une float %50, %51
br i1 %52, label %53, label %55
53: ; preds = %46
%54 = call i32 @printf(ptr noundef @.str)
br label %55
55: ; preds = %53, %46
%56 = load double, ptr %5, align 8
%57 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %57)
ret double %56
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare float @rand_float(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare double @tic(...) #2
declare float @stdlib_strided_snanvariancewd(i32 noundef, float noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0gsza5xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca float, align 4
%9 = alloca double, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca float, i64 %12, align 16
store i64 %12, ptr %7, align 8
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %24
%19 = call float (...) @rand_float()
%20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04)
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds float, ptr %14, i64 %22
store float %20, ptr %23, align 4
br label %24
24: ; preds = %18
%25 = load i32, ptr %10, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %10, align 4
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
store float 0.000000e+00, ptr %8, align 4
%31 = call double (...) @tic()
store double %31, ptr %9, align 8
store i32 0, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %30
br label %35
35: ; preds = %.lr.ph2, %44
%36 = load i32, ptr %4, align 4
%37 = call float @stdlib_strided_snanvariancewd(i32 noundef %36, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1)
store float %37, ptr %8, align 4
%38 = load float, ptr %8, align 4
%39 = load float, ptr %8, align 4
%40 = fcmp une float %38, %39
br i1 %40, label %41, label %43
41: ; preds = %35
%42 = call i32 @printf(ptr noundef @.str)
br label %50
43: ; preds = %35
br label %44
44: ; preds = %43
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %30
br label %50
50: ; preds = %.loopexit, %41
%51 = call double (...) @tic()
%52 = load double, ptr %9, align 8
%53 = fsub double %51, %52
store double %53, ptr %5, align 8
%54 = load float, ptr %8, align 4
%55 = load float, ptr %8, align 4
%56 = fcmp une float %54, %55
br i1 %56, label %57, label %59
57: ; preds = %50
%58 = call i32 @printf(ptr noundef @.str)
br label %59
59: ; preds = %57, %50
%60 = load double, ptr %5, align 8
%61 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %61)
ret double %60
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare float @rand_float(...) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare double @tic(...) #2
declare float @stdlib_strided_snanvariancewd(i32 noundef, float noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpz1nzxdnf.c'
source_filename = "/tmp/tmpz1nzxdnf.c"
target datalayout = "e-m:e-p270: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/tmpz1nzxdnf.c"
target datalayout = "e-m:e-p270: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/tmprzf0cril.c'
source_filename = "/tmp/tmprzf0cril.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"ok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @foo()
%7 = icmp ne i32 %6, 42
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 1, ptr %3, align 4
br label %16
9: ; preds = %2
%10 = call i32 (...) @bar()
%11 = icmp ne i32 %10, 42
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %3, align 4
br label %16
13: ; preds = %9
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %13, %12, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @foo(...) #1
declare i32 @bar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprzf0cril.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"ok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @foo()
%7 = icmp ne i32 %6, 42
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 1, ptr %3, align 4
br label %16
9: ; preds = %2
%10 = call i32 (...) @bar()
%11 = icmp ne i32 %10, 42
br i1 %11, label %12, label %13
12: ; preds = %9
store i32 1, ptr %3, align 4
br label %16
13: ; preds = %9
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %16
16: ; preds = %13, %12, %8
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @foo(...) #1
declare i32 @bar(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbsldnywx.c'
source_filename = "/tmp/tmpbsldnywx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark_image_resize(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %28, %2
%12 = load i32, ptr %8, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %31
15: ; preds = %11
%16 = call i64 (...) @clock()
store i64 %16, ptr %9, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @image_resize(ptr noundef %17, ptr noundef %6, ptr noundef %7, i32 noundef 200, i32 noundef 1, i32 noundef 90, i32 noundef 0)
%19 = call i64 (...) @clock()
store i64 %19, ptr %10, align 8
%20 = load i64, ptr %10, align 8
%21 = load i64, ptr %9, align 8
%22 = sub nsw i64 %20, %21
%23 = sitofp i64 %22 to double
%24 = load double, ptr @CLOCKS_PER_SEC, align 8
%25 = fdiv double %23, %24
%26 = load double, ptr %5, align 8
%27 = call double @llvm.fmuladd.f64(double %25, double 1.000000e+03, double %26)
store double %27, ptr %5, align 8
br label %28
28: ; preds = %15
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %11, !llvm.loop !6
31: ; preds = %11
%32 = load double, ptr %5, align 8
%33 = load i32, ptr %3, align 4
%34 = sitofp i32 %33 to double
%35 = fdiv double %32, %34
ret double %35
}
declare i64 @clock(...) #1
declare i32 @image_resize(ptr noundef, ptr noundef, ptr noundef, 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbsldnywx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark_image_resize(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store double 0.000000e+00, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %27
%15 = call i64 (...) @clock()
store i64 %15, ptr %9, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @image_resize(ptr noundef %16, ptr noundef %6, ptr noundef %7, i32 noundef 200, i32 noundef 1, i32 noundef 90, i32 noundef 0)
%18 = call i64 (...) @clock()
store i64 %18, ptr %10, align 8
%19 = load i64, ptr %10, align 8
%20 = load i64, ptr %9, align 8
%21 = sub nsw i64 %19, %20
%22 = sitofp i64 %21 to double
%23 = load double, ptr @CLOCKS_PER_SEC, align 8
%24 = fdiv double %22, %23
%25 = load double, ptr %5, align 8
%26 = call double @llvm.fmuladd.f64(double %24, double 1.000000e+03, double %25)
store double %26, ptr %5, align 8
br label %27
27: ; preds = %14
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
%34 = load double, ptr %5, align 8
%35 = load i32, ptr %3, align 4
%36 = sitofp i32 %35 to double
%37 = fdiv double %34, %36
ret double %37
}
declare i64 @clock(...) #1
declare i32 @image_resize(ptr noundef, ptr noundef, ptr noundef, 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpppl67wtg.c'
source_filename = "/tmp/tmpppl67wtg.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kill(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @syscall(i32 noundef 12, i32 noundef %7, i32 noundef %8, i32 noundef 0, i32 noundef 0, i32 noundef 0)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %17
15: ; preds = %2
%16 = load i32, ptr %6, align 4
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppl67wtg.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kill(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = call i32 @syscall(i32 noundef 12, i32 noundef %7, i32 noundef %8, i32 noundef 0, i32 noundef 0, i32 noundef 0)
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load i32, ptr %6, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr @errno, align 4
store i32 -1, ptr %3, align 4
br label %17
15: ; preds = %2
%16 = load i32, ptr %6, align 4
store i32 %16, ptr %3, align 4
br label %17
17: ; preds = %15, %12
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @syscall(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprp44exb5.c'
source_filename = "/tmp/tmprp44exb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in imatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in imatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%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 i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = call i64 @mget_spc(i32 noundef %14, i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %4
%20 = call i32 @nrerror(ptr noundef @.str)
br label %21
21: ; preds = %19, %4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %10, align 8
%24 = sext i32 %22 to i64
%25 = sub i64 0, %24
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %5, align 4
store i32 %27, ptr %9, align 4
br label %28
28: ; preds = %61, %21
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %64
32: ; preds = %28
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = sub nsw i32 %33, %34
%36 = add nsw i32 %35, 1
%37 = call i64 @mget_spc(i32 noundef %36, i32 noundef 4)
%38 = inttoptr i64 %37 to ptr
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
store ptr %38, ptr %42, align 8
%43 = load ptr, ptr %10, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %51, label %49
49: ; preds = %32
%50 = call i32 @nrerror(ptr noundef @.str.1)
br label %51
51: ; preds = %49, %32
%52 = load i32, ptr %7, align 4
%53 = load ptr, ptr %10, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = sext i32 %52 to i64
%59 = sub i64 0, %58
%60 = getelementptr inbounds i32, ptr %57, i64 %59
store ptr %60, ptr %56, align 8
br label %61
61: ; preds = %51
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
br label %28, !llvm.loop !6
64: ; preds = %28
%65 = load ptr, ptr %10, align 8
ret ptr %65
}
declare i64 @mget_spc(i32 noundef, i32 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmprp44exb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"allocation failure 1 in imatrix()\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"allocation failure 2 in imatrix()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @imatrix(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%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 i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %6, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = add nsw i32 %13, 1
%15 = call i64 @mget_spc(i32 noundef %14, i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %10, align 8
%17 = load ptr, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %21, label %19
19: ; preds = %4
%20 = call i32 @nrerror(ptr noundef @.str)
br label %21
21: ; preds = %19, %4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %10, align 8
%24 = sext i32 %22 to i64
%25 = sub i64 0, %24
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
store ptr %26, ptr %10, align 8
%27 = load i32, ptr %5, align 4
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %.lr.ph, label %66
.lr.ph: ; preds = %21
br label %31
31: ; preds = %.lr.ph, %60
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %32, %33
%35 = add nsw i32 %34, 1
%36 = call i64 @mget_spc(i32 noundef %35, i32 noundef 4)
%37 = inttoptr i64 %36 to ptr
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
store ptr %37, ptr %41, align 8
%42 = load ptr, ptr %10, align 8
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %50, label %48
48: ; preds = %31
%49 = call i32 @nrerror(ptr noundef @.str.1)
br label %50
50: ; preds = %48, %31
%51 = load i32, ptr %7, align 4
%52 = load ptr, ptr %10, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = sext i32 %51 to i64
%58 = sub i64 0, %57
%59 = getelementptr inbounds i32, ptr %56, i64 %58
store ptr %59, ptr %55, align 8
br label %60
60: ; preds = %50
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %21
%67 = load ptr, ptr %10, align 8
ret ptr %67
}
declare i64 @mget_spc(i32 noundef, i32 noundef) #1
declare i32 @nrerror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp4yf2dwd1.c'
source_filename = "/tmp/tmp4yf2dwd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %4
br label %32
13: ; preds = %4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %31
16: ; preds = %13
store i32 0, ptr %9, align 4
br label %17
17: ; preds = %29, %16
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = call i32 @f(ptr noundef %22, i32 noundef %23)
%25 = icmp ne i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
br label %29
29: ; preds = %26, %21
br label %17, !llvm.loop !6
30: ; preds = %17
br label %31
31: ; preds = %30, %13
br label %32
32: ; preds = %31, %12
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %8, align 4
%35 = call i32 @f(ptr noundef %33, i32 noundef %34)
ret i32 %35
}
declare i32 @f(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/tmp4yf2dwd1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %4
br label %34
13: ; preds = %4
%14 = load i32, ptr %7, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %33
16: ; preds = %13
store i32 0, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %32
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %28
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %8, align 4
%23 = call i32 @f(ptr noundef %21, i32 noundef %22)
%24 = icmp ne i32 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %20
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %28
28: ; preds = %25, %20
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %32
32: ; preds = %._crit_edge, %16
br label %33
33: ; preds = %32, %13
br label %34
34: ; preds = %33, %12
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %8, align 4
%37 = call i32 @f(ptr noundef %35, i32 noundef %36)
ret i32 %37
}
declare i32 @f(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/tmp_z10co47.c'
source_filename = "/tmp/tmp_z10co47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"1.bat\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@_SC_PAGE_SIZE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"pagesize = %d\0A\00", align 1
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"addr_mmap_p: %p, addr_mmap_s: %p, addr_malloc: %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @O_RDWR, align 4
%9 = load i32, ptr @O_CREAT, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @O_TRUNC, align 4
%12 = or i32 %10, %11
%13 = call i32 @open(ptr noundef @.str, i32 noundef %12, i32 noundef 511)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @ftruncate(i32 noundef %14, i32 noundef 5000)
%16 = load i32, ptr @_SC_PAGE_SIZE, align 4
%17 = call i32 @sysconf(i32 noundef %16)
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr @PROT_WRITE, align 4
%22 = load i32, ptr @MAP_PRIVATE, align 4
%23 = load i32, ptr %3, align 4
%24 = call ptr @mmap(ptr noundef null, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 0)
store ptr %24, ptr %5, align 8
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr @PROT_WRITE, align 4
%27 = load i32, ptr @MAP_SHARED, align 4
%28 = load i32, ptr %3, align 4
%29 = call ptr @mmap(ptr noundef null, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef 0)
store ptr %29, ptr %6, align 8
%30 = call ptr @malloc(i32 noundef 8)
store ptr %30, ptr %7, align 8
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31, ptr noundef %32, ptr noundef %33)
%35 = call signext i8 (...) @getchar()
store i8 %35, ptr %2, align 1
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %4, align 4
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %7, align 8
store i64 0, ptr %46, align 8
%47 = call signext i8 (...) @getchar()
store i8 %47, ptr %2, align 1
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %7, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48, ptr noundef %49, ptr noundef %50)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i32 @sysconf(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_z10co47.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"1.bat\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@_SC_PAGE_SIZE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"pagesize = %d\0A\00", align 1
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_PRIVATE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"addr_mmap_p: %p, addr_mmap_s: %p, addr_malloc: %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%8 = load i32, ptr @O_RDWR, align 4
%9 = load i32, ptr @O_CREAT, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @O_TRUNC, align 4
%12 = or i32 %10, %11
%13 = call i32 @open(ptr noundef @.str, i32 noundef %12, i32 noundef 511)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @ftruncate(i32 noundef %14, i32 noundef 5000)
%16 = load i32, ptr @_SC_PAGE_SIZE, align 4
%17 = call i32 @sysconf(i32 noundef %16)
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18)
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr @PROT_WRITE, align 4
%22 = load i32, ptr @MAP_PRIVATE, align 4
%23 = load i32, ptr %3, align 4
%24 = call ptr @mmap(ptr noundef null, i32 noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef 0)
store ptr %24, ptr %5, align 8
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr @PROT_WRITE, align 4
%27 = load i32, ptr @MAP_SHARED, align 4
%28 = load i32, ptr %3, align 4
%29 = call ptr @mmap(ptr noundef null, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef 0)
store ptr %29, ptr %6, align 8
%30 = call ptr @malloc(i32 noundef 8)
store ptr %30, ptr %7, align 8
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %7, align 8
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %31, ptr noundef %32, ptr noundef %33)
%35 = call signext i8 (...) @getchar()
store i8 %35, ptr %2, align 1
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %4, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %4, align 4
%43 = sub nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 0, ptr %45, align 1
%46 = load ptr, ptr %7, align 8
store i64 0, ptr %46, align 8
%47 = call signext i8 (...) @getchar()
store i8 %47, ptr %2, align 1
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %7, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %48, ptr noundef %49, ptr noundef %50)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i32 @sysconf(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp39h936gp.c'
source_filename = "/tmp/tmp39h936gp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 980, ptr %2, align 4
store i32 980, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp39h936gp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%d, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 980, ptr %2, align 4
store i32 980, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuyruwbn0.c'
source_filename = "/tmp/tmpuyruwbn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xd6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xd6() #0 {
%1 = call i64 @isascii(i32 noundef 214)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1075, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpuyruwbn0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xd6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xd6() #0 {
%1 = call i64 @isascii(i32 noundef 214)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1075, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpbwy8xyoc.c'
source_filename = "/tmp/tmpbwy8xyoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlistNodeDelete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbwy8xyoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dlistNodeDelete(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp17m0gms9.c'
source_filename = "/tmp/tmp17m0gms9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"INFO: Called primary_reference function.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @primary_reference() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp17m0gms9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"INFO: Called primary_reference function.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @primary_reference() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfp24arag.c'
source_filename = "/tmp/tmpfp24arag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@optind = dso_local constant i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_argv_int(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @optind, align 4
%8 = add nsw i32 %6, %7
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %5, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
ret i32 %12
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfp24arag.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@optind = dso_local constant i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_argv_int(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @optind, align 4
%8 = add nsw i32 %6, %7
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %5, i64 %9
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
ret i32 %12
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvk7xge1w.c'
source_filename = "/tmp/tmpvk7xge1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [19 x i8] c"Usage: <src-file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s.tga\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"size: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca %struct.stat, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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 ptr null, ptr %6, align 8
store i8 0, ptr %7, align 1
store ptr null, ptr %8, align 8
store ptr null, ptr %14, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %79
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = add i64 %23, 1
%25 = add i64 %24, 4
%26 = call i64 @malloc(i64 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.2)
store ptr %36, ptr %14, align 8
%37 = load ptr, ptr %14, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %40, label %39
39: ; preds = %19
store i32 1, ptr %3, align 4
br label %79
40: ; preds = %19
%41 = load ptr, ptr %14, align 8
%42 = call i32 @fileno(ptr noundef %41)
%43 = call i32 @fstat(i32 noundef %42, ptr noundef %9)
%44 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = load i32, ptr %10, align 4
%49 = uitofp i32 %48 to double
%50 = call double @sqrt(double noundef %49) #3
store double %50, ptr %11, align 8
%51 = load double, ptr %11, align 8
%52 = fptoui double %51 to i32
store i32 %52, ptr %12, align 4
%53 = load double, ptr %11, align 8
%54 = fptoui double %53 to i32
store i32 %54, ptr %13, align 4
%55 = load i32, ptr %10, align 4
%56 = zext i32 %55 to i64
%57 = call i64 @malloc(i64 noundef %56)
%58 = inttoptr i64 %57 to ptr
store ptr %58, ptr %6, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %10, align 4
%61 = load ptr, ptr %14, align 8
%62 = call i32 @fread(ptr noundef %59, i32 noundef 1, i32 noundef %60, ptr noundef %61)
%63 = load ptr, ptr %14, align 8
%64 = call i32 @fclose(ptr noundef %63)
%65 = load ptr, ptr %8, align 8
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %13, align 4
%69 = mul i32 %67, %68
%70 = load i32, ptr %12, align 4
%71 = trunc i32 %70 to i16
%72 = load i32, ptr %13, align 4
%73 = trunc i32 %72 to i16
%74 = call i32 @tga_save(ptr noundef %65, ptr noundef %66, i32 noundef %69, i16 noundef signext %71, i16 noundef signext %73)
%75 = load ptr, ptr %6, align 8
%76 = call i32 @free(ptr noundef %75)
%77 = load ptr, ptr %8, align 8
%78 = call i32 @free(ptr noundef %77)
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %40, %39, %17
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @tga_save(ptr noundef, ptr noundef, i32 noundef, i16 noundef signext, i16 noundef signext) #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" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvk7xge1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [19 x i8] c"Usage: <src-file>\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%s.tga\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"size: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca %struct.stat, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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 ptr null, ptr %6, align 8
store i8 0, ptr %7, align 1
store ptr null, ptr %8, align 8
store ptr null, ptr %14, align 8
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %79
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = add i64 %23, 1
%25 = add i64 %24, 4
%26 = call i64 @malloc(i64 noundef %25)
%27 = inttoptr i64 %26 to ptr
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.1, ptr noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.2)
store ptr %36, ptr %14, align 8
%37 = load ptr, ptr %14, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %40, label %39
39: ; preds = %19
store i32 1, ptr %3, align 4
br label %79
40: ; preds = %19
%41 = load ptr, ptr %14, align 8
%42 = call i32 @fileno(ptr noundef %41)
%43 = call i32 @fstat(i32 noundef %42, ptr noundef %9)
%44 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %46)
%48 = load i32, ptr %10, align 4
%49 = uitofp i32 %48 to double
%50 = call double @sqrt(double noundef %49) #3
store double %50, ptr %11, align 8
%51 = load double, ptr %11, align 8
%52 = fptoui double %51 to i32
store i32 %52, ptr %12, align 4
%53 = load double, ptr %11, align 8
%54 = fptoui double %53 to i32
store i32 %54, ptr %13, align 4
%55 = load i32, ptr %10, align 4
%56 = zext i32 %55 to i64
%57 = call i64 @malloc(i64 noundef %56)
%58 = inttoptr i64 %57 to ptr
store ptr %58, ptr %6, align 8
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %10, align 4
%61 = load ptr, ptr %14, align 8
%62 = call i32 @fread(ptr noundef %59, i32 noundef 1, i32 noundef %60, ptr noundef %61)
%63 = load ptr, ptr %14, align 8
%64 = call i32 @fclose(ptr noundef %63)
%65 = load ptr, ptr %8, align 8
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = load i32, ptr %13, align 4
%69 = mul i32 %67, %68
%70 = load i32, ptr %12, align 4
%71 = trunc i32 %70 to i16
%72 = load i32, ptr %13, align 4
%73 = trunc i32 %72 to i16
%74 = call i32 @tga_save(ptr noundef %65, ptr noundef %66, i32 noundef %69, i16 noundef signext %71, i16 noundef signext %73)
%75 = load ptr, ptr %6, align 8
%76 = call i32 @free(ptr noundef %75)
%77 = load ptr, ptr %8, align 8
%78 = call i32 @free(ptr noundef %77)
store i32 0, ptr %3, align 4
br label %79
79: ; preds = %40, %39, %17
%80 = load i32, ptr %3, align 4
ret i32 %80
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @fileno(ptr noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @tga_save(ptr noundef, ptr noundef, i32 noundef, i16 noundef signext, i16 noundef signext) #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" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9bako7sd.c'
source_filename = "/tmp/tmp9bako7sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_max_n(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %14
14: ; preds = %24, %4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %27
18: ; preds = %14
%19 = load i32, ptr @INT_MIN, align 4
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
store i32 %19, ptr %23, align 4
br label %24
24: ; preds = %18
%25 = load i32, ptr %10, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %10, align 4
br label %14, !llvm.loop !6
27: ; preds = %14
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %28
28: ; preds = %92, %27
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %95
32: ; preds = %28
store i32 0, ptr %13, align 4
br label %33
33: ; preds = %51, %32
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %54
37: ; preds = %33
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %13, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp sgt i32 %42, %47
br i1 %48, label %49, label %50
49: ; preds = %37
br label %54
50: ; preds = %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %13, align 4
br label %33, !llvm.loop !8
54: ; preds = %49, %33
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %9, align 4
%57 = icmp ne i32 %55, %56
br i1 %57, label %62, label %58
58: ; preds = %54
%59 = load i32, ptr %13, align 4
%60 = load i32, ptr %11, align 4
%61 = icmp ne i32 %59, %60
br i1 %61, label %62, label %91
62: ; preds = %58, %54
%63 = load i32, ptr %13, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %79
65: ; preds = %62
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %12, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %66, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %8, align 8
%72 = load i32, ptr %13, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %71, i64 %74
%76 = load i32, ptr %75, align 4
%77 = icmp eq i32 %70, %76
br i1 %77, label %78, label %79
78: ; preds = %65
br label %92
79: ; preds = %65, %62
%80 = load ptr, ptr %8, align 8
%81 = load i32, ptr %9, align 4
%82 = load i32, ptr %13, align 4
%83 = load ptr, ptr %6, align 8
%84 = load i32, ptr %12, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = call i32 @array_insert(ptr noundef %80, i32 noundef %81, i32 noundef %82, i32 noundef %87)
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %11, align 4
br label %91
91: ; preds = %79, %58
br label %92
92: ; preds = %91, %78
%93 = load i32, ptr %12, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %12, align 4
br label %28, !llvm.loop !9
95: ; preds = %28
%96 = load i32, ptr %5, align 4
ret i32 %96
}
declare i32 @array_insert(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9bako7sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_max_n(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %23
%18 = load i32, ptr @INT_MIN, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
store i32 %18, ptr %22, align 4
br label %23
23: ; preds = %17
%24 = load i32, ptr %10, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph4, label %101
.lr.ph4: ; preds = %29
br label %33
33: ; preds = %.lr.ph4, %95
store i32 0, ptr %13, align 4
%34 = load i32, ptr %13, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %33
br label %37
37: ; preds = %.lr.ph2, %51
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %13, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp sgt i32 %42, %47
br i1 %48, label %49, label %50
49: ; preds = %37
br label %57
50: ; preds = %37
br label %51
51: ; preds = %50
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %13, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %11, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %37, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %51
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %33
br label %57
57: ; preds = %.loopexit, %49
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp ne i32 %58, %59
br i1 %60, label %65, label %61
61: ; preds = %57
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %11, align 4
%64 = icmp ne i32 %62, %63
br i1 %64, label %65, label %94
65: ; preds = %61, %57
%66 = load i32, ptr %13, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %82
68: ; preds = %65
%69 = load ptr, ptr %6, align 8
%70 = load i32, ptr %12, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
%73 = load i32, ptr %72, align 4
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %13, align 4
%76 = sub nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i32, ptr %74, i64 %77
%79 = load i32, ptr %78, align 4
%80 = icmp eq i32 %73, %79
br i1 %80, label %81, label %82
81: ; preds = %68
br label %95
82: ; preds = %68, %65
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %13, align 4
%86 = load ptr, ptr %6, align 8
%87 = load i32, ptr %12, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = call i32 @array_insert(ptr noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %90)
%92 = load i32, ptr %11, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %11, align 4
br label %94
94: ; preds = %82, %61
br label %95
95: ; preds = %94, %81
%96 = load i32, ptr %12, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %12, align 4
%98 = load i32, ptr %12, align 4
%99 = load i32, ptr %7, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %33, label %._crit_edge5, !llvm.loop !9
._crit_edge5: ; preds = %95
br label %101
101: ; preds = %._crit_edge5, %29
%102 = load i32, ptr %5, align 4
ret i32 %102
}
declare i32 @array_insert(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmphudiwvl3.c'
source_filename = "/tmp/tmphudiwvl3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%zu\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"INPUT\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%24 = load i32, ptr %4, align 4
%25 = icmp sge i32 %24, 3
br i1 %25, label %26, label %31
26: ; preds = %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %9)
br label %31
31: ; preds = %26, %2
%32 = load i32, ptr %4, align 4
%33 = icmp sge i32 %32, 4
br i1 %33, label %34, label %39
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @sscanf(ptr noundef %37, ptr noundef @.str, ptr noundef %7)
br label %39
39: ; preds = %34, %31
%40 = load i32, ptr %4, align 4
%41 = icmp sge i32 %40, 5
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 4
%45 = load ptr, ptr %44, align 8
%46 = call i32 @sscanf(ptr noundef %45, ptr noundef @.str, ptr noundef %8)
br label %47
47: ; preds = %42, %39
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 %48, 6
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 5
%53 = load ptr, ptr %52, align 8
%54 = call i32 @sscanf(ptr noundef %53, ptr noundef @.str, ptr noundef %6)
br label %55
55: ; preds = %50, %47
store ptr null, ptr %10, align 8
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 1
%58 = load ptr, ptr %57, align 8
%59 = call ptr @fopen(ptr noundef %58, ptr noundef @.str.1)
store ptr %59, ptr %10, align 8
%60 = load ptr, ptr %10, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %64, label %62
62: ; preds = %55
%63 = call i32 @perror(ptr noundef @.str.2)
br label %64
64: ; preds = %62, %55
store ptr null, ptr %11, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
%65 = load ptr, ptr %10, align 8
%66 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %65)
%67 = load i64, ptr %9, align 8
%68 = icmp ne i64 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %64
%70 = load ptr, ptr %11, align 8
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %70)
br label %72
72: ; preds = %69, %64
%73 = load ptr, ptr %11, align 8
%74 = call i32 @free(ptr noundef %73)
br label %75
75: ; preds = %222, %72
%76 = load ptr, ptr %10, align 8
%77 = call i64 @feof(ptr noundef %76)
%78 = icmp ne i64 %77, 0
%79 = xor i1 %78, true
br i1 %79, label %80, label %227
80: ; preds = %75
store i64 0, ptr %12, align 8
store i32 2048, ptr %15, align 4
%81 = load i32, ptr %15, align 4
%82 = sext i32 %81 to i64
%83 = mul i64 %82, 1
%84 = trunc i64 %83 to i32
%85 = call i64 @malloc(i32 noundef %84)
%86 = inttoptr i64 %85 to ptr
store ptr %86, ptr %14, align 8
store i64 0, ptr %16, align 8
br label %87
87: ; preds = %205, %80
%88 = load ptr, ptr %10, align 8
%89 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %88)
%90 = icmp ne i32 %89, -1
br i1 %90, label %91, label %217
91: ; preds = %87
%92 = load ptr, ptr %11, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 0
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 62
br i1 %96, label %97, label %144
97: ; preds = %91
%98 = load ptr, ptr %14, align 8
%99 = call i32 @strlen(ptr noundef %98)
%100 = sext i32 %99 to i64
store i64 %100, ptr %17, align 8
%101 = load i64, ptr %8, align 8
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %131
103: ; preds = %97
store i64 0, ptr %18, align 8
br label %104
104: ; preds = %127, %103
%105 = load i64, ptr %18, align 8
%106 = load i64, ptr %17, align 8
%107 = icmp ult i64 %105, %106
br i1 %107, label %108, label %130
108: ; preds = %104
%109 = load i64, ptr %7, align 8
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %119
111: ; preds = %108
%112 = load ptr, ptr %14, align 8
%113 = load i64, ptr %18, align 8
%114 = getelementptr inbounds i8, ptr %112, i64 %113
%115 = load i8, ptr %114, align 1
%116 = sext i8 %115 to i32
%117 = icmp eq i32 %116, 78
br i1 %117, label %118, label %119
118: ; preds = %111
br label %127
119: ; preds = %111, %108
%120 = load ptr, ptr %14, align 8
%121 = load i64, ptr %18, align 8
%122 = getelementptr inbounds i8, ptr %120, i64 %121
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %124)
br label %126
126: ; preds = %119
br label %127
127: ; preds = %126, %118
%128 = load i64, ptr %18, align 8
%129 = add i64 %128, 1
store i64 %129, ptr %18, align 8
br label %104, !llvm.loop !6
130: ; preds = %104
br label %131
131: ; preds = %130, %97
%132 = load i64, ptr %13, align 8
%133 = add i64 %132, 1
store i64 %133, ptr %13, align 8
%134 = load i64, ptr %6, align 8
%135 = icmp eq i64 %133, %134
br i1 %135, label %136, label %137
136: ; preds = %131
store i32 0, ptr %3, align 4
br label %264
137: ; preds = %131
%138 = load i64, ptr %9, align 8
%139 = icmp ne i64 %138, 0
br i1 %139, label %143, label %140
140: ; preds = %137
%141 = load ptr, ptr %11, align 8
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %141)
br label %143
143: ; preds = %140, %137
br label %217
144: ; preds = %91
%145 = load i64, ptr %8, align 8
%146 = icmp ne i64 %145, 0
br i1 %146, label %188, label %147
147: ; preds = %144
%148 = load ptr, ptr %11, align 8
%149 = call i32 @strlen(ptr noundef %148)
%150 = sext i32 %149 to i64
store i64 %150, ptr %19, align 8
store i64 0, ptr %21, align 8
store i64 0, ptr %20, align 8
br label %151
151: ; preds = %177, %147
%152 = load i64, ptr %20, align 8
%153 = load i64, ptr %19, align 8
%154 = sub i64 %153, 1
%155 = icmp ult i64 %152, %154
br i1 %155, label %156, label %180
156: ; preds = %151
%157 = load i64, ptr %7, align 8
%158 = icmp ne i64 %157, 0
br i1 %158, label %159, label %169
159: ; preds = %156
%160 = load ptr, ptr %11, align 8
%161 = load i64, ptr %20, align 8
%162 = getelementptr inbounds i8, ptr %160, i64 %161
%163 = load i8, ptr %162, align 1
%164 = sext i8 %163 to i32
%165 = icmp eq i32 %164, 78
br i1 %165, label %166, label %169
166: ; preds = %159
%167 = load i64, ptr %21, align 8
%168 = add i64 %167, 1
store i64 %168, ptr %21, align 8
br label %177
169: ; preds = %159, %156
%170 = load ptr, ptr %11, align 8
%171 = load i64, ptr %20, align 8
%172 = getelementptr inbounds i8, ptr %170, i64 %171
%173 = load i8, ptr %172, align 1
%174 = sext i8 %173 to i32
%175 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %174)
br label %176
176: ; preds = %169
br label %177
177: ; preds = %176, %166
%178 = load i64, ptr %20, align 8
%179 = add i64 %178, 1
store i64 %179, ptr %20, align 8
br label %151, !llvm.loop !8
180: ; preds = %151
%181 = load i64, ptr %21, align 8
%182 = load i64, ptr %19, align 8
%183 = sub i64 %182, 1
%184 = icmp ult i64 %181, %183
br i1 %184, label %185, label %187
185: ; preds = %180
%186 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %187
187: ; preds = %185, %180
br label %188
188: ; preds = %187, %144
br label %189
189: ; preds = %188
%190 = load i64, ptr %16, align 8
%191 = load i64, ptr %12, align 8
%192 = add i64 %190, %191
%193 = load i32, ptr %15, align 4
%194 = sext i32 %193 to i64
%195 = icmp ugt i64 %192, %194
br i1 %195, label %196, label %205
196: ; preds = %189
%197 = load i32, ptr %15, align 4
%198 = add nsw i32 %197, 2048
store i32 %198, ptr %15, align 4
%199 = load ptr, ptr %14, align 8
%200 = load i32, ptr %15, align 4
%201 = sext i32 %200 to i64
%202 = mul i64 1, %201
%203 = trunc i64 %202 to i32
%204 = call ptr @realloc(ptr noundef %199, i32 noundef %203)
store ptr %204, ptr %14, align 8
br label %205
205: ; preds = %196, %189
%206 = load ptr, ptr %14, align 8
%207 = load i64, ptr %16, align 8
%208 = getelementptr inbounds i8, ptr %206, i64 %207
%209 = load ptr, ptr %11, align 8
%210 = call i32 @strcpy(ptr noundef %208, ptr noundef %209)
%211 = load ptr, ptr %11, align 8
%212 = call i32 @strlen(ptr noundef %211)
%213 = sub nsw i32 %212, 1
%214 = sext i32 %213 to i64
%215 = load i64, ptr %16, align 8
%216 = add i64 %215, %214
store i64 %216, ptr %16, align 8
br label %87, !llvm.loop !9
217: ; preds = %143, %87
%218 = load ptr, ptr %10, align 8
%219 = call i64 @feof(ptr noundef %218)
%220 = icmp ne i64 %219, 0
br i1 %220, label %221, label %222
221: ; preds = %217
br label %227
222: ; preds = %217
%223 = load ptr, ptr %11, align 8
%224 = call i32 @free(ptr noundef %223)
%225 = load ptr, ptr %14, align 8
%226 = call i32 @free(ptr noundef %225)
br label %75, !llvm.loop !10
227: ; preds = %221, %75
%228 = load ptr, ptr %14, align 8
%229 = call i32 @strlen(ptr noundef %228)
%230 = sext i32 %229 to i64
store i64 %230, ptr %22, align 8
store i64 0, ptr %23, align 8
br label %231
231: ; preds = %258, %227
%232 = load i64, ptr %23, align 8
%233 = load i64, ptr %22, align 8
%234 = icmp ult i64 %232, %233
br i1 %234, label %235, label %261
235: ; preds = %231
%236 = load i64, ptr %7, align 8
%237 = icmp ne i64 %236, 0
br i1 %237, label %238, label %246
238: ; preds = %235
%239 = load ptr, ptr %14, align 8
%240 = load i64, ptr %23, align 8
%241 = getelementptr inbounds i8, ptr %239, i64 %240
%242 = load i8, ptr %241, align 1
%243 = sext i8 %242 to i32
%244 = icmp eq i32 %243, 78
br i1 %244, label %245, label %246
245: ; preds = %238
br label %258
246: ; preds = %238, %235
%247 = load i64, ptr %8, align 8
%248 = icmp ne i64 %247, 0
br i1 %248, label %249, label %256
249: ; preds = %246
%250 = load ptr, ptr %14, align 8
%251 = load i64, ptr %23, align 8
%252 = getelementptr inbounds i8, ptr %250, i64 %251
%253 = load i8, ptr %252, align 1
%254 = sext i8 %253 to i32
%255 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %254)
br label %256
256: ; preds = %249, %246
br label %257
257: ; preds = %256
br label %258
258: ; preds = %257, %245
%259 = load i64, ptr %23, align 8
%260 = add i64 %259, 1
store i64 %260, ptr %23, align 8
br label %231, !llvm.loop !11
261: ; preds = %231
%262 = load ptr, ptr %10, align 8
%263 = call i32 @fclose(ptr noundef %262)
store i32 0, ptr %3, align 4
br label %264
264: ; preds = %261, %136
%265 = load i32, ptr %3, align 4
ret i32 %265
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphudiwvl3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%zu\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"INPUT\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
store i64 0, ptr %9, align 8
%24 = load i32, ptr %4, align 4
%25 = icmp sge i32 %24, 3
br i1 %25, label %26, label %31
26: ; preds = %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = call i32 @sscanf(ptr noundef %29, ptr noundef @.str, ptr noundef %9)
br label %31
31: ; preds = %26, %2
%32 = load i32, ptr %4, align 4
%33 = icmp sge i32 %32, 4
br i1 %33, label %34, label %39
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @sscanf(ptr noundef %37, ptr noundef @.str, ptr noundef %7)
br label %39
39: ; preds = %34, %31
%40 = load i32, ptr %4, align 4
%41 = icmp sge i32 %40, 5
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i64 4
%45 = load ptr, ptr %44, align 8
%46 = call i32 @sscanf(ptr noundef %45, ptr noundef @.str, ptr noundef %8)
br label %47
47: ; preds = %42, %39
%48 = load i32, ptr %4, align 4
%49 = icmp eq i32 %48, 6
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = getelementptr inbounds ptr, ptr %51, i64 5
%53 = load ptr, ptr %52, align 8
%54 = call i32 @sscanf(ptr noundef %53, ptr noundef @.str, ptr noundef %6)
br label %55
55: ; preds = %50, %47
store ptr null, ptr %10, align 8
%56 = load ptr, ptr %5, align 8
%57 = getelementptr inbounds ptr, ptr %56, i64 1
%58 = load ptr, ptr %57, align 8
%59 = call ptr @fopen(ptr noundef %58, ptr noundef @.str.1)
store ptr %59, ptr %10, align 8
%60 = load ptr, ptr %10, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %64, label %62
62: ; preds = %55
%63 = call i32 @perror(ptr noundef @.str.2)
br label %64
64: ; preds = %62, %55
store ptr null, ptr %11, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
%65 = load ptr, ptr %10, align 8
%66 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %65)
%67 = load i64, ptr %9, align 8
%68 = icmp ne i64 %67, 0
br i1 %68, label %72, label %69
69: ; preds = %64
%70 = load ptr, ptr %11, align 8
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %70)
br label %72
72: ; preds = %69, %64
%73 = load ptr, ptr %11, align 8
%74 = call i32 @free(ptr noundef %73)
%75 = load ptr, ptr %10, align 8
%76 = call i64 @feof(ptr noundef %75)
%77 = icmp ne i64 %76, 0
%78 = xor i1 %77, true
br i1 %78, label %.lr.ph8, label %.loopexit1
.lr.ph8: ; preds = %72
br label %79
79: ; preds = %.lr.ph8, %228
store i64 0, ptr %12, align 8
store i32 2048, ptr %15, align 4
%80 = load i32, ptr %15, align 4
%81 = sext i32 %80 to i64
%82 = mul i64 %81, 1
%83 = trunc i64 %82 to i32
%84 = call i64 @malloc(i32 noundef %83)
%85 = inttoptr i64 %84 to ptr
store ptr %85, ptr %14, align 8
store i64 0, ptr %16, align 8
%86 = load ptr, ptr %10, align 8
%87 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %86)
%88 = icmp ne i32 %87, -1
br i1 %88, label %.lr.ph3, label %.loopexit
.lr.ph3: ; preds = %79
br label %89
89: ; preds = %.lr.ph3, %208
%90 = load ptr, ptr %11, align 8
%91 = getelementptr inbounds i8, ptr %90, i64 0
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 62
br i1 %94, label %95, label %144
95: ; preds = %89
%96 = load ptr, ptr %14, align 8
%97 = call i32 @strlen(ptr noundef %96)
%98 = sext i32 %97 to i64
store i64 %98, ptr %17, align 8
%99 = load i64, ptr %8, align 8
%100 = icmp ne i64 %99, 0
br i1 %100, label %101, label %131
101: ; preds = %95
store i64 0, ptr %18, align 8
%102 = load i64, ptr %18, align 8
%103 = load i64, ptr %17, align 8
%104 = icmp ult i64 %102, %103
br i1 %104, label %.lr.ph5, label %130
.lr.ph5: ; preds = %101
br label %105
105: ; preds = %.lr.ph5, %124
%106 = load i64, ptr %7, align 8
%107 = icmp ne i64 %106, 0
br i1 %107, label %108, label %116
108: ; preds = %105
%109 = load ptr, ptr %14, align 8
%110 = load i64, ptr %18, align 8
%111 = getelementptr inbounds i8, ptr %109, i64 %110
%112 = load i8, ptr %111, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 78
br i1 %114, label %115, label %116
115: ; preds = %108
br label %124
116: ; preds = %108, %105
%117 = load ptr, ptr %14, align 8
%118 = load i64, ptr %18, align 8
%119 = getelementptr inbounds i8, ptr %117, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %121)
br label %123
123: ; preds = %116
br label %124
124: ; preds = %123, %115
%125 = load i64, ptr %18, align 8
%126 = add i64 %125, 1
store i64 %126, ptr %18, align 8
%127 = load i64, ptr %18, align 8
%128 = load i64, ptr %17, align 8
%129 = icmp ult i64 %127, %128
br i1 %129, label %105, label %._crit_edge6, !llvm.loop !6
._crit_edge6: ; preds = %124
br label %130
130: ; preds = %._crit_edge6, %101
br label %131
131: ; preds = %130, %95
%132 = load i64, ptr %13, align 8
%133 = add i64 %132, 1
store i64 %133, ptr %13, align 8
%134 = load i64, ptr %6, align 8
%135 = icmp eq i64 %133, %134
br i1 %135, label %136, label %137
136: ; preds = %131
store i32 0, ptr %3, align 4
br label %276
137: ; preds = %131
%138 = load i64, ptr %9, align 8
%139 = icmp ne i64 %138, 0
br i1 %139, label %143, label %140
140: ; preds = %137
%141 = load ptr, ptr %11, align 8
%142 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %141)
br label %143
143: ; preds = %140, %137
br label %223
144: ; preds = %89
%145 = load i64, ptr %8, align 8
%146 = icmp ne i64 %145, 0
br i1 %146, label %191, label %147
147: ; preds = %144
%148 = load ptr, ptr %11, align 8
%149 = call i32 @strlen(ptr noundef %148)
%150 = sext i32 %149 to i64
store i64 %150, ptr %19, align 8
store i64 0, ptr %21, align 8
store i64 0, ptr %20, align 8
%151 = load i64, ptr %20, align 8
%152 = load i64, ptr %19, align 8
%153 = sub i64 %152, 1
%154 = icmp ult i64 %151, %153
br i1 %154, label %.lr.ph, label %183
.lr.ph: ; preds = %147
br label %155
155: ; preds = %.lr.ph, %176
%156 = load i64, ptr %7, align 8
%157 = icmp ne i64 %156, 0
br i1 %157, label %158, label %168
158: ; preds = %155
%159 = load ptr, ptr %11, align 8
%160 = load i64, ptr %20, align 8
%161 = getelementptr inbounds i8, ptr %159, i64 %160
%162 = load i8, ptr %161, align 1
%163 = sext i8 %162 to i32
%164 = icmp eq i32 %163, 78
br i1 %164, label %165, label %168
165: ; preds = %158
%166 = load i64, ptr %21, align 8
%167 = add i64 %166, 1
store i64 %167, ptr %21, align 8
br label %176
168: ; preds = %158, %155
%169 = load ptr, ptr %11, align 8
%170 = load i64, ptr %20, align 8
%171 = getelementptr inbounds i8, ptr %169, i64 %170
%172 = load i8, ptr %171, align 1
%173 = sext i8 %172 to i32
%174 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %173)
br label %175
175: ; preds = %168
br label %176
176: ; preds = %175, %165
%177 = load i64, ptr %20, align 8
%178 = add i64 %177, 1
store i64 %178, ptr %20, align 8
%179 = load i64, ptr %20, align 8
%180 = load i64, ptr %19, align 8
%181 = sub i64 %180, 1
%182 = icmp ult i64 %179, %181
br i1 %182, label %155, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %176
br label %183
183: ; preds = %._crit_edge, %147
%184 = load i64, ptr %21, align 8
%185 = load i64, ptr %19, align 8
%186 = sub i64 %185, 1
%187 = icmp ult i64 %184, %186
br i1 %187, label %188, label %190
188: ; preds = %183
%189 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %190
190: ; preds = %188, %183
br label %191
191: ; preds = %190, %144
br label %192
192: ; preds = %191
%193 = load i64, ptr %16, align 8
%194 = load i64, ptr %12, align 8
%195 = add i64 %193, %194
%196 = load i32, ptr %15, align 4
%197 = sext i32 %196 to i64
%198 = icmp ugt i64 %195, %197
br i1 %198, label %199, label %208
199: ; preds = %192
%200 = load i32, ptr %15, align 4
%201 = add nsw i32 %200, 2048
store i32 %201, ptr %15, align 4
%202 = load ptr, ptr %14, align 8
%203 = load i32, ptr %15, align 4
%204 = sext i32 %203 to i64
%205 = mul i64 1, %204
%206 = trunc i64 %205 to i32
%207 = call ptr @realloc(ptr noundef %202, i32 noundef %206)
store ptr %207, ptr %14, align 8
br label %208
208: ; preds = %199, %192
%209 = load ptr, ptr %14, align 8
%210 = load i64, ptr %16, align 8
%211 = getelementptr inbounds i8, ptr %209, i64 %210
%212 = load ptr, ptr %11, align 8
%213 = call i32 @strcpy(ptr noundef %211, ptr noundef %212)
%214 = load ptr, ptr %11, align 8
%215 = call i32 @strlen(ptr noundef %214)
%216 = sub nsw i32 %215, 1
%217 = sext i32 %216 to i64
%218 = load i64, ptr %16, align 8
%219 = add i64 %218, %217
store i64 %219, ptr %16, align 8
%220 = load ptr, ptr %10, align 8
%221 = call i32 @getline(ptr noundef %11, ptr noundef %12, ptr noundef %220)
%222 = icmp ne i32 %221, -1
br i1 %222, label %89, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %208
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %79
br label %223
223: ; preds = %.loopexit, %143
%224 = load ptr, ptr %10, align 8
%225 = call i64 @feof(ptr noundef %224)
%226 = icmp ne i64 %225, 0
br i1 %226, label %227, label %228
227: ; preds = %223
br label %237
228: ; preds = %223
%229 = load ptr, ptr %11, align 8
%230 = call i32 @free(ptr noundef %229)
%231 = load ptr, ptr %14, align 8
%232 = call i32 @free(ptr noundef %231)
%233 = load ptr, ptr %10, align 8
%234 = call i64 @feof(ptr noundef %233)
%235 = icmp ne i64 %234, 0
%236 = xor i1 %235, true
br i1 %236, label %79, label %..loopexit1_crit_edge, !llvm.loop !10
..loopexit1_crit_edge: ; preds = %228
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %72
br label %237
237: ; preds = %.loopexit1, %227
%238 = load ptr, ptr %14, align 8
%239 = call i32 @strlen(ptr noundef %238)
%240 = sext i32 %239 to i64
store i64 %240, ptr %22, align 8
store i64 0, ptr %23, align 8
%241 = load i64, ptr %23, align 8
%242 = load i64, ptr %22, align 8
%243 = icmp ult i64 %241, %242
br i1 %243, label %.lr.ph10, label %273
.lr.ph10: ; preds = %237
br label %244
244: ; preds = %.lr.ph10, %267
%245 = load i64, ptr %7, align 8
%246 = icmp ne i64 %245, 0
br i1 %246, label %247, label %255
247: ; preds = %244
%248 = load ptr, ptr %14, align 8
%249 = load i64, ptr %23, align 8
%250 = getelementptr inbounds i8, ptr %248, i64 %249
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp eq i32 %252, 78
br i1 %253, label %254, label %255
254: ; preds = %247
br label %267
255: ; preds = %247, %244
%256 = load i64, ptr %8, align 8
%257 = icmp ne i64 %256, 0
br i1 %257, label %258, label %265
258: ; preds = %255
%259 = load ptr, ptr %14, align 8
%260 = load i64, ptr %23, align 8
%261 = getelementptr inbounds i8, ptr %259, i64 %260
%262 = load i8, ptr %261, align 1
%263 = sext i8 %262 to i32
%264 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %263)
br label %265
265: ; preds = %258, %255
br label %266
266: ; preds = %265
br label %267
267: ; preds = %266, %254
%268 = load i64, ptr %23, align 8
%269 = add i64 %268, 1
store i64 %269, ptr %23, align 8
%270 = load i64, ptr %23, align 8
%271 = load i64, ptr %22, align 8
%272 = icmp ult i64 %270, %271
br i1 %272, label %244, label %._crit_edge11, !llvm.loop !11
._crit_edge11: ; preds = %267
br label %273
273: ; preds = %._crit_edge11, %237
%274 = load ptr, ptr %10, align 8
%275 = call i32 @fclose(ptr noundef %274)
store i32 0, ptr %3, align 4
br label %276
276: ; preds = %273, %136
%277 = load i32, ptr %3, align 4
ret i32 %277
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @getline(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpl2_gmbh8.c'
source_filename = "/tmp/tmpl2_gmbh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear_line() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 100
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %5
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl2_gmbh8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear_line() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 100
br i1 %3, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %6
%5 = call i32 @printf(ptr noundef @.str)
br label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp slt i32 %9, 100
br i1 %10, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnxldpckk.c'
source_filename = "/tmp/tmpnxldpckk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [11 x i8] c"/sys/block\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@R_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_sysfs_dev_nr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %7, align 4
%8 = call ptr @opendir(ptr noundef @.str)
store ptr %8, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %60
11: ; preds = %1
br label %12
12: ; preds = %55, %28, %11
%13 = load ptr, ptr %4, align 8
%14 = call ptr @readdir(ptr noundef %13)
store ptr %14, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %56
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds %struct.dirent, ptr %17, i32 0, i32 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcmp(ptr noundef %19, ptr noundef @.str.1)
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds %struct.dirent, ptr %23, i32 0, i32 0
%25 = load ptr, ptr %24, align 8
%26 = call i32 @strcmp(ptr noundef %25, ptr noundef @.str.2)
%27 = icmp ne i32 %26, 0
br i1 %27, label %29, label %28
28: ; preds = %22, %16
br label %12, !llvm.loop !6
29: ; preds = %22
%30 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds %struct.dirent, ptr %31, i32 0, i32 0
%33 = load ptr, ptr %32, align 8
%34 = call i32 @snprintf(ptr noundef %30, i32 noundef 1024, ptr noundef @.str.3, ptr noundef @.str, ptr noundef %33, ptr noundef @.str.4)
%35 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 1023
store i8 0, ptr %35, align 1
%36 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%37 = load i32, ptr @R_OK, align 4
%38 = call i32 @access(ptr noundef %36, i32 noundef %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %55, label %40
40: ; preds = %29
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %54
45: ; preds = %40
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0
%48 = load ptr, ptr %47, align 8
%49 = call i64 @get_dev_part_nr(ptr noundef %48)
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = add nsw i64 %51, %49
%53 = trunc i64 %52 to i32
store i32 %53, ptr %7, align 4
br label %54
54: ; preds = %45, %40
br label %55
55: ; preds = %54, %29
br label %12, !llvm.loop !6
56: ; preds = %12
%57 = load ptr, ptr %4, align 8
%58 = call i32 @closedir(ptr noundef %57)
%59 = load i32, ptr %7, align 4
store i32 %59, ptr %2, align 4
br label %60
60: ; preds = %56, %10
%61 = load i32, ptr %2, align 4
ret i32 %61
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @access(ptr noundef, i32 noundef) #1
declare i64 @get_dev_part_nr(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpnxldpckk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [11 x i8] c"/sys/block\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"stat\00", align 1
@R_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_sysfs_dev_nr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 0, ptr %7, align 4
%8 = call ptr @opendir(ptr noundef @.str)
store ptr %8, ptr %4, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %11
10: ; preds = %1
store i32 0, ptr %2, align 4
br label %62
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call ptr @readdir(ptr noundef %12)
store ptr %13, ptr %5, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %58
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %.backedge
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds %struct.dirent, ptr %16, i32 0, i32 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strcmp(ptr noundef %18, ptr noundef @.str.1)
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %27
21: ; preds = %15
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.2)
%26 = icmp ne i32 %25, 0
br i1 %26, label %31, label %27
27: ; preds = %21, %15
br label %.backedge
.backedge: ; preds = %27, %57
%28 = load ptr, ptr %4, align 8
%29 = call ptr @readdir(ptr noundef %28)
store ptr %29, ptr %5, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
31: ; preds = %21
%32 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = call i32 @snprintf(ptr noundef %32, i32 noundef 1024, ptr noundef @.str.3, ptr noundef @.str, ptr noundef %35, ptr noundef @.str.4)
%37 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 1023
store i8 0, ptr %37, align 1
%38 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%39 = load i32, ptr @R_OK, align 4
%40 = call i32 @access(ptr noundef %38, i32 noundef %39)
%41 = icmp ne i32 %40, 0
br i1 %41, label %57, label %42
42: ; preds = %31
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %56
47: ; preds = %42
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds %struct.dirent, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = call i64 @get_dev_part_nr(ptr noundef %50)
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = add nsw i64 %53, %51
%55 = trunc i64 %54 to i32
store i32 %55, ptr %7, align 4
br label %56
56: ; preds = %47, %42
br label %57
57: ; preds = %56, %31
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %58
58: ; preds = %._crit_edge, %11
%59 = load ptr, ptr %4, align 8
%60 = call i32 @closedir(ptr noundef %59)
%61 = load i32, ptr %7, align 4
store i32 %61, ptr %2, align 4
br label %62
62: ; preds = %58, %10
%63 = load i32, ptr %2, align 4
ret i32 %63
}
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @access(ptr noundef, i32 noundef) #1
declare i64 @get_dev_part_nr(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp87sm5aa1.c'
source_filename = "/tmp/tmp87sm5aa1.c"
target datalayout = "e-m:e-p270: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.sigcontext = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sc_to_sc(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 i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
store i32 8, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds %struct.sigcontext, ptr %14, i32 0, i32 0
%16 = load ptr, ptr %15, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %23
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.sigcontext, ptr %19, i64 1
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.sigcontext, ptr %21, i32 0, i32 0
store ptr %20, ptr %22, align 8
br label %23
23: ; preds = %18, %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds %struct.sigcontext, ptr %24, i32 0, i32 0
store ptr null, ptr %25, align 8
ret void
}
declare i32 @memcpy(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/tmp87sm5aa1.c"
target datalayout = "e-m:e-p270: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.sigcontext = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sc_to_sc(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 i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
store i32 8, ptr %7, align 4
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = call i32 @memcpy(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds %struct.sigcontext, ptr %14, i32 0, i32 0
%16 = load ptr, ptr %15, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %23
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds %struct.sigcontext, ptr %19, i64 1
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds %struct.sigcontext, ptr %21, i32 0, i32 0
store ptr %20, ptr %22, align 8
br label %23
23: ; preds = %18, %2
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds %struct.sigcontext, ptr %24, i32 0, i32 0
store ptr null, ptr %25, align 8
ret void
}
declare i32 @memcpy(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/tmpibhaijep.c'
source_filename = "/tmp/tmpibhaijep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s file1 file2\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"Not enough written\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"numRead\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [8 x i8], align 1
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 3
br i1 %11, label %12, label %19
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr @O_RDONLY, align 4
%24 = call i32 (ptr, i32, ...) @open(ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @checkForOpenErrors(i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr @O_WRONLY, align 4
%31 = load i32, ptr @O_CREAT, align 4
%32 = or i32 %30, %31
%33 = load i32, ptr @O_TRUNC, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @S_IRUSR, align 4
%36 = load i32, ptr @S_IWUSR, align 4
%37 = or i32 %35, %36
%38 = load i32, ptr @S_IRGRP, align 4
%39 = or i32 %37, %38
%40 = load i32, ptr @S_IWGRP, align 4
%41 = or i32 %39, %40
%42 = load i32, ptr @S_IROTH, align 4
%43 = or i32 %41, %42
%44 = call i32 (ptr, i32, ...) @open(ptr noundef %29, i32 noundef %34, i32 noundef %43)
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = call i32 @checkForOpenErrors(i32 noundef %45)
%47 = load i32, ptr %6, align 4
%48 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%49 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef 8)
store i32 %49, ptr %9, align 4
br label %50
50: ; preds = %67, %19
%51 = load i32, ptr %9, align 4
%52 = icmp ne i32 %51, -1
br i1 %52, label %53, label %71
53: ; preds = %50
%54 = load i32, ptr %9, align 4
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %53
br label %71
57: ; preds = %53
%58 = load i32, ptr %7, align 4
%59 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%60 = load i32, ptr %9, align 4
%61 = call i32 @write(i32 noundef %58, ptr noundef %59, i32 noundef %60)
%62 = load i32, ptr %9, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %66
64: ; preds = %57
%65 = call i32 @errExit(ptr noundef @.str.1)
br label %66
66: ; preds = %64, %57
br label %67
67: ; preds = %66
%68 = load i32, ptr %6, align 4
%69 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%70 = call i32 @read(i32 noundef %68, ptr noundef %69, i32 noundef 8)
store i32 %70, ptr %9, align 4
br label %50, !llvm.loop !6
71: ; preds = %56, %50
%72 = load i32, ptr %9, align 4
%73 = icmp eq i32 %72, -1
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 @errExit(ptr noundef @.str.2)
br label %76
76: ; preds = %74, %71
%77 = load i32, ptr %6, align 4
%78 = call i32 @closeFile(i32 noundef %77)
%79 = load i32, ptr %7, align 4
%80 = call i32 @closeFile(i32 noundef %79)
%81 = load i32, ptr @EXIT_SUCCESS, align 4
%82 = call i32 @exit(i32 noundef %81) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @checkForOpenErrors(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @errExit(ptr noundef) #1
declare i32 @closeFile(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpibhaijep.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage: %s file1 file2\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_RDONLY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IWGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"Not enough written\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"numRead\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [8 x i8], align 1
%9 = 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
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 3
br i1 %11, label %12, label %19
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr @O_RDONLY, align 4
%24 = call i32 (ptr, i32, ...) @open(ptr noundef %22, i32 noundef %23)
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = call i32 @checkForOpenErrors(i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 2
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr @O_WRONLY, align 4
%31 = load i32, ptr @O_CREAT, align 4
%32 = or i32 %30, %31
%33 = load i32, ptr @O_TRUNC, align 4
%34 = or i32 %32, %33
%35 = load i32, ptr @S_IRUSR, align 4
%36 = load i32, ptr @S_IWUSR, align 4
%37 = or i32 %35, %36
%38 = load i32, ptr @S_IRGRP, align 4
%39 = or i32 %37, %38
%40 = load i32, ptr @S_IWGRP, align 4
%41 = or i32 %39, %40
%42 = load i32, ptr @S_IROTH, align 4
%43 = or i32 %41, %42
%44 = call i32 (ptr, i32, ...) @open(ptr noundef %29, i32 noundef %34, i32 noundef %43)
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = call i32 @checkForOpenErrors(i32 noundef %45)
%47 = load i32, ptr %6, align 4
%48 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%49 = call i32 @read(i32 noundef %47, ptr noundef %48, i32 noundef 8)
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = icmp ne i32 %50, -1
br i1 %51, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %19
br label %52
52: ; preds = %.lr.ph, %66
%53 = load i32, ptr %9, align 4
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %52
br label %72
56: ; preds = %52
%57 = load i32, ptr %7, align 4
%58 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%59 = load i32, ptr %9, align 4
%60 = call i32 @write(i32 noundef %57, ptr noundef %58, i32 noundef %59)
%61 = load i32, ptr %9, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %56
%64 = call i32 @errExit(ptr noundef @.str.1)
br label %65
65: ; preds = %63, %56
br label %66
66: ; preds = %65
%67 = load i32, ptr %6, align 4
%68 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%69 = call i32 @read(i32 noundef %67, ptr noundef %68, i32 noundef 8)
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp ne i32 %70, -1
br i1 %71, label %52, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %66
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %19
br label %72
72: ; preds = %.loopexit, %55
%73 = load i32, ptr %9, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %77
75: ; preds = %72
%76 = call i32 @errExit(ptr noundef @.str.2)
br label %77
77: ; preds = %75, %72
%78 = load i32, ptr %6, align 4
%79 = call i32 @closeFile(i32 noundef %78)
%80 = load i32, ptr %7, align 4
%81 = call i32 @closeFile(i32 noundef %80)
%82 = load i32, ptr @EXIT_SUCCESS, align 4
%83 = call i32 @exit(i32 noundef %82) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @open(ptr noundef, i32 noundef, ...) #1
declare i32 @checkForOpenErrors(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @errExit(ptr noundef) #1
declare i32 @closeFile(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmph87x8vji.c'
source_filename = "/tmp/tmph87x8vji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Sum: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Avg: %.2f\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
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %16, %0
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %19
11: ; preds = %7
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %5, align 4
br label %16
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %7, !llvm.loop !6
19: ; preds = %7
%20 = load i32, ptr %5, align 4
%21 = sitofp i32 %20 to float
%22 = call i32 @printf(ptr noundef @.str.1, float noundef %21)
%23 = load i32, ptr %5, align 4
%24 = sitofp i32 %23 to float
%25 = load i32, ptr %2, align 4
%26 = sitofp i32 %25 to float
%27 = fdiv float %24, %26
%28 = call i32 @printf(ptr noundef @.str.2, float noundef %27)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmph87x8vji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"Sum: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Avg: %.2f\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
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %15
%11 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %5, align 4
br label %15
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %5, align 4
%23 = sitofp i32 %22 to float
%24 = call i32 @printf(ptr noundef @.str.1, float noundef %23)
%25 = load i32, ptr %5, align 4
%26 = sitofp i32 %25 to float
%27 = load i32, ptr %2, align 4
%28 = sitofp i32 %27 to float
%29 = fdiv float %26, %28
%30 = call i32 @printf(ptr noundef @.str.2, float noundef %29)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2zbcgqqk.c'
source_filename = "/tmp/tmp2zbcgqqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ltrim(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @rtrim(ptr noundef %5)
ret void
}
declare i32 @ltrim(ptr noundef) #1
declare i32 @rtrim(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2zbcgqqk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ltrim(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @rtrim(ptr noundef %5)
ret void
}
declare i32 @ltrim(ptr noundef) #1
declare i32 @rtrim(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw7yrnlp_.c'
source_filename = "/tmp/tmpw7yrnlp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_letter(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i64 @is_upper(i8 noundef signext %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = call i64 @is_lower(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @is_upper(i8 noundef signext) #1
declare i64 @is_lower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw7yrnlp_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @is_letter(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i64 @is_upper(i8 noundef signext %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = call i64 @is_lower(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @is_upper(i8 noundef signext) #1
declare i64 @is_lower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfyadwcg1.c'
source_filename = "/tmp/tmpfyadwcg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"SLEEP_SECS\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"7\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"getenv:\09%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"sleep secs:\09%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIG_BLOCK = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"going to sleep\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"SIGINT\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"SIGTSTP\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"reanuda y muere\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1)
%11 = call ptr @getenv(ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, ptr @errno, align 4
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17)
br label %19
19: ; preds = %14, %2
%20 = load ptr, ptr %6, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str.4, ptr noundef %7)
%24 = call i32 @sigemptyset(ptr noundef %8)
%25 = load i32, ptr @SIGINT, align 4
%26 = call i32 @sigaddset(ptr noundef %8, i32 noundef %25)
%27 = load i32, ptr @SIGTSTP, align 4
%28 = call i32 @sigaddset(ptr noundef %8, i32 noundef %27)
%29 = load i32, ptr @SIG_BLOCK, align 4
%30 = call i32 @sigprocmask(i32 noundef %29, ptr noundef %8, ptr noundef null)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%32 = load i32, ptr %7, align 4
%33 = call i32 @sleep(i32 noundef %32)
%34 = call i32 @sigpending(ptr noundef %9)
%35 = load i32, ptr @SIGINT, align 4
%36 = call i64 @sigismember(ptr noundef %9, i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %19
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %40
40: ; preds = %38, %19
%41 = load i32, ptr @SIGTSTP, align 4
%42 = call i64 @sigismember(ptr noundef %9, i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%46 = call i32 @sigemptyset(ptr noundef %8)
%47 = load i32, ptr @SIGINT, align 4
%48 = call i32 @sigaddset(ptr noundef %8, i32 noundef %47)
%49 = load i32, ptr @SIG_BLOCK, align 4
%50 = call i32 @sigprocmask(i32 noundef %49, ptr noundef %8, ptr noundef null)
br label %51
51: ; preds = %44, %40
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret void
}
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @sigpending(ptr noundef) #1
declare i64 @sigismember(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/tmpfyadwcg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"SLEEP_SECS\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"7\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [12 x i8] c"getenv:\09%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"sleep secs:\09%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIGTSTP = dso_local global i32 0, align 4
@SIG_BLOCK = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [16 x i8] c"going to sleep\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"SIGINT\0A\00", align 1
@.str.7 = private unnamed_addr constant [9 x i8] c"SIGTSTP\0A\00", align 1
@.str.8 = private unnamed_addr constant [17 x i8] c"reanuda y muere\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%10 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1)
%11 = call ptr @getenv(ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i32, ptr @errno, align 4
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = call ptr @strerror(i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %17)
br label %19
19: ; preds = %14, %2
%20 = load ptr, ptr %6, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %20)
%22 = load ptr, ptr %6, align 8
%23 = call i32 @sscanf(ptr noundef %22, ptr noundef @.str.4, ptr noundef %7)
%24 = call i32 @sigemptyset(ptr noundef %8)
%25 = load i32, ptr @SIGINT, align 4
%26 = call i32 @sigaddset(ptr noundef %8, i32 noundef %25)
%27 = load i32, ptr @SIGTSTP, align 4
%28 = call i32 @sigaddset(ptr noundef %8, i32 noundef %27)
%29 = load i32, ptr @SIG_BLOCK, align 4
%30 = call i32 @sigprocmask(i32 noundef %29, ptr noundef %8, ptr noundef null)
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%32 = load i32, ptr %7, align 4
%33 = call i32 @sleep(i32 noundef %32)
%34 = call i32 @sigpending(ptr noundef %9)
%35 = load i32, ptr @SIGINT, align 4
%36 = call i64 @sigismember(ptr noundef %9, i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %19
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %40
40: ; preds = %38, %19
%41 = load i32, ptr @SIGTSTP, align 4
%42 = call i64 @sigismember(ptr noundef %9, i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %51
44: ; preds = %40
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%46 = call i32 @sigemptyset(ptr noundef %8)
%47 = load i32, ptr @SIGINT, align 4
%48 = call i32 @sigaddset(ptr noundef %8, i32 noundef %47)
%49 = load i32, ptr @SIG_BLOCK, align 4
%50 = call i32 @sigprocmask(i32 noundef %49, ptr noundef %8, ptr noundef null)
br label %51
51: ; preds = %44, %40
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret void
}
declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sigemptyset(ptr noundef) #1
declare i32 @sigaddset(ptr noundef, i32 noundef) #1
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @sigpending(ptr noundef) #1
declare i64 @sigismember(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/tmpdirj8b_c.c'
source_filename = "/tmp/tmpdirj8b_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Intel RAPL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @energymon_get_source_rapl(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @energymon_strencpy(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
ret ptr %7
}
declare ptr @energymon_strencpy(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/tmpdirj8b_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"Intel RAPL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @energymon_get_source_rapl(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @energymon_strencpy(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
ret ptr %7
}
declare ptr @energymon_strencpy(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/tmpkt5xi6xo.c'
source_filename = "/tmp/tmpkt5xi6xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_putmemchar(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = call i64 @write(i32 noundef 1, ptr noundef %6, i64 noundef %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %11, ptr %3, align 4
br label %14
12: ; preds = %2
%13 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %12, %10
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkt5xi6xo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ft_putmemchar(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i64, ptr %5, align 8
%8 = call i64 @write(i32 noundef 1, ptr noundef %6, i64 noundef %7)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %11, ptr %3, align 4
br label %14
12: ; preds = %2
%13 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %13, ptr %3, align 4
br label %14
14: ; preds = %12, %10
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuanq_lmp.c'
source_filename = "/tmp/tmpuanq_lmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 30, i1 false)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %40, %0
store i32 0, ptr %4, align 4
store i32 2, ptr %3, align 4
br label %10
10: ; preds = %30, %9
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 10
br i1 %12, label %13, label %33
13: ; preds = %10
%14 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 30)
%16 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = call i32 @baseConversion(ptr noundef %16, i32 noundef %17, i32 noundef %18)
%20 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%21 = call i64 @isPalindrome(ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %29
23: ; preds = %13
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
%26 = icmp sge i32 %25, 2
br i1 %26, label %27, label %28
27: ; preds = %23
br label %33
28: ; preds = %23
br label %29
29: ; preds = %28, %13
br label %30
30: ; preds = %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %10, !llvm.loop !6
33: ; preds = %27, %10
%34 = load i32, ptr %4, align 4
%35 = icmp sge i32 %34, 2
br i1 %35, label %36, label %39
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = call i32 @printf(ptr noundef @.str.1, i32 noundef %37)
br label %43
39: ; preds = %33
br label %40
40: ; preds = %39
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %9
43: ; preds = %36
ret i32 0
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @baseConversion(ptr noundef, i32 noundef, i32 noundef) #2
declare i64 @isPalindrome(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuanq_lmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [30 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 30, i1 false)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %2, align 4
br label %9
9: ; preds = %41, %0
store i32 0, ptr %4, align 4
store i32 2, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %10, 10
br i1 %11, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %9
br label %12
12: ; preds = %.lr.ph, %29
%13 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 30)
%15 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @baseConversion(ptr noundef %15, i32 noundef %16, i32 noundef %17)
%19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%20 = call i64 @isPalindrome(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %28
22: ; preds = %12
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = icmp sge i32 %24, 2
br i1 %25, label %26, label %27
26: ; preds = %22
br label %34
27: ; preds = %22
br label %28
28: ; preds = %27, %12
br label %29
29: ; preds = %28
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
%32 = load i32, ptr %3, align 4
%33 = icmp sle i32 %32, 10
br i1 %33, label %12, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %29
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %9
br label %34
34: ; preds = %.loopexit, %26
%35 = load i32, ptr %4, align 4
%36 = icmp sge i32 %35, 2
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = load i32, ptr %2, align 4
%39 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38)
br label %44
40: ; preds = %34
br label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
br label %9
44: ; preds = %37
ret i32 0
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @baseConversion(ptr noundef, i32 noundef, i32 noundef) #2
declare i64 @isPalindrome(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp80xtr7md.c'
source_filename = "/tmp/tmp80xtr7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ftok\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 (...) @ftok()
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @perror(ptr noundef @.str)
br label %6
6: ; preds = %4, %0
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @ftok(...) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp80xtr7md.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ftok\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 (...) @ftok()
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @perror(ptr noundef @.str)
br label %6
6: ; preds = %4, %0
%7 = load i32, ptr %1, align 4
ret i32 %7
}
declare i32 @ftok(...) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpemk9dxj0.c'
source_filename = "/tmp/tmpemk9dxj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_signals() #0 {
%1 = load i32, ptr @SIGINT, align 4
%2 = load i32, ptr @SIG_IGN, align 4
%3 = call i32 @signal(i32 noundef %1, i32 noundef %2)
%4 = load i32, ptr @SIGQUIT, align 4
%5 = load i32, ptr @SIG_IGN, align 4
%6 = call i32 @signal(i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr @SIGTERM, align 4
%8 = load i32, ptr @SIG_IGN, align 4
%9 = call i32 @signal(i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @signal(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/tmpemk9dxj0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_signals() #0 {
%1 = load i32, ptr @SIGINT, align 4
%2 = load i32, ptr @SIG_IGN, align 4
%3 = call i32 @signal(i32 noundef %1, i32 noundef %2)
%4 = load i32, ptr @SIGQUIT, align 4
%5 = load i32, ptr @SIG_IGN, align 4
%6 = call i32 @signal(i32 noundef %4, i32 noundef %5)
%7 = load i32, ptr @SIGTERM, align 4
%8 = load i32, ptr @SIG_IGN, align 4
%9 = call i32 @signal(i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @signal(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/tmp6fk_xu8h.c'
source_filename = "/tmp/tmp6fk_xu8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_arr_init_3d(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %15
15: ; preds = %35, %3
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %38
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call ptr @float_arr_init_2d(i32 noundef %24, i32 noundef %29)
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
store ptr %30, ptr %34, align 8
br label %35
35: ; preds = %19
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
br label %15, !llvm.loop !6
38: ; preds = %15
%39 = load ptr, ptr %7, align 8
ret ptr %39
}
declare i64 @malloc(i32 noundef) #1
declare ptr @float_arr_init_2d(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/tmp6fk_xu8h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_arr_init_3d(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %7, align 8
store i32 0, ptr %8, align 4
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %34
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call ptr @float_arr_init_2d(i32 noundef %23, i32 noundef %28)
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
store ptr %29, ptr %33, align 8
br label %34
34: ; preds = %18
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %3
%41 = load ptr, ptr %7, align 8
ret ptr %41
}
declare i64 @malloc(i32 noundef) #1
declare ptr @float_arr_init_2d(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl414lrz1.c'
source_filename = "/tmp/tmpl414lrz1.c"
target datalayout = "e-m:e-p270: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.target_y.coeff = private unnamed_addr constant [17 x float] [float 0xBF97CD4A60000000, float 0xC043E69600000000, float 0x4050707240000000, float 0xBFE9C49620000000, float 0x3FCC3ACD20000000, float 0xBFE684F0A0000000, float 0x3FE75299E0000000, float 0xBF41A0EFE0000000, float 0x3FA0946E00000000, float 0xBFA85B3BE0000000, float 0xBFD3E73620000000, float 0x3FEE8FD600000000, float 0xBF8EB477C0000000, float 0x3F95A19CA0000000, float 0x3F9974FAA0000000, float 0xBFA1E71840000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_y(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [17 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 16, ptr %7, align 4
store float 0x400F762FA0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %36, align 16
%37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %37, align 4
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %38, align 8
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032049BA0000000, ptr %39, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %40, align 16
%41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %41, align 4
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %42, align 8
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FBA5E0000000, ptr %43, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_y.coeff, i64 68, i1 false)
store i32 0, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %82
46: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
br label %47
47: ; preds = %78, %46
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %81
51: ; preds = %47
%52 = load i32, ptr %14, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %53
%55 = load float, ptr %54, align 4
%56 = load i32, ptr %14, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = fcmp oeq float %55, %59
br i1 %60, label %61, label %62
61: ; preds = %51
br label %78
62: ; preds = %51
%63 = load i32, ptr %14, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %64
%66 = load float, ptr %65, align 4
%67 = load i32, ptr %14, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %68
%70 = load float, ptr %69, align 4
%71 = fsub float %66, %70
%72 = fpext float %71 to double
%73 = fdiv double 2.000000e+00, %72
%74 = fptrunc double %73 to float
%75 = load i32, ptr %14, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %76
store float %74, ptr %77, align 4
br label %78
78: ; preds = %62, %61
%79 = load i32, ptr %14, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %14, align 4
br label %47, !llvm.loop !6
81: ; preds = %47
br label %82
82: ; preds = %81, %3
%83 = load ptr, ptr %4, align 8
%84 = getelementptr inbounds float, ptr %83, i64 0
%85 = load float, ptr %84, align 4
%86 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%87 = load float, ptr %86, align 16
%88 = fsub float %85, %87
%89 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%90 = load float, ptr %89, align 16
%91 = fmul float %88, %90
%92 = fpext float %91 to double
%93 = fadd double 1.000000e+00, %92
%94 = fptrunc double %93 to float
store float %94, ptr %15, align 4
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds float, ptr %95, i64 0
%97 = load float, ptr %96, align 4
%98 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%99 = load float, ptr %98, align 16
%100 = fmul float %97, %99
store float %100, ptr %16, align 4
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds float, ptr %101, i64 1
%103 = load float, ptr %102, align 4
%104 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%105 = load float, ptr %104, align 4
%106 = fsub float %103, %105
%107 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%108 = load float, ptr %107, align 4
%109 = fmul float %106, %108
%110 = fpext float %109 to double
%111 = fadd double 1.000000e+00, %110
%112 = fptrunc double %111 to float
store float %112, ptr %17, align 4
%113 = load ptr, ptr %5, align 8
%114 = getelementptr inbounds float, ptr %113, i64 1
%115 = load float, ptr %114, align 4
%116 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%117 = load float, ptr %116, align 4
%118 = fmul float %115, %117
store float %118, ptr %18, align 4
%119 = load ptr, ptr %4, align 8
%120 = getelementptr inbounds float, ptr %119, i64 2
%121 = load float, ptr %120, align 4
%122 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%123 = load float, ptr %122, align 8
%124 = fsub float %121, %123
%125 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%126 = load float, ptr %125, align 8
%127 = fmul float %124, %126
%128 = fpext float %127 to double
%129 = fadd double 1.000000e+00, %128
%130 = fptrunc double %129 to float
store float %130, ptr %19, align 4
%131 = load ptr, ptr %5, align 8
%132 = getelementptr inbounds float, ptr %131, i64 2
%133 = load float, ptr %132, align 4
%134 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%135 = load float, ptr %134, align 8
%136 = fmul float %133, %135
store float %136, ptr %20, align 4
%137 = load ptr, ptr %4, align 8
%138 = getelementptr inbounds float, ptr %137, i64 3
%139 = load float, ptr %138, align 4
%140 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%141 = load float, ptr %140, align 4
%142 = fsub float %139, %141
%143 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%144 = load float, ptr %143, align 4
%145 = fmul float %142, %144
%146 = fpext float %145 to double
%147 = fadd double 1.000000e+00, %146
%148 = fptrunc double %147 to float
store float %148, ptr %21, align 4
%149 = load ptr, ptr %5, align 8
%150 = getelementptr inbounds float, ptr %149, i64 3
%151 = load float, ptr %150, align 4
%152 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%153 = load float, ptr %152, align 4
%154 = fmul float %151, %153
store float %154, ptr %22, align 4
%155 = load float, ptr %15, align 4
store float %155, ptr %23, align 4
%156 = load float, ptr %23, align 4
%157 = load float, ptr %15, align 4
%158 = fmul float %156, %157
store float %158, ptr %24, align 4
%159 = load float, ptr %24, align 4
%160 = load float, ptr %15, align 4
%161 = fmul float %159, %160
store float %161, ptr %25, align 4
%162 = load float, ptr %25, align 4
%163 = load float, ptr %15, align 4
%164 = fmul float %162, %163
store float %164, ptr %26, align 4
%165 = load float, ptr %17, align 4
store float %165, ptr %27, align 4
%166 = load float, ptr %27, align 4
%167 = load float, ptr %17, align 4
%168 = fmul float %166, %167
store float %168, ptr %28, align 4
%169 = load float, ptr %19, align 4
store float %169, ptr %29, align 4
%170 = load float, ptr %29, align 4
%171 = load float, ptr %19, align 4
%172 = fmul float %170, %171
store float %172, ptr %30, align 4
%173 = load float, ptr %21, align 4
store float %173, ptr %31, align 4
%174 = load float, ptr %31, align 4
%175 = load float, ptr %21, align 4
%176 = fmul float %174, %175
store float %176, ptr %32, align 4
%177 = load float, ptr %8, align 4
%178 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 0
%179 = load float, ptr %178, align 16
%180 = fadd float %177, %179
%181 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%182 = load float, ptr %181, align 4
%183 = load float, ptr %27, align 4
%184 = call float @llvm.fmuladd.f32(float %182, float %183, float %180)
%185 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%186 = load float, ptr %185, align 8
%187 = load float, ptr %31, align 4
%188 = call float @llvm.fmuladd.f32(float %186, float %187, float %184)
%189 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%190 = load float, ptr %189, align 4
%191 = load float, ptr %27, align 4
%192 = fmul float %190, %191
%193 = load float, ptr %31, align 4
%194 = call float @llvm.fmuladd.f32(float %192, float %193, float %188)
%195 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%196 = load float, ptr %195, align 16
%197 = load float, ptr %28, align 4
%198 = call float @llvm.fmuladd.f32(float %196, float %197, float %194)
%199 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%200 = load float, ptr %199, align 4
%201 = load float, ptr %30, align 4
%202 = call float @llvm.fmuladd.f32(float %200, float %201, float %198)
%203 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%204 = load float, ptr %203, align 8
%205 = load float, ptr %32, align 4
%206 = call float @llvm.fmuladd.f32(float %204, float %205, float %202)
%207 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%208 = load float, ptr %207, align 4
%209 = load float, ptr %26, align 4
%210 = call float @llvm.fmuladd.f32(float %208, float %209, float %206)
store float %210, ptr %33, align 4
%211 = load float, ptr %33, align 4
%212 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%213 = load float, ptr %212, align 16
%214 = load float, ptr %23, align 4
%215 = call float @llvm.fmuladd.f32(float %213, float %214, float %211)
%216 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%217 = load float, ptr %216, align 4
%218 = load float, ptr %29, align 4
%219 = call float @llvm.fmuladd.f32(float %217, float %218, float %215)
%220 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%221 = load float, ptr %220, align 8
%222 = load float, ptr %24, align 4
%223 = call float @llvm.fmuladd.f32(float %221, float %222, float %219)
%224 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%225 = load float, ptr %224, align 4
%226 = load float, ptr %23, align 4
%227 = fmul float %225, %226
%228 = load float, ptr %29, align 4
%229 = call float @llvm.fmuladd.f32(float %227, float %228, float %223)
%230 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%231 = load float, ptr %230, align 16
%232 = load float, ptr %23, align 4
%233 = fmul float %231, %232
%234 = load float, ptr %27, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %29, align 4
%237 = call float @llvm.fmuladd.f32(float %235, float %236, float %229)
%238 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%239 = load float, ptr %238, align 4
%240 = load float, ptr %27, align 4
%241 = fmul float %239, %240
%242 = load float, ptr %30, align 4
%243 = call float @llvm.fmuladd.f32(float %241, float %242, float %237)
%244 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%245 = load float, ptr %244, align 8
%246 = load float, ptr %23, align 4
%247 = fmul float %245, %246
%248 = load float, ptr %29, align 4
%249 = fmul float %247, %248
%250 = load float, ptr %31, align 4
%251 = call float @llvm.fmuladd.f32(float %249, float %250, float %243)
%252 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%253 = load float, ptr %252, align 4
%254 = load float, ptr %30, align 4
%255 = fmul float %253, %254
%256 = load float, ptr %31, align 4
%257 = call float @llvm.fmuladd.f32(float %255, float %256, float %251)
store float %257, ptr %33, align 4
%258 = load float, ptr %16, align 4
%259 = fadd float 0.000000e+00, %258
%260 = load float, ptr %18, align 4
%261 = fadd float %259, %260
%262 = load float, ptr %20, align 4
%263 = fadd float %261, %262
%264 = load float, ptr %22, align 4
%265 = fadd float %263, %264
store float %265, ptr %34, align 4
%266 = load float, ptr %34, align 4
%267 = fcmp oeq float %266, 0.000000e+00
br i1 %267, label %268, label %269
268: ; preds = %82
br label %402
269: ; preds = %82
%270 = load float, ptr %16, align 4
%271 = load float, ptr %16, align 4
%272 = fmul float %270, %271
%273 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%274 = load float, ptr %273, align 4
%275 = fmul float 4.000000e+00, %274
%276 = load float, ptr %25, align 4
%277 = call float @llvm.fmuladd.f32(float %275, float %276, float 0.000000e+00)
%278 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%279 = load float, ptr %278, align 16
%280 = fadd float %277, %279
%281 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%282 = load float, ptr %281, align 8
%283 = fmul float 2.000000e+00, %282
%284 = load float, ptr %23, align 4
%285 = call float @llvm.fmuladd.f32(float %283, float %284, float %280)
%286 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%287 = load float, ptr %286, align 4
%288 = load float, ptr %29, align 4
%289 = call float @llvm.fmuladd.f32(float %287, float %288, float %285)
%290 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%291 = load float, ptr %290, align 16
%292 = load float, ptr %27, align 4
%293 = fmul float %291, %292
%294 = load float, ptr %29, align 4
%295 = call float @llvm.fmuladd.f32(float %293, float %294, float %289)
%296 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%297 = load float, ptr %296, align 8
%298 = load float, ptr %29, align 4
%299 = fmul float %297, %298
%300 = load float, ptr %31, align 4
%301 = call float @llvm.fmuladd.f32(float %299, float %300, float %295)
%302 = call float @pow(float noundef %301, i32 noundef 2)
%303 = load float, ptr %18, align 4
%304 = load float, ptr %18, align 4
%305 = fmul float %303, %304
%306 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%307 = load float, ptr %306, align 4
%308 = fadd float 0.000000e+00, %307
%309 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%310 = load float, ptr %309, align 4
%311 = load float, ptr %31, align 4
%312 = call float @llvm.fmuladd.f32(float %310, float %311, float %308)
%313 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%314 = load float, ptr %313, align 16
%315 = fmul float 2.000000e+00, %314
%316 = load float, ptr %27, align 4
%317 = call float @llvm.fmuladd.f32(float %315, float %316, float %312)
%318 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%319 = load float, ptr %318, align 16
%320 = load float, ptr %23, align 4
%321 = fmul float %319, %320
%322 = load float, ptr %29, align 4
%323 = call float @llvm.fmuladd.f32(float %321, float %322, float %317)
%324 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%325 = load float, ptr %324, align 4
%326 = load float, ptr %30, align 4
%327 = call float @llvm.fmuladd.f32(float %325, float %326, float %323)
%328 = call float @pow(float noundef %327, i32 noundef 2)
%329 = fmul float %305, %328
%330 = call float @llvm.fmuladd.f32(float %272, float %302, float %329)
%331 = load float, ptr %20, align 4
%332 = load float, ptr %20, align 4
%333 = fmul float %331, %332
%334 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%335 = load float, ptr %334, align 4
%336 = fmul float 2.000000e+00, %335
%337 = load float, ptr %29, align 4
%338 = call float @llvm.fmuladd.f32(float %336, float %337, float 0.000000e+00)
%339 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%340 = load float, ptr %339, align 4
%341 = fadd float %338, %340
%342 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%343 = load float, ptr %342, align 4
%344 = load float, ptr %23, align 4
%345 = call float @llvm.fmuladd.f32(float %343, float %344, float %341)
%346 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%347 = load float, ptr %346, align 16
%348 = load float, ptr %23, align 4
%349 = fmul float %347, %348
%350 = load float, ptr %27, align 4
%351 = call float @llvm.fmuladd.f32(float %349, float %350, float %345)
%352 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%353 = load float, ptr %352, align 4
%354 = fmul float 2.000000e+00, %353
%355 = load float, ptr %29, align 4
%356 = fmul float %354, %355
%357 = load float, ptr %27, align 4
%358 = call float @llvm.fmuladd.f32(float %356, float %357, float %351)
%359 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%360 = load float, ptr %359, align 8
%361 = load float, ptr %23, align 4
%362 = fmul float %360, %361
%363 = load float, ptr %31, align 4
%364 = call float @llvm.fmuladd.f32(float %362, float %363, float %358)
%365 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%366 = load float, ptr %365, align 4
%367 = fmul float 2.000000e+00, %366
%368 = load float, ptr %29, align 4
%369 = fmul float %367, %368
%370 = load float, ptr %31, align 4
%371 = call float @llvm.fmuladd.f32(float %369, float %370, float %364)
%372 = call float @pow(float noundef %371, i32 noundef 2)
%373 = call float @llvm.fmuladd.f32(float %333, float %372, float %330)
%374 = load float, ptr %22, align 4
%375 = load float, ptr %22, align 4
%376 = fmul float %374, %375
%377 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%378 = load float, ptr %377, align 8
%379 = fadd float 0.000000e+00, %378
%380 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%381 = load float, ptr %380, align 4
%382 = load float, ptr %27, align 4
%383 = call float @llvm.fmuladd.f32(float %381, float %382, float %379)
%384 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%385 = load float, ptr %384, align 8
%386 = fmul float 2.000000e+00, %385
%387 = load float, ptr %31, align 4
%388 = call float @llvm.fmuladd.f32(float %386, float %387, float %383)
%389 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%390 = load float, ptr %389, align 8
%391 = load float, ptr %23, align 4
%392 = fmul float %390, %391
%393 = load float, ptr %29, align 4
%394 = call float @llvm.fmuladd.f32(float %392, float %393, float %388)
%395 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%396 = load float, ptr %395, align 4
%397 = load float, ptr %30, align 4
%398 = call float @llvm.fmuladd.f32(float %396, float %397, float %394)
%399 = call float @pow(float noundef %398, i32 noundef 2)
%400 = call float @llvm.fmuladd.f32(float %376, float %399, float %373)
%401 = call float @sqrt(float noundef %400)
br label %402
402: ; preds = %269, %268
%403 = phi float [ 0.000000e+00, %268 ], [ %401, %269 ]
store float %403, ptr %35, align 4
%404 = load float, ptr %35, align 4
%405 = load ptr, ptr %5, align 8
%406 = getelementptr inbounds float, ptr %405, i64 0
store float %404, ptr %406, align 4
%407 = load float, ptr %33, align 4
ret float %407
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpl414lrz1.c"
target datalayout = "e-m:e-p270: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.target_y.coeff = private unnamed_addr constant [17 x float] [float 0xBF97CD4A60000000, float 0xC043E69600000000, float 0x4050707240000000, float 0xBFE9C49620000000, float 0x3FCC3ACD20000000, float 0xBFE684F0A0000000, float 0x3FE75299E0000000, float 0xBF41A0EFE0000000, float 0x3FA0946E00000000, float 0xBFA85B3BE0000000, float 0xBFD3E73620000000, float 0x3FEE8FD600000000, float 0xBF8EB477C0000000, float 0x3F95A19CA0000000, float 0x3F9974FAA0000000, float 0xBFA1E71840000000, float 0.000000e+00], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @target_y(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca [10 x float], align 16
%10 = alloca [10 x float], align 16
%11 = alloca [10 x float], align 16
%12 = alloca [17 x float], align 16
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 16, ptr %7, align 4
store float 0x400F762FA0000000, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 40, i1 false)
%36 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 0
store float -1.500000e+01, ptr %36, align 16
%37 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 1
store float -1.500000e+01, ptr %37, align 4
%38 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 2
store float -1.800000e+01, ptr %38, align 8
%39 = getelementptr inbounds [10 x float], ptr %9, i32 0, i32 3
store float 0xC032049BA0000000, ptr %39, align 4
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 40, i1 false)
%40 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 0
store float 1.500000e+01, ptr %40, align 16
%41 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 1
store float 1.500000e+01, ptr %41, align 4
%42 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 2
store float 1.800000e+01, ptr %42, align 8
%43 = getelementptr inbounds [10 x float], ptr %10, i32 0, i32 3
store float 0x4031FBA5E0000000, ptr %43, align 4
call void @llvm.memset.p0.i64(ptr align 16 %11, i8 0, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.target_y.coeff, i64 68, i1 false)
store i32 0, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %84
46: ; preds = %3
store i32 1, ptr %13, align 4
store i32 0, ptr %14, align 4
%47 = load i32, ptr %14, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph, label %83
.lr.ph: ; preds = %46
br label %50
50: ; preds = %.lr.ph, %77
%51 = load i32, ptr %14, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %52
%54 = load float, ptr %53, align 4
%55 = load i32, ptr %14, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %56
%58 = load float, ptr %57, align 4
%59 = fcmp oeq float %54, %58
br i1 %59, label %60, label %61
60: ; preds = %50
br label %77
61: ; preds = %50
%62 = load i32, ptr %14, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %63
%65 = load float, ptr %64, align 4
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %67
%69 = load float, ptr %68, align 4
%70 = fsub float %65, %69
%71 = fpext float %70 to double
%72 = fdiv double 2.000000e+00, %71
%73 = fptrunc double %72 to float
%74 = load i32, ptr %14, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 %75
store float %73, ptr %76, align 4
br label %77
77: ; preds = %61, %60
%78 = load i32, ptr %14, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %14, align 4
%80 = load i32, ptr %14, align 4
%81 = load i32, ptr %6, align 4
%82 = icmp slt i32 %80, %81
br i1 %82, label %50, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %77
br label %83
83: ; preds = %._crit_edge, %46
br label %84
84: ; preds = %83, %3
%85 = load ptr, ptr %4, align 8
%86 = getelementptr inbounds float, ptr %85, i64 0
%87 = load float, ptr %86, align 4
%88 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 0
%89 = load float, ptr %88, align 16
%90 = fsub float %87, %89
%91 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%92 = load float, ptr %91, align 16
%93 = fmul float %90, %92
%94 = fpext float %93 to double
%95 = fadd double 1.000000e+00, %94
%96 = fptrunc double %95 to float
store float %96, ptr %15, align 4
%97 = load ptr, ptr %5, align 8
%98 = getelementptr inbounds float, ptr %97, i64 0
%99 = load float, ptr %98, align 4
%100 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
%101 = load float, ptr %100, align 16
%102 = fmul float %99, %101
store float %102, ptr %16, align 4
%103 = load ptr, ptr %4, align 8
%104 = getelementptr inbounds float, ptr %103, i64 1
%105 = load float, ptr %104, align 4
%106 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 1
%107 = load float, ptr %106, align 4
%108 = fsub float %105, %107
%109 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%110 = load float, ptr %109, align 4
%111 = fmul float %108, %110
%112 = fpext float %111 to double
%113 = fadd double 1.000000e+00, %112
%114 = fptrunc double %113 to float
store float %114, ptr %17, align 4
%115 = load ptr, ptr %5, align 8
%116 = getelementptr inbounds float, ptr %115, i64 1
%117 = load float, ptr %116, align 4
%118 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 1
%119 = load float, ptr %118, align 4
%120 = fmul float %117, %119
store float %120, ptr %18, align 4
%121 = load ptr, ptr %4, align 8
%122 = getelementptr inbounds float, ptr %121, i64 2
%123 = load float, ptr %122, align 4
%124 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 2
%125 = load float, ptr %124, align 8
%126 = fsub float %123, %125
%127 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%128 = load float, ptr %127, align 8
%129 = fmul float %126, %128
%130 = fpext float %129 to double
%131 = fadd double 1.000000e+00, %130
%132 = fptrunc double %131 to float
store float %132, ptr %19, align 4
%133 = load ptr, ptr %5, align 8
%134 = getelementptr inbounds float, ptr %133, i64 2
%135 = load float, ptr %134, align 4
%136 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 2
%137 = load float, ptr %136, align 8
%138 = fmul float %135, %137
store float %138, ptr %20, align 4
%139 = load ptr, ptr %4, align 8
%140 = getelementptr inbounds float, ptr %139, i64 3
%141 = load float, ptr %140, align 4
%142 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 3
%143 = load float, ptr %142, align 4
%144 = fsub float %141, %143
%145 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%146 = load float, ptr %145, align 4
%147 = fmul float %144, %146
%148 = fpext float %147 to double
%149 = fadd double 1.000000e+00, %148
%150 = fptrunc double %149 to float
store float %150, ptr %21, align 4
%151 = load ptr, ptr %5, align 8
%152 = getelementptr inbounds float, ptr %151, i64 3
%153 = load float, ptr %152, align 4
%154 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 3
%155 = load float, ptr %154, align 4
%156 = fmul float %153, %155
store float %156, ptr %22, align 4
%157 = load float, ptr %15, align 4
store float %157, ptr %23, align 4
%158 = load float, ptr %23, align 4
%159 = load float, ptr %15, align 4
%160 = fmul float %158, %159
store float %160, ptr %24, align 4
%161 = load float, ptr %24, align 4
%162 = load float, ptr %15, align 4
%163 = fmul float %161, %162
store float %163, ptr %25, align 4
%164 = load float, ptr %25, align 4
%165 = load float, ptr %15, align 4
%166 = fmul float %164, %165
store float %166, ptr %26, align 4
%167 = load float, ptr %17, align 4
store float %167, ptr %27, align 4
%168 = load float, ptr %27, align 4
%169 = load float, ptr %17, align 4
%170 = fmul float %168, %169
store float %170, ptr %28, align 4
%171 = load float, ptr %19, align 4
store float %171, ptr %29, align 4
%172 = load float, ptr %29, align 4
%173 = load float, ptr %19, align 4
%174 = fmul float %172, %173
store float %174, ptr %30, align 4
%175 = load float, ptr %21, align 4
store float %175, ptr %31, align 4
%176 = load float, ptr %31, align 4
%177 = load float, ptr %21, align 4
%178 = fmul float %176, %177
store float %178, ptr %32, align 4
%179 = load float, ptr %8, align 4
%180 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 0
%181 = load float, ptr %180, align 16
%182 = fadd float %179, %181
%183 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%184 = load float, ptr %183, align 4
%185 = load float, ptr %27, align 4
%186 = call float @llvm.fmuladd.f32(float %184, float %185, float %182)
%187 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%188 = load float, ptr %187, align 8
%189 = load float, ptr %31, align 4
%190 = call float @llvm.fmuladd.f32(float %188, float %189, float %186)
%191 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%192 = load float, ptr %191, align 4
%193 = load float, ptr %27, align 4
%194 = fmul float %192, %193
%195 = load float, ptr %31, align 4
%196 = call float @llvm.fmuladd.f32(float %194, float %195, float %190)
%197 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%198 = load float, ptr %197, align 16
%199 = load float, ptr %28, align 4
%200 = call float @llvm.fmuladd.f32(float %198, float %199, float %196)
%201 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%202 = load float, ptr %201, align 4
%203 = load float, ptr %30, align 4
%204 = call float @llvm.fmuladd.f32(float %202, float %203, float %200)
%205 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%206 = load float, ptr %205, align 8
%207 = load float, ptr %32, align 4
%208 = call float @llvm.fmuladd.f32(float %206, float %207, float %204)
%209 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%210 = load float, ptr %209, align 4
%211 = load float, ptr %26, align 4
%212 = call float @llvm.fmuladd.f32(float %210, float %211, float %208)
store float %212, ptr %33, align 4
%213 = load float, ptr %33, align 4
%214 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%215 = load float, ptr %214, align 16
%216 = load float, ptr %23, align 4
%217 = call float @llvm.fmuladd.f32(float %215, float %216, float %213)
%218 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%219 = load float, ptr %218, align 4
%220 = load float, ptr %29, align 4
%221 = call float @llvm.fmuladd.f32(float %219, float %220, float %217)
%222 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%223 = load float, ptr %222, align 8
%224 = load float, ptr %24, align 4
%225 = call float @llvm.fmuladd.f32(float %223, float %224, float %221)
%226 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%227 = load float, ptr %226, align 4
%228 = load float, ptr %23, align 4
%229 = fmul float %227, %228
%230 = load float, ptr %29, align 4
%231 = call float @llvm.fmuladd.f32(float %229, float %230, float %225)
%232 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%233 = load float, ptr %232, align 16
%234 = load float, ptr %23, align 4
%235 = fmul float %233, %234
%236 = load float, ptr %27, align 4
%237 = fmul float %235, %236
%238 = load float, ptr %29, align 4
%239 = call float @llvm.fmuladd.f32(float %237, float %238, float %231)
%240 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%241 = load float, ptr %240, align 4
%242 = load float, ptr %27, align 4
%243 = fmul float %241, %242
%244 = load float, ptr %30, align 4
%245 = call float @llvm.fmuladd.f32(float %243, float %244, float %239)
%246 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%247 = load float, ptr %246, align 8
%248 = load float, ptr %23, align 4
%249 = fmul float %247, %248
%250 = load float, ptr %29, align 4
%251 = fmul float %249, %250
%252 = load float, ptr %31, align 4
%253 = call float @llvm.fmuladd.f32(float %251, float %252, float %245)
%254 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%255 = load float, ptr %254, align 4
%256 = load float, ptr %30, align 4
%257 = fmul float %255, %256
%258 = load float, ptr %31, align 4
%259 = call float @llvm.fmuladd.f32(float %257, float %258, float %253)
store float %259, ptr %33, align 4
%260 = load float, ptr %16, align 4
%261 = fadd float 0.000000e+00, %260
%262 = load float, ptr %18, align 4
%263 = fadd float %261, %262
%264 = load float, ptr %20, align 4
%265 = fadd float %263, %264
%266 = load float, ptr %22, align 4
%267 = fadd float %265, %266
store float %267, ptr %34, align 4
%268 = load float, ptr %34, align 4
%269 = fcmp oeq float %268, 0.000000e+00
br i1 %269, label %270, label %271
270: ; preds = %84
br label %404
271: ; preds = %84
%272 = load float, ptr %16, align 4
%273 = load float, ptr %16, align 4
%274 = fmul float %272, %273
%275 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 7
%276 = load float, ptr %275, align 4
%277 = fmul float 4.000000e+00, %276
%278 = load float, ptr %25, align 4
%279 = call float @llvm.fmuladd.f32(float %277, float %278, float 0.000000e+00)
%280 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 8
%281 = load float, ptr %280, align 16
%282 = fadd float %279, %281
%283 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 10
%284 = load float, ptr %283, align 8
%285 = fmul float 2.000000e+00, %284
%286 = load float, ptr %23, align 4
%287 = call float @llvm.fmuladd.f32(float %285, float %286, float %282)
%288 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%289 = load float, ptr %288, align 4
%290 = load float, ptr %29, align 4
%291 = call float @llvm.fmuladd.f32(float %289, float %290, float %287)
%292 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%293 = load float, ptr %292, align 16
%294 = load float, ptr %27, align 4
%295 = fmul float %293, %294
%296 = load float, ptr %29, align 4
%297 = call float @llvm.fmuladd.f32(float %295, float %296, float %291)
%298 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%299 = load float, ptr %298, align 8
%300 = load float, ptr %29, align 4
%301 = fmul float %299, %300
%302 = load float, ptr %31, align 4
%303 = call float @llvm.fmuladd.f32(float %301, float %302, float %297)
%304 = call float @pow(float noundef %303, i32 noundef 2)
%305 = load float, ptr %18, align 4
%306 = load float, ptr %18, align 4
%307 = fmul float %305, %306
%308 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 1
%309 = load float, ptr %308, align 4
%310 = fadd float 0.000000e+00, %309
%311 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%312 = load float, ptr %311, align 4
%313 = load float, ptr %31, align 4
%314 = call float @llvm.fmuladd.f32(float %312, float %313, float %310)
%315 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 4
%316 = load float, ptr %315, align 16
%317 = fmul float 2.000000e+00, %316
%318 = load float, ptr %27, align 4
%319 = call float @llvm.fmuladd.f32(float %317, float %318, float %314)
%320 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%321 = load float, ptr %320, align 16
%322 = load float, ptr %23, align 4
%323 = fmul float %321, %322
%324 = load float, ptr %29, align 4
%325 = call float @llvm.fmuladd.f32(float %323, float %324, float %319)
%326 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%327 = load float, ptr %326, align 4
%328 = load float, ptr %30, align 4
%329 = call float @llvm.fmuladd.f32(float %327, float %328, float %325)
%330 = call float @pow(float noundef %329, i32 noundef 2)
%331 = fmul float %307, %330
%332 = call float @llvm.fmuladd.f32(float %274, float %304, float %331)
%333 = load float, ptr %20, align 4
%334 = load float, ptr %20, align 4
%335 = fmul float %333, %334
%336 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 5
%337 = load float, ptr %336, align 4
%338 = fmul float 2.000000e+00, %337
%339 = load float, ptr %29, align 4
%340 = call float @llvm.fmuladd.f32(float %338, float %339, float 0.000000e+00)
%341 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 9
%342 = load float, ptr %341, align 4
%343 = fadd float %340, %342
%344 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 11
%345 = load float, ptr %344, align 4
%346 = load float, ptr %23, align 4
%347 = call float @llvm.fmuladd.f32(float %345, float %346, float %343)
%348 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 12
%349 = load float, ptr %348, align 16
%350 = load float, ptr %23, align 4
%351 = fmul float %349, %350
%352 = load float, ptr %27, align 4
%353 = call float @llvm.fmuladd.f32(float %351, float %352, float %347)
%354 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 13
%355 = load float, ptr %354, align 4
%356 = fmul float 2.000000e+00, %355
%357 = load float, ptr %29, align 4
%358 = fmul float %356, %357
%359 = load float, ptr %27, align 4
%360 = call float @llvm.fmuladd.f32(float %358, float %359, float %353)
%361 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%362 = load float, ptr %361, align 8
%363 = load float, ptr %23, align 4
%364 = fmul float %362, %363
%365 = load float, ptr %31, align 4
%366 = call float @llvm.fmuladd.f32(float %364, float %365, float %360)
%367 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%368 = load float, ptr %367, align 4
%369 = fmul float 2.000000e+00, %368
%370 = load float, ptr %29, align 4
%371 = fmul float %369, %370
%372 = load float, ptr %31, align 4
%373 = call float @llvm.fmuladd.f32(float %371, float %372, float %366)
%374 = call float @pow(float noundef %373, i32 noundef 2)
%375 = call float @llvm.fmuladd.f32(float %335, float %374, float %332)
%376 = load float, ptr %22, align 4
%377 = load float, ptr %22, align 4
%378 = fmul float %376, %377
%379 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 2
%380 = load float, ptr %379, align 8
%381 = fadd float 0.000000e+00, %380
%382 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 3
%383 = load float, ptr %382, align 4
%384 = load float, ptr %27, align 4
%385 = call float @llvm.fmuladd.f32(float %383, float %384, float %381)
%386 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 6
%387 = load float, ptr %386, align 8
%388 = fmul float 2.000000e+00, %387
%389 = load float, ptr %31, align 4
%390 = call float @llvm.fmuladd.f32(float %388, float %389, float %385)
%391 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 14
%392 = load float, ptr %391, align 8
%393 = load float, ptr %23, align 4
%394 = fmul float %392, %393
%395 = load float, ptr %29, align 4
%396 = call float @llvm.fmuladd.f32(float %394, float %395, float %390)
%397 = getelementptr inbounds [17 x float], ptr %12, i64 0, i64 15
%398 = load float, ptr %397, align 4
%399 = load float, ptr %30, align 4
%400 = call float @llvm.fmuladd.f32(float %398, float %399, float %396)
%401 = call float @pow(float noundef %400, i32 noundef 2)
%402 = call float @llvm.fmuladd.f32(float %378, float %401, float %375)
%403 = call float @sqrt(float noundef %402)
br label %404
404: ; preds = %271, %270
%405 = phi float [ 0.000000e+00, %270 ], [ %403, %271 ]
store float %405, ptr %35, align 4
%406 = load float, ptr %35, align 4
%407 = load ptr, ptr %5, align 8
%408 = getelementptr inbounds float, ptr %407, i64 0
store float %406, ptr %408, align 4
%409 = load float, ptr %33, align 4
ret float %409
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3
declare float @sqrt(float noundef) #4
declare float @pow(float noundef, i32 noundef) #4
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpb3qg2qzj.c'
source_filename = "/tmp/tmpb3qg2qzj.c"
target datalayout = "e-m:e-p270: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/tmpb3qg2qzj.c"
target datalayout = "e-m:e-p270: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/tmpq4ft_wiq.c'
source_filename = "/tmp/tmpq4ft_wiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#circus\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"*!*@*\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"MODE #circus -b *!*@*\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [58 x i8] c"test_irc_unban: msg should be 'MODE #circus -b *!*@*\\r\\n'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_irc_unban() #0 {
%1 = alloca [513 x i8], align 16
%2 = call i32 @irc_unban(ptr noundef @.str, ptr noundef @.str.1)
%3 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @read_mock(ptr noundef %3)
br label %5
5: ; preds = %0
%6 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.2)
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = call i32 @mu_fail(ptr noundef @.str.3)
br label %12
11: ; preds = %5
br label %12
12: ; preds = %9, %11
ret void
}
declare i32 @irc_unban(ptr noundef, ptr noundef) #1
declare i32 @read_mock(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @mu_fail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq4ft_wiq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"#circus\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"*!*@*\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"MODE #circus -b *!*@*\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [58 x i8] c"test_irc_unban: msg should be 'MODE #circus -b *!*@*\\r\\n'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_irc_unban() #0 {
%1 = alloca [513 x i8], align 16
%2 = call i32 @irc_unban(ptr noundef @.str, ptr noundef @.str.1)
%3 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @read_mock(ptr noundef %3)
br label %5
5: ; preds = %0
%6 = getelementptr inbounds [513 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str.2)
%8 = icmp eq i64 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = call i32 @mu_fail(ptr noundef @.str.3)
br label %12
11: ; preds = %5
br label %12
12: ; preds = %11, %9
ret void
}
declare i32 @irc_unban(ptr noundef, ptr noundef) #1
declare i32 @read_mock(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @mu_fail(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp563ctodv.c'
source_filename = "/tmp/tmp563ctodv.c"
target datalayout = "e-m:e-p270: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/tmp563ctodv.c"
target datalayout = "e-m:e-p270: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/tmpeanpt7cf.c'
source_filename = "/tmp/tmpeanpt7cf.c"
target datalayout = "e-m:e-p270: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/tmpeanpt7cf.c"
target datalayout = "e-m:e-p270: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/tmpgepwv3t3.c'
source_filename = "/tmp/tmpgepwv3t3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @balance(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca 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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 4.000000e+00, ptr %13, align 8
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %154, %2
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %155
17: ; preds = %14
store i32 1, ptr %5, align 4
store i32 1, ptr %7, align 4
br label %18
18: ; preds = %151, %17
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %154
22: ; preds = %18
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 1, ptr %6, align 4
br label %23
23: ; preds = %59, %22
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %62
27: ; preds = %23
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %31, label %58
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
%40 = load double, ptr %39, align 8
%41 = call i64 @fabs(double noundef %40)
%42 = sitofp i64 %41 to double
%43 = load double, ptr %12, align 8
%44 = fadd double %43, %42
store double %44, ptr %12, align 8
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = call i64 @fabs(double noundef %53)
%55 = sitofp i64 %54 to double
%56 = load double, ptr %9, align 8
%57 = fadd double %56, %55
store double %57, ptr %9, align 8
br label %58
58: ; preds = %31, %27
br label %59
59: ; preds = %58
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
br label %23, !llvm.loop !6
62: ; preds = %23
%63 = load double, ptr %12, align 8
%64 = fcmp une double %63, 0.000000e+00
br i1 %64, label %65, label %150
65: ; preds = %62
%66 = load double, ptr %9, align 8
%67 = fcmp une double %66, 0.000000e+00
br i1 %67, label %68, label %150
68: ; preds = %65
%69 = load double, ptr %9, align 8
%70 = fdiv double %69, 2.000000e+00
store double %70, ptr %10, align 8
store double 1.000000e+00, ptr %11, align 8
%71 = load double, ptr %12, align 8
%72 = load double, ptr %9, align 8
%73 = fadd double %71, %72
store double %73, ptr %8, align 8
br label %74
74: ; preds = %78, %68
%75 = load double, ptr %12, align 8
%76 = load double, ptr %10, align 8
%77 = fcmp olt double %75, %76
br i1 %77, label %78, label %84
78: ; preds = %74
%79 = load double, ptr %11, align 8
%80 = fmul double %79, 2.000000e+00
store double %80, ptr %11, align 8
%81 = load double, ptr %13, align 8
%82 = load double, ptr %12, align 8
%83 = fmul double %82, %81
store double %83, ptr %12, align 8
br label %74, !llvm.loop !8
84: ; preds = %74
%85 = load double, ptr %9, align 8
%86 = fmul double %85, 2.000000e+00
store double %86, ptr %10, align 8
br label %87
87: ; preds = %91, %84
%88 = load double, ptr %12, align 8
%89 = load double, ptr %10, align 8
%90 = fcmp ogt double %88, %89
br i1 %90, label %91, label %97
91: ; preds = %87
%92 = load double, ptr %11, align 8
%93 = fdiv double %92, 2.000000e+00
store double %93, ptr %11, align 8
%94 = load double, ptr %13, align 8
%95 = load double, ptr %12, align 8
%96 = fdiv double %95, %94
store double %96, ptr %12, align 8
br label %87, !llvm.loop !9
97: ; preds = %87
%98 = load double, ptr %12, align 8
%99 = load double, ptr %9, align 8
%100 = fadd double %98, %99
%101 = load double, ptr %11, align 8
%102 = fdiv double %100, %101
%103 = load double, ptr %8, align 8
%104 = fmul double 0x3FEE666666666666, %103
%105 = fcmp olt double %102, %104
br i1 %105, label %106, label %149
106: ; preds = %97
store i32 0, ptr %5, align 4
%107 = load double, ptr %11, align 8
%108 = fdiv double 1.000000e+00, %107
store double %108, ptr %10, align 8
store i32 1, ptr %6, align 4
br label %109
109: ; preds = %125, %106
%110 = load i32, ptr %6, align 4
%111 = load i32, ptr %4, align 4
%112 = icmp sle i32 %110, %111
br i1 %112, label %113, label %128
113: ; preds = %109
%114 = load double, ptr %10, align 8
%115 = load ptr, ptr %3, align 8
%116 = load i32, ptr %7, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds ptr, ptr %115, i64 %117
%119 = load ptr, ptr %118, align 8
%120 = load i32, ptr %6, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
%123 = load double, ptr %122, align 8
%124 = fmul double %123, %114
store double %124, ptr %122, align 8
br label %125
125: ; preds = %113
%126 = load i32, ptr %6, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %6, align 4
br label %109, !llvm.loop !10
128: ; preds = %109
store i32 1, ptr %6, align 4
br label %129
129: ; preds = %145, %128
%130 = load i32, ptr %6, align 4
%131 = load i32, ptr %4, align 4
%132 = icmp sle i32 %130, %131
br i1 %132, label %133, label %148
133: ; preds = %129
%134 = load double, ptr %11, align 8
%135 = load ptr, ptr %3, align 8
%136 = load i32, ptr %6, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %135, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = load i32, ptr %7, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %139, i64 %141
%143 = load double, ptr %142, align 8
%144 = fmul double %143, %134
store double %144, ptr %142, align 8
br label %145
145: ; preds = %133
%146 = load i32, ptr %6, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %6, align 4
br label %129, !llvm.loop !11
148: ; preds = %129
br label %149
149: ; preds = %148, %97
br label %150
150: ; preds = %149, %65, %62
br label %151
151: ; preds = %150
%152 = load i32, ptr %7, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %7, align 4
br label %18, !llvm.loop !12
154: ; preds = %18
br label %14, !llvm.loop !13
155: ; preds = %14
ret void
}
declare i64 @fabs(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgepwv3t3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @balance(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca 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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store double 4.000000e+00, ptr %13, align 8
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %.lr.ph17, label %168
.lr.ph17: ; preds = %2
br label %16
16: ; preds = %.lr.ph17, %165
store i32 1, ptr %5, align 4
store i32 1, ptr %7, align 4
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph14, label %165
.lr.ph14: ; preds = %16
br label %20
20: ; preds = %.lr.ph14, %159
store double 0.000000e+00, ptr %12, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 1, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %62
.lr.ph: ; preds = %20
br label %24
24: ; preds = %.lr.ph, %56
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %55
28: ; preds = %24
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = call i64 @fabs(double noundef %37)
%39 = sitofp i64 %38 to double
%40 = load double, ptr %12, align 8
%41 = fadd double %40, %39
store double %41, ptr %12, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %46, i64 %48
%50 = load double, ptr %49, align 8
%51 = call i64 @fabs(double noundef %50)
%52 = sitofp i64 %51 to double
%53 = load double, ptr %9, align 8
%54 = fadd double %53, %52
store double %54, ptr %9, align 8
br label %55
55: ; preds = %28, %24
br label %56
56: ; preds = %55
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %62
62: ; preds = %._crit_edge, %20
%63 = load double, ptr %12, align 8
%64 = fcmp une double %63, 0.000000e+00
br i1 %64, label %65, label %158
65: ; preds = %62
%66 = load double, ptr %9, align 8
%67 = fcmp une double %66, 0.000000e+00
br i1 %67, label %68, label %158
68: ; preds = %65
%69 = load double, ptr %9, align 8
%70 = fdiv double %69, 2.000000e+00
store double %70, ptr %10, align 8
store double 1.000000e+00, ptr %11, align 8
%71 = load double, ptr %12, align 8
%72 = load double, ptr %9, align 8
%73 = fadd double %71, %72
store double %73, ptr %8, align 8
%74 = load double, ptr %12, align 8
%75 = load double, ptr %10, align 8
%76 = fcmp olt double %74, %75
br i1 %76, label %.lr.ph2, label %86
.lr.ph2: ; preds = %68
br label %77
77: ; preds = %.lr.ph2, %77
%78 = load double, ptr %11, align 8
%79 = fmul double %78, 2.000000e+00
store double %79, ptr %11, align 8
%80 = load double, ptr %13, align 8
%81 = load double, ptr %12, align 8
%82 = fmul double %81, %80
store double %82, ptr %12, align 8
%83 = load double, ptr %12, align 8
%84 = load double, ptr %10, align 8
%85 = fcmp olt double %83, %84
br i1 %85, label %77, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %77
br label %86
86: ; preds = %._crit_edge3, %68
%87 = load double, ptr %9, align 8
%88 = fmul double %87, 2.000000e+00
store double %88, ptr %10, align 8
%89 = load double, ptr %12, align 8
%90 = load double, ptr %10, align 8
%91 = fcmp ogt double %89, %90
br i1 %91, label %.lr.ph5, label %101
.lr.ph5: ; preds = %86
br label %92
92: ; preds = %.lr.ph5, %92
%93 = load double, ptr %11, align 8
%94 = fdiv double %93, 2.000000e+00
store double %94, ptr %11, align 8
%95 = load double, ptr %13, align 8
%96 = load double, ptr %12, align 8
%97 = fdiv double %96, %95
store double %97, ptr %12, align 8
%98 = load double, ptr %12, align 8
%99 = load double, ptr %10, align 8
%100 = fcmp ogt double %98, %99
br i1 %100, label %92, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %92
br label %101
101: ; preds = %._crit_edge6, %86
%102 = load double, ptr %12, align 8
%103 = load double, ptr %9, align 8
%104 = fadd double %102, %103
%105 = load double, ptr %11, align 8
%106 = fdiv double %104, %105
%107 = load double, ptr %8, align 8
%108 = fmul double 0x3FEE666666666666, %107
%109 = fcmp olt double %106, %108
br i1 %109, label %110, label %157
110: ; preds = %101
store i32 0, ptr %5, align 4
%111 = load double, ptr %11, align 8
%112 = fdiv double 1.000000e+00, %111
store double %112, ptr %10, align 8
store i32 1, ptr %6, align 4
%113 = load i32, ptr %6, align 4
%114 = load i32, ptr %4, align 4
%115 = icmp sle i32 %113, %114
br i1 %115, label %.lr.ph8, label %134
.lr.ph8: ; preds = %110
br label %116
116: ; preds = %.lr.ph8, %128
%117 = load double, ptr %10, align 8
%118 = load ptr, ptr %3, align 8
%119 = load i32, ptr %7, 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 %6, align 4
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, ptr %122, i64 %124
%126 = load double, ptr %125, align 8
%127 = fmul double %126, %117
store double %127, ptr %125, align 8
br label %128
128: ; preds = %116
%129 = load i32, ptr %6, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %6, align 4
%131 = load i32, ptr %6, align 4
%132 = load i32, ptr %4, align 4
%133 = icmp sle i32 %131, %132
br i1 %133, label %116, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %128
br label %134
134: ; preds = %._crit_edge9, %110
store i32 1, ptr %6, align 4
%135 = load i32, ptr %6, align 4
%136 = load i32, ptr %4, align 4
%137 = icmp sle i32 %135, %136
br i1 %137, label %.lr.ph11, label %156
.lr.ph11: ; preds = %134
br label %138
138: ; preds = %.lr.ph11, %150
%139 = load double, ptr %11, align 8
%140 = load ptr, ptr %3, align 8
%141 = load i32, ptr %6, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds ptr, ptr %140, i64 %142
%144 = load ptr, ptr %143, align 8
%145 = load i32, ptr %7, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, ptr %144, i64 %146
%148 = load double, ptr %147, align 8
%149 = fmul double %148, %139
store double %149, ptr %147, align 8
br label %150
150: ; preds = %138
%151 = load i32, ptr %6, align 4
%152 = add nsw i32 %151, 1
store i32 %152, ptr %6, align 4
%153 = load i32, ptr %6, align 4
%154 = load i32, ptr %4, align 4
%155 = icmp sle i32 %153, %154
br i1 %155, label %138, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %150
br label %156
156: ; preds = %._crit_edge12, %134
br label %157
157: ; preds = %156, %101
br label %158
158: ; preds = %157, %65, %62
br label %159
159: ; preds = %158
%160 = load i32, ptr %7, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %7, align 4
%162 = load i32, ptr %7, align 4
%163 = load i32, ptr %4, align 4
%164 = icmp slt i32 %162, %163
br i1 %164, label %20, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %159
br label %165
165: ; preds = %._crit_edge15, %16
%166 = load i32, ptr %5, align 4
%167 = icmp eq i32 %166, 0
br i1 %167, label %16, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %165
br label %168
168: ; preds = %._crit_edge18, %2
ret void
}
declare i64 @fabs(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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp1_jjx8zg.c'
source_filename = "/tmp/tmp1_jjx8zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"sched_fork() error\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Created pid %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"In parent with pid %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Child returned with code %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Children returned in order:\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Ending init process...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [5 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %22, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %25
11: ; preds = %8
%12 = call i32 (...) @sched_fork()
store i32 %12, ptr %1, align 4
switch i32 %12, label %18 [
i32 -1, label %13
i32 0, label %16
]
13: ; preds = %11
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%15 = call i32 @sched_exit(i32 noundef 0)
br label %16
16: ; preds = %11, %13
%17 = call i32 (...) @child()
br label %18
18: ; preds = %11, %16
%19 = load i32, ptr %1, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
br label %21
21: ; preds = %18
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %8, !llvm.loop !6
25: ; preds = %8
%26 = call i32 (...) @sched_getpid()
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26)
store i32 0, ptr %5, align 4
br label %28
28: ; preds = %39, %25
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %31, label %42
31: ; preds = %28
%32 = call i32 @sched_wait(ptr noundef %3)
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %35
store i32 %33, ptr %36, align 4
%37 = load i32, ptr %3, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37)
br label %39
39: ; preds = %31
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %28, !llvm.loop !8
42: ; preds = %28
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %6, align 4
br label %44
44: ; preds = %53, %42
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %45, 5
br i1 %46, label %47, label %56
47: ; preds = %44
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %51)
br label %53
53: ; preds = %47
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %6, align 4
br label %44, !llvm.loop !9
56: ; preds = %44
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%58 = call i32 @sched_exit(i32 noundef 0)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%60 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sched_fork(...) #1
declare i32 @sched_exit(i32 noundef) #1
declare i32 @child(...) #1
declare i32 @sched_getpid(...) #1
declare i32 @sched_wait(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_jjx8zg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"sched_fork() error\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Created pid %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"In parent with pid %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c"Child returned with code %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"Children returned in order:\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"Ending init process...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [5 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %21
%11 = call i32 (...) @sched_fork()
store i32 %11, ptr %1, align 4
switch i32 %11, label %17 [
i32 -1, label %12
i32 0, label %15
]
12: ; preds = %10
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%14 = call i32 @sched_exit(i32 noundef 0)
br label %15
15: ; preds = %12, %10
%16 = call i32 (...) @child()
br label %17
17: ; preds = %15, %10
%18 = load i32, ptr %1, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18)
br label %20
20: ; preds = %17
br label %21
21: ; preds = %20
%22 = load i32, ptr %2, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %24, 5
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
%27 = call i32 (...) @sched_getpid()
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27)
store i32 0, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %29, 5
br i1 %30, label %.lr.ph2, label %44
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %39
%32 = call i32 @sched_wait(ptr noundef %3)
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %5, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %35
store i32 %33, ptr %36, align 4
%37 = load i32, ptr %3, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %37)
br label %39
39: ; preds = %31
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = icmp slt i32 %42, 5
br i1 %43, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %44
44: ; preds = %._crit_edge3, %26
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
store i32 0, ptr %6, align 4
%46 = load i32, ptr %6, align 4
%47 = icmp slt i32 %46, 5
br i1 %47, label %.lr.ph5, label %59
.lr.ph5: ; preds = %44
br label %48
48: ; preds = %.lr.ph5, %54
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %52)
br label %54
54: ; preds = %48
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %6, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %57, 5
br i1 %58, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %54
br label %59
59: ; preds = %._crit_edge6, %44
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%61 = call i32 @sched_exit(i32 noundef 0)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%63 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sched_fork(...) #1
declare i32 @sched_exit(i32 noundef) #1
declare i32 @child(...) #1
declare i32 @sched_getpid(...) #1
declare i32 @sched_wait(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp25vwaolr.c'
source_filename = "/tmp/tmp25vwaolr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftss_r8_bgl_u1_f(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %10, align 8
%15 = mul nsw i64 %13, %14
%16 = mul nsw i64 %15, 2
%17 = getelementptr inbounds double, ptr %12, i64 %16
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %9, align 8
%20 = load i64, ptr %10, align 8
%21 = mul nsw i64 %19, %20
%22 = mul nsw i64 %21, 4
%23 = getelementptr inbounds double, ptr %18, i64 %22
%24 = load ptr, ptr %7, align 8
%25 = load i64, ptr %9, align 8
%26 = load i64, ptr %10, align 8
%27 = mul nsw i64 %25, %26
%28 = mul nsw i64 %27, 6
%29 = getelementptr inbounds double, ptr %24, i64 %28
%30 = load ptr, ptr %7, align 8
%31 = load i64, ptr %9, align 8
%32 = load i64, ptr %10, align 8
%33 = mul nsw i64 %31, %32
%34 = mul nsw i64 %33, 8
%35 = getelementptr inbounds double, ptr %30, i64 %34
%36 = load ptr, ptr %7, align 8
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %10, align 8
%39 = mul nsw i64 %37, %38
%40 = mul nsw i64 %39, 10
%41 = getelementptr inbounds double, ptr %36, i64 %40
%42 = load ptr, ptr %7, align 8
%43 = load i64, ptr %9, align 8
%44 = load i64, ptr %10, align 8
%45 = mul nsw i64 %43, %44
%46 = mul nsw i64 %45, 12
%47 = getelementptr inbounds double, ptr %42, i64 %46
%48 = load ptr, ptr %7, align 8
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %10, align 8
%51 = mul nsw i64 %49, %50
%52 = mul nsw i64 %51, 14
%53 = getelementptr inbounds double, ptr %48, i64 %52
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %6, align 8
%56 = load i64, ptr %9, align 8
%57 = mul nsw i64 %56, 2
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load ptr, ptr %6, align 8
%60 = load i64, ptr %9, align 8
%61 = mul nsw i64 %60, 4
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load ptr, ptr %6, align 8
%64 = load i64, ptr %9, align 8
%65 = mul nsw i64 %64, 6
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load ptr, ptr %6, align 8
%68 = load i64, ptr %9, align 8
%69 = mul nsw i64 %68, 8
%70 = getelementptr inbounds double, ptr %67, i64 %69
%71 = load ptr, ptr %6, align 8
%72 = load i64, ptr %9, align 8
%73 = mul nsw i64 %72, 10
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr %9, align 8
%77 = mul nsw i64 %76, 12
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load ptr, ptr %6, align 8
%80 = load i64, ptr %9, align 8
%81 = mul nsw i64 %80, 14
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %8, align 8
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %10, align 8
%87 = mul nsw i64 %85, %86
%88 = mul nsw i64 %87, 12
%89 = getelementptr inbounds double, ptr %84, i64 %88
%90 = load i64, ptr %9, align 8
%91 = load i64, ptr %10, align 8
%92 = call i32 @kern_r8_bgl_u1_f(ptr noundef %11, ptr noundef %17, ptr noundef %23, ptr noundef %29, ptr noundef %35, ptr noundef %41, ptr noundef %47, ptr noundef %53, ptr noundef %54, ptr noundef %58, ptr noundef %62, ptr noundef %66, ptr noundef %70, ptr noundef %74, ptr noundef %78, ptr noundef %82, ptr noundef %83, ptr noundef %89, i64 noundef %90, i64 noundef %91)
ret void
}
declare i32 @kern_r8_bgl_u1_f(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, i64 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/tmp25vwaolr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fftss_r8_bgl_u1_f(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %9, align 8
%14 = load i64, ptr %10, align 8
%15 = mul nsw i64 %13, %14
%16 = mul nsw i64 %15, 2
%17 = getelementptr inbounds double, ptr %12, i64 %16
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %9, align 8
%20 = load i64, ptr %10, align 8
%21 = mul nsw i64 %19, %20
%22 = mul nsw i64 %21, 4
%23 = getelementptr inbounds double, ptr %18, i64 %22
%24 = load ptr, ptr %7, align 8
%25 = load i64, ptr %9, align 8
%26 = load i64, ptr %10, align 8
%27 = mul nsw i64 %25, %26
%28 = mul nsw i64 %27, 6
%29 = getelementptr inbounds double, ptr %24, i64 %28
%30 = load ptr, ptr %7, align 8
%31 = load i64, ptr %9, align 8
%32 = load i64, ptr %10, align 8
%33 = mul nsw i64 %31, %32
%34 = mul nsw i64 %33, 8
%35 = getelementptr inbounds double, ptr %30, i64 %34
%36 = load ptr, ptr %7, align 8
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %10, align 8
%39 = mul nsw i64 %37, %38
%40 = mul nsw i64 %39, 10
%41 = getelementptr inbounds double, ptr %36, i64 %40
%42 = load ptr, ptr %7, align 8
%43 = load i64, ptr %9, align 8
%44 = load i64, ptr %10, align 8
%45 = mul nsw i64 %43, %44
%46 = mul nsw i64 %45, 12
%47 = getelementptr inbounds double, ptr %42, i64 %46
%48 = load ptr, ptr %7, align 8
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %10, align 8
%51 = mul nsw i64 %49, %50
%52 = mul nsw i64 %51, 14
%53 = getelementptr inbounds double, ptr %48, i64 %52
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %6, align 8
%56 = load i64, ptr %9, align 8
%57 = mul nsw i64 %56, 2
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load ptr, ptr %6, align 8
%60 = load i64, ptr %9, align 8
%61 = mul nsw i64 %60, 4
%62 = getelementptr inbounds double, ptr %59, i64 %61
%63 = load ptr, ptr %6, align 8
%64 = load i64, ptr %9, align 8
%65 = mul nsw i64 %64, 6
%66 = getelementptr inbounds double, ptr %63, i64 %65
%67 = load ptr, ptr %6, align 8
%68 = load i64, ptr %9, align 8
%69 = mul nsw i64 %68, 8
%70 = getelementptr inbounds double, ptr %67, i64 %69
%71 = load ptr, ptr %6, align 8
%72 = load i64, ptr %9, align 8
%73 = mul nsw i64 %72, 10
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr %9, align 8
%77 = mul nsw i64 %76, 12
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load ptr, ptr %6, align 8
%80 = load i64, ptr %9, align 8
%81 = mul nsw i64 %80, 14
%82 = getelementptr inbounds double, ptr %79, i64 %81
%83 = load ptr, ptr %8, align 8
%84 = load ptr, ptr %8, align 8
%85 = load i64, ptr %9, align 8
%86 = load i64, ptr %10, align 8
%87 = mul nsw i64 %85, %86
%88 = mul nsw i64 %87, 12
%89 = getelementptr inbounds double, ptr %84, i64 %88
%90 = load i64, ptr %9, align 8
%91 = load i64, ptr %10, align 8
%92 = call i32 @kern_r8_bgl_u1_f(ptr noundef %11, ptr noundef %17, ptr noundef %23, ptr noundef %29, ptr noundef %35, ptr noundef %41, ptr noundef %47, ptr noundef %53, ptr noundef %54, ptr noundef %58, ptr noundef %62, ptr noundef %66, ptr noundef %70, ptr noundef %74, ptr noundef %78, ptr noundef %82, ptr noundef %83, ptr noundef %89, i64 noundef %90, i64 noundef %91)
ret void
}
declare i32 @kern_r8_bgl_u1_f(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, i64 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/tmp6o57aicd.c'
source_filename = "/tmp/tmp6o57aicd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getWord(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %13, %2
%10 = call i32 @getch()
store i32 %10, ptr %6, align 4
%11 = call i64 @isspace(i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %9
br label %9, !llvm.loop !6
14: ; preds = %9
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr @EOF, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %23
18: ; preds = %14
%19 = load i32, ptr %6, align 4
%20 = trunc i32 %19 to i8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %7, align 8
store i8 %20, ptr %21, align 1
br label %23
23: ; preds = %18, %14
%24 = load i32, ptr %6, align 4
%25 = call i32 @isalpha(i32 noundef %24) #3
%26 = icmp ne i32 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %23
%28 = load ptr, ptr %7, align 8
store i8 0, ptr %28, align 1
%29 = load i32, ptr %6, align 4
store i32 %29, ptr %3, align 4
br label %55
30: ; preds = %23
br label %31
31: ; preds = %46, %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %5, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %35, label %49
35: ; preds = %31
%36 = call i32 @getch()
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %7, align 8
store i8 %37, ptr %38, align 1
%39 = call i32 @isalnum(i8 noundef signext %37)
%40 = icmp ne i32 %39, 0
br i1 %40, label %45, label %41
41: ; preds = %35
%42 = load ptr, ptr %7, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
call void @ungetch(i32 noundef %44)
br label %49
45: ; preds = %35
br label %46
46: ; preds = %45
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %7, align 8
br label %31, !llvm.loop !8
49: ; preds = %41, %31
%50 = load ptr, ptr %7, align 8
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %4, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 0
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
store i32 %54, ptr %3, align 4
br label %55
55: ; preds = %49, %27
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch() #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalpha(i32 noundef) #2
declare i32 @isalnum(i8 noundef signext) #1
declare void @ungetch(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp6o57aicd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getWord(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %9, %2
%10 = call i32 @getch()
store i32 %10, ptr %6, align 4
%11 = call i64 @isspace(i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %9, label %13, !llvm.loop !6
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %7, align 8
store i8 %19, ptr %20, align 1
br label %22
22: ; preds = %17, %13
%23 = load i32, ptr %6, align 4
%24 = call i32 @isalpha(i32 noundef %23) #3
%25 = icmp ne i32 %24, 0
br i1 %25, label %29, label %26
26: ; preds = %22
%27 = load ptr, ptr %7, align 8
store i8 0, ptr %27, align 1
%28 = load i32, ptr %6, align 4
store i32 %28, ptr %3, align 4
br label %56
29: ; preds = %22
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %5, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %29
br label %33
33: ; preds = %.lr.ph, %44
%34 = call i32 @getch()
%35 = trunc i32 %34 to i8
%36 = load ptr, ptr %7, align 8
store i8 %35, ptr %36, align 1
%37 = call i32 @isalnum(i8 noundef signext %35)
%38 = icmp ne i32 %37, 0
br i1 %38, label %43, label %39
39: ; preds = %33
%40 = load ptr, ptr %7, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
call void @ungetch(i32 noundef %42)
br label %50
43: ; preds = %33
br label %44
44: ; preds = %43
%45 = load ptr, ptr %7, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 1
store ptr %46, ptr %7, align 8
%47 = load i32, ptr %5, align 4
%48 = add nsw i32 %47, -1
store i32 %48, ptr %5, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %33, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %29
br label %50
50: ; preds = %.loopexit, %39
%51 = load ptr, ptr %7, align 8
store i8 0, ptr %51, align 1
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 0
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
store i32 %55, ptr %3, align 4
br label %56
56: ; preds = %50, %26
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare i64 @isspace(i32 noundef) #1
declare i32 @getch() #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isalpha(i32 noundef) #2
declare i32 @isalnum(i8 noundef signext) #1
declare void @ungetch(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpeck42nij.c'
source_filename = "/tmp/tmpeck42nij.c"
target datalayout = "e-m:e-p270: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/tmpeck42nij.c"
target datalayout = "e-m:e-p270: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/tmpkspoxqsh.c'
source_filename = "/tmp/tmpkspoxqsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"\0ARIB help\0A===================================================\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"\0Ap - View pointer position\0Av - View complete memory status\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\0Ac - Clear all memory buffers\0Ai - Set input string\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"\0Al - Load program from file\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0Aq - Quit the program\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rib_dohelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkspoxqsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [63 x i8] c"\0ARIB help\0A===================================================\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"\0Ap - View pointer position\0Av - View complete memory status\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\0Ac - Clear all memory buffers\0Ai - Set input string\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"\0Al - Load program from file\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0Aq - Quit the program\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rib_dohelp() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsmoqhm06.c'
source_filename = "/tmp/tmpsmoqhm06.c"
target datalayout = "e-m:e-p270: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/tmpsmoqhm06.c"
target datalayout = "e-m:e-p270: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/tmpnsi46ani.c'
source_filename = "/tmp/tmpnsi46ani.c"
target datalayout = "e-m:e-p270: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.indir = private unnamed_addr constant [400 x i8] c"/home/tempbvm/cbr8/metdata/WIND1961-1990/\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.outdir = private unnamed_addr constant [400 x i8] c"/home/tempbvm/cbr2/metdata/quarter_1961-1990/data_\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@stderr = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [137 x i8] c"Usage: %s <old fraction xyz> <old fraction data dir> <new fraction xyz> <new fraction data dir> <old resolution> <number of parameters>\0A\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"\09<old fraction xyz> is the 3 coloumn fraction file for the old resolution.\0A\00", align 1
@.str.2 = private unnamed_addr constant [88 x i8] c"\09<old fraction data dir> is the directory for the forcing data for the old resolution.\0A\00", align 1
@.str.3 = private unnamed_addr constant [76 x i8] c"\09<new fraction xyz> is the 3 coloumn fraction file for the new resolution.\0A\00", align 1
@.str.4 = private unnamed_addr constant [88 x i8] c"\09<new fraction data dir> is the directory for the forcing data for the new resolution.\0A\00", align 1
@.str.5 = private unnamed_addr constant [67 x i8] c"\09<old resolution> is the old resoluation in fractions of degrees.\0A\00", align 1
@.str.6 = private unnamed_addr constant [97 x i8] c"\09<number of parameters> is the number of parameters (data types / columns) in the forcing file.\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"File %s has %d lines\0A\00", align 1
@.str.8 = private unnamed_addr constant [54 x i8] c"lat %.4f lon %.4f valid_cells %d sum_fraction %.3f\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"Afr %.3f Bfr %.3f Cfr %.3f Dfr %.3f\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"%.4f_%.4f\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"outfile %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"%.2f\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [400 x i8], align 16
%7 = alloca [400 x i8], align 16
%8 = alloca [400 x i8], align 16
%9 = alloca [400 x i8], align 16
%10 = alloca [400 x i8], align 16
%11 = alloca [50 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [5000 x [3 x float]], align 16
%19 = alloca [5000 x [3 x float]], align 16
%20 = alloca [10957 x [6 x float]], align 16
%21 = alloca [10957 x [6 x float]], align 16
%22 = alloca [10957 x [6 x float]], align 16
%23 = alloca [10957 x [6 x float]], align 16
%24 = alloca [10957 x [6 x float]], align 16
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
%38 = alloca float, align 4
%39 = alloca float, align 4
%40 = alloca float, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca float, align 4
%46 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 400, i1 false)
%47 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 0
store i8 102, ptr %47, align 16
%48 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 1
store i8 114, ptr %48, align 1
%49 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 2
store i8 52, ptr %49, align 2
%50 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 3
store i8 46, ptr %50, align 1
%51 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 4
store i8 108, ptr %51, align 4
%52 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 5
store i8 108, ptr %52, align 1
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 400, i1 false)
%53 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 0
store i8 102, ptr %53, align 16
%54 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 1
store i8 114, ptr %54, align 1
%55 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 2
store i8 56, ptr %55, align 2
%56 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 3
store i8 46, ptr %56, align 1
%57 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 4
store i8 108, ptr %57, align 4
%58 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 5
store i8 108, ptr %58, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.indir, i64 400, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.outdir, i64 400, i1 false)
%59 = load i32, ptr %3, align 4
%60 = icmp ne i32 %59, 7
br i1 %60, label %61, label %80
61: ; preds = %2
%62 = load ptr, ptr @stderr, align 8
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 0
%65 = load ptr, ptr %64, align 8
%66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str, ptr noundef %65)
%67 = load ptr, ptr @stderr, align 8
%68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.1)
%69 = load ptr, ptr @stderr, align 8
%70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.2)
%71 = load ptr, ptr @stderr, align 8
%72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.3)
%73 = load ptr, ptr @stderr, align 8
%74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.4)
%75 = load ptr, ptr @stderr, align 8
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.5)
%77 = load ptr, ptr @stderr, align 8
%78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.6)
%79 = call i32 @exit(i32 noundef 0) #6
unreachable
80: ; preds = %2
%81 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds ptr, ptr %82, i64 1
%84 = load ptr, ptr %83, align 8
%85 = call i32 @strcpy(ptr noundef %81, ptr noundef %84)
%86 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 2
%89 = load ptr, ptr %88, align 8
%90 = call i32 @strcpy(ptr noundef %86, ptr noundef %89)
%91 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%92 = load ptr, ptr %4, align 8
%93 = getelementptr inbounds ptr, ptr %92, i64 3
%94 = load ptr, ptr %93, align 8
%95 = call i32 @strcpy(ptr noundef %91, ptr noundef %94)
%96 = getelementptr inbounds [400 x i8], ptr %9, i64 0, i64 0
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds ptr, ptr %97, i64 4
%99 = load ptr, ptr %98, align 8
%100 = call i32 @strcpy(ptr noundef %96, ptr noundef %99)
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds ptr, ptr %101, i64 5
%103 = load ptr, ptr %102, align 8
%104 = call float @atof(ptr noundef %103)
store float %104, ptr %25, align 4
%105 = load float, ptr %25, align 4
%106 = fmul float 2.000000e+00, %105
store float %106, ptr %26, align 4
%107 = load ptr, ptr %4, align 8
%108 = getelementptr inbounds ptr, ptr %107, i64 6
%109 = load ptr, ptr %108, align 8
%110 = call i32 @atoi(ptr noundef %109)
store i32 %110, ptr %17, align 4
%111 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%112 = call i32 @line_count(ptr noundef %111)
store i32 %112, ptr %15, align 4
%113 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%114 = call i32 @line_count(ptr noundef %113)
store i32 %114, ptr %14, align 4
%115 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%116 = load i32, ptr %15, align 4
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %115, i32 noundef %116)
%118 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%119 = load i32, ptr %14, align 4
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %118, i32 noundef %119)
%121 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%122 = getelementptr inbounds [5000 x [3 x float]], ptr %18, i64 0, i64 0
%123 = load i32, ptr %15, align 4
%124 = call i32 @read_data(ptr noundef %121, ptr noundef %122, i32 noundef %123)
%125 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%126 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%127 = load i32, ptr %14, align 4
%128 = call i32 @read_data(ptr noundef %125, ptr noundef %126, i32 noundef %127)
store i32 0, ptr %12, align 4
br label %129
129: ; preds = %440, %80
%130 = load i32, ptr %12, align 4
%131 = load i32, ptr %15, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %133, label %443
133: ; preds = %129
store i32 0, ptr %13, align 4
br label %134
134: ; preds = %171, %133
%135 = load i32, ptr %13, align 4
%136 = icmp slt i32 %135, 10957
br i1 %136, label %137, label %174
137: ; preds = %134
store i32 0, ptr %16, align 4
br label %138
138: ; preds = %167, %137
%139 = load i32, ptr %16, align 4
%140 = load i32, ptr %17, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %170
142: ; preds = %138
%143 = load i32, ptr %13, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [10957 x [6 x float]], ptr %20, i64 0, i64 %144
%146 = load i32, ptr %16, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [6 x float], ptr %145, i64 0, i64 %147
store float 0.000000e+00, ptr %148, align 4
%149 = load i32, ptr %13, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [10957 x [6 x float]], ptr %21, i64 0, i64 %150
%152 = load i32, ptr %16, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [6 x float], ptr %151, i64 0, i64 %153
store float 0.000000e+00, ptr %154, align 4
%155 = load i32, ptr %13, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [10957 x [6 x float]], ptr %22, i64 0, i64 %156
%158 = load i32, ptr %16, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [6 x float], ptr %157, i64 0, i64 %159
store float 0.000000e+00, ptr %160, align 4
%161 = load i32, ptr %13, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [10957 x [6 x float]], ptr %23, i64 0, i64 %162
%164 = load i32, ptr %16, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [6 x float], ptr %163, i64 0, i64 %165
store float 0.000000e+00, ptr %166, align 4
br label %167
167: ; preds = %142
%168 = load i32, ptr %16, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %16, align 4
br label %138, !llvm.loop !6
170: ; preds = %138
br label %171
171: ; preds = %170
%172 = load i32, ptr %13, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %13, align 4
br label %134, !llvm.loop !8
174: ; preds = %134
%175 = load i32, ptr %12, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [5000 x [3 x float]], ptr %18, i64 0, i64 %176
%178 = getelementptr inbounds [3 x float], ptr %177, i64 0, i64 0
%179 = load float, ptr %178, align 4
store float %179, ptr %27, align 4
%180 = load i32, ptr %12, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [5000 x [3 x float]], ptr %18, i64 0, i64 %181
%183 = getelementptr inbounds [3 x float], ptr %182, i64 0, i64 1
%184 = load float, ptr %183, align 4
store float %184, ptr %28, align 4
%185 = load float, ptr %27, align 4
%186 = load float, ptr %25, align 4
%187 = fdiv float %186, 2.000000e+00
%188 = fadd float %185, %187
store float %188, ptr %29, align 4
%189 = load float, ptr %28, align 4
%190 = load float, ptr %25, align 4
%191 = fdiv float %190, 2.000000e+00
%192 = fsub float %189, %191
store float %192, ptr %33, align 4
%193 = load float, ptr %27, align 4
%194 = load float, ptr %25, align 4
%195 = fdiv float %194, 2.000000e+00
%196 = fadd float %193, %195
store float %196, ptr %30, align 4
%197 = load float, ptr %28, align 4
%198 = load float, ptr %25, align 4
%199 = fdiv float %198, 2.000000e+00
%200 = fadd float %197, %199
store float %200, ptr %34, align 4
%201 = load float, ptr %27, align 4
%202 = load float, ptr %25, align 4
%203 = fdiv float %202, 2.000000e+00
%204 = fsub float %201, %203
store float %204, ptr %31, align 4
%205 = load float, ptr %28, align 4
%206 = load float, ptr %25, align 4
%207 = fdiv float %206, 2.000000e+00
%208 = fsub float %205, %207
store float %208, ptr %35, align 4
%209 = load float, ptr %27, align 4
%210 = load float, ptr %25, align 4
%211 = fdiv float %210, 2.000000e+00
%212 = fsub float %209, %211
store float %212, ptr %32, align 4
%213 = load float, ptr %28, align 4
%214 = load float, ptr %25, align 4
%215 = fdiv float %214, 2.000000e+00
%216 = fadd float %213, %215
store float %216, ptr %36, align 4
%217 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%218 = load float, ptr %29, align 4
%219 = load float, ptr %33, align 4
%220 = load i32, ptr %14, align 4
%221 = call float @exist_file(ptr noundef %217, float noundef %218, float noundef %219, i32 noundef %220)
store float %221, ptr %37, align 4
%222 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%223 = load float, ptr %30, align 4
%224 = load float, ptr %34, align 4
%225 = load i32, ptr %14, align 4
%226 = call float @exist_file(ptr noundef %222, float noundef %223, float noundef %224, i32 noundef %225)
store float %226, ptr %38, align 4
%227 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%228 = load float, ptr %31, align 4
%229 = load float, ptr %35, align 4
%230 = load i32, ptr %14, align 4
%231 = call float @exist_file(ptr noundef %227, float noundef %228, float noundef %229, i32 noundef %230)
store float %231, ptr %39, align 4
%232 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%233 = load float, ptr %32, align 4
%234 = load float, ptr %36, align 4
%235 = load i32, ptr %14, align 4
%236 = call float @exist_file(ptr noundef %232, float noundef %233, float noundef %234, i32 noundef %235)
store float %236, ptr %40, align 4
store i32 0, ptr %44, align 4
store i32 0, ptr %43, align 4
store i32 0, ptr %42, align 4
store i32 0, ptr %41, align 4
%237 = load float, ptr %37, align 4
%238 = fpext float %237 to double
%239 = fcmp ogt double %238, 0.000000e+00
br i1 %239, label %240, label %241
240: ; preds = %174
store i32 1, ptr %41, align 4
br label %241
241: ; preds = %240, %174
%242 = load float, ptr %38, align 4
%243 = fpext float %242 to double
%244 = fcmp ogt double %243, 0.000000e+00
br i1 %244, label %245, label %246
245: ; preds = %241
store i32 1, ptr %42, align 4
br label %246
246: ; preds = %245, %241
%247 = load float, ptr %39, align 4
%248 = fpext float %247 to double
%249 = fcmp ogt double %248, 0.000000e+00
br i1 %249, label %250, label %251
250: ; preds = %246
store i32 1, ptr %43, align 4
br label %251
251: ; preds = %250, %246
%252 = load float, ptr %40, align 4
%253 = fpext float %252 to double
%254 = fcmp ogt double %253, 0.000000e+00
br i1 %254, label %255, label %256
255: ; preds = %251
store i32 1, ptr %44, align 4
br label %256
256: ; preds = %255, %251
%257 = load float, ptr %37, align 4
%258 = load float, ptr %38, align 4
%259 = fadd float %257, %258
%260 = load float, ptr %39, align 4
%261 = fadd float %259, %260
%262 = load float, ptr %40, align 4
%263 = fadd float %261, %262
store float %263, ptr %45, align 4
%264 = load i32, ptr %41, align 4
%265 = load i32, ptr %42, align 4
%266 = add nsw i32 %264, %265
%267 = load i32, ptr %43, align 4
%268 = add nsw i32 %266, %267
%269 = load i32, ptr %44, align 4
%270 = add nsw i32 %268, %269
store i32 %270, ptr %46, align 4
%271 = load float, ptr %27, align 4
%272 = fpext float %271 to double
%273 = load float, ptr %28, align 4
%274 = fpext float %273 to double
%275 = load i32, ptr %46, align 4
%276 = load float, ptr %45, align 4
%277 = fpext float %276 to double
%278 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %272, double noundef %274, i32 noundef %275, double noundef %277)
%279 = load float, ptr %37, align 4
%280 = fpext float %279 to double
%281 = load float, ptr %38, align 4
%282 = fpext float %281 to double
%283 = load float, ptr %39, align 4
%284 = fpext float %283 to double
%285 = load float, ptr %40, align 4
%286 = fpext float %285 to double
%287 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %280, double noundef %282, double noundef %284, double noundef %286)
%288 = load float, ptr %37, align 4
%289 = fcmp ogt float %288, 0.000000e+00
br i1 %289, label %290, label %297
290: ; preds = %256
%291 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%292 = getelementptr inbounds [10957 x [6 x float]], ptr %20, i64 0, i64 0
%293 = load float, ptr %29, align 4
%294 = load float, ptr %33, align 4
%295 = load i32, ptr %17, align 4
%296 = call i32 @read_metdata(ptr noundef %291, ptr noundef %292, float noundef %293, float noundef %294, i32 noundef %295)
br label %297
297: ; preds = %290, %256
%298 = load float, ptr %38, align 4
%299 = fcmp ogt float %298, 0.000000e+00
br i1 %299, label %300, label %307
300: ; preds = %297
%301 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%302 = getelementptr inbounds [10957 x [6 x float]], ptr %21, i64 0, i64 0
%303 = load float, ptr %30, align 4
%304 = load float, ptr %34, align 4
%305 = load i32, ptr %17, align 4
%306 = call i32 @read_metdata(ptr noundef %301, ptr noundef %302, float noundef %303, float noundef %304, i32 noundef %305)
br label %307
307: ; preds = %300, %297
%308 = load float, ptr %39, align 4
%309 = fcmp ogt float %308, 0.000000e+00
br i1 %309, label %310, label %317
310: ; preds = %307
%311 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%312 = getelementptr inbounds [10957 x [6 x float]], ptr %22, i64 0, i64 0
%313 = load float, ptr %31, align 4
%314 = load float, ptr %35, align 4
%315 = load i32, ptr %17, align 4
%316 = call i32 @read_metdata(ptr noundef %311, ptr noundef %312, float noundef %313, float noundef %314, i32 noundef %315)
br label %317
317: ; preds = %310, %307
%318 = load float, ptr %40, align 4
%319 = fcmp ogt float %318, 0.000000e+00
br i1 %319, label %320, label %327
320: ; preds = %317
%321 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%322 = getelementptr inbounds [10957 x [6 x float]], ptr %23, i64 0, i64 0
%323 = load float, ptr %32, align 4
%324 = load float, ptr %36, align 4
%325 = load i32, ptr %17, align 4
%326 = call i32 @read_metdata(ptr noundef %321, ptr noundef %322, float noundef %323, float noundef %324, i32 noundef %325)
br label %327
327: ; preds = %320, %317
store i32 0, ptr %13, align 4
br label %328
328: ; preds = %385, %327
%329 = load i32, ptr %13, align 4
%330 = icmp slt i32 %329, 10957
br i1 %330, label %331, label %388
331: ; preds = %328
store i32 0, ptr %16, align 4
br label %332
332: ; preds = %381, %331
%333 = load i32, ptr %16, align 4
%334 = load i32, ptr %17, align 4
%335 = icmp slt i32 %333, %334
br i1 %335, label %336, label %384
336: ; preds = %332
%337 = load i32, ptr %13, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds [10957 x [6 x float]], ptr %20, i64 0, i64 %338
%340 = load i32, ptr %16, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds [6 x float], ptr %339, i64 0, i64 %341
%343 = load float, ptr %342, align 4
%344 = load float, ptr %37, align 4
%345 = load i32, ptr %13, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds [10957 x [6 x float]], ptr %21, i64 0, i64 %346
%348 = load i32, ptr %16, align 4
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds [6 x float], ptr %347, i64 0, i64 %349
%351 = load float, ptr %350, align 4
%352 = load float, ptr %38, align 4
%353 = fmul float %351, %352
%354 = call float @llvm.fmuladd.f32(float %343, float %344, float %353)
%355 = load i32, ptr %13, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds [10957 x [6 x float]], ptr %22, i64 0, i64 %356
%358 = load i32, ptr %16, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds [6 x float], ptr %357, i64 0, i64 %359
%361 = load float, ptr %360, align 4
%362 = load float, ptr %39, align 4
%363 = call float @llvm.fmuladd.f32(float %361, float %362, float %354)
%364 = load i32, ptr %13, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds [10957 x [6 x float]], ptr %23, i64 0, i64 %365
%367 = load i32, ptr %16, align 4
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds [6 x float], ptr %366, i64 0, i64 %368
%370 = load float, ptr %369, align 4
%371 = load float, ptr %40, align 4
%372 = call float @llvm.fmuladd.f32(float %370, float %371, float %363)
%373 = load float, ptr %45, align 4
%374 = fdiv float %372, %373
%375 = load i32, ptr %13, align 4
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds [10957 x [6 x float]], ptr %24, i64 0, i64 %376
%378 = load i32, ptr %16, align 4
%379 = sext i32 %378 to i64
%380 = getelementptr inbounds [6 x float], ptr %377, i64 0, i64 %379
store float %374, ptr %380, align 4
br label %381
381: ; preds = %336
%382 = load i32, ptr %16, align 4
%383 = add nsw i32 %382, 1
store i32 %383, ptr %16, align 4
br label %332, !llvm.loop !9
384: ; preds = %332
br label %385
385: ; preds = %384
%386 = load i32, ptr %13, align 4
%387 = add nsw i32 %386, 1
store i32 %387, ptr %13, align 4
br label %328, !llvm.loop !10
388: ; preds = %328
%389 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%390 = getelementptr inbounds [400 x i8], ptr %9, i64 0, i64 0
%391 = call i32 @strcpy(ptr noundef %389, ptr noundef %390)
%392 = getelementptr inbounds [50 x i8], ptr %11, i64 0, i64 0
%393 = load float, ptr %27, align 4
%394 = load float, ptr %28, align 4
%395 = call i32 @sprintf(ptr noundef %392, ptr noundef @.str.10, float noundef %393, float noundef %394)
%396 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%397 = getelementptr inbounds [50 x i8], ptr %11, i64 0, i64 0
%398 = call i32 @strcat(ptr noundef %396, ptr noundef %397)
%399 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%400 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %399)
%401 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%402 = call ptr @fopen(ptr noundef %401, ptr noundef @.str.12)
store ptr %402, ptr %5, align 8
%403 = icmp eq ptr %402, null
br i1 %403, label %404, label %408
404: ; preds = %388
%405 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%406 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %405)
%407 = call i32 @exit(i32 noundef 0) #6
unreachable
408: ; preds = %388
store i32 0, ptr %13, align 4
br label %409
409: ; preds = %434, %408
%410 = load i32, ptr %13, align 4
%411 = icmp slt i32 %410, 10957
br i1 %411, label %412, label %437
412: ; preds = %409
store i32 0, ptr %16, align 4
br label %413
413: ; preds = %428, %412
%414 = load i32, ptr %16, align 4
%415 = load i32, ptr %17, align 4
%416 = icmp slt i32 %414, %415
br i1 %416, label %417, label %431
417: ; preds = %413
%418 = load ptr, ptr %5, align 8
%419 = load i32, ptr %13, align 4
%420 = sext i32 %419 to i64
%421 = getelementptr inbounds [10957 x [6 x float]], ptr %24, i64 0, i64 %420
%422 = load i32, ptr %16, align 4
%423 = sext i32 %422 to i64
%424 = getelementptr inbounds [6 x float], ptr %421, i64 0, i64 %423
%425 = load float, ptr %424, align 4
%426 = fpext float %425 to double
%427 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %418, ptr noundef @.str.14, double noundef %426)
br label %428
428: ; preds = %417
%429 = load i32, ptr %16, align 4
%430 = add nsw i32 %429, 1
store i32 %430, ptr %16, align 4
br label %413, !llvm.loop !11
431: ; preds = %413
%432 = load ptr, ptr %5, align 8
%433 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %432, ptr noundef @.str.15)
br label %434
434: ; preds = %431
%435 = load i32, ptr %13, align 4
%436 = add nsw i32 %435, 1
store i32 %436, ptr %13, align 4
br label %409, !llvm.loop !12
437: ; preds = %409
%438 = load ptr, ptr %5, align 8
%439 = call i32 @fclose(ptr noundef %438)
br label %440
440: ; preds = %437
%441 = load i32, ptr %12, align 4
%442 = add nsw i32 %441, 1
store i32 %442, ptr %12, align 4
br label %129, !llvm.loop !13
443: ; preds = %129
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; 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 @fprintf(ptr noundef, ptr noundef, ...) #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #4
declare i32 @strcpy(ptr noundef, ptr noundef) #3
declare float @atof(ptr noundef) #3
declare i32 @atoi(ptr noundef) #3
declare i32 @line_count(ptr noundef) #3
declare i32 @printf(ptr noundef, ...) #3
declare i32 @read_data(ptr noundef, ptr noundef, i32 noundef) #3
declare float @exist_file(ptr noundef, float noundef, float noundef, i32 noundef) #3
declare i32 @read_metdata(ptr noundef, ptr noundef, float noundef, float noundef, i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5
declare i32 @sprintf(ptr noundef, ptr noundef, float noundef, float noundef) #3
declare i32 @strcat(ptr noundef, ptr noundef) #3
declare ptr @fopen(ptr noundef, ptr noundef) #3
declare i32 @fclose(ptr 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 nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnsi46ani.c"
target datalayout = "e-m:e-p270: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.indir = private unnamed_addr constant [400 x i8] c"/home/tempbvm/cbr8/metdata/WIND1961-1990/\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@__const.main.outdir = private unnamed_addr constant [400 x i8] c"/home/tempbvm/cbr2/metdata/quarter_1961-1990/data_\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16
@stderr = dso_local global ptr null, align 8
@.str = private unnamed_addr constant [137 x i8] c"Usage: %s <old fraction xyz> <old fraction data dir> <new fraction xyz> <new fraction data dir> <old resolution> <number of parameters>\0A\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"\09<old fraction xyz> is the 3 coloumn fraction file for the old resolution.\0A\00", align 1
@.str.2 = private unnamed_addr constant [88 x i8] c"\09<old fraction data dir> is the directory for the forcing data for the old resolution.\0A\00", align 1
@.str.3 = private unnamed_addr constant [76 x i8] c"\09<new fraction xyz> is the 3 coloumn fraction file for the new resolution.\0A\00", align 1
@.str.4 = private unnamed_addr constant [88 x i8] c"\09<new fraction data dir> is the directory for the forcing data for the new resolution.\0A\00", align 1
@.str.5 = private unnamed_addr constant [67 x i8] c"\09<old resolution> is the old resoluation in fractions of degrees.\0A\00", align 1
@.str.6 = private unnamed_addr constant [97 x i8] c"\09<number of parameters> is the number of parameters (data types / columns) in the forcing file.\0A\00", align 1
@.str.7 = private unnamed_addr constant [22 x i8] c"File %s has %d lines\0A\00", align 1
@.str.8 = private unnamed_addr constant [54 x i8] c"lat %.4f lon %.4f valid_cells %d sum_fraction %.3f\0A\00", align 1
@.str.9 = private unnamed_addr constant [37 x i8] c"Afr %.3f Bfr %.3f Cfr %.3f Dfr %.3f\0A\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"%.4f_%.4f\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"outfile %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.13 = private unnamed_addr constant [22 x i8] c"Cannot open file %s \0A\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"%.2f\00", align 1
@.str.15 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [400 x i8], align 16
%7 = alloca [400 x i8], align 16
%8 = alloca [400 x i8], align 16
%9 = alloca [400 x i8], align 16
%10 = alloca [400 x i8], align 16
%11 = alloca [50 x i8], align 16
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca [5000 x [3 x float]], align 16
%19 = alloca [5000 x [3 x float]], align 16
%20 = alloca [10957 x [6 x float]], align 16
%21 = alloca [10957 x [6 x float]], align 16
%22 = alloca [10957 x [6 x float]], align 16
%23 = alloca [10957 x [6 x float]], align 16
%24 = alloca [10957 x [6 x float]], align 16
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca float, align 4
%28 = alloca float, align 4
%29 = alloca float, align 4
%30 = alloca float, align 4
%31 = alloca float, align 4
%32 = alloca float, align 4
%33 = alloca float, align 4
%34 = alloca float, align 4
%35 = alloca float, align 4
%36 = alloca float, align 4
%37 = alloca float, align 4
%38 = alloca float, align 4
%39 = alloca float, align 4
%40 = alloca float, align 4
%41 = alloca i32, align 4
%42 = alloca i32, align 4
%43 = alloca i32, align 4
%44 = alloca i32, align 4
%45 = alloca float, align 4
%46 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 400, i1 false)
%47 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 0
store i8 102, ptr %47, align 16
%48 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 1
store i8 114, ptr %48, align 1
%49 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 2
store i8 52, ptr %49, align 2
%50 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 3
store i8 46, ptr %50, align 1
%51 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 4
store i8 108, ptr %51, align 4
%52 = getelementptr inbounds [400 x i8], ptr %6, i32 0, i32 5
store i8 108, ptr %52, align 1
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 400, i1 false)
%53 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 0
store i8 102, ptr %53, align 16
%54 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 1
store i8 114, ptr %54, align 1
%55 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 2
store i8 56, ptr %55, align 2
%56 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 3
store i8 46, ptr %56, align 1
%57 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 4
store i8 108, ptr %57, align 4
%58 = getelementptr inbounds [400 x i8], ptr %7, i32 0, i32 5
store i8 108, ptr %58, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.indir, i64 400, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.outdir, i64 400, i1 false)
%59 = load i32, ptr %3, align 4
%60 = icmp ne i32 %59, 7
br i1 %60, label %61, label %80
61: ; preds = %2
%62 = load ptr, ptr @stderr, align 8
%63 = load ptr, ptr %4, align 8
%64 = getelementptr inbounds ptr, ptr %63, i64 0
%65 = load ptr, ptr %64, align 8
%66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str, ptr noundef %65)
%67 = load ptr, ptr @stderr, align 8
%68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef @.str.1)
%69 = load ptr, ptr @stderr, align 8
%70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str.2)
%71 = load ptr, ptr @stderr, align 8
%72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.3)
%73 = load ptr, ptr @stderr, align 8
%74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %73, ptr noundef @.str.4)
%75 = load ptr, ptr @stderr, align 8
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.5)
%77 = load ptr, ptr @stderr, align 8
%78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %77, ptr noundef @.str.6)
%79 = call i32 @exit(i32 noundef 0) #6
unreachable
80: ; preds = %2
%81 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds ptr, ptr %82, i64 1
%84 = load ptr, ptr %83, align 8
%85 = call i32 @strcpy(ptr noundef %81, ptr noundef %84)
%86 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%87 = load ptr, ptr %4, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 2
%89 = load ptr, ptr %88, align 8
%90 = call i32 @strcpy(ptr noundef %86, ptr noundef %89)
%91 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%92 = load ptr, ptr %4, align 8
%93 = getelementptr inbounds ptr, ptr %92, i64 3
%94 = load ptr, ptr %93, align 8
%95 = call i32 @strcpy(ptr noundef %91, ptr noundef %94)
%96 = getelementptr inbounds [400 x i8], ptr %9, i64 0, i64 0
%97 = load ptr, ptr %4, align 8
%98 = getelementptr inbounds ptr, ptr %97, i64 4
%99 = load ptr, ptr %98, align 8
%100 = call i32 @strcpy(ptr noundef %96, ptr noundef %99)
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds ptr, ptr %101, i64 5
%103 = load ptr, ptr %102, align 8
%104 = call float @atof(ptr noundef %103)
store float %104, ptr %25, align 4
%105 = load float, ptr %25, align 4
%106 = fmul float 2.000000e+00, %105
store float %106, ptr %26, align 4
%107 = load ptr, ptr %4, align 8
%108 = getelementptr inbounds ptr, ptr %107, i64 6
%109 = load ptr, ptr %108, align 8
%110 = call i32 @atoi(ptr noundef %109)
store i32 %110, ptr %17, align 4
%111 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%112 = call i32 @line_count(ptr noundef %111)
store i32 %112, ptr %15, align 4
%113 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%114 = call i32 @line_count(ptr noundef %113)
store i32 %114, ptr %14, align 4
%115 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%116 = load i32, ptr %15, align 4
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %115, i32 noundef %116)
%118 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%119 = load i32, ptr %14, align 4
%120 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %118, i32 noundef %119)
%121 = getelementptr inbounds [400 x i8], ptr %6, i64 0, i64 0
%122 = getelementptr inbounds [5000 x [3 x float]], ptr %18, i64 0, i64 0
%123 = load i32, ptr %15, align 4
%124 = call i32 @read_data(ptr noundef %121, ptr noundef %122, i32 noundef %123)
%125 = getelementptr inbounds [400 x i8], ptr %7, i64 0, i64 0
%126 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%127 = load i32, ptr %14, align 4
%128 = call i32 @read_data(ptr noundef %125, ptr noundef %126, i32 noundef %127)
store i32 0, ptr %12, align 4
%129 = load i32, ptr %12, align 4
%130 = load i32, ptr %15, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %.lr.ph17, label %454
.lr.ph17: ; preds = %80
br label %132
132: ; preds = %.lr.ph17, %448
store i32 0, ptr %13, align 4
%133 = load i32, ptr %13, align 4
%134 = icmp slt i32 %133, 10957
br i1 %134, label %.lr.ph2, label %176
.lr.ph2: ; preds = %132
br label %135
135: ; preds = %.lr.ph2, %171
store i32 0, ptr %16, align 4
%136 = load i32, ptr %16, align 4
%137 = load i32, ptr %17, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %.lr.ph, label %170
.lr.ph: ; preds = %135
br label %139
139: ; preds = %.lr.ph, %164
%140 = load i32, ptr %13, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [10957 x [6 x float]], ptr %20, i64 0, i64 %141
%143 = load i32, ptr %16, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [6 x float], ptr %142, i64 0, i64 %144
store float 0.000000e+00, ptr %145, align 4
%146 = load i32, ptr %13, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [10957 x [6 x float]], ptr %21, i64 0, i64 %147
%149 = load i32, ptr %16, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [6 x float], ptr %148, i64 0, i64 %150
store float 0.000000e+00, ptr %151, align 4
%152 = load i32, ptr %13, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [10957 x [6 x float]], ptr %22, i64 0, i64 %153
%155 = load i32, ptr %16, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [6 x float], ptr %154, i64 0, i64 %156
store float 0.000000e+00, ptr %157, align 4
%158 = load i32, ptr %13, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [10957 x [6 x float]], ptr %23, i64 0, i64 %159
%161 = load i32, ptr %16, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [6 x float], ptr %160, i64 0, i64 %162
store float 0.000000e+00, ptr %163, align 4
br label %164
164: ; preds = %139
%165 = load i32, ptr %16, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %16, align 4
%167 = load i32, ptr %16, align 4
%168 = load i32, ptr %17, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %139, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %164
br label %170
170: ; preds = %._crit_edge, %135
br label %171
171: ; preds = %170
%172 = load i32, ptr %13, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %13, align 4
%174 = load i32, ptr %13, align 4
%175 = icmp slt i32 %174, 10957
br i1 %175, label %135, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %171
br label %176
176: ; preds = %._crit_edge3, %132
%177 = load i32, ptr %12, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [5000 x [3 x float]], ptr %18, i64 0, i64 %178
%180 = getelementptr inbounds [3 x float], ptr %179, i64 0, i64 0
%181 = load float, ptr %180, align 4
store float %181, ptr %27, align 4
%182 = load i32, ptr %12, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [5000 x [3 x float]], ptr %18, i64 0, i64 %183
%185 = getelementptr inbounds [3 x float], ptr %184, i64 0, i64 1
%186 = load float, ptr %185, align 4
store float %186, ptr %28, align 4
%187 = load float, ptr %27, align 4
%188 = load float, ptr %25, align 4
%189 = fdiv float %188, 2.000000e+00
%190 = fadd float %187, %189
store float %190, ptr %29, align 4
%191 = load float, ptr %28, align 4
%192 = load float, ptr %25, align 4
%193 = fdiv float %192, 2.000000e+00
%194 = fsub float %191, %193
store float %194, ptr %33, align 4
%195 = load float, ptr %27, align 4
%196 = load float, ptr %25, align 4
%197 = fdiv float %196, 2.000000e+00
%198 = fadd float %195, %197
store float %198, ptr %30, align 4
%199 = load float, ptr %28, align 4
%200 = load float, ptr %25, align 4
%201 = fdiv float %200, 2.000000e+00
%202 = fadd float %199, %201
store float %202, ptr %34, align 4
%203 = load float, ptr %27, align 4
%204 = load float, ptr %25, align 4
%205 = fdiv float %204, 2.000000e+00
%206 = fsub float %203, %205
store float %206, ptr %31, align 4
%207 = load float, ptr %28, align 4
%208 = load float, ptr %25, align 4
%209 = fdiv float %208, 2.000000e+00
%210 = fsub float %207, %209
store float %210, ptr %35, align 4
%211 = load float, ptr %27, align 4
%212 = load float, ptr %25, align 4
%213 = fdiv float %212, 2.000000e+00
%214 = fsub float %211, %213
store float %214, ptr %32, align 4
%215 = load float, ptr %28, align 4
%216 = load float, ptr %25, align 4
%217 = fdiv float %216, 2.000000e+00
%218 = fadd float %215, %217
store float %218, ptr %36, align 4
%219 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%220 = load float, ptr %29, align 4
%221 = load float, ptr %33, align 4
%222 = load i32, ptr %14, align 4
%223 = call float @exist_file(ptr noundef %219, float noundef %220, float noundef %221, i32 noundef %222)
store float %223, ptr %37, align 4
%224 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%225 = load float, ptr %30, align 4
%226 = load float, ptr %34, align 4
%227 = load i32, ptr %14, align 4
%228 = call float @exist_file(ptr noundef %224, float noundef %225, float noundef %226, i32 noundef %227)
store float %228, ptr %38, align 4
%229 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%230 = load float, ptr %31, align 4
%231 = load float, ptr %35, align 4
%232 = load i32, ptr %14, align 4
%233 = call float @exist_file(ptr noundef %229, float noundef %230, float noundef %231, i32 noundef %232)
store float %233, ptr %39, align 4
%234 = getelementptr inbounds [5000 x [3 x float]], ptr %19, i64 0, i64 0
%235 = load float, ptr %32, align 4
%236 = load float, ptr %36, align 4
%237 = load i32, ptr %14, align 4
%238 = call float @exist_file(ptr noundef %234, float noundef %235, float noundef %236, i32 noundef %237)
store float %238, ptr %40, align 4
store i32 0, ptr %44, align 4
store i32 0, ptr %43, align 4
store i32 0, ptr %42, align 4
store i32 0, ptr %41, align 4
%239 = load float, ptr %37, align 4
%240 = fpext float %239 to double
%241 = fcmp ogt double %240, 0.000000e+00
br i1 %241, label %242, label %243
242: ; preds = %176
store i32 1, ptr %41, align 4
br label %243
243: ; preds = %242, %176
%244 = load float, ptr %38, align 4
%245 = fpext float %244 to double
%246 = fcmp ogt double %245, 0.000000e+00
br i1 %246, label %247, label %248
247: ; preds = %243
store i32 1, ptr %42, align 4
br label %248
248: ; preds = %247, %243
%249 = load float, ptr %39, align 4
%250 = fpext float %249 to double
%251 = fcmp ogt double %250, 0.000000e+00
br i1 %251, label %252, label %253
252: ; preds = %248
store i32 1, ptr %43, align 4
br label %253
253: ; preds = %252, %248
%254 = load float, ptr %40, align 4
%255 = fpext float %254 to double
%256 = fcmp ogt double %255, 0.000000e+00
br i1 %256, label %257, label %258
257: ; preds = %253
store i32 1, ptr %44, align 4
br label %258
258: ; preds = %257, %253
%259 = load float, ptr %37, align 4
%260 = load float, ptr %38, align 4
%261 = fadd float %259, %260
%262 = load float, ptr %39, align 4
%263 = fadd float %261, %262
%264 = load float, ptr %40, align 4
%265 = fadd float %263, %264
store float %265, ptr %45, align 4
%266 = load i32, ptr %41, align 4
%267 = load i32, ptr %42, align 4
%268 = add nsw i32 %266, %267
%269 = load i32, ptr %43, align 4
%270 = add nsw i32 %268, %269
%271 = load i32, ptr %44, align 4
%272 = add nsw i32 %270, %271
store i32 %272, ptr %46, align 4
%273 = load float, ptr %27, align 4
%274 = fpext float %273 to double
%275 = load float, ptr %28, align 4
%276 = fpext float %275 to double
%277 = load i32, ptr %46, align 4
%278 = load float, ptr %45, align 4
%279 = fpext float %278 to double
%280 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %274, double noundef %276, i32 noundef %277, double noundef %279)
%281 = load float, ptr %37, align 4
%282 = fpext float %281 to double
%283 = load float, ptr %38, align 4
%284 = fpext float %283 to double
%285 = load float, ptr %39, align 4
%286 = fpext float %285 to double
%287 = load float, ptr %40, align 4
%288 = fpext float %287 to double
%289 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %282, double noundef %284, double noundef %286, double noundef %288)
%290 = load float, ptr %37, align 4
%291 = fcmp ogt float %290, 0.000000e+00
br i1 %291, label %292, label %299
292: ; preds = %258
%293 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%294 = getelementptr inbounds [10957 x [6 x float]], ptr %20, i64 0, i64 0
%295 = load float, ptr %29, align 4
%296 = load float, ptr %33, align 4
%297 = load i32, ptr %17, align 4
%298 = call i32 @read_metdata(ptr noundef %293, ptr noundef %294, float noundef %295, float noundef %296, i32 noundef %297)
br label %299
299: ; preds = %292, %258
%300 = load float, ptr %38, align 4
%301 = fcmp ogt float %300, 0.000000e+00
br i1 %301, label %302, label %309
302: ; preds = %299
%303 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%304 = getelementptr inbounds [10957 x [6 x float]], ptr %21, i64 0, i64 0
%305 = load float, ptr %30, align 4
%306 = load float, ptr %34, align 4
%307 = load i32, ptr %17, align 4
%308 = call i32 @read_metdata(ptr noundef %303, ptr noundef %304, float noundef %305, float noundef %306, i32 noundef %307)
br label %309
309: ; preds = %302, %299
%310 = load float, ptr %39, align 4
%311 = fcmp ogt float %310, 0.000000e+00
br i1 %311, label %312, label %319
312: ; preds = %309
%313 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%314 = getelementptr inbounds [10957 x [6 x float]], ptr %22, i64 0, i64 0
%315 = load float, ptr %31, align 4
%316 = load float, ptr %35, align 4
%317 = load i32, ptr %17, align 4
%318 = call i32 @read_metdata(ptr noundef %313, ptr noundef %314, float noundef %315, float noundef %316, i32 noundef %317)
br label %319
319: ; preds = %312, %309
%320 = load float, ptr %40, align 4
%321 = fcmp ogt float %320, 0.000000e+00
br i1 %321, label %322, label %329
322: ; preds = %319
%323 = getelementptr inbounds [400 x i8], ptr %8, i64 0, i64 0
%324 = getelementptr inbounds [10957 x [6 x float]], ptr %23, i64 0, i64 0
%325 = load float, ptr %32, align 4
%326 = load float, ptr %36, align 4
%327 = load i32, ptr %17, align 4
%328 = call i32 @read_metdata(ptr noundef %323, ptr noundef %324, float noundef %325, float noundef %326, i32 noundef %327)
br label %329
329: ; preds = %322, %319
store i32 0, ptr %13, align 4
%330 = load i32, ptr %13, align 4
%331 = icmp slt i32 %330, 10957
br i1 %331, label %.lr.ph8, label %393
.lr.ph8: ; preds = %329
br label %332
332: ; preds = %.lr.ph8, %388
store i32 0, ptr %16, align 4
%333 = load i32, ptr %16, align 4
%334 = load i32, ptr %17, align 4
%335 = icmp slt i32 %333, %334
br i1 %335, label %.lr.ph5, label %387
.lr.ph5: ; preds = %332
br label %336
336: ; preds = %.lr.ph5, %381
%337 = load i32, ptr %13, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds [10957 x [6 x float]], ptr %20, i64 0, i64 %338
%340 = load i32, ptr %16, align 4
%341 = sext i32 %340 to i64
%342 = getelementptr inbounds [6 x float], ptr %339, i64 0, i64 %341
%343 = load float, ptr %342, align 4
%344 = load float, ptr %37, align 4
%345 = load i32, ptr %13, align 4
%346 = sext i32 %345 to i64
%347 = getelementptr inbounds [10957 x [6 x float]], ptr %21, i64 0, i64 %346
%348 = load i32, ptr %16, align 4
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds [6 x float], ptr %347, i64 0, i64 %349
%351 = load float, ptr %350, align 4
%352 = load float, ptr %38, align 4
%353 = fmul float %351, %352
%354 = call float @llvm.fmuladd.f32(float %343, float %344, float %353)
%355 = load i32, ptr %13, align 4
%356 = sext i32 %355 to i64
%357 = getelementptr inbounds [10957 x [6 x float]], ptr %22, i64 0, i64 %356
%358 = load i32, ptr %16, align 4
%359 = sext i32 %358 to i64
%360 = getelementptr inbounds [6 x float], ptr %357, i64 0, i64 %359
%361 = load float, ptr %360, align 4
%362 = load float, ptr %39, align 4
%363 = call float @llvm.fmuladd.f32(float %361, float %362, float %354)
%364 = load i32, ptr %13, align 4
%365 = sext i32 %364 to i64
%366 = getelementptr inbounds [10957 x [6 x float]], ptr %23, i64 0, i64 %365
%367 = load i32, ptr %16, align 4
%368 = sext i32 %367 to i64
%369 = getelementptr inbounds [6 x float], ptr %366, i64 0, i64 %368
%370 = load float, ptr %369, align 4
%371 = load float, ptr %40, align 4
%372 = call float @llvm.fmuladd.f32(float %370, float %371, float %363)
%373 = load float, ptr %45, align 4
%374 = fdiv float %372, %373
%375 = load i32, ptr %13, align 4
%376 = sext i32 %375 to i64
%377 = getelementptr inbounds [10957 x [6 x float]], ptr %24, i64 0, i64 %376
%378 = load i32, ptr %16, align 4
%379 = sext i32 %378 to i64
%380 = getelementptr inbounds [6 x float], ptr %377, i64 0, i64 %379
store float %374, ptr %380, align 4
br label %381
381: ; preds = %336
%382 = load i32, ptr %16, align 4
%383 = add nsw i32 %382, 1
store i32 %383, ptr %16, align 4
%384 = load i32, ptr %16, align 4
%385 = load i32, ptr %17, align 4
%386 = icmp slt i32 %384, %385
br i1 %386, label %336, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %381
br label %387
387: ; preds = %._crit_edge6, %332
br label %388
388: ; preds = %387
%389 = load i32, ptr %13, align 4
%390 = add nsw i32 %389, 1
store i32 %390, ptr %13, align 4
%391 = load i32, ptr %13, align 4
%392 = icmp slt i32 %391, 10957
br i1 %392, label %332, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %388
br label %393
393: ; preds = %._crit_edge9, %329
%394 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%395 = getelementptr inbounds [400 x i8], ptr %9, i64 0, i64 0
%396 = call i32 @strcpy(ptr noundef %394, ptr noundef %395)
%397 = getelementptr inbounds [50 x i8], ptr %11, i64 0, i64 0
%398 = load float, ptr %27, align 4
%399 = load float, ptr %28, align 4
%400 = call i32 @sprintf(ptr noundef %397, ptr noundef @.str.10, float noundef %398, float noundef %399)
%401 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%402 = getelementptr inbounds [50 x i8], ptr %11, i64 0, i64 0
%403 = call i32 @strcat(ptr noundef %401, ptr noundef %402)
%404 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%405 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %404)
%406 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%407 = call ptr @fopen(ptr noundef %406, ptr noundef @.str.12)
store ptr %407, ptr %5, align 8
%408 = icmp eq ptr %407, null
br i1 %408, label %409, label %413
409: ; preds = %393
%410 = getelementptr inbounds [400 x i8], ptr %10, i64 0, i64 0
%411 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, ptr noundef %410)
%412 = call i32 @exit(i32 noundef 0) #6
unreachable
413: ; preds = %393
store i32 0, ptr %13, align 4
%414 = load i32, ptr %13, align 4
%415 = icmp slt i32 %414, 10957
br i1 %415, label %.lr.ph14, label %445
.lr.ph14: ; preds = %413
br label %416
416: ; preds = %.lr.ph14, %440
store i32 0, ptr %16, align 4
%417 = load i32, ptr %16, align 4
%418 = load i32, ptr %17, align 4
%419 = icmp slt i32 %417, %418
br i1 %419, label %.lr.ph11, label %437
.lr.ph11: ; preds = %416
br label %420
420: ; preds = %.lr.ph11, %431
%421 = load ptr, ptr %5, align 8
%422 = load i32, ptr %13, align 4
%423 = sext i32 %422 to i64
%424 = getelementptr inbounds [10957 x [6 x float]], ptr %24, i64 0, i64 %423
%425 = load i32, ptr %16, align 4
%426 = sext i32 %425 to i64
%427 = getelementptr inbounds [6 x float], ptr %424, i64 0, i64 %426
%428 = load float, ptr %427, align 4
%429 = fpext float %428 to double
%430 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %421, ptr noundef @.str.14, double noundef %429)
br label %431
431: ; preds = %420
%432 = load i32, ptr %16, align 4
%433 = add nsw i32 %432, 1
store i32 %433, ptr %16, align 4
%434 = load i32, ptr %16, align 4
%435 = load i32, ptr %17, align 4
%436 = icmp slt i32 %434, %435
br i1 %436, label %420, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %431
br label %437
437: ; preds = %._crit_edge12, %416
%438 = load ptr, ptr %5, align 8
%439 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %438, ptr noundef @.str.15)
br label %440
440: ; preds = %437
%441 = load i32, ptr %13, align 4
%442 = add nsw i32 %441, 1
store i32 %442, ptr %13, align 4
%443 = load i32, ptr %13, align 4
%444 = icmp slt i32 %443, 10957
br i1 %444, label %416, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %440
br label %445
445: ; preds = %._crit_edge15, %413
%446 = load ptr, ptr %5, align 8
%447 = call i32 @fclose(ptr noundef %446)
br label %448
448: ; preds = %445
%449 = load i32, ptr %12, align 4
%450 = add nsw i32 %449, 1
store i32 %450, ptr %12, align 4
%451 = load i32, ptr %12, align 4
%452 = load i32, ptr %15, align 4
%453 = icmp slt i32 %451, %452
br i1 %453, label %132, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %448
br label %454
454: ; preds = %._crit_edge18, %80
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
; 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 @fprintf(ptr noundef, ptr noundef, ...) #3
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #4
declare i32 @strcpy(ptr noundef, ptr noundef) #3
declare float @atof(ptr noundef) #3
declare i32 @atoi(ptr noundef) #3
declare i32 @line_count(ptr noundef) #3
declare i32 @printf(ptr noundef, ...) #3
declare i32 @read_data(ptr noundef, ptr noundef, i32 noundef) #3
declare float @exist_file(ptr noundef, float noundef, float noundef, i32 noundef) #3
declare i32 @read_metdata(ptr noundef, ptr noundef, float noundef, float noundef, i32 noundef) #3
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5
declare i32 @sprintf(ptr noundef, ptr noundef, float noundef, float noundef) #3
declare i32 @strcat(ptr noundef, ptr noundef) #3
declare ptr @fopen(ptr noundef, ptr noundef) #3
declare i32 @fclose(ptr 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 nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp62go0vgr.c'
source_filename = "/tmp/tmp62go0vgr.c"
target datalayout = "e-m:e-p270: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/tmp62go0vgr.c"
target datalayout = "e-m:e-p270: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/tmp15bk_7ci.c'
source_filename = "/tmp/tmp15bk_7ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_WMR49_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp15bk_7ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @U_WMR49_swap(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef %5, i32 noundef %6)
ret void
}
declare i32 @U_WMRNOTIMPLEMENTED_swap(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuyiioa2o.c'
source_filename = "/tmp/tmpuyiioa2o.c"
target datalayout = "e-m:e-p270: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 }
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Creating socket failed: \00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Send failed\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"CATASTROPHIC ERROR!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createDNSResponse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.timeval, align 8
%11 = alloca [1500 x i32], align 16
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_in, align 4
%14 = alloca i32, align 4
%15 = 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
%16 = load ptr, ptr %6, align 8
%17 = call i32 @inet_addr(ptr noundef %16)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr @AF_INET, align 4
%19 = load i32, ptr @SOCK_DGRAM, align 4
%20 = call i32 @socket(i32 noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %3
%24 = call i32 @perror(ptr noundef @.str)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %3
%27 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
store i64 0, ptr %27, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
store i32 300000, ptr %28, align 8
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr @SOL_SOCKET, align 4
%31 = load i32, ptr @SO_RCVTIMEO, align 4
%32 = call i64 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %10, i32 noundef 16)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = call i32 @perror(ptr noundef @.str.1)
br label %36
36: ; preds = %34, %26
%37 = getelementptr inbounds [1500 x i32], ptr %11, i64 0, i64 0
%38 = load ptr, ptr %5, align 8
%39 = call i32 @construct_query(ptr noundef %37, i32 noundef 1500, ptr noundef %38)
store i32 %39, ptr %12, align 4
%40 = load i32, ptr @AF_INET, align 4
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 2
store i32 %40, ptr %41, align 4
%42 = call i32 @htons(i32 noundef 53)
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1
store i32 %42, ptr %43, align 4
%44 = load i32, ptr %8, align 4
%45 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i32 0, i32 0
store i32 %44, ptr %46, align 4
%47 = load i32, ptr %9, align 4
%48 = getelementptr inbounds [1500 x i32], ptr %11, i64 0, i64 0
%49 = load i32, ptr %12, align 4
%50 = call i32 @sendto(i32 noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef 0, ptr noundef %13, i32 noundef 12)
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %36
%54 = call i32 @perror(ptr noundef @.str.2)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %36
%57 = load i32, ptr %9, align 4
%58 = load ptr, ptr %7, align 8
%59 = call i32 @recv(i32 noundef %57, ptr noundef %58, i32 noundef 1500, i32 noundef 0)
store i32 %59, ptr %15, align 4
%60 = icmp slt i32 %59, 0
br i1 %60, label %61, label %75
61: ; preds = %56
%62 = load i32, ptr %9, align 4
%63 = load ptr, ptr %7, align 8
%64 = call i32 @recv(i32 noundef %62, ptr noundef %63, i32 noundef 1500, i32 noundef 0)
store i32 %64, ptr %15, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %74
66: ; preds = %61
%67 = load i32, ptr %9, align 4
%68 = load ptr, ptr %7, align 8
%69 = call i32 @recv(i32 noundef %67, ptr noundef %68, i32 noundef 1500, i32 noundef 0)
store i32 %69, ptr %15, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %77
73: ; preds = %66
br label %74
74: ; preds = %73, %61
br label %75
75: ; preds = %74, %56
%76 = load i32, ptr %15, align 4
store i32 %76, ptr %4, align 4
br label %77
77: ; preds = %75, %71
%78 = load i32, ptr %4, align 4
ret i32 %78
}
declare i32 @inet_addr(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @construct_query(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuyiioa2o.c"
target datalayout = "e-m:e-p270: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 }
%struct.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Creating socket failed: \00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_RCVTIMEO = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"Error\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Send failed\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"CATASTROPHIC ERROR!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @createDNSResponse(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.timeval, align 8
%11 = alloca [1500 x i32], align 16
%12 = alloca i32, align 4
%13 = alloca %struct.sockaddr_in, align 4
%14 = alloca i32, align 4
%15 = 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
%16 = load ptr, ptr %6, align 8
%17 = call i32 @inet_addr(ptr noundef %16)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr @AF_INET, align 4
%19 = load i32, ptr @SOCK_DGRAM, align 4
%20 = call i32 @socket(i32 noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %3
%24 = call i32 @perror(ptr noundef @.str)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %3
%27 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 1
store i64 0, ptr %27, align 8
%28 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
store i32 300000, ptr %28, align 8
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr @SOL_SOCKET, align 4
%31 = load i32, ptr @SO_RCVTIMEO, align 4
%32 = call i64 @setsockopt(i32 noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %10, i32 noundef 16)
%33 = icmp slt i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %26
%35 = call i32 @perror(ptr noundef @.str.1)
br label %36
36: ; preds = %34, %26
%37 = getelementptr inbounds [1500 x i32], ptr %11, i64 0, i64 0
%38 = load ptr, ptr %5, align 8
%39 = call i32 @construct_query(ptr noundef %37, i32 noundef 1500, ptr noundef %38)
store i32 %39, ptr %12, align 4
%40 = load i32, ptr @AF_INET, align 4
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 2
store i32 %40, ptr %41, align 4
%42 = call i32 @htons(i32 noundef 53)
%43 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 1
store i32 %42, ptr %43, align 4
%44 = load i32, ptr %8, align 4
%45 = getelementptr inbounds %struct.sockaddr_in, ptr %13, i32 0, i32 0
%46 = getelementptr inbounds %struct.TYPE_2__, ptr %45, i32 0, i32 0
store i32 %44, ptr %46, align 4
%47 = load i32, ptr %9, align 4
%48 = getelementptr inbounds [1500 x i32], ptr %11, i64 0, i64 0
%49 = load i32, ptr %12, align 4
%50 = call i32 @sendto(i32 noundef %47, ptr noundef %48, i32 noundef %49, i32 noundef 0, ptr noundef %13, i32 noundef 12)
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = icmp slt i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %36
%54 = call i32 @perror(ptr noundef @.str.2)
%55 = call i32 @exit(i32 noundef 1) #3
unreachable
56: ; preds = %36
%57 = load i32, ptr %9, align 4
%58 = load ptr, ptr %7, align 8
%59 = call i32 @recv(i32 noundef %57, ptr noundef %58, i32 noundef 1500, i32 noundef 0)
store i32 %59, ptr %15, align 4
%60 = icmp slt i32 %59, 0
br i1 %60, label %61, label %75
61: ; preds = %56
%62 = load i32, ptr %9, align 4
%63 = load ptr, ptr %7, align 8
%64 = call i32 @recv(i32 noundef %62, ptr noundef %63, i32 noundef 1500, i32 noundef 0)
store i32 %64, ptr %15, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %74
66: ; preds = %61
%67 = load i32, ptr %9, align 4
%68 = load ptr, ptr %7, align 8
%69 = call i32 @recv(i32 noundef %67, ptr noundef %68, i32 noundef 1500, i32 noundef 0)
store i32 %69, ptr %15, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %73
71: ; preds = %66
%72 = call i32 @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %77
73: ; preds = %66
br label %74
74: ; preds = %73, %61
br label %75
75: ; preds = %74, %56
%76 = load i32, ptr %15, align 4
store i32 %76, ptr %4, align 4
br label %77
77: ; preds = %75, %71
%78 = load i32, ptr %4, align 4
ret i32 %78
}
declare i32 @inet_addr(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @construct_query(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6u9i1lfh.c'
source_filename = "/tmp/tmp6u9i1lfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [4 x [4 x float]], align 16
%2 = alloca float, align 4
%3 = call float (...) @prob()
store float %3, ptr %2, align 4
%4 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 0
%5 = load float, ptr %2, align 4
%6 = call i32 @label(ptr noundef %4, float noundef %5)
ret i32 0
}
declare float @prob(...) #1
declare i32 @label(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6u9i1lfh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [4 x [4 x float]], align 16
%2 = alloca float, align 4
%3 = call float (...) @prob()
store float %3, ptr %2, align 4
%4 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 0
%5 = load float, ptr %2, align 4
%6 = call i32 @label(ptr noundef %4, float noundef %5)
ret i32 0
}
declare float @prob(...) #1
declare i32 @label(ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcv33ss1v.c'
source_filename = "/tmp/tmpcv33ss1v.c"
target datalayout = "e-m:e-p270: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/tmpcv33ss1v.c"
target datalayout = "e-m:e-p270: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/tmpz5n71iox.c'
source_filename = "/tmp/tmpz5n71iox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 0, ptr %12, align 1
br label %13
13: ; preds = %24, %3
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %6, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br label %22
22: ; preds = %17, %13
%23 = phi i1 [ false, %13 ], [ %21, %17 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %4, align 8
br label %13, !llvm.loop !6
27: ; preds = %22
br label %28
28: ; preds = %42, %27
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %6, align 4
%31 = icmp ne i32 %29, 0
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %5, align 8
%35 = load i8, ptr %33, align 1
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %4, align 8
store i8 %35, ptr %36, align 1
%38 = sext i8 %35 to i32
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %32, %28
%41 = phi i1 [ false, %28 ], [ %39, %32 ]
br i1 %41, label %42, label %43
42: ; preds = %40
br label %28, !llvm.loop !8
43: ; preds = %40
%44 = load ptr, ptr %7, align 8
ret ptr %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz5n71iox.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
store i8 0, ptr %12, align 1
br label %13
13: ; preds = %24, %3
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %6, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br label %22
22: ; preds = %17, %13
%23 = phi i1 [ false, %13 ], [ %21, %17 ]
br i1 %23, label %24, label %27
24: ; preds = %22
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %4, align 8
br label %13, !llvm.loop !6
27: ; preds = %22
br label %28
28: ; preds = %40, %27
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %6, align 4
%31 = icmp ne i32 %29, 0
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %5, align 8
%35 = load i8, ptr %33, align 1
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %4, align 8
store i8 %35, ptr %36, align 1
%38 = sext i8 %35 to i32
%39 = icmp ne i32 %38, 0
br label %40
40: ; preds = %32, %28
%41 = phi i1 [ false, %28 ], [ %39, %32 ]
br i1 %41, label %28, label %42, !llvm.loop !8
42: ; preds = %40
%43 = load ptr, ptr %7, align 8
ret ptr %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp7tmpefvj.c'
source_filename = "/tmp/tmp7tmpefvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_null_encode_2() #0 {
%1 = alloca [3 x i8], align 1
%2 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @memset(ptr noundef %2, i8 noundef signext 0, i32 noundef 3)
%4 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @j64_null_encode(ptr noundef %4, i32 noundef 2)
%6 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @j64_null_encode(ptr noundef, i32 noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7tmpefvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"nu\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_null_encode_2() #0 {
%1 = alloca [3 x i8], align 1
%2 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @memset(ptr noundef %2, i8 noundef signext 0, i32 noundef 3)
%4 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @j64_null_encode(ptr noundef %4, i32 noundef 2)
%6 = getelementptr inbounds [3 x i8], ptr %1, i64 0, i64 0
%7 = call i64 @strcmp(ptr noundef %6, ptr noundef @.str)
%8 = icmp eq i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @j64_null_encode(ptr noundef, i32 noundef) #1
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"}
|
; ModuleID = '/tmp/tmpdabjvfqj.c'
source_filename = "/tmp/tmpdabjvfqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"git tag: %s\0Agit branch: %s\0AHEAD @: %s\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sprintfGitInfo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %36
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @assert(i32 noundef 0)
br label %15
15: ; preds = %13, %9
store ptr @.str, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add i64 %17, 7
%19 = add i64 %18, 7
%20 = add i64 %19, 7
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %5, align 8
%22 = mul i64 %21, 1
%23 = call ptr @malloc(i64 noundef %22)
%24 = load ptr, ptr %3, align 8
store ptr %23, ptr %24, align 8
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %25, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %15
store ptr null, ptr %2, align 8
br label %36
29: ; preds = %15
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @sprintf(ptr noundef %31, ptr noundef %32, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1)
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %29, %28, %8
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @sprintf(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/tmpdabjvfqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"git tag: %s\0Agit branch: %s\0AHEAD @: %s\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"UNKNOWN\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sprintfGitInfo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %36
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %10, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %9
%14 = call i32 @assert(i32 noundef 0)
br label %15
15: ; preds = %13, %9
store ptr @.str, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add i64 %17, 7
%19 = add i64 %18, 7
%20 = add i64 %19, 7
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %5, align 8
%22 = mul i64 %21, 1
%23 = call ptr @malloc(i64 noundef %22)
%24 = load ptr, ptr %3, align 8
store ptr %23, ptr %24, align 8
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %25, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %29, label %28
28: ; preds = %15
store ptr null, ptr %2, align 8
br label %36
29: ; preds = %15
%30 = load ptr, ptr %3, align 8
%31 = load ptr, ptr %30, align 8
%32 = load ptr, ptr %4, align 8
%33 = call i32 @sprintf(ptr noundef %31, ptr noundef %32, ptr noundef @.str.1, ptr noundef @.str.1, ptr noundef @.str.1)
%34 = load ptr, ptr %3, align 8
%35 = load ptr, ptr %34, align 8
store ptr %35, ptr %2, align 8
br label %36
36: ; preds = %29, %28, %8
%37 = load ptr, ptr %2, align 8
ret ptr %37
}
declare i32 @assert(i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @sprintf(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/tmp4bmc6u4h.c'
source_filename = "/tmp/tmp4bmc6u4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_f9() #0 {
%1 = call i32 (...) @ld_sp_hl()
ret void
}
declare i32 @ld_sp_hl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4bmc6u4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_f9() #0 {
%1 = call i32 (...) @ld_sp_hl()
ret void
}
declare i32 @ld_sp_hl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn6m5g1kr.c'
source_filename = "/tmp/tmpn6m5g1kr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"g() called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn6m5g1kr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"g() called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkw9xv_ms.c'
source_filename = "/tmp/tmpkw9xv_ms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Hello World!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkw9xv_ms.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Hello World!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50trg_4k.c'
source_filename = "/tmp/tmp50trg_4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"mtd-part-offset PARTITION_LABEL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr 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/tmp50trg_4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"mtd-part-offset PARTITION_LABEL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr 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/tmpbkq6n9n7.c'
source_filename = "/tmp/tmpbkq6n9n7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EEPROMIntClear(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store volatile i32 4, ptr inttoptr (i64 1074778132 to ptr), align 4
%3 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%4 = and i32 %3, 1895759872
%5 = icmp eq i32 %4, 268763136
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%8 = and i32 %7, 65535
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = call i32 (...) @_EEPROMSectorMaskClear()
br label %12
12: ; preds = %10, %6, %1
ret void
}
declare i32 @_EEPROMSectorMaskClear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbkq6n9n7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EEPROMIntClear(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store volatile i32 4, ptr inttoptr (i64 1074778132 to ptr), align 4
%3 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%4 = and i32 %3, 1895759872
%5 = icmp eq i32 %4, 268763136
br i1 %5, label %6, label %12
6: ; preds = %1
%7 = load volatile i32, ptr inttoptr (i64 1074782208 to ptr), align 4
%8 = and i32 %7, 65535
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = call i32 (...) @_EEPROMSectorMaskClear()
br label %12
12: ; preds = %10, %6, %1
ret void
}
declare i32 @_EEPROMSectorMaskClear(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5echsxa9.c'
source_filename = "/tmp/tmp5echsxa9.c"
target datalayout = "e-m:e-p270: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/tmp5echsxa9.c"
target datalayout = "e-m:e-p270: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/tmpdhrl8zhs.c'
source_filename = "/tmp/tmpdhrl8zhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_e6() #0 {
%1 = call i32 @set_hl(i32 noundef 4)
ret void
}
declare i32 @set_hl(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/tmpdhrl8zhs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_e6() #0 {
%1 = call i32 @set_hl(i32 noundef 4)
ret void
}
declare i32 @set_hl(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/tmp4kxlp7gj.c'
source_filename = "/tmp/tmp4kxlp7gj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StartFrameDraw(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @CNRFBCanSendData(i32 noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %17
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = call i32 @CNRFBStartSend(i32 noundef %11)
%13 = call i32 @CNRFBSend1(i32 noundef 0)
%14 = call i32 @CNRFBSend1(i32 noundef 0)
%15 = load i32, ptr %5, align 4
%16 = call i32 @CNRFBSend2(i32 noundef %15)
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %10, %9
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @CNRFBCanSendData(i32 noundef) #1
declare i32 @CNRFBStartSend(i32 noundef) #1
declare i32 @CNRFBSend1(i32 noundef) #1
declare i32 @CNRFBSend2(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/tmp4kxlp7gj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @StartFrameDraw(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @CNRFBCanSendData(i32 noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %2
store i32 -1, ptr %3, align 4
br label %17
10: ; preds = %2
%11 = load i32, ptr %4, align 4
%12 = call i32 @CNRFBStartSend(i32 noundef %11)
%13 = call i32 @CNRFBSend1(i32 noundef 0)
%14 = call i32 @CNRFBSend1(i32 noundef 0)
%15 = load i32, ptr %5, align 4
%16 = call i32 @CNRFBSend2(i32 noundef %15)
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %10, %9
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare i32 @CNRFBCanSendData(i32 noundef) #1
declare i32 @CNRFBStartSend(i32 noundef) #1
declare i32 @CNRFBSend1(i32 noundef) #1
declare i32 @CNRFBSend2(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/tmpibzxp_yy.c'
source_filename = "/tmp/tmpibzxp_yy.c"
target datalayout = "e-m:e-p270: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.mensaje = private unnamed_addr constant [13 x i8] c"Hola a todos\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [13 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.mensaje, i64 13, i1 false)
%3 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, 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/tmpibzxp_yy.c"
target datalayout = "e-m:e-p270: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.mensaje = private unnamed_addr constant [13 x i8] c"Hola a todos\00", align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [13 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.mensaje, i64 13, i1 false)
%3 = getelementptr inbounds [13 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, 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/tmpoiwdtcb5.c'
source_filename = "/tmp/tmpoiwdtcb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_reverse(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 = load ptr, ptr %2, align 8
%6 = call i32 @strlength(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %13, %1
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %2, align 8
store i8 %15, ptr %16, align 1
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %2, align 8
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 -1
store ptr %20, ptr %3, align 8
br label %9, !llvm.loop !6
21: ; preds = %9
ret void
}
declare i32 @strlength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpoiwdtcb5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_reverse(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 = load ptr, ptr %2, align 8
%6 = call i32 @strlength(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %12
%13 = load ptr, ptr %3, align 8
%14 = load i8, ptr %13, align 1
%15 = load ptr, ptr %2, align 8
store i8 %14, ptr %15, align 1
%16 = load ptr, ptr %2, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %2, align 8
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 -1
store ptr %19, ptr %3, align 8
%20 = load ptr, ptr %2, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %23
23: ; preds = %._crit_edge, %1
ret void
}
declare i32 @strlength(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpaogr83hr.c'
source_filename = "/tmp/tmpaogr83hr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @tanf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_tan_f32(float noundef %3)
ret float %4
}
declare float @__ocml_tan_f32(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/tmpaogr83hr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @tanf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__ocml_tan_f32(float noundef %3)
ret float %4
}
declare float @__ocml_tan_f32(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/tmp8dr_bybv.c'
source_filename = "/tmp/tmp8dr_bybv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Could not write waveform\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wav_note(ptr noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [88200 x i16], align 16
%11 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store double 0.000000e+00, ptr %11, align 8
%12 = load double, ptr %5, align 8
%13 = fmul double %12, 2.500000e-01
store double %13, ptr %5, align 8
store i32 0, ptr %8, align 4
%14 = load double, ptr %5, align 8
%15 = fmul double 4.410000e+04, %14
%16 = fptosi double %15 to i32
store i32 %16, ptr %9, align 4
br label %17
17: ; preds = %36, %3
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %39
21: ; preds = %17
%22 = load i32, ptr %8, align 4
%23 = sitofp i32 %22 to double
%24 = fdiv double %23, 4.410000e+04
store double %24, ptr %11, align 8
%25 = load double, ptr %6, align 8
%26 = load double, ptr %11, align 8
%27 = fmul double %25, %26
%28 = fmul double %27, 2.000000e+00
%29 = fmul double %28, 3.141500e+00
%30 = call i32 @sin(double noundef %29)
%31 = mul nsw i32 32000, %30
%32 = trunc i32 %31 to i16
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [88200 x i16], ptr %10, i64 0, i64 %34
store i16 %32, ptr %35, align 2
br label %36
36: ; preds = %21
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
br label %17, !llvm.loop !6
39: ; preds = %17
%40 = getelementptr inbounds [88200 x i16], ptr %10, i64 0, i64 0
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = load ptr, ptr %4, align 8
%44 = load ptr, ptr %43, align 8
%45 = call i64 @fwrite(ptr noundef %40, i32 noundef 2, i64 noundef %42, ptr noundef %44)
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = icmp ne i64 %45, %47
br i1 %48, label %49, label %51
49: ; preds = %39
%50 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %52
51: ; preds = %39
br label %52
52: ; preds = %51, %49
%53 = load i32, ptr %7, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr @EXIT_FAILURE, align 4
%57 = call i32 @exit(i32 noundef %56) #3
unreachable
58: ; preds = %52
ret void
}
declare i32 @sin(double noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8dr_bybv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Could not write waveform\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wav_note(ptr noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [88200 x i16], align 16
%11 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store double 0.000000e+00, ptr %11, align 8
%12 = load double, ptr %5, align 8
%13 = fmul double %12, 2.500000e-01
store double %13, ptr %5, align 8
store i32 0, ptr %8, align 4
%14 = load double, ptr %5, align 8
%15 = fmul double 4.410000e+04, %14
%16 = fptosi double %15 to i32
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %41
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %35
%21 = load i32, ptr %8, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double %22, 4.410000e+04
store double %23, ptr %11, align 8
%24 = load double, ptr %6, align 8
%25 = load double, ptr %11, align 8
%26 = fmul double %24, %25
%27 = fmul double %26, 2.000000e+00
%28 = fmul double %27, 3.141500e+00
%29 = call i32 @sin(double noundef %28)
%30 = mul nsw i32 32000, %29
%31 = trunc i32 %30 to i16
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [88200 x i16], ptr %10, i64 0, i64 %33
store i16 %31, ptr %34, align 2
br label %35
35: ; preds = %20
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %9, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %3
%42 = getelementptr inbounds [88200 x i16], ptr %10, i64 0, i64 0
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = load ptr, ptr %4, align 8
%46 = load ptr, ptr %45, align 8
%47 = call i64 @fwrite(ptr noundef %42, i32 noundef 2, i64 noundef %44, ptr noundef %46)
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = icmp ne i64 %47, %49
br i1 %50, label %51, label %53
51: ; preds = %41
%52 = call i32 @printf(ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %54
53: ; preds = %41
br label %54
54: ; preds = %53, %51
%55 = load i32, ptr %7, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load i32, ptr @EXIT_FAILURE, align 4
%59 = call i32 @exit(i32 noundef %58) #3
unreachable
60: ; preds = %54
ret void
}
declare i32 @sin(double noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkeezdzlp.c'
source_filename = "/tmp/tmpkeezdzlp.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [41 x i8] c"cannot initialize string, buffer is NULL\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"cannot initialize string, buffer is too small\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sc_string_init(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr @errno, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 @die(ptr noundef @.str)
br label %9
9: ; preds = %7, %2
%10 = load i64, ptr %4, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @die(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %9
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
store i8 0, ptr %16, align 1
ret void
}
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkeezdzlp.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [41 x i8] c"cannot initialize string, buffer is NULL\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"cannot initialize string, buffer is too small\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sc_string_init(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr @errno, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 @die(ptr noundef @.str)
br label %9
9: ; preds = %7, %2
%10 = load i64, ptr %4, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 @die(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %9
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
store i8 0, ptr %16, align 1
ret void
}
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv4b1mx0d.c'
source_filename = "/tmp/tmpv4b1mx0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call signext i8 @lowercase(i8 noundef signext 97)
store i8 %3, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @printf(ptr noundef @.str, i8 noundef signext %4)
%6 = call signext i8 @lowercase(i8 noundef signext 104)
store i8 %6, ptr %2, align 1
%7 = load i8, ptr %2, align 1
%8 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7)
%9 = call signext i8 @lowercase(i8 noundef signext 65)
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %2, align 1
%11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10)
%12 = call signext i8 @lowercase(i8 noundef signext 123)
store i8 %12, ptr %2, align 1
%13 = load i8, ptr %2, align 1
%14 = call i32 @printf(ptr noundef @.str, i8 noundef signext %13)
ret i32 0
}
declare signext i8 @lowercase(i8 noundef signext) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv4b1mx0d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call signext i8 @lowercase(i8 noundef signext 97)
store i8 %3, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @printf(ptr noundef @.str, i8 noundef signext %4)
%6 = call signext i8 @lowercase(i8 noundef signext 104)
store i8 %6, ptr %2, align 1
%7 = load i8, ptr %2, align 1
%8 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7)
%9 = call signext i8 @lowercase(i8 noundef signext 65)
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %2, align 1
%11 = call i32 @printf(ptr noundef @.str, i8 noundef signext %10)
%12 = call signext i8 @lowercase(i8 noundef signext 123)
store i8 %12, ptr %2, align 1
%13 = load i8, ptr %2, align 1
%14 = call i32 @printf(ptr noundef @.str, i8 noundef signext %13)
ret i32 0
}
declare signext i8 @lowercase(i8 noundef signext) #1
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6yl41zh9.c'
source_filename = "/tmp/tmp6yl41zh9.c"
target datalayout = "e-m:e-p270: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/tmp6yl41zh9.c"
target datalayout = "e-m:e-p270: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/tmpr11pnc3v.c'
source_filename = "/tmp/tmpr11pnc3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i8
store i8 %30, ptr %9, align 1
%31 = load i8, ptr %9, align 1
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33
store i8 %31, ptr %34, align 1
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp eq i32 %43, 115
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr11pnc3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\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 [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i8
store i8 %29, ptr %9, align 1
%30 = load i8, ptr %9, align 1
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32
store i8 %30, ptr %33, align 1
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = icmp eq i32 %44, 115
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8rpe_p0i.c'
source_filename = "/tmp/tmp8rpe_p0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ne_test_pnm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [200 x i32], align 16
%9 = alloca [10 x i32], align 16
%10 = alloca [5 x i32], align 16
store i32 %0, ptr %3, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %62, %1
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %65
14: ; preds = %11
store i32 0, ptr %5, align 4
br label %15
15: ; preds = %19, %14
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 200
br i1 %17, label %18, label %26
18: ; preds = %15
br label %19
19: ; preds = %18
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds [200 x i32], ptr %8, i64 0, i64 %24
store i32 %20, ptr %25, align 4
br label %15, !llvm.loop !6
26: ; preds = %15
store i32 0, ptr %5, align 4
br label %27
27: ; preds = %31, %26
%28 = load i32, ptr %5, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %30, label %38
30: ; preds = %27
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
%36 = sext i32 %34 to i64
%37 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 %36
store i32 %32, ptr %37, align 4
br label %27, !llvm.loop !8
38: ; preds = %27
store i32 0, ptr %5, align 4
br label %39
39: ; preds = %43, %38
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %40, 5
br i1 %41, label %42, label %50
42: ; preds = %39
br label %43
43: ; preds = %42
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %48
store i32 %44, ptr %49, align 4
br label %39, !llvm.loop !9
50: ; preds = %39
store i32 0, ptr %7, align 4
%51 = load i32, ptr %3, align 4
%52 = getelementptr inbounds [200 x i32], ptr %8, i64 0, i64 0
%53 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
%54 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 0
%55 = load i32, ptr %4, align 4
%56 = call i32 @ne_put_node_map(i32 noundef %51, ptr noundef %52, ptr noundef %53, ptr noundef %54, i32 noundef %55)
store i32 %56, ptr %6, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %50
%60 = load i32, ptr %6, align 4
store i32 %60, ptr %2, align 4
br label %66
61: ; preds = %50
br label %62
62: ; preds = %61
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
br label %11, !llvm.loop !10
65: ; preds = %11
store i32 0, ptr %2, align 4
br label %66
66: ; preds = %65, %59
%67 = load i32, ptr %2, align 4
ret i32 %67
}
declare i32 @ne_put_node_map(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8rpe_p0i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ne_test_pnm(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [200 x i32], align 16
%9 = alloca [10 x i32], align 16
%10 = alloca [5 x i32], align 16
store i32 %0, ptr %3, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %.lr.ph8, label %69
.lr.ph8: ; preds = %1
br label %13
13: ; preds = %.lr.ph8, %64
store i32 0, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 200
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %13
br label %16
16: ; preds = %.lr.ph, %17
br label %17
17: ; preds = %16
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds [200 x i32], ptr %8, i64 0, i64 %22
store i32 %18, ptr %23, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 200
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %26
26: ; preds = %._crit_edge, %13
store i32 0, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %27, 10
br i1 %28, label %.lr.ph2, label %39
.lr.ph2: ; preds = %26
br label %29
29: ; preds = %.lr.ph2, %30
br label %30
30: ; preds = %29
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %7, align 4
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 %35
store i32 %31, ptr %36, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %37, 10
br i1 %38, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %39
39: ; preds = %._crit_edge3, %26
store i32 0, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %40, 5
br i1 %41, label %.lr.ph5, label %52
.lr.ph5: ; preds = %39
br label %42
42: ; preds = %.lr.ph5, %43
br label %43
43: ; preds = %42
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
%46 = load i32, ptr %5, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %5, align 4
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 %48
store i32 %44, ptr %49, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %50, 5
br i1 %51, label %42, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %43
br label %52
52: ; preds = %._crit_edge6, %39
store i32 0, ptr %7, align 4
%53 = load i32, ptr %3, align 4
%54 = getelementptr inbounds [200 x i32], ptr %8, i64 0, i64 0
%55 = getelementptr inbounds [10 x i32], ptr %9, i64 0, i64 0
%56 = getelementptr inbounds [5 x i32], ptr %10, i64 0, i64 0
%57 = load i32, ptr %4, align 4
%58 = call i32 @ne_put_node_map(i32 noundef %53, ptr noundef %54, ptr noundef %55, ptr noundef %56, i32 noundef %57)
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp slt i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %52
%62 = load i32, ptr %6, align 4
store i32 %62, ptr %2, align 4
br label %70
63: ; preds = %52
br label %64
64: ; preds = %63
%65 = load i32, ptr %4, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %4, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %67, 10
br i1 %68, label %13, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %64
br label %69
69: ; preds = %._crit_edge9, %1
store i32 0, ptr %2, align 4
br label %70
70: ; preds = %69, %61
%71 = load i32, ptr %2, align 4
ret i32 %71
}
declare i32 @ne_put_node_map(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.