; LLVM IR from sp-nitech/SPTK :: src/analysis (perceptual_linear_predictive_coefficients_analysis)

; 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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis" = type { ptr, i32, double, %"class.sptk::MelFilterBankAnalysis", %"class.sptk::InverseFourierTransform", %"class.sptk::LevinsonDurbinRecursion", %"class.sptk::LinearPredictiveCoefficientsToCepstrum", i8, %"class.std::vector", %"class.std::vector" }
%"class.sptk::MelFilterBankAnalysis" = type { ptr, i32, i32, double, i8, i8, i32, i32, %"class.std::vector", %"class.std::vector.0", %"class.std::vector" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::InverseFourierTransform" = type { ptr, ptr }
%"class.sptk::LevinsonDurbinRecursion" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.sptk::LinearPredictiveCoefficientsToCepstrum" = type <{ ptr, i32, i32, i8, [7 x i8] }>

@_ZTVN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisC2Eiiiiddddd(ptr noundef nonnull align 8 dereferenceable(248) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %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 ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca double, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !9
  store i32 %2, ptr %13, align 4, !tbaa !9
  store i32 %3, ptr %14, align 4, !tbaa !9
  store i32 %4, ptr %15, align 4, !tbaa !9
  store double %5, ptr %16, align 8, !tbaa !11
  store double %6, ptr %17, align 8, !tbaa !11
  store double %7, ptr %18, align 8, !tbaa !11
  store double %8, ptr %19, align 8, !tbaa !11
  store double %9, ptr %20, align 8, !tbaa !11
  %32 = load ptr, ptr %11, align 8
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisE, i32 0, i32 0, i32 2), ptr %32, align 8, !tbaa !13
  %33 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 1
  %34 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %34, ptr %33, align 8, !tbaa !15
  %35 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 2
  %36 = load double, ptr %16, align 8, !tbaa !11
  store double %36, ptr %35, align 8, !tbaa !30
  %37 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 3
  %38 = load i32, ptr %12, align 4, !tbaa !9
  %39 = load i32, ptr %13, align 4, !tbaa !9
  %40 = load double, ptr %17, align 8, !tbaa !11
  %41 = load double, ptr %18, align 8, !tbaa !11
  %42 = load double, ptr %19, align 8, !tbaa !11
  %43 = load double, ptr %20, align 8, !tbaa !11
  call void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112) %37, i32 noundef %38, i32 noundef %39, double noundef %40, double noundef %41, double noundef %42, double noundef %43, i1 noundef zeroext true)
  %44 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 4
  %45 = invoke noundef i32 @_ZNK4sptk46PerceptualLinearPredictiveCoefficientsAnalysis13GetNumChannelEv(ptr noundef nonnull align 8 dereferenceable(248) %32)
          to label %46 unwind label %89

46:                                               ; preds = %10
  %47 = mul nsw i32 2, %45
  %48 = add nsw i32 %47, 2
  invoke void @_ZN4sptk23InverseFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(16) %44, i32 noundef %48)
          to label %49 unwind label %89

49:                                               ; preds = %46
  %50 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 5
  %51 = load i32, ptr %14, align 4, !tbaa !9
  invoke void @_ZN4sptk23LevinsonDurbinRecursionC1Ei(ptr noundef nonnull align 8 dereferenceable(13) %50, i32 noundef %51)
          to label %52 unwind label %93

52:                                               ; preds = %49
  %53 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 6
  %54 = load i32, ptr %14, align 4, !tbaa !9
  %55 = load i32, ptr %14, align 4, !tbaa !9
  invoke void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumC1Eii(ptr noundef nonnull align 8 dereferenceable(17) %53, i32 noundef %54, i32 noundef %55)
          to label %56 unwind label %97

56:                                               ; preds = %52
  %57 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 7
  store i8 1, ptr %57, align 8, !tbaa !31
  %58 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #6
  %59 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %60 = load i32, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %14, align 4, !tbaa !9
  %62 = icmp sle i32 %60, %61
  br i1 %62, label %87, label %63

63:                                               ; preds = %56
  %64 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 1
  %65 = load i32, ptr %64, align 8, !tbaa !15
  %66 = icmp sle i32 %65, 0
  br i1 %66, label %87, label %67

67:                                               ; preds = %63
  %68 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 2
  %69 = load double, ptr %68, align 8, !tbaa !30
  %70 = fcmp ole double %69, 0.000000e+00
  br i1 %70, label %87, label %71

71:                                               ; preds = %67
  %72 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 3
  %73 = invoke noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112) %72)
          to label %74 unwind label %101

74:                                               ; preds = %71
  br i1 %73, label %75, label %87

75:                                               ; preds = %74
  %76 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 4
  %77 = invoke noundef zeroext i1 @_ZNK4sptk23InverseFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(16) %76)
          to label %78 unwind label %101

78:                                               ; preds = %75
  br i1 %77, label %79, label %87

79:                                               ; preds = %78
  %80 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 5
  %81 = invoke noundef zeroext i1 @_ZNK4sptk23LevinsonDurbinRecursion7IsValidEv(ptr noundef nonnull align 8 dereferenceable(13) %80)
          to label %82 unwind label %101

82:                                               ; preds = %79
  br i1 %81, label %83, label %87

83:                                               ; preds = %82
  %84 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 6
  %85 = invoke noundef zeroext i1 @_ZNK4sptk38LinearPredictiveCoefficientsToCepstrum7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17) %84)
          to label %86 unwind label %101

86:                                               ; preds = %83
  br i1 %85, label %105, label %87

87:                                               ; preds = %86, %82, %78, %74, %67, %63, %56
  %88 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 7
  store i8 0, ptr %88, align 8, !tbaa !31
  br label %199

89:                                               ; preds = %46, %10
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %21, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %22, align 4
  br label %204

93:                                               ; preds = %49
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %21, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %22, align 4
  br label %203

97:                                               ; preds = %52
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %21, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %22, align 4
  br label %202

101:                                              ; preds = %83, %79, %75, %71
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %21, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %22, align 4
  br label %201

105:                                              ; preds = %86
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %106 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 3
  %107 = invoke noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis20GetCenterFrequenciesEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(112) %106, ptr noundef %23)
          to label %108 unwind label %111

108:                                              ; preds = %105
  br i1 %107, label %115, label %109

109:                                              ; preds = %108
  %110 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 7
  store i8 0, ptr %110, align 8, !tbaa !31
  store i32 1, ptr %24, align 4
  br label %197

111:                                              ; preds = %115, %105
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %21, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %22, align 4
  br label %200

115:                                              ; preds = %108
  %116 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 8
  %117 = load i32, ptr %13, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118)
          to label %119 unwind label %111

119:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %120 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 8
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef 0) #6
  store ptr %121, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %122

122:                                              ; preds = %154, %119
  %123 = load i32, ptr %26, align 4, !tbaa !9
  %124 = load i32, ptr %13, align 4, !tbaa !9
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 2, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %157

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %128 = load i32, ptr %26, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %129) #6
  %131 = load double, ptr %130, align 8, !tbaa !11
  %132 = load i32, ptr %26, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %133) #6
  %135 = load double, ptr %134, align 8, !tbaa !11
  %136 = fmul double %131, %135
  store double %136, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %137 = load double, ptr %27, align 8, !tbaa !11
  %138 = load double, ptr %27, align 8, !tbaa !11
  %139 = fadd double %138, 1.600000e+05
  %140 = fdiv double %137, %139
  store double %140, ptr %28, align 8, !tbaa !11
  %141 = load double, ptr %28, align 8, !tbaa !11
  %142 = load double, ptr %28, align 8, !tbaa !11
  %143 = fmul double %141, %142
  %144 = load double, ptr %27, align 8, !tbaa !11
  %145 = fadd double %144, 1.440000e+06
  %146 = fmul double %143, %145
  %147 = load double, ptr %27, align 8, !tbaa !11
  %148 = fadd double %147, 9.610000e+06
  %149 = fdiv double %146, %148
  %150 = load ptr, ptr %25, align 8, !tbaa !5
  %151 = load i32, ptr %26, align 4, !tbaa !9
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds double, ptr %150, i64 %152
  store double %149, ptr %153, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %154

154:                                              ; preds = %127
  %155 = load i32, ptr %26, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %26, align 4, !tbaa !9
  br label %122, !llvm.loop !32

157:                                              ; preds = %126
  %158 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 9
  %159 = load i32, ptr %14, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef %160)
          to label %161 unwind label %169

161:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %162 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 9
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef 0) #6
  store ptr %163, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %193, %161
  %165 = load i32, ptr %30, align 4, !tbaa !9
  %166 = load i32, ptr %14, align 4, !tbaa !9
  %167 = icmp slt i32 %165, %166
  br i1 %167, label %173, label %168

168:                                              ; preds = %164
  store i32 5, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %196

169:                                              ; preds = %157
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %21, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %200

173:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %174 = load i32, ptr %30, align 4, !tbaa !9
  %175 = add nsw i32 %174, 1
  %176 = sitofp i32 %175 to double
  %177 = fmul double 0x400921FB54442D18, %176
  %178 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 1
  %179 = load i32, ptr %178, align 8, !tbaa !15
  %180 = sitofp i32 %179 to double
  %181 = fdiv double %177, %180
  store double %181, ptr %31, align 8, !tbaa !11
  %182 = getelementptr inbounds %"class.sptk::PerceptualLinearPredictiveCoefficientsAnalysis", ptr %32, i32 0, i32 1
  %183 = load i32, ptr %182, align 8, !tbaa !15
  %184 = sitofp i32 %183 to double
  %185 = fmul double 5.000000e-01, %184
  %186 = load double, ptr %31, align 8, !tbaa !11
  %187 = call double @sin(double noundef %186) #6
  %188 = call double @llvm.fmuladd.f64(double %185, double %187, double 1.000000e+00)
  %189 = load ptr, ptr %29, align 8, !tbaa !5
  %190 = load i32, ptr %30, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds double, ptr %189, i64 %191
  store double %188, ptr %192, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %193

193:                                              ; preds = %173
  %194 = load i32, ptr %30, align 4, !tbaa !9
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %30, align 4, !tbaa !9
  br label %164, !llvm.loop !34

196:                                              ; preds = %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  store i32 0, ptr %24, align 4
  br label %197

197:                                              ; preds = %196, %109
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  %198 = load i32, ptr %24, align 4
  switch i32 %198, label %210 [
    i32 0, label %199
    i32 1, label %199
  ]

199:                                              ; preds = %197, %197, %87
  ret void

200:                                              ; preds = %169, %111
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  br label %201

201:                                              ; preds = %200, %101
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #6
  call void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %53) #6
  br label %202

202:                                              ; preds = %201, %97
  call void @_ZN4sptk23LevinsonDurbinRecursionD2Ev(ptr noundef nonnull align 8 dereferenceable(13) %50) #6
  br label %203

203:                                              ; preds = %202, %93
  call void @_ZN4sptk23InverseFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %44) #6
  br label %204

204:                                              ; preds = %203, %89
  call void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #6
  br label %205

205:                                              ; preds = %204
  %206 = load ptr, ptr %21, align 8
  %207 = load i32, ptr %22, align 4
  %208 = insertvalue { ptr, i32 } poison, ptr %206, 0
  %209 = insertvalue { ptr, i32 } %208, i32 %207, 1
  resume { ptr, i32 } %209

210:                                              ; preds = %197
  unreachable
}

declare void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, i1 noundef zeroext) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4sptk46PerceptualLinearPredictiveCoefficientsAnalysis13GetNumChannelEv(ptr noundef nonnull align 8 dereferenceable(248)) #0 align 2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4sptk23InverseFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #1

declare void @_ZN4sptk23LevinsonDurbinRecursionC1Ei(ptr noundef nonnull align 8 dereferenceable(13), i32 noundef) unnamed_addr #1

declare void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumC1Eii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk23InverseFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk23LevinsonDurbinRecursion7IsValidEv(ptr noundef nonnull align 8 dereferenceable(13)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk38LinearPredictiveCoefficientsToCepstrum7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17)) #2 align 2

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

declare noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis20GetCenterFrequenciesEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

; Function Attrs: nounwind
declare double @sin(double noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumD2Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk23LevinsonDurbinRecursionD2Ev(ptr noundef nonnull align 8 dereferenceable(13)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk23InverseFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-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 willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 8}
!16 = !{!"_ZTSN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisE", !10, i64 8, !12, i64 16, !17, i64 24, !27, i64 136, !28, i64 152, !29, i64 168, !18, i64 192, !19, i64 200, !19, i64 224}
!17 = !{!"_ZTSN4sptk21MelFilterBankAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !18, i64 24, !18, i64 25, !10, i64 28, !10, i64 32, !19, i64 40, !23, i64 64, !19, i64 88}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIiSaIiEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSN4sptk23InverseFourierTransformE", !6, i64 8}
!28 = !{!"_ZTSN4sptk23LevinsonDurbinRecursionE", !10, i64 8, !18, i64 12}
!29 = !{!"_ZTSN4sptk38LinearPredictiveCoefficientsToCepstrumE", !10, i64 8, !10, i64 12, !18, i64 16}
!30 = !{!16, !12, i64 16}
!31 = !{!16, !18, i64 192}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}


; 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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTVN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisC2Eiiiiddddd(ptr noundef nonnull align 8 dereferenceable(248) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"class.std::vector", align 8
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisE, i64 16), ptr %0, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %4, ptr %12, align 8, !tbaa !8
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  store double %5, ptr %13, align 8, !tbaa !27
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112) %14, i32 noundef %1, i32 noundef %2, double noundef %6, double noundef %7, double noundef %8, double noundef %9, i1 noundef zeroext true)
  %15 = getelementptr inbounds i8, ptr %0, i64 136
  %16 = invoke noundef i32 @_ZNK4sptk46PerceptualLinearPredictiveCoefficientsAnalysis13GetNumChannelEv(ptr noundef nonnull align 8 dereferenceable(248) %0)
          to label %17 unwind label %42

17:                                               ; preds = %10
  %18 = shl nsw i32 %16, 1
  %19 = add nsw i32 %18, 2
  invoke void @_ZN4sptk23InverseFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef %19)
          to label %20 unwind label %42

20:                                               ; preds = %17
  %21 = getelementptr inbounds i8, ptr %0, i64 152
  invoke void @_ZN4sptk23LevinsonDurbinRecursionC1Ei(ptr noundef nonnull align 8 dereferenceable(13) %21, i32 noundef %3)
          to label %22 unwind label %44

22:                                               ; preds = %20
  %23 = getelementptr inbounds i8, ptr %0, i64 168
  invoke void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumC1Eii(ptr noundef nonnull align 8 dereferenceable(17) %23, i32 noundef %3, i32 noundef %3)
          to label %24 unwind label %46

24:                                               ; preds = %22
  %25 = getelementptr inbounds i8, ptr %0, i64 192
  store i8 1, ptr %25, align 8, !tbaa !28
  %26 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  %27 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %.not = icmp sgt i32 %2, %3
  %28 = load i32, ptr %12, align 8
  %29 = icmp sgt i32 %28, 0
  %or.cond.not55 = select i1 %.not, i1 %29, i1 false
  %30 = load double, ptr %13, align 8
  %31 = fcmp ugt double %30, 0.000000e+00
  %or.cond53 = select i1 %or.cond.not55, i1 %31, i1 false
  br i1 %or.cond53, label %32, label %41

32:                                               ; preds = %24
  %33 = tail call noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112) %14)
  br i1 %33, label %34, label %41

34:                                               ; preds = %32
  %35 = invoke noundef zeroext i1 @_ZNK4sptk23InverseFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %36 unwind label %48

36:                                               ; preds = %34
  br i1 %35, label %37, label %41

37:                                               ; preds = %36
  %38 = tail call noundef zeroext i1 @_ZNK4sptk23LevinsonDurbinRecursion7IsValidEv(ptr noundef nonnull align 8 dereferenceable(13) %21)
  br i1 %38, label %39, label %41

39:                                               ; preds = %37
  %40 = tail call noundef zeroext i1 @_ZNK4sptk38LinearPredictiveCoefficientsToCepstrum7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17) %23)
  br i1 %40, label %50, label %41

41:                                               ; preds = %39, %37, %36, %32, %24
  store i8 0, ptr %25, align 8, !tbaa !28
  br label %112

42:                                               ; preds = %17, %10
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %117

44:                                               ; preds = %20
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %116

46:                                               ; preds = %22
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %115

48:                                               ; preds = %34
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %114

50:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %51 = invoke noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis20GetCenterFrequenciesEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(112) %14, ptr noundef nonnull %11)
          to label %52 unwind label %54

52:                                               ; preds = %50
  br i1 %51, label %56, label %53

53:                                               ; preds = %52
  store i8 0, ptr %25, align 8, !tbaa !28
  br label %.loopexit

54:                                               ; preds = %56, %50
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %113

56:                                               ; preds = %52
  %57 = sext i32 %2 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %57)
          to label %58 unwind label %54

58:                                               ; preds = %56
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #6
  %60 = icmp sgt i32 %2, 0
  br i1 %60, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %58
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %58
  %61 = sext i32 %3 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %61)
          to label %75 unwind label %79

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv) #6
  %63 = load double, ptr %62, align 8, !tbaa !29
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %indvars.iv) #6
  %65 = load double, ptr %64, align 8, !tbaa !29
  %66 = fmul double %63, %65
  %67 = fadd double %66, 1.600000e+05
  %68 = fdiv double %66, %67
  %69 = fmul double %68, %68
  %70 = fadd double %66, 1.440000e+06
  %71 = fmul double %70, %69
  %72 = fadd double %66, 9.610000e+06
  %73 = fdiv double %71, %72
  %74 = getelementptr inbounds double, ptr %59, i64 %indvars.iv
  store double %73, ptr %74, align 8, !tbaa !29
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !30

75:                                               ; preds = %._crit_edge
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 0) #6
  %77 = icmp sgt i32 %3, 0
  br i1 %77, label %.lr.ph59.preheader, label %.loopexit

.lr.ph59.preheader:                               ; preds = %75
  %wide.trip.count64 = zext nneg i32 %3 to i64
  %xtraiter = and i64 %wide.trip.count64, 1
  %78 = icmp eq i32 %3, 1
  br i1 %78, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph59.preheader.new

.lr.ph59.preheader.new:                           ; preds = %.lr.ph59.preheader
  %unroll_iter = and i64 %wide.trip.count64, 2147483646
  br label %.lr.ph59

79:                                               ; preds = %._crit_edge
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %113

.lr.ph59:                                         ; preds = %.lr.ph59, %.lr.ph59.preheader.new
  %indvars.iv61 = phi i64 [ 0, %.lr.ph59.preheader.new ], [ %indvars.iv.next62.1, %.lr.ph59 ]
  %niter = phi i64 [ 0, %.lr.ph59.preheader.new ], [ %niter.next.1, %.lr.ph59 ]
  %indvars.iv.next62 = or disjoint i64 %indvars.iv61, 1
  %81 = trunc nuw nsw i64 %indvars.iv.next62 to i32
  %82 = uitofp nneg i32 %81 to double
  %83 = fmul double %82, 0x400921FB54442D18
  %84 = load i32, ptr %12, align 8, !tbaa !8
  %85 = sitofp i32 %84 to double
  %86 = fdiv double %83, %85
  %87 = fmul double %85, 5.000000e-01
  %88 = call double @sin(double noundef %86) #6
  %89 = call double @llvm.fmuladd.f64(double %87, double %88, double 1.000000e+00)
  %90 = getelementptr inbounds double, ptr %76, i64 %indvars.iv61
  store double %89, ptr %90, align 8, !tbaa !29
  %indvars.iv.next62.1 = add nuw nsw i64 %indvars.iv61, 2
  %91 = trunc nuw nsw i64 %indvars.iv.next62.1 to i32
  %92 = uitofp nneg i32 %91 to double
  %93 = fmul double %92, 0x400921FB54442D18
  %94 = load i32, ptr %12, align 8, !tbaa !8
  %95 = sitofp i32 %94 to double
  %96 = fdiv double %93, %95
  %97 = fmul double %95, 5.000000e-01
  %98 = call double @sin(double noundef %96) #6
  %99 = call double @llvm.fmuladd.f64(double %97, double %98, double 1.000000e+00)
  %100 = getelementptr inbounds double, ptr %76, i64 %indvars.iv.next62
  store double %99, ptr %100, align 8, !tbaa !29
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph59, !llvm.loop !32

.loopexit.loopexit.unr-lcssa:                     ; preds = %.lr.ph59, %.lr.ph59.preheader
  %indvars.iv61.unr = phi i64 [ 0, %.lr.ph59.preheader ], [ %indvars.iv.next62.1, %.lr.ph59 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.lr.ph59.epil

.lr.ph59.epil:                                    ; preds = %.loopexit.loopexit.unr-lcssa
  %101 = trunc i64 %indvars.iv61.unr to i32
  %102 = add i32 %101, 1
  %103 = uitofp nneg i32 %102 to double
  %104 = fmul double %103, 0x400921FB54442D18
  %105 = load i32, ptr %12, align 8, !tbaa !8
  %106 = sitofp i32 %105 to double
  %107 = fdiv double %104, %106
  %108 = fmul double %106, 5.000000e-01
  %109 = call double @sin(double noundef %107) #6
  %110 = call double @llvm.fmuladd.f64(double %108, double %109, double 1.000000e+00)
  %111 = getelementptr inbounds double, ptr %76, i64 %indvars.iv61.unr
  store double %110, ptr %111, align 8, !tbaa !29
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph59.epil, %.loopexit.loopexit.unr-lcssa, %75, %53
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %112

112:                                              ; preds = %.loopexit, %41
  ret void

113:                                              ; preds = %79, %54
  %.pn = phi { ptr, i32 } [ %80, %79 ], [ %55, %54 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %114

114:                                              ; preds = %113, %48
  %.pn.pn = phi { ptr, i32 } [ %.pn, %113 ], [ %49, %48 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %23) #6
  br label %115

115:                                              ; preds = %114, %46
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %114 ], [ %47, %46 ]
  call void @_ZN4sptk23LevinsonDurbinRecursionD2Ev(ptr noundef nonnull align 8 dereferenceable(13) %21) #6
  br label %116

116:                                              ; preds = %115, %44
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %115 ], [ %45, %44 ]
  call void @_ZN4sptk23InverseFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %117

117:                                              ; preds = %116, %42
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %116 ], [ %43, %42 ]
  call void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %14) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

declare void @_ZN4sptk21MelFilterBankAnalysisC1Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, i32 noundef, double noundef, double noundef, double noundef, double noundef, i1 noundef zeroext) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4sptk46PerceptualLinearPredictiveCoefficientsAnalysis13GetNumChannelEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN4sptk23InverseFourierTransformC1Ei(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #1

declare void @_ZN4sptk23LevinsonDurbinRecursionC1Ei(ptr noundef nonnull align 8 dereferenceable(13), i32 noundef) unnamed_addr #1

declare void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumC1Eii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk23InverseFourierTransform7IsValidEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk23LevinsonDurbinRecursion7IsValidEv(ptr noundef nonnull align 8 dereferenceable(13)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk38LinearPredictiveCoefficientsToCepstrum7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #2 align 2

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

declare noundef zeroext i1 @_ZNK4sptk21MelFilterBankAnalysis20GetCenterFrequenciesEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk38LinearPredictiveCoefficientsToCepstrumD2Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk23LevinsonDurbinRecursionD2Ev(ptr noundef nonnull align 8 dereferenceable(13)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk23InverseFourierTransformD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk21MelFilterBankAnalysisD2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #2 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 8}
!9 = !{!"_ZTSN4sptk46PerceptualLinearPredictiveCoefficientsAnalysisE", !10, i64 8, !12, i64 16, !13, i64 24, !24, i64 136, !25, i64 152, !26, i64 168, !14, i64 192, !15, i64 200, !15, i64 224}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"double", !11, i64 0}
!13 = !{!"_ZTSN4sptk21MelFilterBankAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !14, i64 24, !14, i64 25, !10, i64 28, !10, i64 32, !15, i64 40, !20, i64 64, !15, i64 88}
!14 = !{!"bool", !11, i64 0}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !11, i64 0}
!20 = !{!"_ZTSSt6vectorIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!24 = !{!"_ZTSN4sptk23InverseFourierTransformE", !19, i64 8}
!25 = !{!"_ZTSN4sptk23LevinsonDurbinRecursionE", !10, i64 8, !14, i64 12}
!26 = !{!"_ZTSN4sptk38LinearPredictiveCoefficientsToCepstrumE", !10, i64 8, !10, i64 12, !14, i64 16}
!27 = !{!9, !12, i64 16}
!28 = !{!9, !14, i64 192}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass