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

; 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::SymmetricMatrix::Row" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { i8 }
%class.anon.10 = type { i8 }
%"class.sptk::AutocorrelationToCompositeSinusoidalModeling" = type <{ ptr, i32, i32, %"class.sptk::SymmetricSystemSolver", %"class.sptk::DurandKernerMethod", %"class.sptk::VandermondeSystemSolver", i8, [7 x i8] }>
%"class.sptk::SymmetricSystemSolver" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.sptk::DurandKernerMethod" = type { ptr, i32, i32, double, i8, %"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 }
%"class.sptk::VandermondeSystemSolver" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.sptk::SymmetricMatrix", %"class.std::vector", %"class.std::vector.5", %"class.std::vector", %"class.std::vector", %"class.sptk::SymmetricSystemSolver::Buffer", %"class.sptk::VandermondeSystemSolver::Buffer" }
%"class.sptk::SymmetricMatrix" = type { ptr, i32, %"class.std::vector", %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl" }
%"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl" = type { %"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double *, std::allocator<double *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::SymmetricSystemSolver::Buffer" = type { ptr, %"class.sptk::SymmetricMatrix" }
%"class.sptk::VandermondeSystemSolver::Buffer" = type { ptr, %"class.std::vector" }
%"class.std::complex" = type { { double, double } }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(129) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %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 i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca x86_fp80, align 16
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.sptk::SymmetricMatrix::Row", align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %32 = alloca i8, align 1
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %38 = alloca %class.anon, align 1
  %39 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca %class.anon.10, align 1
  %43 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %50 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %51 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator", 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
  %54 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %55 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 8, !tbaa !9
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %10, align 4, !tbaa !21
  %58 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 6
  %59 = load i8, ptr %58, align 8, !tbaa !22, !range !23, !noundef !24
  %60 = trunc i8 %59 to i1
  br i1 %60, label %61, label %73

61:                                               ; preds = %4
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #7
  %64 = load i32, ptr %10, align 4, !tbaa !21
  %65 = sext i32 %64 to i64
  %66 = icmp ne i64 %63, %65
  br i1 %66, label %73, label %67

67:                                               ; preds = %61
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = icmp eq ptr null, %68
  br i1 %69, label %73, label %70

70:                                               ; preds = %67
  %71 = load ptr, ptr %9, align 8, !tbaa !5
  %72 = icmp eq ptr null, %71
  br i1 %72, label %73, label %74

73:                                               ; preds = %70, %67, %61, %4
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %478

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %75 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %76 = load i32, ptr %75, align 4, !tbaa !25
  %77 = sext i32 %76 to i64
  store i64 %77, ptr %12, align 8, !tbaa !26
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #7
  %80 = load i32, ptr %10, align 4, !tbaa !21
  %81 = sext i32 %80 to i64
  %82 = icmp ne i64 %79, %81
  br i1 %82, label %83, label %87

83:                                               ; preds = %74
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load i32, ptr %10, align 4, !tbaa !21
  %86 = sext i32 %85 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86)
  br label %87

87:                                               ; preds = %83, %74
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %88, i32 0, i32 1
  %90 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #7
  %91 = load i32, ptr %10, align 4, !tbaa !21
  %92 = sext i32 %91 to i64
  %93 = icmp ne i64 %90, %92
  br i1 %93, label %94, label %99

94:                                               ; preds = %87
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %95, i32 0, i32 1
  %97 = load i32, ptr %10, align 4, !tbaa !21
  %98 = sext i32 %97 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %98)
  br label %99

99:                                               ; preds = %94, %87
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %100, i32 0, i32 2
  %102 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #7
  %103 = load i64, ptr %12, align 8, !tbaa !26
  %104 = icmp ne i64 %102, %103
  br i1 %104, label %105, label %109

105:                                              ; preds = %99
  %106 = load ptr, ptr %9, align 8, !tbaa !5
  %107 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %106, i32 0, i32 2
  %108 = load i64, ptr %12, align 8, !tbaa !26
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %108)
  br label %109

109:                                              ; preds = %105, %99
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %110, i32 0, i32 3
  %112 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #7
  %113 = load i64, ptr %12, align 8, !tbaa !26
  %114 = icmp ne i64 %112, %113
  br i1 %114, label %115, label %119

115:                                              ; preds = %109
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %116, i32 0, i32 3
  %118 = load i64, ptr %12, align 8, !tbaa !26
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %118)
  br label %119

119:                                              ; preds = %115, %109
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %120, i32 0, i32 4
  %122 = call noundef i32 @_ZNK4sptk15SymmetricMatrix15GetNumDimensionEv(ptr noundef nonnull align 8 dereferenceable(64) %121)
  %123 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %124 = load i32, ptr %123, align 4, !tbaa !25
  %125 = icmp ne i32 %122, %124
  br i1 %125, label %126, label %131

126:                                              ; preds = %119
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %127, i32 0, i32 4
  %129 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %130 = load i32, ptr %129, align 4, !tbaa !25
  call void @_ZN4sptk15SymmetricMatrix6ResizeEi(ptr noundef nonnull align 8 dereferenceable(64) %128, i32 noundef %130)
  br label %131

131:                                              ; preds = %126, %119
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %132, i32 0, i32 6
  %134 = call noundef i64 @_ZNKSt6vectorISt7complexIdESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  %135 = load i64, ptr %12, align 8, !tbaa !26
  %136 = icmp ne i64 %134, %135
  br i1 %136, label %137, label %141

137:                                              ; preds = %131
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %138, i32 0, i32 6
  %140 = load i64, ptr %12, align 8, !tbaa !26
  call void @_ZNSt6vectorISt7complexIdESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %139, i64 noundef %140)
  br label %141

141:                                              ; preds = %137, %131
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %142, i32 0, i32 7
  %144 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #7
  %145 = load i64, ptr %12, align 8, !tbaa !26
  %146 = icmp ne i64 %144, %145
  br i1 %146, label %147, label %151

147:                                              ; preds = %141
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %148, i32 0, i32 7
  %150 = load i64, ptr %12, align 8, !tbaa !26
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %150)
  br label %151

151:                                              ; preds = %147, %141
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %152, i32 0, i32 5
  %154 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #7
  %155 = load i64, ptr %12, align 8, !tbaa !26
  %156 = icmp ne i64 %154, %155
  br i1 %156, label %157, label %161

157:                                              ; preds = %151
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %158, i32 0, i32 5
  %160 = load i64, ptr %12, align 8, !tbaa !26
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %160)
  br label %161

161:                                              ; preds = %157, %151
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %162, i32 0, i32 8
  %164 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #7
  %165 = load i64, ptr %12, align 8, !tbaa !26
  %166 = icmp ne i64 %164, %165
  br i1 %166, label %167, label %171

167:                                              ; preds = %161
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %168, i32 0, i32 8
  %170 = load i64, ptr %12, align 8, !tbaa !26
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %170)
  br label %171

171:                                              ; preds = %167, %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef 0) #7
  store ptr %173, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %174, i32 0, i32 1
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef 0) #7
  store ptr %176, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !21
  br label %177

177:                                              ; preds = %233, %171
  %178 = load i32, ptr %15, align 4, !tbaa !21
  %179 = load i32, ptr %10, align 4, !tbaa !21
  %180 = icmp slt i32 %178, %179
  br i1 %180, label %182, label %181

181:                                              ; preds = %177
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %236

182:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  store x86_fp80 0xK00000000000000000000, ptr %16, align 16, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !21
  br label %183

183:                                              ; preds = %219, %182
  %184 = load i32, ptr %17, align 4, !tbaa !21
  %185 = load i32, ptr %15, align 4, !tbaa !21
  %186 = icmp sle i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %222

188:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %189 = load i32, ptr %15, align 4, !tbaa !21
  %190 = load i32, ptr %17, align 4, !tbaa !21
  %191 = call noundef i64 @_ZN12_GLOBAL__N_128CalculateBinomialCoefficientEii(i32 noundef %189, i32 noundef %190)
  store i64 %191, ptr %18, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %192 = load i32, ptr %15, align 4, !tbaa !21
  %193 = load i32, ptr %17, align 4, !tbaa !21
  %194 = mul nsw i32 2, %193
  %195 = icmp slt i32 %192, %194
  br i1 %195, label %196, label %201

196:                                              ; preds = %188
  %197 = load i32, ptr %17, align 4, !tbaa !21
  %198 = mul nsw i32 2, %197
  %199 = load i32, ptr %15, align 4, !tbaa !21
  %200 = sub nsw i32 %198, %199
  br label %206

201:                                              ; preds = %188
  %202 = load i32, ptr %15, align 4, !tbaa !21
  %203 = load i32, ptr %17, align 4, !tbaa !21
  %204 = mul nsw i32 2, %203
  %205 = sub nsw i32 %202, %204
  br label %206

206:                                              ; preds = %201, %196
  %207 = phi i32 [ %200, %196 ], [ %205, %201 ]
  store i32 %207, ptr %19, align 4, !tbaa !21
  %208 = load i64, ptr %18, align 8, !tbaa !26
  %209 = uitofp i64 %208 to double
  %210 = load ptr, ptr %13, align 8, !tbaa !5
  %211 = load i32, ptr %19, align 4, !tbaa !21
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds double, ptr %210, i64 %212
  %214 = load double, ptr %213, align 8, !tbaa !30
  %215 = fmul double %209, %214
  %216 = fpext double %215 to x86_fp80
  %217 = load x86_fp80, ptr %16, align 16, !tbaa !28
  %218 = fadd x86_fp80 %217, %216
  store x86_fp80 %218, ptr %16, align 16, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %219

219:                                              ; preds = %206
  %220 = load i32, ptr %17, align 4, !tbaa !21
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %17, align 4, !tbaa !21
  br label %183, !llvm.loop !31

222:                                              ; preds = %187
  %223 = load x86_fp80, ptr %16, align 16, !tbaa !28
  %224 = load i32, ptr %15, align 4, !tbaa !21
  %225 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 2.000000e+00, i32 noundef %224)
  %226 = fpext double %225 to x86_fp80
  %227 = fdiv x86_fp80 %223, %226
  %228 = fptrunc x86_fp80 %227 to double
  %229 = load ptr, ptr %14, align 8, !tbaa !5
  %230 = load i32, ptr %15, align 4, !tbaa !21
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds double, ptr %229, i64 %231
  store double %228, ptr %232, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  br label %233

233:                                              ; preds = %222
  %234 = load i32, ptr %15, align 4, !tbaa !21
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %15, align 4, !tbaa !21
  br label %177, !llvm.loop !33

236:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !21
  br label %237

237:                                              ; preds = %274, %236
  %238 = load i32, ptr %20, align 4, !tbaa !21
  %239 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %240 = load i32, ptr %239, align 4, !tbaa !25
  %241 = icmp slt i32 %238, %240
  br i1 %241, label %243, label %242

242:                                              ; preds = %237
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %277

243:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %244 = load i32, ptr %20, align 4, !tbaa !21
  store i32 %244, ptr %21, align 4, !tbaa !21
  br label %245

245:                                              ; preds = %266, %243
  %246 = load i32, ptr %21, align 4, !tbaa !21
  %247 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %248 = load i32, ptr %247, align 4, !tbaa !25
  %249 = icmp slt i32 %246, %248
  br i1 %249, label %251, label %250

250:                                              ; preds = %245
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %273

251:                                              ; preds = %245
  %252 = load ptr, ptr %14, align 8, !tbaa !5
  %253 = load i32, ptr %20, align 4, !tbaa !21
  %254 = load i32, ptr %21, align 4, !tbaa !21
  %255 = add nsw i32 %253, %254
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds double, ptr %252, i64 %256
  %258 = load double, ptr %257, align 8, !tbaa !30
  %259 = fneg double %258
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  %260 = load ptr, ptr %9, align 8, !tbaa !5
  %261 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %260, i32 0, i32 4
  %262 = load i32, ptr %20, align 4, !tbaa !21
  call void @_ZN4sptk15SymmetricMatrixixEi(ptr dead_on_unwind writable sret(%"class.sptk::SymmetricMatrix::Row") align 8 %22, ptr noundef nonnull align 8 dereferenceable(64) %261, i32 noundef %262)
  %263 = load i32, ptr %21, align 4, !tbaa !21
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4sptk15SymmetricMatrix3RowixEi(ptr noundef nonnull align 8 dereferenceable(20) %22, i32 noundef %263)
          to label %265 unwind label %269

265:                                              ; preds = %251
  store double %259, ptr %264, align 8, !tbaa !30
  call void @_ZN4sptk15SymmetricMatrix3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  br label %266

266:                                              ; preds = %265
  %267 = load i32, ptr %21, align 4, !tbaa !21
  %268 = add nsw i32 %267, 1
  store i32 %268, ptr %21, align 4, !tbaa !21
  br label %245, !llvm.loop !34

269:                                              ; preds = %251
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %23, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %24, align 4
  call void @_ZN4sptk15SymmetricMatrix3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %480

273:                                              ; preds = %250
  br label %274

274:                                              ; preds = %273
  %275 = load i32, ptr %20, align 4, !tbaa !21
  %276 = add nsw i32 %275, 1
  store i32 %276, ptr %20, align 4, !tbaa !21
  br label %237, !llvm.loop !35

277:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %278 = load ptr, ptr %9, align 8, !tbaa !5
  %279 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %278, i32 0, i32 1
  %280 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %279) #7
  %281 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %280, ptr %281, align 8
  %282 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %283 = load i32, ptr %282, align 4, !tbaa !25
  %284 = sext i32 %283 to i64
  %285 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef %284) #7
  %286 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %285, ptr %286, align 8
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %287, i32 0, i32 1
  %289 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #7
  %290 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %289, ptr %290, align 8
  %291 = load ptr, ptr %9, align 8, !tbaa !5
  %292 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %291, i32 0, i32 3
  %293 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %292) #7
  %294 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %293, ptr %294, align 8
  %295 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %296 = load ptr, ptr %295, align 8
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8
  %299 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  %300 = load ptr, ptr %299, align 8
  %301 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr %296, ptr %298, ptr %300)
  %302 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %301, ptr %302, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  %303 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 3
  %304 = load ptr, ptr %9, align 8, !tbaa !5
  %305 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %304, i32 0, i32 4
  %306 = load ptr, ptr %9, align 8, !tbaa !5
  %307 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %306, i32 0, i32 3
  %308 = load ptr, ptr %9, align 8, !tbaa !5
  %309 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %308, i32 0, i32 5
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  %311 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %310, i32 0, i32 9
  %312 = call noundef zeroext i1 @_ZNK4sptk21SymmetricSystemSolver3RunERKNS_15SymmetricMatrixERKSt6vectorIdSaIdEEPS6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %303, ptr noundef nonnull align 8 dereferenceable(64) %305, ptr noundef nonnull align 8 dereferenceable(24) %307, ptr noundef %309, ptr noundef %311)
  br i1 %312, label %314, label %313

313:                                              ; preds = %277
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %477

314:                                              ; preds = %277
  %315 = load ptr, ptr %9, align 8, !tbaa !5
  %316 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %315, i32 0, i32 5
  %317 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %316) #7
  %318 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %317, ptr %318, align 8
  %319 = load ptr, ptr %9, align 8, !tbaa !5
  %320 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %319, i32 0, i32 5
  %321 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %320) #7
  %322 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  store ptr %321, ptr %322, align 8
  %323 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  %324 = load ptr, ptr %323, align 8
  %325 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %31, i32 0, i32 0
  %326 = load ptr, ptr %325, align 8
  call void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEEvT_S7_(ptr %324, ptr %326)
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #7
  %327 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 4
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %328, i32 0, i32 5
  %330 = load ptr, ptr %9, align 8, !tbaa !5
  %331 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %330, i32 0, i32 6
  %332 = call noundef zeroext i1 @_ZNK4sptk18DurandKernerMethod3RunERKSt6vectorIdSaIdEEPS1_ISt7complexIdESaIS7_EEPb(ptr noundef nonnull align 8 dereferenceable(80) %327, ptr noundef nonnull align 8 dereferenceable(24) %329, ptr noundef %331, ptr noundef %32)
  br i1 %332, label %334, label %333

333:                                              ; preds = %314
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %339

334:                                              ; preds = %314
  %335 = load i8, ptr %32, align 1, !tbaa !36, !range !23, !noundef !24
  %336 = trunc i8 %335 to i1
  br i1 %336, label %338, label %337

337:                                              ; preds = %334
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %339

338:                                              ; preds = %334
  store i32 0, ptr %11, align 4
  br label %339

339:                                              ; preds = %338, %337, %333
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  %340 = load i32, ptr %11, align 4
  switch i32 %340, label %477 [
    i32 0, label %341
  ]

341:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %342 = load ptr, ptr %9, align 8, !tbaa !5
  %343 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %342, i32 0, i32 7
  %344 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %343, i64 noundef 0) #7
  store ptr %344, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  %345 = load ptr, ptr %9, align 8, !tbaa !5
  %346 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %345, i32 0, i32 6
  %347 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %346, i64 noundef 0) #7
  store ptr %347, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 0, ptr %35, align 4, !tbaa !21
  br label %348

348:                                              ; preds = %373, %341
  %349 = load i32, ptr %35, align 4, !tbaa !21
  %350 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %351 = load i32, ptr %350, align 4, !tbaa !25
  %352 = icmp slt i32 %349, %351
  br i1 %352, label %354, label %353

353:                                              ; preds = %348
  store i32 14, ptr %11, align 4
  br label %376

354:                                              ; preds = %348
  %355 = load ptr, ptr %34, align 8, !tbaa !5
  %356 = load i32, ptr %35, align 4, !tbaa !21
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds %"class.std::complex", ptr %355, i64 %357
  %359 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %358)
  %360 = load ptr, ptr %33, align 8, !tbaa !5
  %361 = load i32, ptr %35, align 4, !tbaa !21
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds double, ptr %360, i64 %362
  store double %359, ptr %363, align 8, !tbaa !30
  %364 = load ptr, ptr %33, align 8, !tbaa !5
  %365 = load i32, ptr %35, align 4, !tbaa !21
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds double, ptr %364, i64 %366
  %368 = load double, ptr %367, align 8, !tbaa !30
  %369 = call double @llvm.fabs.f64(double %368)
  %370 = fcmp olt double 1.000000e+00, %369
  br i1 %370, label %371, label %372

371:                                              ; preds = %354
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %376

372:                                              ; preds = %354
  br label %373

373:                                              ; preds = %372
  %374 = load i32, ptr %35, align 4, !tbaa !21
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %35, align 4, !tbaa !21
  br label %348, !llvm.loop !37

376:                                              ; preds = %371, %353
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  %377 = load i32, ptr %11, align 4
  switch i32 %377, label %379 [
    i32 14, label %378
  ]

378:                                              ; preds = %376
  store i32 0, ptr %11, align 4
  br label %379

379:                                              ; preds = %378, %376
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  %380 = load i32, ptr %11, align 4
  switch i32 %380, label %382 [
    i32 0, label %381
  ]

381:                                              ; preds = %379
  store i32 0, ptr %11, align 4
  br label %382

382:                                              ; preds = %381, %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  %383 = load i32, ptr %11, align 4
  switch i32 %383, label %477 [
    i32 0, label %384
  ]

384:                                              ; preds = %382
  %385 = load ptr, ptr %9, align 8, !tbaa !5
  %386 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %385, i32 0, i32 7
  %387 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %386) #7
  %388 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %387, ptr %388, align 8
  %389 = load ptr, ptr %9, align 8, !tbaa !5
  %390 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %389, i32 0, i32 7
  %391 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %390) #7
  %392 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %391, ptr %392, align 8
  %393 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  %394 = load ptr, ptr %393, align 8
  %395 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  %396 = load ptr, ptr %395, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_0EvT_SF_T0_"(ptr %394, ptr %396)
  %397 = load ptr, ptr %9, align 8, !tbaa !5
  %398 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %397, i32 0, i32 7
  %399 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %398) #7
  %400 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %399, ptr %400, align 8
  %401 = load ptr, ptr %9, align 8, !tbaa !5
  %402 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %401, i32 0, i32 7
  %403 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %402) #7
  %404 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %403, ptr %404, align 8
  %405 = load ptr, ptr %8, align 8, !tbaa !5
  %406 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %405) #7
  %407 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %406, ptr %407, align 8
  %408 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  %409 = load ptr, ptr %408, align 8
  %410 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  %411 = load ptr, ptr %410, align 8
  %412 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  %413 = load ptr, ptr %412, align 8
  %414 = call ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_1ET0_T_SG_SF_T1_"(ptr %409, ptr %411, ptr %413)
  %415 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %43, i32 0, i32 0
  store ptr %414, ptr %415, align 8
  %416 = load ptr, ptr %9, align 8, !tbaa !5
  %417 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %416, i32 0, i32 1
  %418 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %417) #7
  %419 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %44, i32 0, i32 0
  store ptr %418, ptr %419, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %420 = load ptr, ptr %9, align 8, !tbaa !5
  %421 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %420, i32 0, i32 1
  %422 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %421) #7
  %423 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %46, i32 0, i32 0
  store ptr %422, ptr %423, align 8
  %424 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %425 = load i32, ptr %424, align 4, !tbaa !25
  %426 = sext i32 %425 to i64
  %427 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %46, i64 noundef %426) #7
  %428 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %45, i32 0, i32 0
  store ptr %427, ptr %428, align 8
  %429 = load ptr, ptr %9, align 8, !tbaa !5
  %430 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %429, i32 0, i32 2
  %431 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %430) #7
  %432 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  store ptr %431, ptr %432, align 8
  %433 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %44, i32 0, i32 0
  %434 = load ptr, ptr %433, align 8
  %435 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %45, i32 0, i32 0
  %436 = load ptr, ptr %435, align 8
  %437 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  %438 = load ptr, ptr %437, align 8
  %439 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr %434, ptr %436, ptr %438)
  %440 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %48, i32 0, i32 0
  store ptr %439, ptr %440, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  %441 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 5
  %442 = load ptr, ptr %9, align 8, !tbaa !5
  %443 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %442, i32 0, i32 7
  %444 = load ptr, ptr %9, align 8, !tbaa !5
  %445 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %444, i32 0, i32 2
  %446 = load ptr, ptr %9, align 8, !tbaa !5
  %447 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %446, i32 0, i32 8
  %448 = load ptr, ptr %9, align 8, !tbaa !5
  %449 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %448, i32 0, i32 10
  %450 = call noundef zeroext i1 @_ZNK4sptk23VandermondeSystemSolver3RunERKSt6vectorIdSaIdEES5_PS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %441, ptr noundef nonnull align 8 dereferenceable(24) %443, ptr noundef nonnull align 8 dereferenceable(24) %445, ptr noundef %447, ptr noundef %449)
  br i1 %450, label %452, label %451

451:                                              ; preds = %384
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %477

452:                                              ; preds = %384
  %453 = load ptr, ptr %9, align 8, !tbaa !5
  %454 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %453, i32 0, i32 8
  %455 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %454) #7
  %456 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %49, i32 0, i32 0
  store ptr %455, ptr %456, align 8
  %457 = load ptr, ptr %9, align 8, !tbaa !5
  %458 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling::Buffer", ptr %457, i32 0, i32 8
  %459 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %458) #7
  %460 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %50, i32 0, i32 0
  store ptr %459, ptr %460, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %461 = load ptr, ptr %8, align 8, !tbaa !5
  %462 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %461) #7
  %463 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %52, i32 0, i32 0
  store ptr %462, ptr %463, align 8
  %464 = getelementptr inbounds %"class.sptk::AutocorrelationToCompositeSinusoidalModeling", ptr %54, i32 0, i32 2
  %465 = load i32, ptr %464, align 4, !tbaa !25
  %466 = sext i32 %465 to i64
  %467 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %52, i64 noundef %466) #7
  %468 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %51, i32 0, i32 0
  store ptr %467, ptr %468, align 8
  %469 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %49, i32 0, i32 0
  %470 = load ptr, ptr %469, align 8
  %471 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %50, i32 0, i32 0
  %472 = load ptr, ptr %471, align 8
  %473 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %51, i32 0, i32 0
  %474 = load ptr, ptr %473, align 8
  %475 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr %470, ptr %472, ptr %474)
  %476 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %53, i32 0, i32 0
  store ptr %475, ptr %476, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  store i1 true, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %477

477:                                              ; preds = %452, %451, %382, %339, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %478

478:                                              ; preds = %477, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  %479 = load i1, ptr %5, align 1
  ret i1 %479

480:                                              ; preds = %269
  %481 = load ptr, ptr %23, align 8
  %482 = load i32, ptr %24, align 4
  %483 = insertvalue { ptr, i32 } poison, ptr %481, 0
  %484 = insertvalue { ptr, i32 } %483, i32 %482, 1
  resume { ptr, i32 } %484
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 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 i32 @_ZNK4sptk15SymmetricMatrix15GetNumDimensionEv(ptr noundef nonnull align 8 dereferenceable(64)) #2 align 2

declare void @_ZN4sptk15SymmetricMatrix6ResizeEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt7complexIdESaIS1_EE6resizeEm(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) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_128CalculateBinomialCoefficientEii(i32 noundef, i32 noundef) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk15SymmetricMatrixixEi(ptr dead_on_unwind noalias writable sret(%"class.sptk::SymmetricMatrix::Row") align 8, ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #0 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4sptk15SymmetricMatrix3RowixEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr, ptr, ptr) #5

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

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

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

declare noundef zeroext i1 @_ZNK4sptk21SymmetricSystemSolver3RunERKNS_15SymmetricMatrixERKSt6vectorIdSaIdEEPS6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEEvT_S7_(ptr, ptr) #5

declare noundef zeroext i1 @_ZNK4sptk18DurandKernerMethod3RunERKSt6vectorIdSaIdEEPS1_ISt7complexIdESaIS7_EEPb(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_0EvT_SF_T0_"(ptr, ptr) #5

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_1ET0_T_SG_SF_T1_"(ptr, ptr, ptr) #0

declare noundef zeroext i1 @_ZNK4sptk23VandermondeSystemSolver3RunERKSt6vectorIdSaIdEES5_PS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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, !11, i64 8}
!10 = !{!"_ZTSN4sptk44AutocorrelationToCompositeSinusoidalModelingE", !11, i64 8, !11, i64 12, !12, i64 16, !14, i64 32, !20, i64 112, !13, i64 128}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN4sptk21SymmetricSystemSolverE", !11, i64 8, !13, i64 12}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN4sptk18DurandKernerMethodE", !11, i64 8, !11, i64 12, !15, i64 16, !13, i64 24, !16, i64 32, !16, i64 56}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSN4sptk23VandermondeSystemSolverE", !11, i64 8, !13, i64 12}
!21 = !{!11, !11, i64 0}
!22 = !{!10, !13, i64 128}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!10, !11, i64 12}
!26 = !{!27, !27, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!29, !29, i64 0}
!29 = !{!"long double", !7, i64 0}
!30 = !{!15, !15, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = distinct !{!34, !32}
!35 = distinct !{!35, !32}
!36 = !{!13, !13, i64 0}
!37 = distinct !{!37, !32}


; 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.sptk::SymmetricMatrix::Row" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::complex" = type { { double, double } }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(129) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.sptk::SymmetricMatrix::Row", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca i8, align 1
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 128
  %13 = load i8, ptr %12, align 8, !tbaa !20, !range !21, !noundef !22
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %15, label %.loopexit

15:                                               ; preds = %4
  %16 = add i32 %11, 1
  %17 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %18 = sext i32 %16 to i64
  %19 = icmp ne i64 %17, %18
  %20 = icmp eq ptr %2, null
  %or.cond = or i1 %20, %19
  %21 = icmp eq ptr %3, null
  %or.cond6 = or i1 %21, %or.cond
  br i1 %or.cond6, label %.loopexit, label %22

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

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

28:                                               ; preds = %27, %22
  %29 = getelementptr inbounds i8, ptr %3, i64 8
  %30 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %.not158 = icmp eq i64 %30, %17
  br i1 %.not158, label %32, label %31

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

32:                                               ; preds = %31, %28
  %33 = getelementptr inbounds i8, ptr %3, i64 32
  %34 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  %.not159 = icmp eq i64 %34, %25
  br i1 %.not159, label %36, label %35

35:                                               ; preds = %32
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %25)
  br label %36

36:                                               ; preds = %35, %32
  %37 = getelementptr inbounds i8, ptr %3, i64 56
  %38 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %.not160 = icmp eq i64 %38, %25
  br i1 %.not160, label %40, label %39

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

40:                                               ; preds = %39, %36
  %41 = getelementptr inbounds i8, ptr %3, i64 80
  %42 = tail call noundef i32 @_ZNK4sptk15SymmetricMatrix15GetNumDimensionEv(ptr noundef nonnull align 8 dereferenceable(64) %41)
  %43 = load i32, ptr %23, align 4, !tbaa !23
  %.not161 = icmp eq i32 %42, %43
  br i1 %.not161, label %45, label %44

44:                                               ; preds = %40
  tail call void @_ZN4sptk15SymmetricMatrix6ResizeEi(ptr noundef nonnull align 8 dereferenceable(64) %41, i32 noundef %43)
  br label %45

45:                                               ; preds = %44, %40
  %46 = getelementptr inbounds i8, ptr %3, i64 168
  %47 = tail call noundef i64 @_ZNKSt6vectorISt7complexIdESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #7
  %.not162 = icmp eq i64 %47, %25
  br i1 %.not162, label %49, label %48

48:                                               ; preds = %45
  tail call void @_ZNSt6vectorISt7complexIdESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %25)
  br label %49

49:                                               ; preds = %48, %45
  %50 = getelementptr inbounds i8, ptr %3, i64 192
  %51 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %.not163 = icmp eq i64 %51, %25
  br i1 %.not163, label %53, label %52

52:                                               ; preds = %49
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %25)
  br label %53

53:                                               ; preds = %52, %49
  %54 = getelementptr inbounds i8, ptr %3, i64 144
  %55 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  %.not164 = icmp eq i64 %55, %25
  br i1 %.not164, label %57, label %56

56:                                               ; preds = %53
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %25)
  br label %57

57:                                               ; preds = %56, %53
  %58 = getelementptr inbounds i8, ptr %3, i64 216
  %59 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #7
  %.not165 = icmp eq i64 %59, %25
  br i1 %.not165, label %61, label %60

60:                                               ; preds = %57
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %25)
  br label %61

61:                                               ; preds = %60, %57
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #7
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #7
  %.not166175 = icmp slt i32 %11, 0
  br i1 %.not166175, label %.preheader171, label %.preheader172.preheader

.preheader172.preheader:                          ; preds = %61
  %wide.trip.count = zext i32 %16 to i64
  br label %.preheader172

.preheader172:                                    ; preds = %.preheader172.preheader, %67
  %indvars.iv184 = phi i64 [ 0, %.preheader172.preheader ], [ %indvars.iv.next185, %67 ]
  %indvars.iv = phi i32 [ 1, %.preheader172.preheader ], [ %indvars.iv.next, %67 ]
  %64 = trunc nuw nsw i64 %indvars.iv184 to i32
  br label %73

.preheader171:                                    ; preds = %67, %61
  %65 = load i32, ptr %23, align 4, !tbaa !23
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %.preheader, label %._crit_edge179

67:                                               ; preds = %73
  %68 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 2.000000e+00, i32 noundef %64)
  %69 = fpext double %68 to x86_fp80
  %70 = fdiv x86_fp80 %87, %69
  %71 = fptrunc x86_fp80 %70 to double
  %72 = getelementptr inbounds double, ptr %63, i64 %indvars.iv184
  store double %71, ptr %72, align 8, !tbaa !24
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %indvars.iv.next = add nuw i32 %indvars.iv, 1
  %exitcond187.not = icmp eq i64 %indvars.iv.next185, %wide.trip.count
  br i1 %exitcond187.not, label %.preheader171, label %.preheader172, !llvm.loop !25

73:                                               ; preds = %.preheader172, %73
  %.0145174 = phi x86_fp80 [ 0xK00000000000000000000, %.preheader172 ], [ %87, %73 ]
  %.0146173 = phi i32 [ 0, %.preheader172 ], [ %88, %73 ]
  %74 = tail call noundef i64 @_ZN12_GLOBAL__N_128CalculateBinomialCoefficientEii(i32 noundef %64, i32 noundef %.0146173)
  %75 = shl nuw nsw i32 %.0146173, 1
  %76 = zext nneg i32 %75 to i64
  %77 = icmp ult i64 %indvars.iv184, %76
  %78 = sub nsw i32 %75, %64
  %79 = sub nsw i32 %64, %75
  %80 = select i1 %77, i32 %78, i32 %79
  %81 = uitofp i64 %74 to double
  %82 = sext i32 %80 to i64
  %83 = getelementptr inbounds double, ptr %62, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !24
  %85 = fmul double %84, %81
  %86 = fpext double %85 to x86_fp80
  %87 = fadd x86_fp80 %.0145174, %86
  %88 = add nuw i32 %.0146173, 1
  %exitcond.not = icmp eq i32 %88, %indvars.iv
  br i1 %exitcond.not, label %67, label %73, !llvm.loop !27

.preheader:                                       ; preds = %.preheader171, %._crit_edge
  %89 = phi i32 [ %103, %._crit_edge ], [ %65, %.preheader171 ]
  %indvars.iv188 = phi i64 [ %indvars.iv.next189, %._crit_edge ], [ 0, %.preheader171 ]
  %90 = sext i32 %89 to i64
  %91 = icmp slt i64 %indvars.iv188, %90
  br i1 %91, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %invariant.gep = getelementptr inbounds double, ptr %63, i64 %indvars.iv188
  %92 = trunc nuw nsw i64 %indvars.iv188 to i32
  br label %.lr.ph

._crit_edge179:                                   ; preds = %._crit_edge, %.preheader171
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %93 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %93, ptr %6, align 8
  %94 = load i32, ptr %23, align 4, !tbaa !23
  %95 = sext i32 %94 to i64
  %96 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %95) #7
  %97 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %98 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  %99 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr %96, ptr %97, ptr %98)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %100 = getelementptr inbounds i8, ptr %0, i64 16
  %101 = getelementptr inbounds i8, ptr %3, i64 240
  %102 = call noundef zeroext i1 @_ZNK4sptk21SymmetricSystemSolver3RunERKNS_15SymmetricMatrixERKSt6vectorIdSaIdEEPS6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %100, ptr noundef nonnull align 8 dereferenceable(64) %41, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull %54, ptr noundef nonnull %101)
  br i1 %102, label %115, label %.loopexit

._crit_edge.loopexit:                             ; preds = %108
  %.pre = sext i32 %110 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %.pre-phi = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %90, %.preheader ]
  %103 = phi i32 [ %110, %._crit_edge.loopexit ], [ %89, %.preheader ]
  %indvars.iv.next189 = add nuw nsw i64 %indvars.iv188, 1
  %104 = icmp slt i64 %indvars.iv.next189, %.pre-phi
  br i1 %104, label %.preheader, label %._crit_edge179, !llvm.loop !28

.lr.ph:                                           ; preds = %.lr.ph.preheader, %108
  %indvars.iv190 = phi i64 [ %indvars.iv188, %.lr.ph.preheader ], [ %indvars.iv.next191, %108 ]
  %gep = getelementptr inbounds double, ptr %invariant.gep, i64 %indvars.iv190
  %105 = load double, ptr %gep, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZN4sptk15SymmetricMatrixixEi(ptr dead_on_unwind nonnull writable sret(%"class.sptk::SymmetricMatrix::Row") align 8 %5, ptr noundef nonnull align 8 dereferenceable(64) %41, i32 noundef %92)
  %106 = trunc nuw nsw i64 %indvars.iv190 to i32
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4sptk15SymmetricMatrix3RowixEi(ptr noundef nonnull align 8 dereferenceable(20) %5, i32 noundef %106)
          to label %108 unwind label %113

108:                                              ; preds = %.lr.ph
  %109 = fneg double %105
  store double %109, ptr %107, align 8, !tbaa !24
  call void @_ZN4sptk15SymmetricMatrix3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  %indvars.iv.next191 = add nuw nsw i64 %indvars.iv190, 1
  %110 = load i32, ptr %23, align 4, !tbaa !23
  %111 = trunc nuw i64 %indvars.iv.next191 to i32
  %112 = icmp sgt i32 %110, %111
  br i1 %112, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !29

113:                                              ; preds = %.lr.ph
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4sptk15SymmetricMatrix3RowD2Ev(ptr noundef nonnull align 8 dereferenceable(20) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  resume { ptr, i32 } %114

115:                                              ; preds = %._crit_edge179
  %116 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  %117 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  call void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEEvT_S7_(ptr %116, ptr %117)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  %118 = getelementptr inbounds i8, ptr %0, i64 32
  %119 = call noundef zeroext i1 @_ZNK4sptk18DurandKernerMethod3RunERKSt6vectorIdSaIdEEPS1_ISt7complexIdESaIS7_EEPb(ptr noundef nonnull align 8 dereferenceable(80) %118, ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull %46, ptr noundef nonnull %7)
  br i1 %119, label %120, label %.critedge

120:                                              ; preds = %115
  %121 = load i8, ptr %7, align 1, !tbaa !30, !range !21, !noundef !22
  %122 = trunc nuw i8 %121 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br i1 %122, label %123, label %.loopexit

123:                                              ; preds = %120
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef 0) #7
  %125 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef 0) #7
  %126 = load i32, ptr %23, align 4, !tbaa !23
  %.not167180 = icmp sgt i32 %126, 0
  br i1 %.not167180, label %.lr.ph183, label %.critedge170

127:                                              ; preds = %.lr.ph183
  %indvars.iv.next195 = add nuw nsw i64 %indvars.iv194, 1
  %128 = load i32, ptr %23, align 4, !tbaa !23
  %129 = sext i32 %128 to i64
  %.not167 = icmp slt i64 %indvars.iv.next195, %129
  br i1 %.not167, label %.lr.ph183, label %.critedge170, !llvm.loop !31

.lr.ph183:                                        ; preds = %123, %127
  %indvars.iv194 = phi i64 [ %indvars.iv.next195, %127 ], [ 0, %123 ]
  %130 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %indvars.iv194
  %131 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %130)
  %132 = getelementptr inbounds double, ptr %124, i64 %indvars.iv194
  store double %131, ptr %132, align 8, !tbaa !24
  %133 = call double @llvm.fabs.f64(double %131)
  %134 = fcmp ogt double %133, 1.000000e+00
  br i1 %134, label %.loopexit, label %127

.critedge170:                                     ; preds = %127, %123
  %135 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %136 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_0EvT_SF_T0_"(ptr %135, ptr %136)
  %137 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %138 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #7
  %139 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %140 = call ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_1ET0_T_SG_SF_T1_"(ptr %137, ptr %138, ptr %139)
  %141 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %142 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %142, ptr %8, align 8
  %143 = load i32, ptr %23, align 4, !tbaa !23
  %144 = sext i32 %143 to i64
  %145 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %144) #7
  %146 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  %147 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr %141, ptr %145, ptr %146)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  %148 = getelementptr inbounds i8, ptr %0, i64 112
  %149 = getelementptr inbounds i8, ptr %3, i64 312
  %150 = call noundef zeroext i1 @_ZNK4sptk23VandermondeSystemSolver3RunERKSt6vectorIdSaIdEES5_PS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %148, ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull %58, ptr noundef nonnull %149)
  br i1 %150, label %151, label %.loopexit

151:                                              ; preds = %.critedge170
  %152 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #7
  %153 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %154 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  store ptr %154, ptr %9, align 8
  %155 = load i32, ptr %23, align 4, !tbaa !23
  %156 = sext i32 %155 to i64
  %157 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef %156) #7
  %158 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr %152, ptr %153, ptr %157)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %.loopexit

.critedge:                                        ; preds = %115
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph183, %151, %120, %._crit_edge179, %.critedge, %.critedge170, %4, %15
  %.3 = phi i1 [ false, %15 ], [ false, %4 ], [ true, %151 ], [ false, %120 ], [ false, %._crit_edge179 ], [ false, %.critedge ], [ false, %.critedge170 ], [ false, %.lr.ph183 ]
  ret i1 %.3
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 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 i32 @_ZNK4sptk15SymmetricMatrix15GetNumDimensionEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 align 2

declare void @_ZN4sptk15SymmetricMatrix6ResizeEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt7complexIdESaIS1_EE6resizeEm(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 #2 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN12_GLOBAL__N_128CalculateBinomialCoefficientEii(i32 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk15SymmetricMatrixixEi(ptr dead_on_unwind noalias writable sret(%"class.sptk::SymmetricMatrix::Row") align 8, ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #0 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4sptk15SymmetricMatrix3RowixEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ET0_T_S8_S7_(ptr, ptr, ptr) local_unnamed_addr #5

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

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

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

declare noundef zeroext i1 @_ZNK4sptk21SymmetricSystemSolver3RunERKNS_15SymmetricMatrixERKSt6vectorIdSaIdEEPS6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #5

declare noundef zeroext i1 @_ZNK4sptk18DurandKernerMethod3RunERKSt6vectorIdSaIdEEPS1_ISt7complexIdESaIS7_EEPb(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_0EvT_SF_T0_"(ptr, ptr) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_ZNK4sptk44AutocorrelationToCompositeSinusoidalModeling3RunERKS5_PS5_PNS8_6BufferEE3$_1ET0_T_SG_SF_T1_"(ptr, ptr, ptr) local_unnamed_addr #0

declare noundef zeroext i1 @_ZNK4sptk23VandermondeSystemSolver3RunERKSt6vectorIdSaIdEES5_PS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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, !7, i64 8}
!6 = !{!"_ZTSN4sptk44AutocorrelationToCompositeSinusoidalModelingE", !7, i64 8, !7, i64 12, !10, i64 16, !12, i64 32, !19, i64 112, !11, i64 128}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4sptk21SymmetricSystemSolverE", !7, i64 8, !11, i64 12}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN4sptk18DurandKernerMethodE", !7, i64 8, !7, i64 12, !13, i64 16, !11, i64 24, !14, i64 32, !14, i64 56}
!13 = !{!"double", !8, i64 0}
!14 = !{!"_ZTSSt6vectorIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !8, i64 0}
!19 = !{!"_ZTSN4sptk23VandermondeSystemSolverE", !7, i64 8, !11, i64 12}
!20 = !{!6, !11, i64 128}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!6, !7, i64 12}
!24 = !{!13, !13, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = !{!11, !11, i64 0}
!31 = distinct !{!31, !26}


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