; LLVM IR from sp-nitech/SPTK :: src/conversion (linear_predictive_coefficients_to_line_spectral_pairs)

; 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::LinearPredictiveCoefficientsToLineSpectralPairs" = type <{ ptr, i32, i32, i32, i32, i32, [4 x i8], double, i8, [7 x i8] }>
%"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector" }
%"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 }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk47LinearPredictiveCoefficientsToLineSpectralPairs3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) #0 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca ptr, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8
  %36 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 8
  %37 = load i8, ptr %36, align 8, !tbaa !9, !range !14, !noundef !15
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %53

39:                                               ; preds = %4
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  %42 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = add nsw i32 %43, 1
  %45 = sext i32 %44 to i64
  %46 = icmp ne i64 %41, %45
  br i1 %46, label %53, label %47

47:                                               ; preds = %39
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = icmp eq ptr null, %48
  br i1 %49, label %53, label %50

50:                                               ; preds = %47
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = icmp eq ptr null, %51
  br i1 %52, label %53, label %54

53:                                               ; preds = %50, %47, %39, %4
  store i1 false, ptr %5, align 1
  br label %394

54:                                               ; preds = %50
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #5
  %57 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %58 = load i32, ptr %57, align 8, !tbaa !16
  %59 = add nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  %61 = icmp ne i64 %56, %60
  br i1 %61, label %62, label %68

62:                                               ; preds = %54
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %65 = load i32, ptr %64, align 8, !tbaa !16
  %66 = add nsw i32 %65, 1
  %67 = sext i32 %66 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %67)
  br label %68

68:                                               ; preds = %62, %54
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %69, i32 0, i32 1
  %71 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #5
  %72 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 2
  %73 = load i32, ptr %72, align 4, !tbaa !17
  %74 = add nsw i32 %73, 1
  %75 = sext i32 %74 to i64
  %76 = icmp ne i64 %71, %75
  br i1 %76, label %77, label %84

77:                                               ; preds = %68
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %78, i32 0, i32 1
  %80 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 2
  %81 = load i32, ptr %80, align 4, !tbaa !17
  %82 = add nsw i32 %81, 1
  %83 = sext i32 %82 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %83)
  br label %84

84:                                               ; preds = %77, %68
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %85, i32 0, i32 2
  %87 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #5
  %88 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 3
  %89 = load i32, ptr %88, align 8, !tbaa !18
  %90 = add nsw i32 %89, 1
  %91 = sext i32 %90 to i64
  %92 = icmp ne i64 %87, %91
  br i1 %92, label %93, label %100

93:                                               ; preds = %84
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %94, i32 0, i32 2
  %96 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 3
  %97 = load i32, ptr %96, align 8, !tbaa !18
  %98 = add nsw i32 %97, 1
  %99 = sext i32 %98 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %99)
  br label %100

100:                                              ; preds = %93, %84
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef 0) #5
  %103 = load double, ptr %102, align 8, !tbaa !19
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef 0) #5
  store double %103, ptr %105, align 8, !tbaa !19
  %106 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !16
  %108 = icmp eq i32 0, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %100
  store i1 true, ptr %5, align 1
  br label %394

110:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %111, i32 0, i32 1
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef 0) #5
  store ptr %113, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %114, i32 0, i32 2
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %115, i64 noundef 0) #5
  store ptr %116, ptr %11, align 8, !tbaa !5
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 2
  %119 = load i32, ptr %118, align 4, !tbaa !17
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %117, i64 %120
  store double 1.000000e+00, ptr %121, align 8, !tbaa !19
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 3
  %124 = load i32, ptr %123, align 8, !tbaa !18
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %122, i64 %125
  store double 1.000000e+00, ptr %126, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef 0) #5
  %129 = getelementptr inbounds double, ptr %128, i64 1
  store ptr %129, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef 0) #5
  %132 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %133 = load i32, ptr %132, align 8, !tbaa !16
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds double, ptr %131, i64 %134
  store ptr %135, ptr %13, align 8, !tbaa !5
  %136 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %137 = load i32, ptr %136, align 8, !tbaa !16
  %138 = srem i32 %137, 2
  %139 = icmp eq i32 %138, 0
  br i1 %139, label %140, label %189

140:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %141 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 2
  %142 = load i32, ptr %141, align 4, !tbaa !17
  %143 = sub nsw i32 %142, 1
  store i32 %143, ptr %14, align 4, !tbaa !20
  br label %144

144:                                              ; preds = %181, %140
  %145 = load i32, ptr %14, align 4, !tbaa !20
  %146 = icmp sle i32 0, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %188

148:                                              ; preds = %144
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load double, ptr %149, align 8, !tbaa !19
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = load double, ptr %151, align 8, !tbaa !19
  %153 = fadd double %150, %152
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = load i32, ptr %14, align 4, !tbaa !20
  %156 = add nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds double, ptr %154, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !19
  %160 = fsub double %153, %159
  %161 = load ptr, ptr %10, align 8, !tbaa !5
  %162 = load i32, ptr %14, align 4, !tbaa !20
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds double, ptr %161, i64 %163
  store double %160, ptr %164, align 8, !tbaa !19
  %165 = load ptr, ptr %12, align 8, !tbaa !5
  %166 = load double, ptr %165, align 8, !tbaa !19
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = load double, ptr %167, align 8, !tbaa !19
  %169 = fsub double %166, %168
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = load i32, ptr %14, align 4, !tbaa !20
  %172 = add nsw i32 %171, 1
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds double, ptr %170, i64 %173
  %175 = load double, ptr %174, align 8, !tbaa !19
  %176 = fadd double %169, %175
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = load i32, ptr %14, align 4, !tbaa !20
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds double, ptr %177, i64 %179
  store double %176, ptr %180, align 8, !tbaa !19
  br label %181

181:                                              ; preds = %148
  %182 = load i32, ptr %14, align 4, !tbaa !20
  %183 = add nsw i32 %182, -1
  store i32 %183, ptr %14, align 4, !tbaa !20
  %184 = load ptr, ptr %12, align 8, !tbaa !5
  %185 = getelementptr inbounds double, ptr %184, i32 1
  store ptr %185, ptr %12, align 8, !tbaa !5
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds double, ptr %186, i32 -1
  store ptr %187, ptr %13, align 8, !tbaa !5
  br label %144, !llvm.loop !21

188:                                              ; preds = %147
  br label %253

189:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %190 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 3
  %191 = load i32, ptr %190, align 8, !tbaa !18
  %192 = sub nsw i32 %191, 1
  store i32 %192, ptr %15, align 4, !tbaa !20
  br label %193

193:                                              ; preds = %238, %189
  %194 = load i32, ptr %15, align 4, !tbaa !20
  %195 = icmp sle i32 0, %194
  br i1 %195, label %197, label %196

196:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %245

197:                                              ; preds = %193
  %198 = load ptr, ptr %12, align 8, !tbaa !5
  %199 = load double, ptr %198, align 8, !tbaa !19
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = load double, ptr %200, align 8, !tbaa !19
  %202 = fadd double %199, %201
  %203 = load ptr, ptr %10, align 8, !tbaa !5
  %204 = load i32, ptr %15, align 4, !tbaa !20
  %205 = add nsw i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds double, ptr %203, i64 %206
  store double %202, ptr %207, align 8, !tbaa !19
  %208 = load i32, ptr %15, align 4, !tbaa !20
  %209 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 3
  %210 = load i32, ptr %209, align 8, !tbaa !18
  %211 = sub nsw i32 %210, 1
  %212 = icmp eq i32 %208, %211
  br i1 %212, label %213, label %219

213:                                              ; preds = %197
  %214 = load ptr, ptr %12, align 8, !tbaa !5
  %215 = load double, ptr %214, align 8, !tbaa !19
  %216 = load ptr, ptr %13, align 8, !tbaa !5
  %217 = load double, ptr %216, align 8, !tbaa !19
  %218 = fsub double %215, %217
  br label %232

219:                                              ; preds = %197
  %220 = load ptr, ptr %12, align 8, !tbaa !5
  %221 = load double, ptr %220, align 8, !tbaa !19
  %222 = load ptr, ptr %13, align 8, !tbaa !5
  %223 = load double, ptr %222, align 8, !tbaa !19
  %224 = fsub double %221, %223
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = load i32, ptr %15, align 4, !tbaa !20
  %227 = add nsw i32 %226, 2
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds double, ptr %225, i64 %228
  %230 = load double, ptr %229, align 8, !tbaa !19
  %231 = fadd double %224, %230
  br label %232

232:                                              ; preds = %219, %213
  %233 = phi double [ %218, %213 ], [ %231, %219 ]
  %234 = load ptr, ptr %11, align 8, !tbaa !5
  %235 = load i32, ptr %15, align 4, !tbaa !20
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds double, ptr %234, i64 %236
  store double %233, ptr %237, align 8, !tbaa !19
  br label %238

238:                                              ; preds = %232
  %239 = load i32, ptr %15, align 4, !tbaa !20
  %240 = add nsw i32 %239, -1
  store i32 %240, ptr %15, align 4, !tbaa !20
  %241 = load ptr, ptr %12, align 8, !tbaa !5
  %242 = getelementptr inbounds double, ptr %241, i32 1
  store ptr %242, ptr %12, align 8, !tbaa !5
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  %244 = getelementptr inbounds double, ptr %243, i32 -1
  store ptr %244, ptr %13, align 8, !tbaa !5
  br label %193, !llvm.loop !23

245:                                              ; preds = %196
  %246 = load ptr, ptr %12, align 8, !tbaa !5
  %247 = load double, ptr %246, align 8, !tbaa !19
  %248 = load ptr, ptr %13, align 8, !tbaa !5
  %249 = load double, ptr %248, align 8, !tbaa !19
  %250 = fadd double %247, %249
  %251 = load ptr, ptr %10, align 8, !tbaa !5
  %252 = getelementptr inbounds double, ptr %251, i64 0
  store double %250, ptr %252, align 8, !tbaa !19
  br label %253

253:                                              ; preds = %245, %188
  %254 = load ptr, ptr %10, align 8, !tbaa !5
  %255 = getelementptr inbounds double, ptr %254, i64 0
  %256 = load double, ptr %255, align 8, !tbaa !19
  %257 = fmul double %256, 5.000000e-01
  store double %257, ptr %255, align 8, !tbaa !19
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds double, ptr %258, i64 0
  %260 = load double, ptr %259, align 8, !tbaa !19
  %261 = fmul double %260, 5.000000e-01
  store double %261, ptr %259, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %262 = load ptr, ptr %9, align 8, !tbaa !5
  %263 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %262, i32 0, i32 1
  store ptr %263, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store double 1.000000e+00, ptr %18, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %264 = load ptr, ptr %16, align 8, !tbaa !5
  %265 = load double, ptr %18, align 8, !tbaa !19
  %266 = call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %264, double noundef %265)
  store double %266, ptr %19, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %267 = load ptr, ptr %8, align 8, !tbaa !5
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %267, i64 noundef 0) #5
  store ptr %268, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %269 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 4
  %270 = load i32, ptr %269, align 4, !tbaa !24
  %271 = sitofp i32 %270 to double
  %272 = fdiv double 1.000000e+00, %271
  store double %272, ptr %21, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %273 = load double, ptr %21, align 8, !tbaa !19
  %274 = fsub double 1.000000e+00, %273
  store double %274, ptr %22, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %275 = load double, ptr %21, align 8, !tbaa !19
  %276 = fsub double -1.000000e+00, %275
  store double %276, ptr %23, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %277 = load double, ptr %22, align 8, !tbaa !19
  store double %277, ptr %24, align 8, !tbaa !19
  br label %278

278:                                              ; preds = %386, %253
  %279 = load double, ptr %23, align 8, !tbaa !19
  %280 = load double, ptr %24, align 8, !tbaa !19
  %281 = fcmp olt double %279, %280
  br i1 %281, label %283, label %282

282:                                              ; preds = %278
  store i32 8, ptr %25, align 4
  br label %390

283:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %284 = load ptr, ptr %16, align 8, !tbaa !5
  %285 = load double, ptr %24, align 8, !tbaa !19
  %286 = call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %284, double noundef %285)
  store double %286, ptr %26, align 8, !tbaa !19
  %287 = load double, ptr %26, align 8, !tbaa !19
  %288 = load double, ptr %19, align 8, !tbaa !19
  %289 = fmul double %287, %288
  %290 = fcmp ole double %289, 0.000000e+00
  br i1 %290, label %291, label %380

291:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %292 = load double, ptr %24, align 8, !tbaa !19
  store double %292, ptr %27, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %293 = load double, ptr %18, align 8, !tbaa !19
  store double %293, ptr %28, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %294 = load double, ptr %26, align 8, !tbaa !19
  store double %294, ptr %29, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %295 = load double, ptr %19, align 8, !tbaa !19
  store double %295, ptr %30, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !20
  br label %296

296:                                              ; preds = %331, %291
  %297 = load i32, ptr %31, align 4, !tbaa !20
  %298 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 5
  %299 = load i32, ptr %298, align 8, !tbaa !25
  %300 = icmp slt i32 %297, %299
  br i1 %300, label %302, label %301

301:                                              ; preds = %296
  store i32 11, ptr %25, align 4
  br label %334

302:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %303 = load double, ptr %27, align 8, !tbaa !19
  %304 = load double, ptr %28, align 8, !tbaa !19
  %305 = fadd double %303, %304
  %306 = fmul double %305, 5.000000e-01
  store double %306, ptr %32, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %307 = load ptr, ptr %16, align 8, !tbaa !5
  %308 = load double, ptr %32, align 8, !tbaa !19
  %309 = call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %307, double noundef %308)
  store double %309, ptr %33, align 8, !tbaa !19
  %310 = load double, ptr %33, align 8, !tbaa !19
  %311 = load double, ptr %30, align 8, !tbaa !19
  %312 = fmul double %310, %311
  %313 = fcmp ole double %312, 0.000000e+00
  br i1 %313, label %314, label %317

314:                                              ; preds = %302
  %315 = load double, ptr %32, align 8, !tbaa !19
  store double %315, ptr %27, align 8, !tbaa !19
  %316 = load double, ptr %33, align 8, !tbaa !19
  store double %316, ptr %29, align 8, !tbaa !19
  br label %320

317:                                              ; preds = %302
  %318 = load double, ptr %32, align 8, !tbaa !19
  store double %318, ptr %28, align 8, !tbaa !19
  %319 = load double, ptr %33, align 8, !tbaa !19
  store double %319, ptr %30, align 8, !tbaa !19
  br label %320

320:                                              ; preds = %317, %314
  %321 = load double, ptr %33, align 8, !tbaa !19
  %322 = call double @llvm.fabs.f64(double %321)
  %323 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 7
  %324 = load double, ptr %323, align 8, !tbaa !26
  %325 = fcmp ole double %322, %324
  br i1 %325, label %326, label %327

326:                                              ; preds = %320
  store i32 11, ptr %25, align 4
  br label %328

327:                                              ; preds = %320
  store i32 0, ptr %25, align 4
  br label %328

328:                                              ; preds = %327, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  %329 = load i32, ptr %25, align 4
  switch i32 %329, label %334 [
    i32 0, label %330
  ]

330:                                              ; preds = %328
  br label %331

331:                                              ; preds = %330
  %332 = load i32, ptr %31, align 4, !tbaa !20
  %333 = add nsw i32 %332, 1
  store i32 %333, ptr %31, align 4, !tbaa !20
  br label %296, !llvm.loop !27

334:                                              ; preds = %328, %301
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %335

335:                                              ; preds = %334
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %336 = load double, ptr %29, align 8, !tbaa !19
  %337 = load double, ptr %28, align 8, !tbaa !19
  %338 = load double, ptr %30, align 8, !tbaa !19
  %339 = load double, ptr %27, align 8, !tbaa !19
  %340 = fmul double %338, %339
  %341 = fneg double %340
  %342 = call double @llvm.fmuladd.f64(double %336, double %337, double %341)
  %343 = load double, ptr %29, align 8, !tbaa !19
  %344 = load double, ptr %30, align 8, !tbaa !19
  %345 = fsub double %343, %344
  %346 = fdiv double %342, %345
  store double %346, ptr %34, align 8, !tbaa !19
  %347 = load double, ptr %34, align 8, !tbaa !19
  %348 = call double @acos(double noundef %347) #5
  %349 = fdiv double %348, 0x401921FB54442D18
  %350 = load ptr, ptr %20, align 8, !tbaa !5
  %351 = load i32, ptr %17, align 4, !tbaa !20
  %352 = add nsw i32 %351, 1
  store i32 %352, ptr %17, align 4, !tbaa !20
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds double, ptr %350, i64 %353
  store double %349, ptr %354, align 8, !tbaa !19
  %355 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs", ptr %35, i32 0, i32 1
  %356 = load i32, ptr %355, align 8, !tbaa !16
  %357 = load i32, ptr %17, align 4, !tbaa !20
  %358 = icmp eq i32 %356, %357
  br i1 %358, label %359, label %360

359:                                              ; preds = %335
  store i1 true, ptr %5, align 1
  store i32 1, ptr %25, align 4
  br label %377

360:                                              ; preds = %335
  %361 = load ptr, ptr %16, align 8, !tbaa !5
  %362 = load ptr, ptr %9, align 8, !tbaa !5
  %363 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %362, i32 0, i32 1
  %364 = icmp eq ptr %361, %363
  br i1 %364, label %365, label %368

365:                                              ; preds = %360
  %366 = load ptr, ptr %9, align 8, !tbaa !5
  %367 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %366, i32 0, i32 2
  br label %371

368:                                              ; preds = %360
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  %370 = getelementptr inbounds %"class.sptk::LinearPredictiveCoefficientsToLineSpectralPairs::Buffer", ptr %369, i32 0, i32 1
  br label %371

371:                                              ; preds = %368, %365
  %372 = phi ptr [ %367, %365 ], [ %370, %368 ]
  store ptr %372, ptr %16, align 8, !tbaa !5
  %373 = load double, ptr %34, align 8, !tbaa !19
  store double %373, ptr %24, align 8, !tbaa !19
  %374 = load ptr, ptr %16, align 8, !tbaa !5
  %375 = load double, ptr %24, align 8, !tbaa !19
  %376 = call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %374, double noundef %375)
  store double %376, ptr %26, align 8, !tbaa !19
  store i32 0, ptr %25, align 4
  br label %377

377:                                              ; preds = %371, %359
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  %378 = load i32, ptr %25, align 4
  switch i32 %378, label %383 [
    i32 0, label %379
  ]

379:                                              ; preds = %377
  br label %380

380:                                              ; preds = %379, %283
  %381 = load double, ptr %24, align 8, !tbaa !19
  store double %381, ptr %18, align 8, !tbaa !19
  %382 = load double, ptr %26, align 8, !tbaa !19
  store double %382, ptr %19, align 8, !tbaa !19
  store i32 0, ptr %25, align 4
  br label %383

383:                                              ; preds = %380, %377
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %384 = load i32, ptr %25, align 4
  switch i32 %384, label %390 [
    i32 0, label %385
  ]

385:                                              ; preds = %383
  br label %386

386:                                              ; preds = %385
  %387 = load double, ptr %21, align 8, !tbaa !19
  %388 = load double, ptr %24, align 8, !tbaa !19
  %389 = fsub double %388, %387
  store double %389, ptr %24, align 8, !tbaa !19
  br label %278, !llvm.loop !28

390:                                              ; preds = %383, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  %391 = load i32, ptr %25, align 4
  switch i32 %391, label %393 [
    i32 8, label %392
  ]

392:                                              ; preds = %390
  store i1 false, ptr %5, align 1
  store i32 1, ptr %25, align 4
  br label %393

393:                                              ; preds = %392, %390
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %394

394:                                              ; preds = %393, %109, %53
  %395 = load i1, ptr %5, align 1
  ret i1 %395
}

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

; 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 @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 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: 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24), double noundef) #1

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

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

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

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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 40}
!10 = !{!"_ZTSN4sptk47LinearPredictiveCoefficientsToLineSpectralPairsE", !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !12, i64 32, !13, i64 40}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!10, !11, i64 8}
!17 = !{!10, !11, i64 12}
!18 = !{!10, !11, i64 16}
!19 = !{!12, !12, i64 0}
!20 = !{!11, !11, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!10, !11, i64 20}
!25 = !{!10, !11, i64 24}
!26 = !{!10, !12, i64 32}
!27 = distinct !{!27, !22}
!28 = distinct !{!28, !22}


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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk47LinearPredictiveCoefficientsToLineSpectralPairs3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(41) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = load i8, ptr %5, align 8, !tbaa !5, !range !12, !noundef !13
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %8, label %.critedge

8:                                                ; preds = %4
  %9 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !14
  %12 = add nsw i32 %11, 1
  %13 = sext i32 %12 to i64
  %14 = icmp ne i64 %9, %13
  %15 = icmp eq ptr %2, null
  %or.cond = or i1 %15, %14
  %16 = icmp eq ptr %3, null
  %or.cond6 = or i1 %16, %or.cond
  br i1 %or.cond6, label %.critedge, label %17

17:                                               ; preds = %8
  %18 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %19 = load i32, ptr %10, align 8, !tbaa !14
  %20 = add nsw i32 %19, 1
  %21 = sext i32 %20 to i64
  %.not = icmp eq i64 %18, %21
  br i1 %.not, label %23, label %22

22:                                               ; preds = %17
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %21)
  br label %23

23:                                               ; preds = %22, %17
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  %26 = getelementptr inbounds i8, ptr %0, i64 12
  %27 = load i32, ptr %26, align 4, !tbaa !15
  %28 = add nsw i32 %27, 1
  %29 = sext i32 %28 to i64
  %.not162 = icmp eq i64 %25, %29
  br i1 %.not162, label %31, label %30

30:                                               ; preds = %23
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %29)
  br label %31

31:                                               ; preds = %30, %23
  %32 = getelementptr inbounds i8, ptr %3, i64 32
  %33 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  %34 = getelementptr inbounds i8, ptr %0, i64 16
  %35 = load i32, ptr %34, align 8, !tbaa !16
  %36 = add nsw i32 %35, 1
  %37 = sext i32 %36 to i64
  %.not163 = icmp eq i64 %33, %37
  br i1 %.not163, label %39, label %38

38:                                               ; preds = %31
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %37)
  br label %39

39:                                               ; preds = %38, %31
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #4
  %41 = load double, ptr %40, align 8, !tbaa !17
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  store double %41, ptr %42, align 8, !tbaa !17
  %43 = load i32, ptr %10, align 8, !tbaa !14
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %.critedge, label %45

45:                                               ; preds = %39
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #4
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #4
  %48 = load i32, ptr %26, align 4, !tbaa !15
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds double, ptr %46, i64 %49
  store double 1.000000e+00, ptr %50, align 8, !tbaa !17
  %51 = load i32, ptr %34, align 8, !tbaa !16
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds double, ptr %47, i64 %52
  store double 1.000000e+00, ptr %53, align 8, !tbaa !17
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #4
  %55 = getelementptr inbounds i8, ptr %54, i64 8
  %56 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #4
  %57 = load i32, ptr %10, align 8, !tbaa !14
  %58 = sext i32 %57 to i64
  %59 = getelementptr double, ptr %56, i64 %58
  %60 = and i32 %57, 1
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %124

62:                                               ; preds = %45
  %63 = load i32, ptr %26, align 4, !tbaa !15
  %64 = icmp sgt i32 %63, 0
  br i1 %64, label %.lr.ph185.lver.check, label %.loopexit

.lr.ph185.lver.check:                             ; preds = %62
  %65 = zext nneg i32 %63 to i64
  %66 = shl nuw nsw i64 %65, 3
  %67 = add nuw nsw i64 %66, 8
  %scevgep258 = getelementptr i8, ptr %46, i64 %67
  %scevgep259 = getelementptr i8, ptr %47, i64 %67
  %bound0260 = icmp ult ptr %46, %scevgep259
  %bound1261 = icmp ult ptr %47, %scevgep258
  %found.conflict262 = and i1 %bound0260, %bound1261
  br i1 %found.conflict262, label %.lr.ph185.lver.orig, label %.lr.ph185.ph

.lr.ph185.lver.orig:                              ; preds = %.lr.ph185.lver.check, %.lr.ph185.lver.orig
  %indvars.iv218.lver.orig = phi i64 [ %indvars.iv.next219.lver.orig, %.lr.ph185.lver.orig ], [ %65, %.lr.ph185.lver.check ]
  %.0117183.lver.orig = phi ptr [ %82, %.lr.ph185.lver.orig ], [ %55, %.lr.ph185.lver.check ]
  %.0119182.lver.orig = phi ptr [ %83, %.lr.ph185.lver.orig ], [ %59, %.lr.ph185.lver.check ]
  %indvars.iv.next219.lver.orig = add nsw i64 %indvars.iv218.lver.orig, -1
  %68 = load double, ptr %.0117183.lver.orig, align 8, !tbaa !17
  %69 = load double, ptr %.0119182.lver.orig, align 8, !tbaa !17
  %70 = fadd double %68, %69
  %71 = getelementptr inbounds double, ptr %46, i64 %indvars.iv218.lver.orig
  %72 = load double, ptr %71, align 8, !tbaa !17
  %73 = fsub double %70, %72
  %74 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next219.lver.orig
  store double %73, ptr %74, align 8, !tbaa !17
  %75 = load double, ptr %.0117183.lver.orig, align 8, !tbaa !17
  %76 = load double, ptr %.0119182.lver.orig, align 8, !tbaa !17
  %77 = fsub double %75, %76
  %78 = getelementptr inbounds double, ptr %47, i64 %indvars.iv218.lver.orig
  %79 = load double, ptr %78, align 8, !tbaa !17
  %80 = fadd double %77, %79
  %81 = getelementptr inbounds double, ptr %47, i64 %indvars.iv.next219.lver.orig
  store double %80, ptr %81, align 8, !tbaa !17
  %82 = getelementptr inbounds i8, ptr %.0117183.lver.orig, i64 8
  %83 = getelementptr inbounds i8, ptr %.0119182.lver.orig, i64 -8
  %84 = icmp ugt i64 %indvars.iv218.lver.orig, 1
  br i1 %84, label %.lr.ph185.lver.orig, label %.loopexit, !llvm.loop !18

.lr.ph185.ph:                                     ; preds = %.lr.ph185.lver.check
  %85 = shl nuw nsw i64 %65, 3
  %scevgep264 = getelementptr i8, ptr %46, i64 %85
  %load_initial = load double, ptr %scevgep264, align 8
  %scevgep265 = getelementptr i8, ptr %47, i64 %85
  %load_initial266 = load double, ptr %scevgep265, align 8
  %xtraiter = and i64 %65, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph185.prol.loopexit, label %.lr.ph185.prol

.lr.ph185.prol:                                   ; preds = %.lr.ph185.ph
  %indvars.iv.next219.prol = add nsw i64 %65, -1
  %86 = load double, ptr %55, align 8, !tbaa !17
  %87 = load double, ptr %59, align 8, !tbaa !17
  %88 = fadd double %86, %87
  %89 = fsub double %88, %load_initial
  %90 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next219.prol
  store double %89, ptr %90, align 8, !tbaa !17
  %91 = load double, ptr %55, align 8, !tbaa !17
  %92 = load double, ptr %59, align 8, !tbaa !17
  %93 = fsub double %91, %92
  %94 = fadd double %93, %load_initial266
  %95 = getelementptr inbounds double, ptr %47, i64 %indvars.iv.next219.prol
  store double %94, ptr %95, align 8, !tbaa !17
  %96 = getelementptr inbounds i8, ptr %54, i64 16
  %97 = getelementptr inbounds i8, ptr %59, i64 -8
  br label %.lr.ph185.prol.loopexit

.lr.ph185.prol.loopexit:                          ; preds = %.lr.ph185.prol, %.lr.ph185.ph
  %store_forwarded267.unr = phi double [ %load_initial266, %.lr.ph185.ph ], [ %94, %.lr.ph185.prol ]
  %store_forwarded.unr = phi double [ %load_initial, %.lr.ph185.ph ], [ %89, %.lr.ph185.prol ]
  %indvars.iv218.unr = phi i64 [ %65, %.lr.ph185.ph ], [ %indvars.iv.next219.prol, %.lr.ph185.prol ]
  %.0117183.unr = phi ptr [ %55, %.lr.ph185.ph ], [ %96, %.lr.ph185.prol ]
  %.0119182.unr = phi ptr [ %59, %.lr.ph185.ph ], [ %97, %.lr.ph185.prol ]
  %98 = icmp eq i32 %63, 1
  br i1 %98, label %.loopexit, label %.lr.ph185

.lr.ph185:                                        ; preds = %.lr.ph185.prol.loopexit, %.lr.ph185
  %store_forwarded267 = phi double [ %119, %.lr.ph185 ], [ %store_forwarded267.unr, %.lr.ph185.prol.loopexit ]
  %store_forwarded = phi double [ %114, %.lr.ph185 ], [ %store_forwarded.unr, %.lr.ph185.prol.loopexit ]
  %indvars.iv218 = phi i64 [ %indvars.iv.next219.1, %.lr.ph185 ], [ %indvars.iv218.unr, %.lr.ph185.prol.loopexit ]
  %.0117183 = phi ptr [ %121, %.lr.ph185 ], [ %.0117183.unr, %.lr.ph185.prol.loopexit ]
  %.0119182 = phi ptr [ %122, %.lr.ph185 ], [ %.0119182.unr, %.lr.ph185.prol.loopexit ]
  %indvars.iv.next219 = add nsw i64 %indvars.iv218, -1
  %99 = load double, ptr %.0117183, align 8, !tbaa !17
  %100 = load double, ptr %.0119182, align 8, !tbaa !17
  %101 = fadd double %99, %100
  %102 = fsub double %101, %store_forwarded
  %103 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next219
  store double %102, ptr %103, align 8, !tbaa !17
  %104 = load double, ptr %.0117183, align 8, !tbaa !17
  %105 = load double, ptr %.0119182, align 8, !tbaa !17
  %106 = fsub double %104, %105
  %107 = fadd double %106, %store_forwarded267
  %108 = getelementptr inbounds double, ptr %47, i64 %indvars.iv.next219
  store double %107, ptr %108, align 8, !tbaa !17
  %109 = getelementptr inbounds i8, ptr %.0117183, i64 8
  %110 = getelementptr inbounds i8, ptr %.0119182, i64 -8
  %indvars.iv.next219.1 = add nsw i64 %indvars.iv218, -2
  %111 = load double, ptr %109, align 8, !tbaa !17
  %112 = load double, ptr %110, align 8, !tbaa !17
  %113 = fadd double %111, %112
  %114 = fsub double %113, %102
  %115 = getelementptr inbounds double, ptr %46, i64 %indvars.iv.next219.1
  store double %114, ptr %115, align 8, !tbaa !17
  %116 = load double, ptr %109, align 8, !tbaa !17
  %117 = load double, ptr %110, align 8, !tbaa !17
  %118 = fsub double %116, %117
  %119 = fadd double %118, %107
  %120 = getelementptr inbounds double, ptr %47, i64 %indvars.iv.next219.1
  store double %119, ptr %120, align 8, !tbaa !17
  %121 = getelementptr inbounds i8, ptr %.0117183, i64 16
  %122 = getelementptr inbounds i8, ptr %.0119182, i64 -16
  %123 = icmp ugt i64 %indvars.iv.next219, 1
  br i1 %123, label %.lr.ph185, label %.loopexit, !llvm.loop !18

124:                                              ; preds = %45
  %125 = load i32, ptr %34, align 8, !tbaa !16
  %invariant.gep = getelementptr inbounds i8, ptr %47, i64 8
  %126 = icmp sgt i32 %125, 0
  br i1 %126, label %127, label %._crit_edge

127:                                              ; preds = %124
  %128 = zext nneg i32 %125 to i64
  %indvars.iv.next.peel = add nsw i64 %128, -1
  %129 = load double, ptr %55, align 8, !tbaa !17
  %130 = load double, ptr %59, align 8, !tbaa !17
  %131 = fadd double %129, %130
  %132 = getelementptr inbounds double, ptr %46, i64 %128
  store double %131, ptr %132, align 8, !tbaa !17
  %133 = load double, ptr %55, align 8, !tbaa !17
  %134 = load double, ptr %59, align 8, !tbaa !17
  %135 = fsub double %133, %134
  %136 = getelementptr inbounds double, ptr %47, i64 %indvars.iv.next.peel
  store double %135, ptr %136, align 8, !tbaa !17
  %137 = getelementptr i8, ptr %54, i64 16
  %138 = getelementptr inbounds i8, ptr %59, i64 -8
  %.not221 = icmp eq i32 %125, 1
  br i1 %.not221, label %._crit_edge, label %.lr.ph.peel.next.preheader

.lr.ph.peel.next.preheader:                       ; preds = %127
  %min.iters.check = icmp ult i32 %125, 17
  br i1 %min.iters.check, label %.lr.ph.peel.next.preheader272, label %vector.memcheck

.lr.ph.peel.next.preheader272:                    ; preds = %middle.block, %vector.memcheck, %.lr.ph.peel.next.preheader
  %indvars.iv.ph = phi i64 [ %indvars.iv.next.peel, %vector.memcheck ], [ %indvars.iv.next.peel, %.lr.ph.peel.next.preheader ], [ %ind.end, %middle.block ]
  %.1118178.ph = phi ptr [ %137, %vector.memcheck ], [ %137, %.lr.ph.peel.next.preheader ], [ %ind.end243, %middle.block ]
  %.1120177.ph = phi ptr [ %138, %vector.memcheck ], [ %138, %.lr.ph.peel.next.preheader ], [ %ind.end245, %middle.block ]
  br label %.lr.ph.peel.next

vector.memcheck:                                  ; preds = %.lr.ph.peel.next.preheader
  %scevgep = getelementptr inbounds i8, ptr %46, i64 8
  %139 = shl nuw nsw i64 %128, 3
  %scevgep224 = getelementptr i8, ptr %46, i64 %139
  %140 = add nuw nsw i64 %139, 8
  %scevgep225 = getelementptr i8, ptr %47, i64 %140
  %scevgep226 = getelementptr i8, ptr %54, i64 %140
  %141 = shl nsw i64 %58, 3
  %142 = add nsw i64 %141, 8
  %143 = sub nsw i64 %142, %139
  %scevgep227 = getelementptr i8, ptr %56, i64 %143
  %bound0 = icmp ult ptr %scevgep, %scevgep225
  %bound1 = icmp ult ptr %47, %scevgep224
  %found.conflict = and i1 %bound0, %bound1
  %bound0228 = icmp ult ptr %scevgep, %scevgep226
  %bound1229 = icmp ult ptr %137, %scevgep224
  %found.conflict230 = and i1 %bound0228, %bound1229
  %conflict.rdx = or i1 %found.conflict, %found.conflict230
  %bound0231 = icmp ult ptr %scevgep, %59
  %bound1232 = icmp ult ptr %scevgep227, %scevgep224
  %found.conflict233 = and i1 %bound0231, %bound1232
  %conflict.rdx234 = or i1 %conflict.rdx, %found.conflict233
  %bound0235 = icmp ult ptr %47, %scevgep226
  %bound1236 = icmp ult ptr %137, %scevgep225
  %found.conflict237 = and i1 %bound0235, %bound1236
  %conflict.rdx238 = or i1 %conflict.rdx234, %found.conflict237
  %bound0239 = icmp ult ptr %47, %59
  %bound1240 = icmp ult ptr %scevgep227, %scevgep225
  %found.conflict241 = and i1 %bound0239, %bound1240
  %conflict.rdx242 = or i1 %conflict.rdx238, %found.conflict241
  br i1 %conflict.rdx242, label %.lr.ph.peel.next.preheader272, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %indvars.iv.next.peel, -2
  %ind.end = and i64 %indvars.iv.next.peel, 1
  %144 = shl nsw i64 %n.vec, 3
  %ind.end243 = getelementptr i8, ptr %137, i64 %144
  %145 = mul nsw i64 %n.vec, -8
  %ind.end245 = getelementptr i8, ptr %138, i64 %145
  %146 = shl nuw nsw i64 %128, 3
  %147 = getelementptr i8, ptr %47, i64 %146
  %scevgep268 = getelementptr i8, ptr %147, i64 -8
  %load_initial269 = load <2 x double>, ptr %scevgep268, align 8
  %invariant.gep275 = getelementptr i8, ptr %138, i64 -8
  %invariant.gep277 = getelementptr i8, ptr %46, i64 -8
  %invariant.gep279 = getelementptr i8, ptr %47, i64 -16
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %store_forwarded270 = phi <2 x double> [ %load_initial269, %vector.ph ], [ %reverse257, %vector.body ]
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %indvars.iv.next.peel, %index
  %offset.idx247 = shl i64 %index, 3
  %next.gep = getelementptr i8, ptr %137, i64 %offset.idx247
  %offset.idx248 = mul i64 %index, -8
  %wide.load = load <2 x double>, ptr %next.gep, align 8, !tbaa !17, !alias.scope !20
  %gep276 = getelementptr i8, ptr %invariant.gep275, i64 %offset.idx248
  %wide.load250 = load <2 x double>, ptr %gep276, align 8, !tbaa !17, !alias.scope !23
  %reverse = shufflevector <2 x double> %wide.load250, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %148 = fadd <2 x double> %wide.load, %reverse
  %gep278 = getelementptr double, ptr %invariant.gep277, i64 %offset.idx
  %reverse251 = shufflevector <2 x double> %148, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %reverse251, ptr %gep278, align 8, !tbaa !17, !alias.scope !25, !noalias !27
  %wide.load252 = load <2 x double>, ptr %next.gep, align 8, !tbaa !17, !alias.scope !20
  %wide.load253 = load <2 x double>, ptr %gep276, align 8, !tbaa !17, !alias.scope !23
  %reverse254 = shufflevector <2 x double> %wide.load253, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %149 = fsub <2 x double> %wide.load252, %reverse254
  %reverse256 = shufflevector <2 x double> %store_forwarded270, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %150 = fadd <2 x double> %149, %reverse256
  %gep280 = getelementptr double, ptr %invariant.gep279, i64 %offset.idx
  %reverse257 = shufflevector <2 x double> %150, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %reverse257, ptr %gep280, align 8, !tbaa !17, !alias.scope !29, !noalias !30
  %index.next = add nuw i64 %index, 2
  %151 = icmp eq i64 %index.next, %n.vec
  br i1 %151, label %middle.block, label %vector.body, !llvm.loop !31

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %indvars.iv.next.peel, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.peel.next.preheader272

._crit_edge:                                      ; preds = %.lr.ph.peel.next, %middle.block, %127, %124
  %.1120.lcssa = phi ptr [ %59, %124 ], [ %138, %127 ], [ %ind.end245, %middle.block ], [ %166, %.lr.ph.peel.next ]
  %.1118.lcssa = phi ptr [ %55, %124 ], [ %137, %127 ], [ %ind.end243, %middle.block ], [ %165, %.lr.ph.peel.next ]
  %152 = load double, ptr %.1118.lcssa, align 8, !tbaa !17
  %153 = load double, ptr %.1120.lcssa, align 8, !tbaa !17
  %154 = fadd double %152, %153
  store double %154, ptr %46, align 8, !tbaa !17
  br label %.loopexit

.lr.ph.peel.next:                                 ; preds = %.lr.ph.peel.next.preheader272, %.lr.ph.peel.next
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph.peel.next ], [ %indvars.iv.ph, %.lr.ph.peel.next.preheader272 ]
  %.1118178 = phi ptr [ %165, %.lr.ph.peel.next ], [ %.1118178.ph, %.lr.ph.peel.next.preheader272 ]
  %.1120177 = phi ptr [ %166, %.lr.ph.peel.next ], [ %.1120177.ph, %.lr.ph.peel.next.preheader272 ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %155 = load double, ptr %.1118178, align 8, !tbaa !17
  %156 = load double, ptr %.1120177, align 8, !tbaa !17
  %157 = fadd double %155, %156
  %158 = getelementptr inbounds double, ptr %46, i64 %indvars.iv
  store double %157, ptr %158, align 8, !tbaa !17
  %159 = load double, ptr %.1118178, align 8, !tbaa !17
  %160 = load double, ptr %.1120177, align 8, !tbaa !17
  %161 = fsub double %159, %160
  %gep = getelementptr inbounds double, ptr %invariant.gep, i64 %indvars.iv
  %162 = load double, ptr %gep, align 8, !tbaa !17
  %163 = fadd double %161, %162
  %164 = getelementptr inbounds double, ptr %47, i64 %indvars.iv.next
  store double %163, ptr %164, align 8, !tbaa !17
  %165 = getelementptr inbounds i8, ptr %.1118178, i64 8
  %166 = getelementptr inbounds i8, ptr %.1120177, i64 -8
  %167 = icmp ugt i64 %indvars.iv, 1
  br i1 %167, label %.lr.ph.peel.next, label %._crit_edge, !llvm.loop !35

.loopexit:                                        ; preds = %.lr.ph185.prol.loopexit, %.lr.ph185, %.lr.ph185.lver.orig, %62, %._crit_edge
  %168 = load double, ptr %46, align 8, !tbaa !17
  %169 = fmul double %168, 5.000000e-01
  store double %169, ptr %46, align 8, !tbaa !17
  %170 = load double, ptr %47, align 8, !tbaa !17
  %171 = fmul double %170, 5.000000e-01
  store double %171, ptr %47, align 8, !tbaa !17
  %172 = tail call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %24, double noundef 1.000000e+00)
  %173 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %174 = getelementptr inbounds i8, ptr %0, i64 20
  %175 = load i32, ptr %174, align 4, !tbaa !36
  %176 = sitofp i32 %175 to double
  %177 = fdiv double 1.000000e+00, %176
  %178 = fsub double -1.000000e+00, %177
  %.0140202 = fsub double 1.000000e+00, %177
  %179 = fcmp olt double %178, %.0140202
  br i1 %179, label %.lr.ph209, label %.critedge

.lr.ph209:                                        ; preds = %.loopexit
  %180 = getelementptr inbounds i8, ptr %0, i64 24
  %181 = getelementptr inbounds i8, ptr %0, i64 32
  br label %182

182:                                              ; preds = %.lr.ph209, %214
  %.0140207 = phi double [ %.0140202, %.lr.ph209 ], [ %.0140, %214 ]
  %.0146206 = phi ptr [ %24, %.lr.ph209 ], [ %.3149, %214 ]
  %.0150205 = phi i32 [ 0, %.lr.ph209 ], [ %.2152, %214 ]
  %.0153204 = phi double [ %172, %.lr.ph209 ], [ %.1154, %214 ]
  %.0155203 = phi double [ 1.000000e+00, %.lr.ph209 ], [ %.1156, %214 ]
  %183 = tail call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %.0146206, double noundef %.0140207)
  %184 = fmul double %.0153204, %183
  %185 = fcmp ugt double %184, 0.000000e+00
  br i1 %185, label %214, label %.preheader

.preheader:                                       ; preds = %182
  %186 = load i32, ptr %180, align 8, !tbaa !37
  %187 = icmp sgt i32 %186, 0
  br i1 %187, label %.lr.ph191, label %._crit_edge192

.lr.ph191:                                        ; preds = %.preheader, %.lr.ph191
  %.0121190 = phi i32 [ %196, %.lr.ph191 ], [ 0, %.preheader ]
  %.0122189 = phi double [ %..0122, %.lr.ph191 ], [ %.0153204, %.preheader ]
  %.0125188 = phi double [ %.0125., %.lr.ph191 ], [ %183, %.preheader ]
  %.0128187 = phi double [ %..0128, %.lr.ph191 ], [ %.0155203, %.preheader ]
  %.0131186 = phi double [ %.0131., %.lr.ph191 ], [ %.0140207, %.preheader ]
  %188 = fadd double %.0131186, %.0128187
  %189 = fmul double %188, 5.000000e-01
  %190 = tail call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %.0146206, double noundef %189)
  %191 = fmul double %.0122189, %190
  %192 = fcmp ugt double %191, 0.000000e+00
  %.0131. = select i1 %192, double %.0131186, double %189
  %..0128 = select i1 %192, double %189, double %.0128187
  %.0125. = select i1 %192, double %.0125188, double %190
  %..0122 = select i1 %192, double %190, double %.0122189
  %193 = tail call double @llvm.fabs.f64(double %190)
  %194 = load double, ptr %181, align 8, !tbaa !38
  %195 = fcmp ugt double %193, %194
  %196 = add nuw nsw i32 %.0121190, 1
  %197 = load i32, ptr %180, align 8
  %198 = icmp slt i32 %196, %197
  %or.cond214 = select i1 %195, i1 %198, i1 false
  br i1 %or.cond214, label %.lr.ph191, label %._crit_edge192, !llvm.loop !39

._crit_edge192:                                   ; preds = %.lr.ph191, %.preheader
  %.2133 = phi double [ %.0140207, %.preheader ], [ %.0131., %.lr.ph191 ]
  %.2130 = phi double [ %.0155203, %.preheader ], [ %..0128, %.lr.ph191 ]
  %.2127 = phi double [ %183, %.preheader ], [ %.0125., %.lr.ph191 ]
  %.2124 = phi double [ %.0153204, %.preheader ], [ %..0122, %.lr.ph191 ]
  %199 = fneg double %.2124
  %200 = fmul double %.2133, %199
  %201 = tail call double @llvm.fmuladd.f64(double %.2127, double %.2130, double %200)
  %202 = fsub double %.2127, %.2124
  %203 = fdiv double %201, %202
  %204 = tail call double @acos(double noundef %203) #4
  %205 = fdiv double %204, 0x401921FB54442D18
  %206 = add nsw i32 %.0150205, 1
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds double, ptr %173, i64 %207
  store double %205, ptr %208, align 8, !tbaa !17
  %209 = load i32, ptr %10, align 8, !tbaa !14
  %.not164 = icmp eq i32 %209, %206
  br i1 %.not164, label %.critedge, label %210

210:                                              ; preds = %._crit_edge192
  %211 = icmp eq ptr %.0146206, %24
  %212 = select i1 %211, ptr %32, ptr %24
  %213 = tail call noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24) %212, double noundef %203)
  br label %214

214:                                              ; preds = %182, %210
  %.1156 = phi double [ %.0140207, %182 ], [ %203, %210 ]
  %.1154 = phi double [ %183, %182 ], [ %213, %210 ]
  %.2152 = phi i32 [ %.0150205, %182 ], [ %206, %210 ]
  %.3149 = phi ptr [ %.0146206, %182 ], [ %212, %210 ]
  %.0140 = fsub double %.1156, %177
  %215 = fcmp olt double %178, %.0140
  br i1 %215, label %182, label %.critedge, !llvm.loop !40

.critedge:                                        ; preds = %214, %._crit_edge192, %.loopexit, %39, %4, %8
  %.6 = phi i1 [ false, %8 ], [ false, %4 ], [ true, %39 ], [ false, %.loopexit ], [ false, %214 ], [ true, %._crit_edge192 ]
  ret i1 %.6
}

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

; 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 @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 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 nounwind uwtable
declare hidden noundef double @_ZN12_GLOBAL__N_128CalculateChebyshevPolynomialERKSt6vectorIdSaIdEEd(ptr noundef nonnull align 8 dereferenceable(24), double noundef) local_unnamed_addr #1

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

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

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

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 speculatable willreturn memory(none) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !11, i64 40}
!6 = !{!"_ZTSN4sptk47LinearPredictiveCoefficientsToLineSpectralPairsE", !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !10, i64 32, !11, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !7, i64 16}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21}
!21 = distinct !{!21, !22}
!22 = distinct !{!22, !"LVerDomain"}
!23 = !{!24}
!24 = distinct !{!24, !22}
!25 = !{!26}
!26 = distinct !{!26, !22}
!27 = !{!28, !21, !24}
!28 = distinct !{!28, !22}
!29 = !{!28}
!30 = !{!21, !24}
!31 = distinct !{!31, !19, !32, !33, !34}
!32 = !{!"llvm.loop.peeled.count", i32 1}
!33 = !{!"llvm.loop.isvectorized", i32 1}
!34 = !{!"llvm.loop.unroll.runtime.disable"}
!35 = distinct !{!35, !19, !32, !33}
!36 = !{!6, !7, i64 20}
!37 = !{!6, !7, i64 24}
!38 = !{!6, !10, i64 32}
!39 = distinct !{!39, !19}
!40 = distinct !{!40, !19}


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