; LLVM IR from jgaeddert/liquid-dsp :: src/math/tests (math_window_autotest)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@liquid_autotest_verbose = external global i32, align 4
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @liquid_window_testbench(i32 noundef %0, i32 noundef %1, float noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca float, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca { float, float }, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca { float, float }, align 4
  %22 = alloca { float, float }, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store float %2, ptr %6, align 4, !tbaa !9
  %23 = load i32, ptr %5, align 4, !tbaa !5
  %24 = zext i32 %23 to i64
  %25 = call ptr @llvm.stacksave.p0()
  store ptr %25, ptr %7, align 8
  %26 = alloca float, i64 %24, align 16
  store i64 %24, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store float 0.000000e+00, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %46, %3
  %28 = load i32, ptr %10, align 4, !tbaa !5
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = icmp ult i32 %28, %29
  br i1 %30, label %31, label %49

31:                                               ; preds = %27
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = load i32, ptr %10, align 4, !tbaa !5
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = load float, ptr %6, align 4, !tbaa !9
  %36 = call float @liquid_windowf(i32 noundef %32, i32 noundef %33, i32 noundef %34, float noundef %35)
  %37 = load i32, ptr %10, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds float, ptr %26, i64 %38
  store float %36, ptr %39, align 4, !tbaa !9
  %40 = load i32, ptr %10, align 4, !tbaa !5
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds float, ptr %26, i64 %41
  %43 = load float, ptr %42, align 4, !tbaa !9
  %44 = load float, ptr %9, align 4, !tbaa !9
  %45 = fadd float %44, %43
  store float %45, ptr %9, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %31
  %47 = load i32, ptr %10, align 4, !tbaa !5
  %48 = add i32 %47, 1
  store i32 %48, ptr %10, align 4, !tbaa !5
  br label %27, !llvm.loop !11

49:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 1200, ptr %11, align 4, !tbaa !5
  %50 = load i32, ptr %11, align 4, !tbaa !5
  %51 = zext i32 %50 to i64
  %52 = alloca { float, float }, i64 %51, align 16
  store i64 %51, ptr %12, align 8
  %53 = load i32, ptr %11, align 4, !tbaa !5
  %54 = zext i32 %53 to i64
  %55 = alloca { float, float }, i64 %54, align 16
  store i64 %54, ptr %13, align 8
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %79, %49
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = load i32, ptr %11, align 4, !tbaa !5
  %59 = icmp ult i32 %57, %58
  br i1 %59, label %60, label %82

60:                                               ; preds = %56
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = icmp ult i32 %61, %62
  br i1 %63, label %64, label %71

64:                                               ; preds = %60
  %65 = load i32, ptr %10, align 4, !tbaa !5
  %66 = zext i32 %65 to i64
  %67 = getelementptr inbounds float, ptr %26, i64 %66
  %68 = load float, ptr %67, align 4, !tbaa !9
  %69 = load float, ptr %9, align 4, !tbaa !9
  %70 = fdiv float %68, %69
  br label %72

71:                                               ; preds = %60
  br label %72

72:                                               ; preds = %71, %64
  %73 = phi float [ %70, %64 ], [ 0.000000e+00, %71 ]
  %74 = load i32, ptr %10, align 4, !tbaa !5
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds { float, float }, ptr %52, i64 %75
  %77 = getelementptr inbounds { float, float }, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds { float, float }, ptr %76, i32 0, i32 1
  store float %73, ptr %77, align 8
  store float 0.000000e+00, ptr %78, align 4
  br label %79

79:                                               ; preds = %72
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = add i32 %80, 1
  store i32 %81, ptr %10, align 4, !tbaa !5
  br label %56, !llvm.loop !13

82:                                               ; preds = %56
  %83 = load i32, ptr %11, align 4, !tbaa !5
  %84 = call i32 @fft_run(i32 noundef %83, ptr noundef %52, ptr noundef %55, i32 noundef 1, i32 noundef 0)
  %85 = load i32, ptr %11, align 4, !tbaa !5
  %86 = call i32 @fft_shift(ptr noundef %55, i32 noundef %85)
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %87

87:                                               ; preds = %131, %82
  %88 = load i32, ptr %10, align 4, !tbaa !5
  %89 = load i32, ptr %11, align 4, !tbaa !5
  %90 = icmp ult i32 %88, %89
  br i1 %90, label %91, label %134

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = urem i32 %92, 2
  store i32 %93, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %94 = load i32, ptr %10, align 4, !tbaa !5
  %95 = load i32, ptr %14, align 4, !tbaa !5
  %96 = sub i32 %94, %95
  %97 = udiv i32 %96, 2
  store i32 %97, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %98 = load i32, ptr %11, align 4, !tbaa !5
  %99 = udiv i32 %98, 2
  %100 = load i32, ptr %14, align 4, !tbaa !5
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %105

102:                                              ; preds = %91
  %103 = load i32, ptr %15, align 4, !tbaa !5
  %104 = sub i32 0, %103
  br label %109

105:                                              ; preds = %91
  %106 = load i32, ptr %15, align 4, !tbaa !5
  %107 = load i32, ptr %14, align 4, !tbaa !5
  %108 = add i32 %106, %107
  br label %109

109:                                              ; preds = %105, %102
  %110 = phi i32 [ %104, %102 ], [ %108, %105 ]
  %111 = add i32 %99, %110
  store i32 %111, ptr %16, align 4, !tbaa !5
  %112 = load i32, ptr %16, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds { float, float }, ptr %55, i64 %113
  %115 = getelementptr inbounds { float, float }, ptr %114, i32 0, i32 0
  %116 = load float, ptr %115, align 8
  %117 = getelementptr inbounds { float, float }, ptr %114, i32 0, i32 1
  %118 = load float, ptr %117, align 4
  %119 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %120 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  store float %116, ptr %119, align 4
  store float %118, ptr %120, align 4
  %121 = load <2 x float>, ptr %17, align 4
  %122 = call float @cabsf(<2 x float> noundef %121) #6
  %123 = call float @log10f(float noundef %122) #6
  %124 = fmul float 2.000000e+01, %123
  %125 = fcmp olt float %124, -6.000000e+00
  br i1 %125, label %126, label %127

126:                                              ; preds = %109
  store i32 8, ptr %18, align 4
  br label %128

127:                                              ; preds = %109
  store i32 0, ptr %18, align 4
  br label %128

128:                                              ; preds = %127, %126
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %129 = load i32, ptr %18, align 4
  switch i32 %129, label %213 [
    i32 0, label %130
    i32 8, label %134
  ]

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %10, align 4, !tbaa !5
  %133 = add i32 %132, 1
  store i32 %133, ptr %10, align 4, !tbaa !5
  br label %87, !llvm.loop !14

134:                                              ; preds = %128, %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %135 = load i32, ptr %10, align 4, !tbaa !5
  %136 = uitofp i32 %135 to float
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = uitofp i32 %137 to float
  %139 = fdiv float %136, %138
  store float %139, ptr %19, align 4, !tbaa !9
  %140 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %146

142:                                              ; preds = %134
  %143 = load float, ptr %19, align 4, !tbaa !9
  %144 = fpext float %143 to double
  %145 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %144)
  br label %146

146:                                              ; preds = %142, %134
  %147 = load float, ptr %19, align 4, !tbaa !9
  %148 = fcmp ole float %147, 0x3F947AE140000000
  br i1 %148, label %149, label %152

149:                                              ; preds = %146
  %150 = load float, ptr %19, align 4, !tbaa !9
  %151 = fpext float %150 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 56, ptr noundef @.str.2, double noundef %151, ptr noundef @.str.3, ptr noundef @.str.4, double noundef 0x3F947AE140000000)
  br label %153

152:                                              ; preds = %146
  call void (...) @liquid_autotest_passed()
  br label %153

153:                                              ; preds = %152, %149
  %154 = load float, ptr %19, align 4, !tbaa !9
  %155 = fcmp oge float %154, 0x3FB47AE140000000
  br i1 %155, label %156, label %159

156:                                              ; preds = %153
  %157 = load float, ptr %19, align 4, !tbaa !9
  %158 = fpext float %157 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 57, ptr noundef @.str.2, double noundef %158, ptr noundef @.str.5, ptr noundef @.str.6, double noundef 0x3FB47AE140000000)
  br label %160

159:                                              ; preds = %153
  call void (...) @liquid_autotest_passed()
  br label %160

160:                                              ; preds = %159, %156
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %161

161:                                              ; preds = %208, %160
  %162 = load i32, ptr %10, align 4, !tbaa !5
  %163 = load i32, ptr %11, align 4, !tbaa !5
  %164 = icmp ult i32 %162, %163
  br i1 %164, label %165, label %211

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %166 = load i32, ptr %10, align 4, !tbaa !5
  %167 = uitofp i32 %166 to float
  %168 = load i32, ptr %11, align 4, !tbaa !5
  %169 = uitofp i32 %168 to float
  %170 = fdiv float %167, %169
  %171 = fsub float %170, 5.000000e-01
  store float %171, ptr %20, align 4, !tbaa !9
  %172 = load float, ptr %20, align 4, !tbaa !9
  %173 = call float @llvm.fabs.f32(float %172)
  %174 = fcmp ogt float %173, 0x3FC99999A0000000
  br i1 %174, label %175, label %207

175:                                              ; preds = %165
  %176 = load i32, ptr %10, align 4, !tbaa !5
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds { float, float }, ptr %55, i64 %177
  %179 = getelementptr inbounds { float, float }, ptr %178, i32 0, i32 0
  %180 = load float, ptr %179, align 8
  %181 = getelementptr inbounds { float, float }, ptr %178, i32 0, i32 1
  %182 = load float, ptr %181, align 4
  %183 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 0
  %184 = getelementptr inbounds { float, float }, ptr %21, i32 0, i32 1
  store float %180, ptr %183, align 4
  store float %182, ptr %184, align 4
  %185 = load <2 x float>, ptr %21, align 4
  %186 = call float @cabsf(<2 x float> noundef %185) #6
  %187 = call float @log10f(float noundef %186) #6
  %188 = fmul float 2.000000e+01, %187
  %189 = fcmp oge float %188, -4.000000e+01
  br i1 %189, label %190, label %205

190:                                              ; preds = %175
  %191 = load i32, ptr %10, align 4, !tbaa !5
  %192 = zext i32 %191 to i64
  %193 = getelementptr inbounds { float, float }, ptr %55, i64 %192
  %194 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 0
  %195 = load float, ptr %194, align 8
  %196 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 1
  %197 = load float, ptr %196, align 4
  %198 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 0
  %199 = getelementptr inbounds { float, float }, ptr %22, i32 0, i32 1
  store float %195, ptr %198, align 4
  store float %197, ptr %199, align 4
  %200 = load <2 x float>, ptr %22, align 4
  %201 = call float @cabsf(<2 x float> noundef %200) #6
  %202 = call float @log10f(float noundef %201) #6
  %203 = fmul float 2.000000e+01, %202
  %204 = fpext float %203 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.1, i32 noundef 63, ptr noundef @.str.7, double noundef %204, ptr noundef @.str.5, ptr noundef @.str.8, double noundef -4.000000e+01)
  br label %206

205:                                              ; preds = %175
  call void (...) @liquid_autotest_passed()
  br label %206

206:                                              ; preds = %205, %190
  br label %207

207:                                              ; preds = %206, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %10, align 4, !tbaa !5
  %210 = add i32 %209, 1
  store i32 %210, ptr %10, align 4, !tbaa !5
  br label %161, !llvm.loop !15

211:                                              ; preds = %161
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %212 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %212)
  ret void

213:                                              ; preds = %128
  unreachable
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

declare float @liquid_windowf(i32 noundef, i32 noundef, i32 noundef, float noundef) #3

declare i32 @fft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #3

declare i32 @fft_shift(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind
declare float @log10f(float noundef) #4

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

declare i32 @printf(ptr noundef, ...) #3

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #3

declare void @liquid_autotest_passed(...) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #5

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @liquid_window_testbench(i32 noundef %0, i32 noundef %1, float noundef %2) local_unnamed_addr #0 {
  %4 = zext i32 %1 to i64
  %5 = alloca float, i64 %4, align 16
  %.not69 = icmp eq i32 %1, 0
  br i1 %.not69, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %3 ]
  %.064 = phi float [ %9, %.lr.ph ], [ 0.000000e+00, %3 ]
  %6 = trunc nuw i64 %indvars.iv to i32
  %7 = tail call float @liquid_windowf(i32 noundef %0, i32 noundef %6, i32 noundef %1, float noundef %2) #6
  %8 = getelementptr inbounds float, ptr %5, i64 %indvars.iv
  store float %7, ptr %8, align 4, !tbaa !5
  %9 = fadd float %.064, %7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %4
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %3
  %.0.lcssa = phi float [ 0.000000e+00, %3 ], [ %9, %.lr.ph ]
  %10 = alloca [1200 x { float, float }], align 16
  %11 = alloca [1200 x { float, float }], align 16
  br label %12

12:                                               ; preds = %27, %._crit_edge
  %indvars.iv71 = phi i64 [ 0, %._crit_edge ], [ %indvars.iv.next72.1, %27 ]
  %13 = icmp ult i64 %indvars.iv71, %4
  br i1 %13, label %14, label %18

14:                                               ; preds = %12
  %15 = getelementptr inbounds float, ptr %5, i64 %indvars.iv71
  %16 = load float, ptr %15, align 8, !tbaa !5
  %17 = fdiv float %16, %.0.lcssa
  br label %18

18:                                               ; preds = %12, %14
  %19 = phi float [ %17, %14 ], [ 0.000000e+00, %12 ]
  %20 = getelementptr inbounds { float, float }, ptr %10, i64 %indvars.iv71
  %21 = getelementptr inbounds i8, ptr %20, i64 4
  store float %19, ptr %20, align 16
  store float 0.000000e+00, ptr %21, align 4
  %indvars.iv.next72 = or disjoint i64 %indvars.iv71, 1
  %22 = icmp ult i64 %indvars.iv.next72, %4
  br i1 %22, label %23, label %27

23:                                               ; preds = %18
  %24 = getelementptr inbounds float, ptr %5, i64 %indvars.iv.next72
  %25 = load float, ptr %24, align 4, !tbaa !5
  %26 = fdiv float %25, %.0.lcssa
  br label %27

27:                                               ; preds = %23, %18
  %28 = phi float [ %26, %23 ], [ 0.000000e+00, %18 ]
  %29 = getelementptr inbounds { float, float }, ptr %10, i64 %indvars.iv.next72
  %30 = getelementptr inbounds i8, ptr %29, i64 4
  store float %28, ptr %29, align 8
  store float 0.000000e+00, ptr %30, align 4
  %indvars.iv.next72.1 = add nuw nsw i64 %indvars.iv71, 2
  %exitcond74.not.1 = icmp eq i64 %indvars.iv.next72.1, 1200
  br i1 %exitcond74.not.1, label %31, label %12, !llvm.loop !11

31:                                               ; preds = %27
  %32 = call i32 @fft_run(i32 noundef 1200, ptr noundef nonnull %10, ptr noundef nonnull %11, i32 noundef 1, i32 noundef 0) #6
  %33 = call i32 @fft_shift(ptr noundef nonnull %11, i32 noundef 1200) #6
  %invariant.gep = getelementptr i8, ptr %11, i64 4800
  br label %34

34:                                               ; preds = %31, %47
  %.266 = phi i32 [ 0, %31 ], [ %48, %47 ]
  %35 = and i32 %.266, 1
  %36 = lshr i32 %.266, 1
  %37 = icmp eq i32 %35, 0
  %38 = sub nsw i32 0, %36
  %39 = add nuw nsw i32 %36, 1
  %40 = select i1 %37, i32 %38, i32 %39
  %41 = sext i32 %40 to i64
  %gep = getelementptr { float, float }, ptr %invariant.gep, i64 %41
  %42 = load <2 x float>, ptr %gep, align 8
  %43 = call float @cabsf(<2 x float> noundef %42) #6
  %44 = call float @log10f(float noundef %43) #6
  %45 = fmul float %44, 2.000000e+01
  %46 = fcmp olt float %45, -6.000000e+00
  br i1 %46, label %49, label %47

47:                                               ; preds = %34
  %48 = add nuw nsw i32 %.266, 1
  %exitcond75.not = icmp eq i32 %48, 1200
  br i1 %exitcond75.not, label %49, label %34, !llvm.loop !12

49:                                               ; preds = %34, %47
  %.2.lcssa = phi i32 [ %.266, %34 ], [ 1200, %47 ]
  %50 = uitofp nneg i32 %.2.lcssa to float
  %51 = fdiv float %50, 1.200000e+03
  %52 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !13
  %.not = icmp eq i32 %52, 0
  br i1 %.not, label %56, label %53

53:                                               ; preds = %49
  %54 = fpext float %51 to double
  %55 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %54)
  br label %56

56:                                               ; preds = %53, %49
  %57 = fcmp ugt float %51, 0x3F947AE140000000
  br i1 %57, label %60, label %58

58:                                               ; preds = %56
  %59 = fpext float %51 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 56, ptr noundef nonnull @.str.2, double noundef %59, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, double noundef 0x3F947AE140000000) #6
  br label %61

60:                                               ; preds = %56
  call void (...) @liquid_autotest_passed() #6
  br label %61

61:                                               ; preds = %60, %58
  %62 = fcmp ult float %51, 0x3FB47AE140000000
  br i1 %62, label %65, label %63

63:                                               ; preds = %61
  %64 = fpext float %51 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 57, ptr noundef nonnull @.str.2, double noundef %64, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, double noundef 0x3FB47AE140000000) #6
  br label %.preheader

65:                                               ; preds = %61
  call void (...) @liquid_autotest_passed() #6
  br label %.preheader

.preheader:                                       ; preds = %65, %63
  br label %66

66:                                               ; preds = %.preheader, %87
  %indvars.iv76 = phi i64 [ %indvars.iv.next77, %87 ], [ 0, %.preheader ]
  %67 = trunc nuw nsw i64 %indvars.iv76 to i32
  %68 = uitofp nneg i32 %67 to float
  %69 = fdiv float %68, 1.200000e+03
  %70 = fadd float %69, -5.000000e-01
  %71 = call float @llvm.fabs.f32(float %70)
  %72 = fcmp ogt float %71, 0x3FC99999A0000000
  br i1 %72, label %73, label %87

73:                                               ; preds = %66
  %74 = getelementptr inbounds { float, float }, ptr %11, i64 %indvars.iv76
  %75 = load <2 x float>, ptr %74, align 8
  %76 = call float @cabsf(<2 x float> noundef %75) #6
  %77 = call float @log10f(float noundef %76) #6
  %78 = fmul float %77, 2.000000e+01
  %79 = fcmp ult float %78, -4.000000e+01
  br i1 %79, label %86, label %80

80:                                               ; preds = %73
  %81 = load <2 x float>, ptr %74, align 8
  %82 = call float @cabsf(<2 x float> noundef %81) #6
  %83 = call float @log10f(float noundef %82) #6
  %84 = fmul float %83, 2.000000e+01
  %85 = fpext float %84 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.1, i32 noundef 63, ptr noundef nonnull @.str.7, double noundef %85, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.8, double noundef -4.000000e+01) #6
  br label %87

86:                                               ; preds = %73
  call void (...) @liquid_autotest_passed() #6
  br label %87

87:                                               ; preds = %80, %86, %66
  %indvars.iv.next77 = add nuw nsw i64 %indvars.iv76, 1
  %exitcond79.not = icmp eq i64 %indvars.iv.next77, 1200
  br i1 %exitcond79.not, label %88, label %66, !llvm.loop !15

88:                                               ; preds = %87
  ret void
}

declare float @liquid_windowf(i32 noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #1

declare i32 @fft_run(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @fft_shift(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @log10f(float noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare float @cabsf(<2 x float> noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

declare void @liquid_autotest_passed(...) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #5

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-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 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-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 "no-trapping-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 = { nofree nounwind "no-trapping-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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass