; LLVM IR from napulen/justkeydding :: nnls-chroma-1.1/chromamethods.ll (Z13logFreqMatrixiiPf)

; 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<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z7cospulsfff(float noundef, float noundef, float noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z12pitchCospulsffi(float noundef, float noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z13logFreqMatrixiiPf(i32 noundef %0, i32 noundef %1, ptr noundef %2) #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca float, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca i32, align 4
  %32 = alloca float, align 4
  %33 = alloca i32, align 4
  %34 = alloca float, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 3, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 7, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 80, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %58, %3
  %41 = load i32, ptr %12, align 4, !tbaa !5
  %42 = load i32, ptr %5, align 4, !tbaa !5
  %43 = sdiv i32 %42, 2
  %44 = icmp slt i32 %41, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %65

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %47 = load i32, ptr %12, align 4, !tbaa !5
  %48 = sitofp i32 %47 to double
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = sitofp i32 %49 to double
  %51 = fmul double %50, 1.000000e+00
  %52 = load i32, ptr %5, align 4, !tbaa !5
  %53 = sitofp i32 %52 to double
  %54 = fdiv double %51, %53
  %55 = fmul double %48, %54
  %56 = fptrunc double %55 to float
  store float %56, ptr %13, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %57 unwind label %61

57:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %58

58:                                               ; preds = %57
  %59 = load i32, ptr %12, align 4, !tbaa !5
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %12, align 4, !tbaa !5
  br label %40, !llvm.loop !13

61:                                               ; preds = %46
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %14, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %321

65:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = sitofp i32 %66 to double
  %68 = fmul double %67, 2.000000e+00
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = sitofp i32 %69 to double
  %71 = fdiv double %68, %70
  %72 = fptrunc double %71 to float
  store float %72, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %96, %65
  %74 = load i32, ptr %18, align 4, !tbaa !5
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = load i32, ptr %5, align 4, !tbaa !5
  %77 = mul nsw i32 %75, %76
  %78 = sdiv i32 %77, 2
  %79 = icmp slt i32 %74, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %103

81:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %82 = load i32, ptr %18, align 4, !tbaa !5
  %83 = sitofp i32 %82 to double
  %84 = load i32, ptr %4, align 4, !tbaa !5
  %85 = sitofp i32 %84 to double
  %86 = fmul double %85, 1.000000e+00
  %87 = load i32, ptr %5, align 4, !tbaa !5
  %88 = sitofp i32 %87 to double
  %89 = fdiv double %86, %88
  %90 = load i32, ptr %10, align 4, !tbaa !5
  %91 = sitofp i32 %90 to double
  %92 = fdiv double %89, %91
  %93 = fmul double %83, %92
  %94 = fptrunc double %93 to float
  store float %94, ptr %19, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %95 unwind label %99

95:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %18, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %18, align 4, !tbaa !5
  br label %73, !llvm.loop !15

99:                                               ; preds = %81
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %14, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %320

103:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %104 = load i32, ptr %8, align 4, !tbaa !5
  %105 = mul nsw i32 %104, 12
  %106 = add nsw i32 21, %105
  %107 = sub nsw i32 %106, 1
  store i32 %107, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %108 = load i32, ptr %9, align 4, !tbaa !5
  %109 = mul nsw i32 %108, 12
  %110 = add nsw i32 21, %109
  store i32 %110, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %111 = load i32, ptr %7, align 4, !tbaa !5
  %112 = sitofp i32 %111 to double
  %113 = fdiv double 1.000000e+00, %112
  %114 = fptrunc double %113 to float
  store float %114, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %115 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %115, ptr %24, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %149, %103
  %117 = load i32, ptr %24, align 4, !tbaa !5
  %118 = load i32, ptr %21, align 4, !tbaa !5
  %119 = icmp slt i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  store i32 8, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %152

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %122

122:                                              ; preds = %141, %121
  %123 = load i32, ptr %26, align 4, !tbaa !5
  %124 = load i32, ptr %7, align 4, !tbaa !5
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %127, label %126

126:                                              ; preds = %122
  store i32 11, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %148

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %128 = load i32, ptr %24, align 4, !tbaa !5
  %129 = sitofp i32 %128 to float
  %130 = load float, ptr %23, align 4, !tbaa !11
  %131 = load i32, ptr %26, align 4, !tbaa !5
  %132 = sitofp i32 %131 to float
  %133 = call float @llvm.fmuladd.f32(float %130, float %132, float %129)
  %134 = fsub float %133, 6.900000e+01
  %135 = fpext float %134 to double
  %136 = fmul double 0x3FB555555554F782, %135
  %137 = call double @pow(double noundef 2.000000e+00, double noundef %136) #5
  %138 = fmul double 4.400000e+02, %137
  %139 = fptrunc double %138 to float
  store float %139, ptr %27, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %140 unwind label %144

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

141:                                              ; preds = %140
  %142 = load i32, ptr %26, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %26, align 4, !tbaa !5
  br label %122, !llvm.loop !16

144:                                              ; preds = %127
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %14, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %319

148:                                              ; preds = %126
  br label %149

149:                                              ; preds = %148
  %150 = load i32, ptr %24, align 4, !tbaa !5
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %24, align 4, !tbaa !5
  br label %116, !llvm.loop !17

152:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %153 = load i32, ptr %21, align 4, !tbaa !5
  %154 = sub nsw i32 %153, 69
  %155 = sitofp i32 %154 to double
  %156 = fmul double 8.333300e-02, %155
  %157 = call double @pow(double noundef 2.000000e+00, double noundef %156) #5
  %158 = fmul double 4.400000e+02, %157
  %159 = fptrunc double %158 to float
  store float %159, ptr %28, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %160 unwind label %169

160:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %161 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %162 = trunc i64 %161 to i32
  store i32 %162, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %184, %160
  %164 = load i32, ptr %31, align 4, !tbaa !5
  %165 = load i32, ptr %10, align 4, !tbaa !5
  %166 = mul nsw i32 2, %165
  %167 = icmp slt i32 %164, %166
  br i1 %167, label %173, label %168

168:                                              ; preds = %163
  store i32 14, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %191

169:                                              ; preds = %152
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %14, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %319

173:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %174 = load i32, ptr %31, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %175) #5
  %177 = load float, ptr %176, align 4, !tbaa !11
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef 1) #5
  %179 = load float, ptr %178, align 4, !tbaa !11
  %180 = load float, ptr %16, align 4, !tbaa !11
  %181 = invoke noundef float @_Z7cospulsfff(float noundef %177, float noundef %179, float noundef %180)
          to label %182 unwind label %187

182:                                              ; preds = %173
  store float %181, ptr %32, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %183 unwind label %187

183:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %184

184:                                              ; preds = %183
  %185 = load i32, ptr %31, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %31, align 4, !tbaa !5
  br label %163, !llvm.loop !18

187:                                              ; preds = %182, %173
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %14, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %318

191:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !5
  br label %192

192:                                              ; preds = %205, %191
  %193 = load i32, ptr %33, align 4, !tbaa !5
  %194 = load i32, ptr %29, align 4, !tbaa !5
  %195 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %196 = trunc i64 %195 to i32
  %197 = mul nsw i32 %194, %196
  %198 = icmp slt i32 %193, %197
  br i1 %198, label %200, label %199

199:                                              ; preds = %192
  store i32 17, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %208

200:                                              ; preds = %192
  %201 = load ptr, ptr %6, align 8, !tbaa !9
  %202 = load i32, ptr %33, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds float, ptr %201, i64 %203
  store float 0.000000e+00, ptr %204, align 4, !tbaa !11
  br label %205

205:                                              ; preds = %200
  %206 = load i32, ptr %33, align 4, !tbaa !5
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %33, align 4, !tbaa !5
  br label %192, !llvm.loop !19

208:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  store i32 1, ptr %35, align 4, !tbaa !5
  br label %209

209:                                              ; preds = %314, %208
  %210 = load i32, ptr %35, align 4, !tbaa !5
  %211 = load i32, ptr %29, align 4, !tbaa !5
  %212 = icmp slt i32 %210, %211
  br i1 %212, label %214, label %213

213:                                              ; preds = %209
  store i32 20, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %317

214:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %215 = load i32, ptr %10, align 4, !tbaa !5
  %216 = load i32, ptr %35, align 4, !tbaa !5
  %217 = mul nsw i32 %215, %216
  %218 = load i32, ptr %10, align 4, !tbaa !5
  %219 = sub nsw i32 %217, %218
  store i32 %219, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  %220 = load i32, ptr %10, align 4, !tbaa !5
  %221 = load i32, ptr %35, align 4, !tbaa !5
  %222 = mul nsw i32 %220, %221
  %223 = load i32, ptr %10, align 4, !tbaa !5
  %224 = add nsw i32 %222, %223
  store i32 %224, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 0, ptr %38, align 4, !tbaa !5
  br label %225

225:                                              ; preds = %310, %214
  %226 = load i32, ptr %38, align 4, !tbaa !5
  %227 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %228 = trunc i64 %227 to i32
  %229 = icmp slt i32 %226, %228
  br i1 %229, label %231, label %230

230:                                              ; preds = %225
  store i32 23, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %313

231:                                              ; preds = %225
  %232 = load i32, ptr %38, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %233) #5
  %235 = load float, ptr %234, align 4, !tbaa !11
  %236 = fpext float %235 to double
  %237 = call double @pow(double noundef 2.000000e+00, double noundef 8.400000e-02) #5
  %238 = load float, ptr %16, align 4, !tbaa !11
  %239 = fpext float %238 to double
  %240 = call double @llvm.fmuladd.f64(double %236, double %237, double %239)
  %241 = load i32, ptr %35, align 4, !tbaa !5
  %242 = sext i32 %241 to i64
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %242) #5
  %244 = load float, ptr %243, align 4, !tbaa !11
  %245 = fpext float %244 to double
  %246 = fcmp ogt double %240, %245
  br i1 %246, label %247, label %309

247:                                              ; preds = %231
  %248 = load i32, ptr %38, align 4, !tbaa !5
  %249 = sext i32 %248 to i64
  %250 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %249) #5
  %251 = load float, ptr %250, align 4, !tbaa !11
  %252 = fpext float %251 to double
  %253 = call double @pow(double noundef 2.000000e+00, double noundef -1.680000e-01) #5
  %254 = load float, ptr %16, align 4, !tbaa !11
  %255 = fpext float %254 to double
  %256 = fneg double %255
  %257 = call double @llvm.fmuladd.f64(double %252, double %253, double %256)
  %258 = load i32, ptr %35, align 4, !tbaa !5
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %259) #5
  %261 = load float, ptr %260, align 4, !tbaa !11
  %262 = fpext float %261 to double
  %263 = fcmp olt double %257, %262
  br i1 %263, label %264, label %309

264:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %265 = load i32, ptr %36, align 4, !tbaa !5
  store i32 %265, ptr %39, align 4, !tbaa !5
  br label %266

266:                                              ; preds = %301, %264
  %267 = load i32, ptr %39, align 4, !tbaa !5
  %268 = load i32, ptr %37, align 4, !tbaa !5
  %269 = icmp slt i32 %267, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %266
  store i32 26, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %308

271:                                              ; preds = %266
  %272 = load i32, ptr %39, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %273) #5
  %275 = load float, ptr %274, align 4, !tbaa !11
  %276 = load i32, ptr %38, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %277) #5
  %279 = load float, ptr %278, align 4, !tbaa !11
  %280 = load i32, ptr %7, align 4, !tbaa !5
  %281 = mul nsw i32 %280, 12
  %282 = invoke noundef float @_Z12pitchCospulsffi(float noundef %275, float noundef %279, i32 noundef %281)
          to label %283 unwind label %304

283:                                              ; preds = %271
  store float %282, ptr %34, align 4, !tbaa !11
  %284 = load float, ptr %34, align 4, !tbaa !11
  %285 = load i32, ptr %39, align 4, !tbaa !5
  %286 = load i32, ptr %36, align 4, !tbaa !5
  %287 = sub nsw i32 %285, %286
  %288 = sext i32 %287 to i64
  %289 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %288) #5
  %290 = load float, ptr %289, align 4, !tbaa !11
  %291 = load ptr, ptr %6, align 8, !tbaa !9
  %292 = load i32, ptr %35, align 4, !tbaa !5
  %293 = load i32, ptr %29, align 4, !tbaa !5
  %294 = load i32, ptr %38, align 4, !tbaa !5
  %295 = mul nsw i32 %293, %294
  %296 = add nsw i32 %292, %295
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds float, ptr %291, i64 %297
  %299 = load float, ptr %298, align 4, !tbaa !11
  %300 = call float @llvm.fmuladd.f32(float %284, float %290, float %299)
  store float %300, ptr %298, align 4, !tbaa !11
  br label %301

301:                                              ; preds = %283
  %302 = load i32, ptr %39, align 4, !tbaa !5
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr %39, align 4, !tbaa !5
  br label %266, !llvm.loop !20

304:                                              ; preds = %271
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %14, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %318

308:                                              ; preds = %270
  br label %309

309:                                              ; preds = %308, %247, %231
  br label %310

310:                                              ; preds = %309
  %311 = load i32, ptr %38, align 4, !tbaa !5
  %312 = add nsw i32 %311, 1
  store i32 %312, ptr %38, align 4, !tbaa !5
  br label %225, !llvm.loop !21

313:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %314

314:                                              ; preds = %313
  %315 = load i32, ptr %35, align 4, !tbaa !5
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %35, align 4, !tbaa !5
  br label %209, !llvm.loop !22

317:                                              ; preds = %213
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  ret i1 true

318:                                              ; preds = %304, %187
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %319

319:                                              ; preds = %318, %169, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %320

320:                                              ; preds = %319, %99
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %321

321:                                              ; preds = %320, %61
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %322

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 speculatable willreturn memory(none) }
attributes #3 = { 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 #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 = { nounwind }

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

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


; 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<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z7cospulsfff(float noundef, float noundef, float noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z12pitchCospulsffi(float noundef, float noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z13logFreqMatrixiiPf(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca float, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca float, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %13 = sdiv i32 %1, 2
  %14 = icmp sgt i32 %1, 1
  %15 = sitofp i32 %0 to double
  br i1 %14, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %3
  %.pre134 = sitofp i32 %1 to double
  br label %._crit_edge

.lr.ph:                                           ; preds = %3
  %16 = uitofp nneg i32 %1 to double
  %17 = fdiv double %15, %16
  br label %25

._crit_edge:                                      ; preds = %29, %.._crit_edge_crit_edge
  %.pre-phi135 = phi double [ %.pre134, %.._crit_edge_crit_edge ], [ %16, %29 ]
  %18 = fmul double %15, 2.000000e+00
  %19 = fdiv double %18, %.pre-phi135
  %20 = fptrunc double %19 to float
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %21 = icmp sgt i32 %1, 0
  br i1 %21, label %.lr.ph99, label %._crit_edge100

.lr.ph99:                                         ; preds = %._crit_edge
  %22 = mul i32 %1, 40
  %23 = fdiv double %15, %.pre-phi135
  %24 = fdiv double %23, 8.000000e+01
  %smax = call i32 @llvm.smax.i32(i32 %22, i32 1)
  br label %33

25:                                               ; preds = %.lr.ph, %29
  %.07396 = phi i32 [ 0, %.lr.ph ], [ %30, %29 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %26 = uitofp nneg i32 %.07396 to double
  %27 = fmul double %17, %26
  %28 = fptrunc double %27 to float
  store float %28, ptr %5, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %29 unwind label %31

29:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  %30 = add nuw nsw i32 %.07396, 1
  %exitcond.not = icmp eq i32 %30, %13
  br i1 %exitcond.not, label %._crit_edge, label %25, !llvm.loop !9

31:                                               ; preds = %25
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %142

._crit_edge100:                                   ; preds = %37, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %.preheader95

33:                                               ; preds = %.lr.ph99, %37
  %.08297 = phi i32 [ 0, %.lr.ph99 ], [ %38, %37 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %34 = uitofp nneg i32 %.08297 to double
  %35 = fmul double %24, %34
  %36 = fptrunc double %35 to float
  store float %36, ptr %7, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %37 unwind label %39

37:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  %38 = add nuw nsw i32 %.08297, 1
  %exitcond114.not = icmp eq i32 %38, %smax
  br i1 %exitcond114.not, label %._crit_edge100, label %33, !llvm.loop !11

39:                                               ; preds = %33
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %141

.preheader95:                                     ; preds = %._crit_edge100, %62
  %.084102 = phi i32 [ 20, %._crit_edge100 ], [ %63, %62 ]
  %41 = uitofp nneg i32 %.084102 to float
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %42 = fadd float %41, -6.900000e+01
  %43 = fpext float %42 to double
  %44 = fmul double %43, 0x3FB555555554F782
  %exp2 = call double @exp2(double %44)
  %45 = fmul double %exp2, 4.400000e+02
  %46 = fptrunc double %45 to float
  store float %46, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %48 unwind label %64

47:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  store float 0x40AB7FF100000000, ptr %10, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %66 unwind label %73

48:                                               ; preds = %.preheader95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %49 = fadd float %41, 0x3FD5555560000000
  %50 = fadd float %49, -6.900000e+01
  %51 = fpext float %50 to double
  %52 = fmul double %51, 0x3FB555555554F782
  %exp2.1 = call double @exp2(double %52)
  %53 = fmul double %exp2.1, 4.400000e+02
  %54 = fptrunc double %53 to float
  store float %54, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %55 unwind label %64

55:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  %56 = fadd float %41, 0x3FE5555560000000
  %57 = fadd float %56, -6.900000e+01
  %58 = fpext float %57 to double
  %59 = fmul double %58, 0x3FB555555554F782
  %exp2.2 = call double @exp2(double %59)
  %60 = fmul double %exp2.2, 4.400000e+02
  %61 = fptrunc double %60 to float
  store float %61, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backEOf(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %62 unwind label %64

62:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  %63 = add nuw nsw i32 %.084102, 1
  %exitcond116.not = icmp eq i32 %63, 105
  br i1 %exitcond116.not, label %47, label %.preheader95, !llvm.loop !12

64:                                               ; preds = %55, %48, %.preheader95
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  br label %140

66:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %67 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %68 = trunc i64 %67 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIfSaIfEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %75

.preheader94:                                     ; preds = %82
  %69 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %70 = trunc i64 %69 to i32
  %71 = mul nsw i32 %70, %68
  %72 = icmp sgt i32 %71, 0
  br i1 %72, label %.lr.ph105, label %.preheader93

73:                                               ; preds = %47
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %140

75:                                               ; preds = %66, %82
  %indvars.iv = phi i64 [ 0, %66 ], [ %indvars.iv.next, %82 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #5
  %77 = load float, ptr %76, align 4, !tbaa !5
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 1) #5
  %79 = load float, ptr %78, align 4, !tbaa !5
  %80 = invoke noundef float @_Z7cospulsfff(float noundef %77, float noundef %79, float noundef %20)
          to label %81 unwind label %83

81:                                               ; preds = %75
  store float %80, ptr %12, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIfSaIfEE9push_backERKf(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %82 unwind label %83

82:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond118.not = icmp eq i64 %indvars.iv.next, 160
  br i1 %exitcond118.not, label %.preheader94, label %75, !llvm.loop !13

83:                                               ; preds = %81, %75
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  br label %139

.preheader93:                                     ; preds = %.lr.ph105, %.preheader94
  %85 = icmp sgt i32 %68, 1
  br i1 %85, label %.lr.ph112, label %._crit_edge113

.lr.ph112:                                        ; preds = %.preheader93
  %86 = fpext float %20 to double
  %87 = fneg double %86
  %88 = and i64 %67, 2147483647
  br label %94

.lr.ph105:                                        ; preds = %.preheader94, %.lr.ph105
  %indvars.iv119 = phi i64 [ %indvars.iv.next120, %.lr.ph105 ], [ 0, %.preheader94 ]
  %89 = getelementptr inbounds float, ptr %2, i64 %indvars.iv119
  store float 0.000000e+00, ptr %89, align 4, !tbaa !5
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %90 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %91 = mul i64 %90, %67
  %sext = shl i64 %91, 32
  %92 = ashr exact i64 %sext, 32
  %93 = icmp slt i64 %indvars.iv.next120, %92
  br i1 %93, label %.lr.ph105, label %.preheader93, !llvm.loop !14

._crit_edge113:                                   ; preds = %._crit_edge110, %.preheader93
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  ret i1 true

94:                                               ; preds = %.lr.ph112, %._crit_edge110
  %indvars.iv130 = phi i64 [ 1, %.lr.ph112 ], [ %indvars.iv.next131, %._crit_edge110 ]
  %indvars.iv122 = phi i32 [ 0, %.lr.ph112 ], [ %indvars.iv.next123, %._crit_edge110 ]
  %95 = sext i32 %indvars.iv122 to i64
  %96 = mul nuw nsw i64 %indvars.iv130, 80
  %97 = add nsw i64 %96, -80
  %98 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %99 = trunc i64 %98 to i32
  %100 = icmp sgt i32 %99, 0
  br i1 %100, label %.lr.ph109, label %._crit_edge110

.lr.ph109:                                        ; preds = %94
  %invariant.gep = getelementptr inbounds float, ptr %2, i64 %indvars.iv130
  %101 = add nuw nsw i64 %96, 79
  br label %102

._crit_edge110:                                   ; preds = %.loopexit, %94
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %indvars.iv.next123 = add i32 %indvars.iv122, 80
  %exitcond133.not = icmp eq i64 %indvars.iv.next131, %88
  br i1 %exitcond133.not, label %._crit_edge113, label %94, !llvm.loop !15

102:                                              ; preds = %.lr.ph109, %.loopexit
  %indvars.iv127 = phi i64 [ 0, %.lr.ph109 ], [ %indvars.iv.next128, %.loopexit ]
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv127) #5
  %104 = load float, ptr %103, align 4, !tbaa !5
  %105 = fpext float %104 to double
  %106 = call double @llvm.fmuladd.f64(double %105, double 0x3FF0F5910CBFED8E, double %86)
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv130) #5
  %108 = load float, ptr %107, align 4, !tbaa !5
  %109 = fpext float %108 to double
  %110 = fcmp ogt double %106, %109
  br i1 %110, label %111, label %.loopexit

111:                                              ; preds = %102
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv127) #5
  %113 = load float, ptr %112, align 4, !tbaa !5
  %114 = fpext float %113 to double
  %115 = call double @llvm.fmuladd.f64(double %114, double 0x3FEC7B801AA90BD0, double %87)
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv130) #5
  %117 = load float, ptr %116, align 4, !tbaa !5
  %118 = fpext float %117 to double
  %119 = fcmp olt double %115, %118
  br i1 %119, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %111
  %120 = mul nuw nsw i64 %indvars.iv127, %88
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %120
  br label %121

121:                                              ; preds = %.preheader, %127
  %indvars.iv124 = phi i64 [ %95, %.preheader ], [ %indvars.iv.next125, %127 ]
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv124) #5
  %123 = load float, ptr %122, align 4, !tbaa !5
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv127) #5
  %125 = load float, ptr %124, align 4, !tbaa !5
  %126 = invoke noundef float @_Z12pitchCospulsffi(float noundef %123, float noundef %125, i32 noundef 36)
          to label %127 unwind label %134

127:                                              ; preds = %121
  %128 = sub nsw i64 %indvars.iv124, %97
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %128) #5
  %130 = load float, ptr %129, align 4, !tbaa !5
  %131 = load float, ptr %gep, align 4, !tbaa !5
  %132 = call float @llvm.fmuladd.f32(float %126, float %130, float %131)
  store float %132, ptr %gep, align 4, !tbaa !5
  %indvars.iv.next125 = add nsw i64 %indvars.iv124, 1
  %133 = icmp slt i64 %indvars.iv124, %101
  br i1 %133, label %121, label %.loopexit, !llvm.loop !16

134:                                              ; preds = %121
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %139

.loopexit:                                        ; preds = %127, %102, %111
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %136 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %sext136 = shl i64 %136, 32
  %137 = ashr exact i64 %sext136, 32
  %138 = icmp slt i64 %indvars.iv.next128, %137
  br i1 %138, label %102, label %._crit_edge110, !llvm.loop !17

139:                                              ; preds = %134, %83
  %.pn = phi { ptr, i32 } [ %84, %83 ], [ %135, %134 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br label %140

140:                                              ; preds = %139, %73, %64
  %.pn87 = phi { ptr, i32 } [ %65, %64 ], [ %.pn, %139 ], [ %74, %73 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %141

141:                                              ; preds = %140, %39
  %.pn89 = phi { ptr, i32 } [ %40, %39 ], [ %.pn87, %140 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %142

142:                                              ; preds = %141, %31
  %.pn91 = phi { ptr, i32 } [ %32, %31 ], [ %.pn89, %141 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn91
}

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

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

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

declare double @exp2(double) local_unnamed_addr

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass