; LLVM IR from sp-nitech/SPTK :: src/analysis/mel_filter_bank_analysis.ll (ZN4sptk21MelFilterBankAnalysisC2Eiiddddb)

; 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.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.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 }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk21MelFilterBankAnalysisC2Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, i1 noundef zeroext %7) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca ptr, align 8
  %26 = alloca double, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca double, align 8
  %36 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store double %3, ptr %12, align 8, !tbaa !11
  store double %4, ptr %13, align 8, !tbaa !11
  store double %5, ptr %14, align 8, !tbaa !11
  store double %6, ptr %15, align 8, !tbaa !11
  %37 = zext i1 %7 to i8
  store i8 %37, ptr %16, align 1, !tbaa !13
  %38 = load ptr, ptr %9, align 8
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN4sptk21MelFilterBankAnalysisE, i32 0, i32 0, i32 2), ptr %38, align 8, !tbaa !15
  %39 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %40 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %40, ptr %39, align 8, !tbaa !17
  %41 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 2
  %42 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %42, ptr %41, align 4, !tbaa !27
  %43 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 3
  %44 = load double, ptr %15, align 8, !tbaa !11
  store double %44, ptr %43, align 8, !tbaa !28
  %45 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 4
  %46 = load i8, ptr %16, align 1, !tbaa !13, !range !29, !noundef !30
  %47 = trunc i8 %46 to i1
  %48 = zext i1 %47 to i8
  store i8 %48, ptr %45, align 8, !tbaa !31
  %49 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 5
  store i8 1, ptr %49, align 1, !tbaa !32
  %50 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #5
  %51 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  %52 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 10
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  %53 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !17
  %55 = icmp sle i32 %54, 0
  br i1 %55, label %84, label %56

56:                                               ; preds = %8
  %57 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !17
  %59 = srem i32 %58, 2
  %60 = icmp eq i32 1, %59
  br i1 %60, label %84, label %61

61:                                               ; preds = %56
  %62 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !27
  %64 = icmp sle i32 %63, 0
  br i1 %64, label %84, label %65

65:                                               ; preds = %61
  %66 = load double, ptr %12, align 8, !tbaa !11
  %67 = fcmp ole double %66, 0.000000e+00
  br i1 %67, label %84, label %68

68:                                               ; preds = %65
  %69 = load double, ptr %12, align 8, !tbaa !11
  %70 = fdiv double %69, 2.000000e+00
  %71 = load double, ptr %14, align 8, !tbaa !11
  %72 = fcmp olt double %70, %71
  br i1 %72, label %84, label %73

73:                                               ; preds = %68
  %74 = load double, ptr %13, align 8, !tbaa !11
  %75 = fcmp olt double %74, 0.000000e+00
  br i1 %75, label %84, label %76

76:                                               ; preds = %73
  %77 = load double, ptr %14, align 8, !tbaa !11
  %78 = load double, ptr %13, align 8, !tbaa !11
  %79 = fcmp ole double %77, %78
  br i1 %79, label %84, label %80

80:                                               ; preds = %76
  %81 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 3
  %82 = load double, ptr %81, align 8, !tbaa !28
  %83 = fcmp ole double %82, 0.000000e+00
  br i1 %83, label %84, label %86

84:                                               ; preds = %80, %76, %73, %68, %65, %61, %56, %8
  %85 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 5
  store i8 0, ptr %85, align 1, !tbaa !32
  br label %317

86:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 1, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %87 = load double, ptr %13, align 8, !tbaa !11
  %88 = load double, ptr %12, align 8, !tbaa !11
  %89 = fdiv double %87, %88
  %90 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %91 = load i32, ptr %90, align 8, !tbaa !17
  %92 = sitofp i32 %91 to double
  %93 = call double @llvm.fmuladd.f64(double %89, double %92, double 1.500000e+00)
  %94 = fptosi double %93 to i32
  store i32 %94, ptr %18, align 4, !tbaa !9
  %95 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %96 unwind label %137

96:                                               ; preds = %86
  %97 = load i32, ptr %95, align 4, !tbaa !9
  %98 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 6
  store i32 %97, ptr %98, align 4, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %99 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %100 = load i32, ptr %99, align 8, !tbaa !17
  %101 = sdiv i32 %100, 2
  store i32 %101, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %102 = load double, ptr %14, align 8, !tbaa !11
  %103 = load double, ptr %12, align 8, !tbaa !11
  %104 = fdiv double %102, %103
  %105 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %106 = load i32, ptr %105, align 8, !tbaa !17
  %107 = sitofp i32 %106 to double
  %108 = call double @llvm.fmuladd.f64(double %104, double %107, double 5.000000e-01)
  %109 = fptosi double %108 to i32
  store i32 %109, ptr %22, align 4, !tbaa !9
  %110 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %111 unwind label %141

111:                                              ; preds = %96
  %112 = load i32, ptr %110, align 4, !tbaa !9
  %113 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 7
  store i32 %112, ptr %113, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %114 = load double, ptr %13, align 8, !tbaa !11
  %115 = invoke noundef double @_ZN12_GLOBAL__N_17HzToMelEd(double noundef %114)
          to label %116 unwind label %145

116:                                              ; preds = %111
  store double %115, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %117 = load double, ptr %14, align 8, !tbaa !11
  %118 = invoke noundef double @_ZN12_GLOBAL__N_17HzToMelEd(double noundef %117)
          to label %119 unwind label %149

119:                                              ; preds = %116
  store double %118, ptr %24, align 8, !tbaa !11
  %120 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 8
  %121 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 2
  %122 = load i32, ptr %121, align 4, !tbaa !27
  %123 = add nsw i32 %122, 1
  %124 = sext i32 %123 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %124)
          to label %125 unwind label %149

125:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %126 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 8
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef 0) #5
  store ptr %127, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %128 = load double, ptr %24, align 8, !tbaa !11
  %129 = load double, ptr %23, align 8, !tbaa !11
  %130 = fsub double %128, %129
  store double %130, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %131

131:                                              ; preds = %170, %125
  %132 = load i32, ptr %27, align 4, !tbaa !9
  %133 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 2
  %134 = load i32, ptr %133, align 4, !tbaa !27
  %135 = icmp sle i32 %132, %134
  br i1 %135, label %153, label %136

136:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %173

137:                                              ; preds = %86
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %19, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %322

141:                                              ; preds = %96
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %19, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %322

145:                                              ; preds = %111
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %19, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %20, align 4
  br label %321

149:                                              ; preds = %119, %116
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %19, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %20, align 4
  br label %320

153:                                              ; preds = %131
  %154 = load double, ptr %26, align 8, !tbaa !11
  %155 = load i32, ptr %27, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  %157 = sitofp i32 %156 to double
  %158 = fmul double %154, %157
  %159 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 2
  %160 = load i32, ptr %159, align 4, !tbaa !27
  %161 = add nsw i32 %160, 1
  %162 = sitofp i32 %161 to double
  %163 = fdiv double %158, %162
  %164 = load double, ptr %23, align 8, !tbaa !11
  %165 = fadd double %163, %164
  %166 = load ptr, ptr %25, align 8, !tbaa !5
  %167 = load i32, ptr %27, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %166, i64 %168
  store double %165, ptr %169, align 8, !tbaa !11
  br label %170

170:                                              ; preds = %153
  %171 = load i32, ptr %27, align 4, !tbaa !9
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %27, align 4, !tbaa !9
  br label %131, !llvm.loop !35

173:                                              ; preds = %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %174 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 9
  %175 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %176 = load i32, ptr %175, align 8, !tbaa !17
  %177 = sdiv i32 %176, 2
  %178 = sext i32 %177 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 -1, ptr %28, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %174, i64 noundef %178, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %179 unwind label %190

179:                                              ; preds = %173
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %180 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 9
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %180, i64 noundef 0) #5
  store ptr %181, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %182 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 6
  %183 = load i32, ptr %182, align 4, !tbaa !33
  store i32 %183, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %184

184:                                              ; preds = %229, %179
  %185 = load i32, ptr %30, align 4, !tbaa !9
  %186 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 7
  %187 = load i32, ptr %186, align 8, !tbaa !34
  %188 = icmp slt i32 %185, %187
  br i1 %188, label %194, label %189

189:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %232

190:                                              ; preds = %173
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %19, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %319

194:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %195 = load i32, ptr %30, align 4, !tbaa !9
  %196 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %197 = load i32, ptr %196, align 8, !tbaa !17
  %198 = load double, ptr %12, align 8, !tbaa !11
  %199 = invoke noundef double @_ZN12_GLOBAL__N_19SampleMelEiid(i32 noundef %195, i32 noundef %197, double noundef %198)
          to label %200 unwind label %219

200:                                              ; preds = %194
  store double %199, ptr %32, align 8, !tbaa !11
  br label %201

201:                                              ; preds = %216, %200
  %202 = load ptr, ptr %25, align 8, !tbaa !5
  %203 = load i32, ptr %31, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds double, ptr %202, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !11
  %207 = load double, ptr %32, align 8, !tbaa !11
  %208 = fcmp olt double %206, %207
  br i1 %208, label %209, label %214

209:                                              ; preds = %201
  %210 = load i32, ptr %31, align 4, !tbaa !9
  %211 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 2
  %212 = load i32, ptr %211, align 4, !tbaa !27
  %213 = icmp sle i32 %210, %212
  br label %214

214:                                              ; preds = %209, %201
  %215 = phi i1 [ false, %201 ], [ %213, %209 ]
  br i1 %215, label %216, label %223

216:                                              ; preds = %214
  %217 = load i32, ptr %31, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %31, align 4, !tbaa !9
  br label %201, !llvm.loop !37

219:                                              ; preds = %194
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %19, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %318

223:                                              ; preds = %214
  %224 = load i32, ptr %31, align 4, !tbaa !9
  %225 = load ptr, ptr %29, align 8, !tbaa !5
  %226 = load i32, ptr %30, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds i32, ptr %225, i64 %227
  store i32 %224, ptr %228, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %229

229:                                              ; preds = %223
  %230 = load i32, ptr %30, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %30, align 4, !tbaa !9
  br label %184, !llvm.loop !38

232:                                              ; preds = %189
  %233 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 10
  %234 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %235 = load i32, ptr %234, align 8, !tbaa !17
  %236 = sdiv i32 %235, 2
  %237 = sext i32 %236 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %233, i64 noundef %237)
          to label %238 unwind label %249

238:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %239 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 10
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %239, i64 noundef 0) #5
  store ptr %240, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  %241 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 6
  %242 = load i32, ptr %241, align 4, !tbaa !33
  store i32 %242, ptr %34, align 4, !tbaa !9
  br label %243

243:                                              ; preds = %313, %238
  %244 = load i32, ptr %34, align 4, !tbaa !9
  %245 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 7
  %246 = load i32, ptr %245, align 8, !tbaa !34
  %247 = icmp slt i32 %244, %246
  br i1 %247, label %253, label %248

248:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %316

249:                                              ; preds = %232
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %19, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %20, align 4
  br label %318

253:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %254 = load i32, ptr %34, align 4, !tbaa !9
  %255 = getelementptr inbounds %"class.sptk::MelFilterBankAnalysis", ptr %38, i32 0, i32 1
  %256 = load i32, ptr %255, align 8, !tbaa !17
  %257 = load double, ptr %12, align 8, !tbaa !11
  %258 = invoke noundef double @_ZN12_GLOBAL__N_19SampleMelEiid(i32 noundef %254, i32 noundef %256, double noundef %257)
          to label %259 unwind label %292

259:                                              ; preds = %253
  store double %258, ptr %35, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %260 = load ptr, ptr %29, align 8, !tbaa !5
  %261 = load i32, ptr %34, align 4, !tbaa !9
  %262 = sext i32 %261 to i64
  %263 = getelementptr inbounds i32, ptr %260, i64 %262
  %264 = load i32, ptr %263, align 4, !tbaa !9
  store i32 %264, ptr %36, align 4, !tbaa !9
  %265 = load i32, ptr %36, align 4, !tbaa !9
  %266 = icmp slt i32 0, %265
  br i1 %266, label %267, label %296

267:                                              ; preds = %259
  %268 = load ptr, ptr %25, align 8, !tbaa !5
  %269 = load i32, ptr %36, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds double, ptr %268, i64 %270
  %272 = load double, ptr %271, align 8, !tbaa !11
  %273 = load double, ptr %35, align 8, !tbaa !11
  %274 = fsub double %272, %273
  %275 = load ptr, ptr %25, align 8, !tbaa !5
  %276 = load i32, ptr %36, align 4, !tbaa !9
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds double, ptr %275, i64 %277
  %279 = load double, ptr %278, align 8, !tbaa !11
  %280 = load ptr, ptr %25, align 8, !tbaa !5
  %281 = load i32, ptr %36, align 4, !tbaa !9
  %282 = sub nsw i32 %281, 1
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds double, ptr %280, i64 %283
  %285 = load double, ptr %284, align 8, !tbaa !11
  %286 = fsub double %279, %285
  %287 = fdiv double %274, %286
  %288 = load ptr, ptr %33, align 8, !tbaa !5
  %289 = load i32, ptr %34, align 4, !tbaa !9
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds double, ptr %288, i64 %290
  store double %287, ptr %291, align 8, !tbaa !11
  br label %312

292:                                              ; preds = %253
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %19, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %318

296:                                              ; preds = %259
  %297 = load ptr, ptr %25, align 8, !tbaa !5
  %298 = getelementptr inbounds double, ptr %297, i64 0
  %299 = load double, ptr %298, align 8, !tbaa !11
  %300 = load double, ptr %35, align 8, !tbaa !11
  %301 = fsub double %299, %300
  %302 = load ptr, ptr %25, align 8, !tbaa !5
  %303 = getelementptr inbounds double, ptr %302, i64 0
  %304 = load double, ptr %303, align 8, !tbaa !11
  %305 = load double, ptr %23, align 8, !tbaa !11
  %306 = fsub double %304, %305
  %307 = fdiv double %301, %306
  %308 = load ptr, ptr %33, align 8, !tbaa !5
  %309 = load i32, ptr %34, align 4, !tbaa !9
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds double, ptr %308, i64 %310
  store double %307, ptr %311, align 8, !tbaa !11
  br label %312

312:                                              ; preds = %296, %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  br label %313

313:                                              ; preds = %312
  %314 = load i32, ptr %34, align 4, !tbaa !9
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr %34, align 4, !tbaa !9
  br label %243, !llvm.loop !39

316:                                              ; preds = %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %317

317:                                              ; preds = %316, %84
  ret void

318:                                              ; preds = %292, %249, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %319

319:                                              ; preds = %318, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %320

320:                                              ; preds = %319, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %321

321:                                              ; preds = %320, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %322

322:                                              ; preds = %321, %141, %137
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %50) #5
  br label %323

323:                                              ; preds = %322
  %324 = load ptr, ptr %19, align 8
  %325 = load i32, ptr %20, align 4
  %326 = insertvalue { ptr, i32 } poison, ptr %324, 0
  %327 = insertvalue { ptr, i32 } %326, i32 %325, 1
  resume { ptr, i32 } %327
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN12_GLOBAL__N_17HzToMelEd(double 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) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN12_GLOBAL__N_19SampleMelEiid(i32 noundef, i32 noundef, double noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint 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 #5 = { 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 = !{!"bool", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"_ZTSN4sptk21MelFilterBankAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !14, i64 24, !14, i64 25, !10, i64 28, !10, i64 32, !19, i64 40, !23, i64 64, !19, i64 88}
!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 = !{!18, !10, i64 12}
!28 = !{!18, !12, i64 16}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!18, !14, i64 24}
!32 = !{!18, !14, i64 25}
!33 = !{!18, !10, i64 28}
!34 = !{!18, !10, i64 32}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}
!38 = distinct !{!38, !36}
!39 = distinct !{!39, !36}


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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk21MelFilterBankAnalysisC2Eiiddddb(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, i1 noundef zeroext %7) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %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
  %14 = zext i1 %7 to i8
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN4sptk21MelFilterBankAnalysisE, i64 16), ptr %0, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %1, ptr %15, align 8, !tbaa !8
  %16 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %2, ptr %16, align 4, !tbaa !23
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  store double %6, ptr %17, align 8, !tbaa !24
  %18 = getelementptr inbounds i8, ptr %0, i64 24
  store i8 %14, ptr %18, align 8, !tbaa !25
  %19 = getelementptr inbounds i8, ptr %0, i64 25
  store i8 1, ptr %19, align 1, !tbaa !26
  %20 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %21 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %23 = load i32, ptr %15, align 8, !tbaa !8
  %24 = icmp sgt i32 %23, 0
  %25 = and i32 %23, 1
  %.not = icmp eq i32 %25, 0
  %or.cond81 = and i1 %24, %.not
  br i1 %or.cond81, label %26, label %37

26:                                               ; preds = %8
  %27 = load i32, ptr %16, align 4, !tbaa !23
  %28 = icmp slt i32 %27, 1
  %29 = fcmp ole double %3, 0.000000e+00
  %or.cond = or i1 %29, %28
  br i1 %or.cond, label %37, label %30

30:                                               ; preds = %26
  %31 = fmul double %3, 5.000000e-01
  %32 = fcmp uge double %31, %5
  %33 = fcmp uge double %4, 0.000000e+00
  %or.cond3.not88 = and i1 %33, %32
  %34 = fcmp ugt double %5, %4
  %or.cond82 = and i1 %34, %or.cond3.not88
  %35 = load double, ptr %17, align 8
  %36 = fcmp ugt double %35, 0.000000e+00
  %or.cond84 = select i1 %or.cond82, i1 %36, i1 false
  br i1 %or.cond84, label %38, label %37

37:                                               ; preds = %30, %26, %8
  store i8 0, ptr %19, align 1, !tbaa !26
  br label %.loopexit

38:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 1, ptr %9, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %39 = fdiv double %4, %3
  %40 = uitofp nneg i32 %23 to double
  %41 = tail call double @llvm.fmuladd.f64(double %39, double %40, double 1.500000e+00)
  %42 = fptosi double %41 to i32
  store i32 %42, ptr %10, align 4, !tbaa !27
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %44 = load i32, ptr %43, align 4, !tbaa !27
  %45 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %44, ptr %45, align 4, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #5
  %46 = load i32, ptr %15, align 8, !tbaa !8
  %47 = sdiv i32 %46, 2
  store i32 %47, ptr %11, align 4, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %48 = fdiv double %5, %3
  %49 = sitofp i32 %46 to double
  %50 = call double @llvm.fmuladd.f64(double %48, double %49, double 5.000000e-01)
  %51 = fptosi double %50 to i32
  store i32 %51, ptr %12, align 4, !tbaa !27
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %53 = load i32, ptr %52, align 4, !tbaa !27
  %54 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %53, ptr %54, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #5
  %55 = call noundef double @_ZN12_GLOBAL__N_17HzToMelEd(double noundef %4)
  %56 = call noundef double @_ZN12_GLOBAL__N_17HzToMelEd(double noundef %5)
  %57 = load i32, ptr %16, align 4, !tbaa !23
  %58 = add nsw i32 %57, 1
  %59 = sext i32 %58 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %59)
          to label %60 unwind label %77

60:                                               ; preds = %38
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #5
  %62 = fsub double %56, %55
  %63 = load i32, ptr %16, align 4, !tbaa !23
  %.not7789 = icmp slt i32 %63, 0
  br i1 %.not7789, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %60
  %64 = add nuw i32 %63, 1
  %65 = sitofp i32 %64 to double
  %wide.trip.count = zext i32 %64 to i64
  %min.iters.check = icmp eq i32 %63, 0
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 4294967294
  %broadcast.splatinsert = insertelement <2 x double> poison, double %62, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert109 = insertelement <2 x double> poison, double %65, i64 0
  %broadcast.splat110 = shufflevector <2 x double> %broadcast.splatinsert109, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert111 = insertelement <2 x double> poison, double %55, i64 0
  %broadcast.splat112 = shufflevector <2 x double> %broadcast.splatinsert111, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i64> [ <i64 0, i64 1>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %66 = trunc <2 x i64> %vec.ind to <2 x i32>
  %67 = add <2 x i32> %66, <i32 1, i32 1>
  %68 = uitofp <2 x i32> %67 to <2 x double>
  %69 = fmul <2 x double> %broadcast.splat, %68
  %70 = fdiv <2 x double> %69, %broadcast.splat110
  %71 = fadd <2 x double> %broadcast.splat112, %70
  %72 = getelementptr inbounds double, ptr %61, i64 %index
  store <2 x double> %71, ptr %72, align 8, !tbaa !30
  %index.next = add nuw i64 %index, 2
  %vec.ind.next = add <2 x i64> %vec.ind, <i64 2, i64 2>
  %73 = icmp eq i64 %index.next, %n.vec
  br i1 %73, label %middle.block, label %vector.body, !llvm.loop !31

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %60
  %74 = load i32, ptr %15, align 8, !tbaa !8
  %75 = sdiv i32 %74, 2
  %76 = sext i32 %75 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  store i32 -1, ptr %13, align 4, !tbaa !27
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %76, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %85 unwind label %94

77:                                               ; preds = %38
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %144

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %79 = trunc nuw i64 %indvars.iv.next to i32
  %80 = uitofp nneg i32 %79 to double
  %81 = fmul double %62, %80
  %82 = fdiv double %81, %65
  %83 = fadd double %55, %82
  %84 = getelementptr inbounds double, ptr %61, i64 %indvars.iv
  store double %83, ptr %84, align 8, !tbaa !30
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !35

85:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0) #5
  %87 = load i32, ptr %45, align 4, !tbaa !28
  %88 = load i32, ptr %54, align 8, !tbaa !29
  %89 = icmp slt i32 %87, %88
  br i1 %89, label %.lr.ph94.preheader, label %._crit_edge95

.lr.ph94.preheader:                               ; preds = %85
  %90 = sext i32 %87 to i64
  br label %.lr.ph94

._crit_edge95:                                    ; preds = %.critedge, %85
  %91 = load i32, ptr %15, align 8, !tbaa !8
  %92 = sdiv i32 %91, 2
  %93 = sext i32 %92 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %93)
          to label %111 unwind label %117

94:                                               ; preds = %._crit_edge
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  br label %144

.lr.ph94:                                         ; preds = %.lr.ph94.preheader, %.critedge
  %indvars.iv103 = phi i64 [ %90, %.lr.ph94.preheader ], [ %indvars.iv.next104, %.critedge ]
  %.06991 = phi i64 [ 0, %.lr.ph94.preheader ], [ %indvars.iv100, %.critedge ]
  %96 = load i32, ptr %15, align 8, !tbaa !8
  %97 = trunc nsw i64 %indvars.iv103 to i32
  %98 = call noundef double @_ZN12_GLOBAL__N_19SampleMelEiid(i32 noundef %97, i32 noundef %96, double noundef %3)
  %99 = load i32, ptr %16, align 4
  %sext = shl i64 %.06991, 32
  %100 = ashr exact i64 %sext, 32
  %101 = sext i32 %99 to i64
  br label %102

102:                                              ; preds = %102, %.lr.ph94
  %indvars.iv100 = phi i64 [ %indvars.iv.next101, %102 ], [ %100, %.lr.ph94 ]
  %103 = getelementptr inbounds double, ptr %61, i64 %indvars.iv100
  %104 = load double, ptr %103, align 8, !tbaa !30
  %105 = fcmp uge double %104, %98
  %.not80 = icmp sgt i64 %indvars.iv100, %101
  %or.cond85 = select i1 %105, i1 true, i1 %.not80
  %indvars.iv.next101 = add nsw i64 %indvars.iv100, 1
  br i1 %or.cond85, label %.critedge, label %102, !llvm.loop !36

.critedge:                                        ; preds = %102
  %106 = trunc nsw i64 %indvars.iv100 to i32
  %107 = getelementptr inbounds i32, ptr %86, i64 %indvars.iv103
  store i32 %106, ptr %107, align 4, !tbaa !27
  %indvars.iv.next104 = add nsw i64 %indvars.iv103, 1
  %108 = load i32, ptr %54, align 8, !tbaa !29
  %109 = sext i32 %108 to i64
  %110 = icmp slt i64 %indvars.iv.next104, %109
  br i1 %110, label %.lr.ph94, label %._crit_edge95, !llvm.loop !37

111:                                              ; preds = %._crit_edge95
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #5
  %113 = load i32, ptr %45, align 4, !tbaa !28
  %114 = load i32, ptr %54, align 8, !tbaa !29
  %115 = icmp slt i32 %113, %114
  br i1 %115, label %.lr.ph98.preheader, label %.loopexit

.lr.ph98.preheader:                               ; preds = %111
  %116 = sext i32 %113 to i64
  br label %.lr.ph98

117:                                              ; preds = %._crit_edge95
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %144

.lr.ph98:                                         ; preds = %.lr.ph98.preheader, %139
  %indvars.iv106 = phi i64 [ %116, %.lr.ph98.preheader ], [ %indvars.iv.next107, %139 ]
  %119 = load i32, ptr %15, align 8, !tbaa !8
  %120 = trunc nsw i64 %indvars.iv106 to i32
  %121 = call noundef double @_ZN12_GLOBAL__N_19SampleMelEiid(i32 noundef %120, i32 noundef %119, double noundef %3)
  %122 = getelementptr inbounds i32, ptr %86, i64 %indvars.iv106
  %123 = load i32, ptr %122, align 4, !tbaa !27
  %124 = icmp sgt i32 %123, 0
  br i1 %124, label %125, label %134

125:                                              ; preds = %.lr.ph98
  %126 = zext nneg i32 %123 to i64
  %127 = getelementptr inbounds double, ptr %61, i64 %126
  %128 = load double, ptr %127, align 8, !tbaa !30
  %129 = fsub double %128, %121
  %130 = getelementptr i8, ptr %127, i64 -8
  %131 = load double, ptr %130, align 8, !tbaa !30
  %132 = fsub double %128, %131
  %133 = fdiv double %129, %132
  br label %139

134:                                              ; preds = %.lr.ph98
  %135 = load double, ptr %61, align 8, !tbaa !30
  %136 = fsub double %135, %121
  %137 = fsub double %135, %55
  %138 = fdiv double %136, %137
  br label %139

139:                                              ; preds = %134, %125
  %.sink = phi double [ %133, %125 ], [ %138, %134 ]
  %140 = getelementptr inbounds double, ptr %112, i64 %indvars.iv106
  store double %.sink, ptr %140, align 8
  %indvars.iv.next107 = add nsw i64 %indvars.iv106, 1
  %141 = load i32, ptr %54, align 8, !tbaa !29
  %142 = sext i32 %141 to i64
  %143 = icmp slt i64 %indvars.iv.next107, %142
  br i1 %143, label %.lr.ph98, label %.loopexit, !llvm.loop !38

.loopexit:                                        ; preds = %139, %111, %37
  ret void

144:                                              ; preds = %94, %117, %77
  %.pn.pn = phi { ptr, i32 } [ %78, %77 ], [ %118, %117 ], [ %95, %94 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  resume { ptr, i32 } %.pn.pn
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN12_GLOBAL__N_17HzToMelEd(double 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 #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN12_GLOBAL__N_19SampleMelEiid(i32 noundef, i32 noundef, double noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint 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 #5 = { 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 = !{!"_ZTSN4sptk21MelFilterBankAnalysisE", !10, i64 8, !10, i64 12, !12, i64 16, !13, i64 24, !13, i64 25, !10, i64 28, !10, i64 32, !14, i64 40, !19, i64 64, !14, i64 88}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!"double", !11, i64 0}
!13 = !{!"bool", !11, i64 0}
!14 = !{!"_ZTSSt6vectorIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !11, i64 0}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!9, !10, i64 12}
!24 = !{!9, !12, i64 16}
!25 = !{!9, !13, i64 24}
!26 = !{!9, !13, i64 25}
!27 = !{!10, !10, i64 0}
!28 = !{!9, !10, i64 28}
!29 = !{!9, !10, i64 32}
!30 = !{!12, !12, i64 0}
!31 = distinct !{!31, !32, !33, !34}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!"llvm.loop.isvectorized", i32 1}
!34 = !{!"llvm.loop.unroll.runtime.disable"}
!35 = distinct !{!35, !32, !34, !33}
!36 = distinct !{!36, !32}
!37 = distinct !{!37, !32}
!38 = distinct !{!38, !32}


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