; LLVM IR from sp-nitech/SPTK :: src/math (toeplitz_plus_hankel_system_solver)

; 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::ToeplitzPlusHankelSystemSolver" = type <{ ptr, i32, i8, i8, [2 x i8] }>
%"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer" = type { ptr, %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.sptk::Matrix2D", %"class.sptk::Matrix2D", %"class.sptk::Matrix2D", %"class.sptk::Matrix2D", %"class.sptk::Matrix2D", %"class.sptk::Matrix2D" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<sptk::Matrix2D, std::allocator<sptk::Matrix2D>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::Matrix2D, std::allocator<sptk::Matrix2D>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::Matrix2D, std::allocator<sptk::Matrix2D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::Matrix2D, std::allocator<sptk::Matrix2D>>::_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::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::Matrix2D" = type { ptr, %union.anon }
%union.anon = type { [4 x double] }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk30ToeplitzPlusHankelSystemSolver3RunERKSt6vectorIdSaIdEES5_S5_PS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(14) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef %4, ptr noundef %5) #0 align 2 {
  %7 = alloca i1, align 1
  %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 i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  %31 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %32 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %33 = load i32, ptr %32, align 8, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %14, align 4, !tbaa !13
  %35 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 3
  %36 = load i8, ptr %35, align 1, !tbaa !14, !range !15, !noundef !16
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %66

38:                                               ; preds = %6
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #4
  %41 = load i32, ptr %14, align 4, !tbaa !13
  %42 = mul nsw i32 2, %41
  %43 = sub nsw i32 %42, 1
  %44 = sext i32 %43 to i64
  %45 = icmp ne i64 %40, %44
  br i1 %45, label %66, label %46

46:                                               ; preds = %38
  %47 = load ptr, ptr %10, align 8, !tbaa !5
  %48 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #4
  %49 = load i32, ptr %14, align 4, !tbaa !13
  %50 = mul nsw i32 2, %49
  %51 = sub nsw i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = icmp ne i64 %48, %52
  br i1 %53, label %66, label %54

54:                                               ; preds = %46
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #4
  %57 = load i32, ptr %14, align 4, !tbaa !13
  %58 = sext i32 %57 to i64
  %59 = icmp ne i64 %56, %58
  br i1 %59, label %66, label %60

60:                                               ; preds = %54
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  %62 = icmp eq ptr null, %61
  br i1 %62, label %66, label %63

63:                                               ; preds = %60
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = icmp eq ptr null, %64
  br i1 %65, label %66, label %67

66:                                               ; preds = %63, %60, %54, %46, %38, %6
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %671

67:                                               ; preds = %63
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  %69 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #4
  %70 = load i32, ptr %14, align 4, !tbaa !13
  %71 = sext i32 %70 to i64
  %72 = icmp ne i64 %69, %71
  br i1 %72, label %73, label %77

73:                                               ; preds = %67
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = load i32, ptr %14, align 4, !tbaa !13
  %76 = sext i32 %75 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %76)
  br label %77

77:                                               ; preds = %73, %67
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %78, i32 0, i32 1
  %80 = call noundef i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  %81 = load i32, ptr %14, align 4, !tbaa !13
  %82 = sext i32 %81 to i64
  %83 = icmp ne i64 %80, %82
  br i1 %83, label %84, label %89

84:                                               ; preds = %77
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %85, i32 0, i32 1
  %87 = load i32, ptr %14, align 4, !tbaa !13
  %88 = sext i32 %87 to i64
  call void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88)
  br label %89

89:                                               ; preds = %84, %77
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %90, i32 0, i32 2
  %92 = call noundef i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #4
  %93 = load i32, ptr %14, align 4, !tbaa !13
  %94 = sext i32 %93 to i64
  %95 = icmp ne i64 %92, %94
  br i1 %95, label %96, label %101

96:                                               ; preds = %89
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %97, i32 0, i32 2
  %99 = load i32, ptr %14, align 4, !tbaa !13
  %100 = sext i32 %99 to i64
  call void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %100)
  br label %101

101:                                              ; preds = %96, %89
  %102 = load ptr, ptr %13, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %102, i32 0, i32 3
  %104 = call noundef i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #4
  %105 = load i32, ptr %14, align 4, !tbaa !13
  %106 = sext i32 %105 to i64
  %107 = icmp ne i64 %104, %106
  br i1 %107, label %108, label %113

108:                                              ; preds = %101
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  %110 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %109, i32 0, i32 3
  %111 = load i32, ptr %14, align 4, !tbaa !13
  %112 = sext i32 %111 to i64
  call void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %110, i64 noundef %112)
  br label %113

113:                                              ; preds = %108, %101
  %114 = load ptr, ptr %13, align 8, !tbaa !5
  %115 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %114, i32 0, i32 4
  %116 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #4
  %117 = load i32, ptr %14, align 4, !tbaa !13
  %118 = sext i32 %117 to i64
  %119 = icmp ne i64 %116, %118
  br i1 %119, label %120, label %140

120:                                              ; preds = %113
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %121, i32 0, i32 4
  %123 = load i32, ptr %14, align 4, !tbaa !13
  %124 = sext i32 %123 to i64
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !13
  br label %125

125:                                              ; preds = %136, %120
  %126 = load i32, ptr %16, align 4, !tbaa !13
  %127 = load i32, ptr %14, align 4, !tbaa !13
  %128 = icmp slt i32 %126, %127
  br i1 %128, label %130, label %129

129:                                              ; preds = %125
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %139

130:                                              ; preds = %125
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %131, i32 0, i32 4
  %133 = load i32, ptr %16, align 4, !tbaa !13
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %134) #4
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef 2)
  br label %136

136:                                              ; preds = %130
  %137 = load i32, ptr %16, align 4, !tbaa !13
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %16, align 4, !tbaa !13
  br label %125, !llvm.loop !17

139:                                              ; preds = %129
  br label %140

140:                                              ; preds = %139, %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %141, i64 noundef 0) #4
  store ptr %142, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef 0) #4
  store ptr %144, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %145

145:                                              ; preds = %211, %140
  %146 = load i32, ptr %19, align 4, !tbaa !13
  %147 = load i32, ptr %14, align 4, !tbaa !13
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %145
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %214

150:                                              ; preds = %145
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  %152 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %153 = load i32, ptr %152, align 8, !tbaa !9
  %154 = load i32, ptr %19, align 4, !tbaa !13
  %155 = add nsw i32 %153, %154
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds double, ptr %151, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !19
  %159 = load ptr, ptr %13, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %159, i32 0, i32 1
  %161 = load i32, ptr %19, align 4, !tbaa !13
  %162 = sext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %162) #4
  %164 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %163, i32 noundef 0)
  %165 = getelementptr inbounds double, ptr %164, i64 0
  store double %158, ptr %165, align 8, !tbaa !19
  %166 = load ptr, ptr %17, align 8, !tbaa !5
  %167 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %168 = load i32, ptr %167, align 8, !tbaa !9
  %169 = load i32, ptr %19, align 4, !tbaa !13
  %170 = sub nsw i32 %168, %169
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds double, ptr %166, i64 %171
  %173 = load double, ptr %172, align 8, !tbaa !19
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  %175 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %174, i32 0, i32 1
  %176 = load i32, ptr %19, align 4, !tbaa !13
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %177) #4
  %179 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %178, i32 noundef 1)
  %180 = getelementptr inbounds double, ptr %179, i64 1
  store double %173, ptr %180, align 8, !tbaa !19
  %181 = load ptr, ptr %18, align 8, !tbaa !5
  %182 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %183 = load i32, ptr %182, align 8, !tbaa !9
  %184 = load i32, ptr %19, align 4, !tbaa !13
  %185 = add nsw i32 %183, %184
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %181, i64 %186
  %188 = load double, ptr %187, align 8, !tbaa !19
  %189 = load ptr, ptr %13, align 8, !tbaa !5
  %190 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %189, i32 0, i32 1
  %191 = load i32, ptr %19, align 4, !tbaa !13
  %192 = sext i32 %191 to i64
  %193 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %192) #4
  %194 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %193, i32 noundef 0)
  %195 = getelementptr inbounds double, ptr %194, i64 1
  store double %188, ptr %195, align 8, !tbaa !19
  %196 = load ptr, ptr %18, align 8, !tbaa !5
  %197 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %198 = load i32, ptr %197, align 8, !tbaa !9
  %199 = load i32, ptr %19, align 4, !tbaa !13
  %200 = sub nsw i32 %198, %199
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds double, ptr %196, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !19
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %204, i32 0, i32 1
  %206 = load i32, ptr %19, align 4, !tbaa !13
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %205, i64 noundef %207) #4
  %209 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %208, i32 noundef 1)
  %210 = getelementptr inbounds double, ptr %209, i64 0
  store double %203, ptr %210, align 8, !tbaa !19
  br label %211

211:                                              ; preds = %150
  %212 = load i32, ptr %19, align 4, !tbaa !13
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %19, align 4, !tbaa !13
  br label %145, !llvm.loop !21

214:                                              ; preds = %149
  %215 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 2
  %216 = load i8, ptr %215, align 4, !tbaa !22, !range !15, !noundef !16
  %217 = trunc i8 %216 to i1
  br i1 %217, label %218, label %291

218:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %219 = load ptr, ptr %17, align 8, !tbaa !5
  %220 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %221 = load i32, ptr %220, align 8, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds double, ptr %219, i64 %222
  %224 = load double, ptr %223, align 8, !tbaa !19
  store double %224, ptr %20, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %225

225:                                              ; preds = %251, %218
  %226 = load i32, ptr %21, align 4, !tbaa !13
  %227 = load i32, ptr %14, align 4, !tbaa !13
  %228 = icmp slt i32 %226, %227
  br i1 %228, label %230, label %229

229:                                              ; preds = %225
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %254

230:                                              ; preds = %225
  %231 = load double, ptr %20, align 8, !tbaa !19
  %232 = load ptr, ptr %13, align 8, !tbaa !5
  %233 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %232, i32 0, i32 1
  %234 = load i32, ptr %21, align 4, !tbaa !13
  %235 = sext i32 %234 to i64
  %236 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %233, i64 noundef %235) #4
  %237 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %236, i32 noundef 0)
  %238 = getelementptr inbounds double, ptr %237, i64 0
  %239 = load double, ptr %238, align 8, !tbaa !19
  %240 = fadd double %239, %231
  store double %240, ptr %238, align 8, !tbaa !19
  %241 = load double, ptr %20, align 8, !tbaa !19
  %242 = load ptr, ptr %13, align 8, !tbaa !5
  %243 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %242, i32 0, i32 1
  %244 = load i32, ptr %21, align 4, !tbaa !13
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %245) #4
  %247 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %246, i32 noundef 1)
  %248 = getelementptr inbounds double, ptr %247, i64 1
  %249 = load double, ptr %248, align 8, !tbaa !19
  %250 = fadd double %249, %241
  store double %250, ptr %248, align 8, !tbaa !19
  br label %251

251:                                              ; preds = %230
  %252 = load i32, ptr %21, align 4, !tbaa !13
  %253 = add nsw i32 %252, 2
  store i32 %253, ptr %21, align 4, !tbaa !13
  br label %225, !llvm.loop !23

254:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %255 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver", ptr %31, i32 0, i32 1
  %256 = load i32, ptr %255, align 8, !tbaa !9
  %257 = srem i32 %256, 2
  %258 = icmp eq i32 0, %257
  %259 = zext i1 %258 to i64
  %260 = select i1 %258, i32 0, i32 1
  store i32 %260, ptr %22, align 4, !tbaa !13
  br label %261

261:                                              ; preds = %287, %254
  %262 = load i32, ptr %22, align 4, !tbaa !13
  %263 = load i32, ptr %14, align 4, !tbaa !13
  %264 = icmp slt i32 %262, %263
  br i1 %264, label %266, label %265

265:                                              ; preds = %261
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %290

266:                                              ; preds = %261
  %267 = load double, ptr %20, align 8, !tbaa !19
  %268 = load ptr, ptr %13, align 8, !tbaa !5
  %269 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %268, i32 0, i32 1
  %270 = load i32, ptr %22, align 4, !tbaa !13
  %271 = sext i32 %270 to i64
  %272 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %269, i64 noundef %271) #4
  %273 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %272, i32 noundef 0)
  %274 = getelementptr inbounds double, ptr %273, i64 1
  %275 = load double, ptr %274, align 8, !tbaa !19
  %276 = fsub double %275, %267
  store double %276, ptr %274, align 8, !tbaa !19
  %277 = load double, ptr %20, align 8, !tbaa !19
  %278 = load ptr, ptr %13, align 8, !tbaa !5
  %279 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %278, i32 0, i32 1
  %280 = load i32, ptr %22, align 4, !tbaa !13
  %281 = sext i32 %280 to i64
  %282 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %279, i64 noundef %281) #4
  %283 = call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %282, i32 noundef 1)
  %284 = getelementptr inbounds double, ptr %283, i64 0
  %285 = load double, ptr %284, align 8, !tbaa !19
  %286 = fsub double %285, %277
  store double %286, ptr %284, align 8, !tbaa !19
  br label %287

287:                                              ; preds = %266
  %288 = load i32, ptr %22, align 4, !tbaa !13
  %289 = add nsw i32 %288, 2
  store i32 %289, ptr %22, align 4, !tbaa !13
  br label %261, !llvm.loop !24

290:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  br label %291

291:                                              ; preds = %290, %214
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  %292 = load ptr, ptr %13, align 8, !tbaa !5
  %293 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %292, i32 0, i32 2
  %294 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %293, i64 noundef 0) #4
  call void @_ZN4sptk8Matrix2D12FillDiagonalEd(ptr noundef nonnull align 8 dereferenceable(40) %294, double noundef 1.000000e+00)
  %295 = load ptr, ptr %11, align 8, !tbaa !5
  %296 = load ptr, ptr %13, align 8, !tbaa !5
  %297 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %296, i32 0, i32 7
  call void @_ZN12_GLOBAL__N_16PutBarEiRKSt6vectorIdSaIdEEPS2_(i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %295, ptr noundef %297)
  %298 = load ptr, ptr %13, align 8, !tbaa !5
  %299 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %298, i32 0, i32 1
  %300 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %299, i64 noundef 0) #4
  %301 = load ptr, ptr %13, align 8, !tbaa !5
  %302 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %301, i32 0, i32 12
  %303 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %300, ptr noundef %302)
  br i1 %303, label %304, label %313

304:                                              ; preds = %291
  %305 = load ptr, ptr %13, align 8, !tbaa !5
  %306 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %305, i32 0, i32 12
  %307 = load ptr, ptr %13, align 8, !tbaa !5
  %308 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %307, i32 0, i32 7
  %309 = load ptr, ptr %13, align 8, !tbaa !5
  %310 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %309, i32 0, i32 4
  %311 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %310, i64 noundef 0) #4
  %312 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %306, ptr noundef nonnull align 8 dereferenceable(24) %308, ptr noundef %311)
  br i1 %312, label %314, label %313

313:                                              ; preds = %304, %291
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %671

314:                                              ; preds = %304
  %315 = load ptr, ptr %13, align 8, !tbaa !5
  %316 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %315, i32 0, i32 1
  %317 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %316, i64 noundef 0) #4
  %318 = load ptr, ptr %13, align 8, !tbaa !5
  %319 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %318, i32 0, i32 9
  %320 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4sptk8Matrix2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %319, ptr noundef nonnull align 8 dereferenceable(40) %317)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 1, ptr %23, align 4, !tbaa !13
  br label %321

321:                                              ; preds = %642, %314
  %322 = load i32, ptr %23, align 4, !tbaa !13
  %323 = load i32, ptr %14, align 4, !tbaa !13
  %324 = icmp slt i32 %322, %323
  br i1 %324, label %326, label %325

325:                                              ; preds = %321
  store i32 14, ptr %15, align 4
  br label %645

326:                                              ; preds = %321
  %327 = load ptr, ptr %13, align 8, !tbaa !5
  %328 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %327, i32 0, i32 10
  call void @_ZN4sptk8Matrix2D4FillEd(ptr noundef nonnull align 8 dereferenceable(40) %328, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  store i32 0, ptr %24, align 4, !tbaa !13
  br label %329

329:                                              ; preds = %358, %326
  %330 = load i32, ptr %24, align 4, !tbaa !13
  %331 = load i32, ptr %23, align 4, !tbaa !13
  %332 = icmp slt i32 %330, %331
  br i1 %332, label %334, label %333

333:                                              ; preds = %329
  store i32 17, ptr %15, align 4
  br label %361

334:                                              ; preds = %329
  %335 = load ptr, ptr %13, align 8, !tbaa !5
  %336 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %335, i32 0, i32 1
  %337 = load i32, ptr %23, align 4, !tbaa !13
  %338 = load i32, ptr %24, align 4, !tbaa !13
  %339 = sub nsw i32 %337, %338
  %340 = sext i32 %339 to i64
  %341 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %336, i64 noundef %340) #4
  %342 = load ptr, ptr %13, align 8, !tbaa !5
  %343 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %342, i32 0, i32 2
  %344 = load i32, ptr %24, align 4, !tbaa !13
  %345 = sext i32 %344 to i64
  %346 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %343, i64 noundef %345) #4
  %347 = load ptr, ptr %13, align 8, !tbaa !5
  %348 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %347, i32 0, i32 14
  %349 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %341, ptr noundef nonnull align 8 dereferenceable(40) %346, ptr noundef %348)
  br i1 %349, label %350, label %356

350:                                              ; preds = %334
  %351 = load ptr, ptr %13, align 8, !tbaa !5
  %352 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %351, i32 0, i32 14
  %353 = load ptr, ptr %13, align 8, !tbaa !5
  %354 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %353, i32 0, i32 10
  %355 = call noundef zeroext i1 @_ZN4sptk8Matrix2D3AddERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %352, ptr noundef %354)
  br i1 %355, label %357, label %356

356:                                              ; preds = %350, %334
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %361

357:                                              ; preds = %350
  br label %358

358:                                              ; preds = %357
  %359 = load i32, ptr %24, align 4, !tbaa !13
  %360 = add nsw i32 %359, 1
  store i32 %360, ptr %24, align 4, !tbaa !13
  br label %329, !llvm.loop !25

361:                                              ; preds = %356, %333
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  %362 = load i32, ptr %15, align 4
  switch i32 %362, label %645 [
    i32 17, label %363
  ]

363:                                              ; preds = %361
  %364 = load ptr, ptr %13, align 8, !tbaa !5
  %365 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %364, i32 0, i32 5
  %366 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %365, i64 noundef 0) #4
  store double 0.000000e+00, ptr %366, align 8, !tbaa !19
  %367 = load ptr, ptr %13, align 8, !tbaa !5
  %368 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %367, i32 0, i32 5
  %369 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %368, i64 noundef 1) #4
  store double 0.000000e+00, ptr %369, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 0, ptr %25, align 4, !tbaa !13
  br label %370

370:                                              ; preds = %411, %363
  %371 = load i32, ptr %25, align 4, !tbaa !13
  %372 = load i32, ptr %23, align 4, !tbaa !13
  %373 = icmp slt i32 %371, %372
  br i1 %373, label %375, label %374

374:                                              ; preds = %370
  store i32 20, ptr %15, align 4
  br label %414

375:                                              ; preds = %370
  %376 = load ptr, ptr %13, align 8, !tbaa !5
  %377 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %376, i32 0, i32 1
  %378 = load i32, ptr %23, align 4, !tbaa !13
  %379 = load i32, ptr %25, align 4, !tbaa !13
  %380 = sub nsw i32 %378, %379
  %381 = sext i32 %380 to i64
  %382 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %377, i64 noundef %381) #4
  %383 = load ptr, ptr %13, align 8, !tbaa !5
  %384 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %383, i32 0, i32 4
  %385 = load i32, ptr %25, align 4, !tbaa !13
  %386 = sext i32 %385 to i64
  %387 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %384, i64 noundef %386) #4
  %388 = load ptr, ptr %13, align 8, !tbaa !5
  %389 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %388, i32 0, i32 8
  %390 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %382, ptr noundef nonnull align 8 dereferenceable(24) %387, ptr noundef %389)
  br i1 %390, label %392, label %391

391:                                              ; preds = %375
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %414

392:                                              ; preds = %375
  %393 = load ptr, ptr %13, align 8, !tbaa !5
  %394 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %393, i32 0, i32 8
  %395 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %394, i64 noundef 0) #4
  %396 = load double, ptr %395, align 8, !tbaa !19
  %397 = load ptr, ptr %13, align 8, !tbaa !5
  %398 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %397, i32 0, i32 5
  %399 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %398, i64 noundef 0) #4
  %400 = load double, ptr %399, align 8, !tbaa !19
  %401 = fadd double %400, %396
  store double %401, ptr %399, align 8, !tbaa !19
  %402 = load ptr, ptr %13, align 8, !tbaa !5
  %403 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %402, i32 0, i32 8
  %404 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %403, i64 noundef 1) #4
  %405 = load double, ptr %404, align 8, !tbaa !19
  %406 = load ptr, ptr %13, align 8, !tbaa !5
  %407 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %406, i32 0, i32 5
  %408 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %407, i64 noundef 1) #4
  %409 = load double, ptr %408, align 8, !tbaa !19
  %410 = fadd double %409, %405
  store double %410, ptr %408, align 8, !tbaa !19
  br label %411

411:                                              ; preds = %392
  %412 = load i32, ptr %25, align 4, !tbaa !13
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %25, align 4, !tbaa !13
  br label %370, !llvm.loop !26

414:                                              ; preds = %391, %374
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  %415 = load i32, ptr %15, align 4
  switch i32 %415, label %645 [
    i32 20, label %416
  ]

416:                                              ; preds = %414
  %417 = load ptr, ptr %13, align 8, !tbaa !5
  %418 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %417, i32 0, i32 9
  %419 = load ptr, ptr %13, align 8, !tbaa !5
  %420 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %419, i32 0, i32 13
  %421 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %418, ptr noundef %420)
  br i1 %421, label %422, label %436

422:                                              ; preds = %416
  %423 = load ptr, ptr %13, align 8, !tbaa !5
  %424 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %423, i32 0, i32 13
  %425 = load ptr, ptr %13, align 8, !tbaa !5
  %426 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %425, i32 0, i32 12
  %427 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %424, ptr noundef %426)
  br i1 %427, label %428, label %436

428:                                              ; preds = %422
  %429 = load ptr, ptr %13, align 8, !tbaa !5
  %430 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %429, i32 0, i32 12
  %431 = load ptr, ptr %13, align 8, !tbaa !5
  %432 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %431, i32 0, i32 10
  %433 = load ptr, ptr %13, align 8, !tbaa !5
  %434 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %433, i32 0, i32 11
  %435 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %430, ptr noundef nonnull align 8 dereferenceable(40) %432, ptr noundef %434)
  br i1 %435, label %437, label %436

436:                                              ; preds = %428, %422, %416
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %645

437:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 1, ptr %26, align 4, !tbaa !13
  br label %438

438:                                              ; preds = %473, %437
  %439 = load i32, ptr %26, align 4, !tbaa !13
  %440 = load i32, ptr %23, align 4, !tbaa !13
  %441 = icmp slt i32 %439, %440
  br i1 %441, label %443, label %442

442:                                              ; preds = %438
  store i32 23, ptr %15, align 4
  br label %476

443:                                              ; preds = %438
  %444 = load ptr, ptr %13, align 8, !tbaa !5
  %445 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %444, i32 0, i32 3
  %446 = load i32, ptr %23, align 4, !tbaa !13
  %447 = load i32, ptr %26, align 4, !tbaa !13
  %448 = sub nsw i32 %446, %447
  %449 = sext i32 %448 to i64
  %450 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %445, i64 noundef %449) #4
  %451 = load ptr, ptr %13, align 8, !tbaa !5
  %452 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %451, i32 0, i32 13
  %453 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %450, ptr noundef %452)
  br i1 %453, label %454, label %471

454:                                              ; preds = %443
  %455 = load ptr, ptr %13, align 8, !tbaa !5
  %456 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %455, i32 0, i32 13
  %457 = load ptr, ptr %13, align 8, !tbaa !5
  %458 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %457, i32 0, i32 11
  %459 = load ptr, ptr %13, align 8, !tbaa !5
  %460 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %459, i32 0, i32 14
  %461 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %456, ptr noundef nonnull align 8 dereferenceable(40) %458, ptr noundef %460)
  br i1 %461, label %462, label %471

462:                                              ; preds = %454
  %463 = load ptr, ptr %13, align 8, !tbaa !5
  %464 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %463, i32 0, i32 14
  %465 = load ptr, ptr %13, align 8, !tbaa !5
  %466 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %465, i32 0, i32 2
  %467 = load i32, ptr %26, align 4, !tbaa !13
  %468 = sext i32 %467 to i64
  %469 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %466, i64 noundef %468) #4
  %470 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8SubtractERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %464, ptr noundef %469)
  br i1 %470, label %472, label %471

471:                                              ; preds = %462, %454, %443
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %476

472:                                              ; preds = %462
  br label %473

473:                                              ; preds = %472
  %474 = load i32, ptr %26, align 4, !tbaa !13
  %475 = add nsw i32 %474, 1
  store i32 %475, ptr %26, align 4, !tbaa !13
  br label %438, !llvm.loop !27

476:                                              ; preds = %471, %442
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  %477 = load i32, ptr %15, align 4
  switch i32 %477, label %645 [
    i32 23, label %478
  ]

478:                                              ; preds = %476
  %479 = load ptr, ptr %13, align 8, !tbaa !5
  %480 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %479, i32 0, i32 2
  %481 = load i32, ptr %23, align 4, !tbaa !13
  %482 = sext i32 %481 to i64
  %483 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %480, i64 noundef %482) #4
  %484 = load ptr, ptr %13, align 8, !tbaa !5
  %485 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %484, i32 0, i32 11
  call void @_ZN4sptk8Matrix2D6NegateERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %483, ptr noundef nonnull align 8 dereferenceable(40) %485)
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 1, ptr %27, align 4, !tbaa !13
  br label %486

486:                                              ; preds = %503, %478
  %487 = load i32, ptr %27, align 4, !tbaa !13
  %488 = load i32, ptr %23, align 4, !tbaa !13
  %489 = icmp sle i32 %487, %488
  br i1 %489, label %491, label %490

490:                                              ; preds = %486
  store i32 26, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %506

491:                                              ; preds = %486
  %492 = load ptr, ptr %13, align 8, !tbaa !5
  %493 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %492, i32 0, i32 2
  %494 = load i32, ptr %27, align 4, !tbaa !13
  %495 = sext i32 %494 to i64
  %496 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %493, i64 noundef %495) #4
  %497 = load ptr, ptr %13, align 8, !tbaa !5
  %498 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %497, i32 0, i32 3
  %499 = load i32, ptr %27, align 4, !tbaa !13
  %500 = sext i32 %499 to i64
  %501 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %498, i64 noundef %500) #4
  %502 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4sptk8Matrix2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %501, ptr noundef nonnull align 8 dereferenceable(40) %496)
  br label %503

503:                                              ; preds = %491
  %504 = load i32, ptr %27, align 4, !tbaa !13
  %505 = add nsw i32 %504, 1
  store i32 %505, ptr %27, align 4, !tbaa !13
  br label %486, !llvm.loop !28

506:                                              ; preds = %490
  %507 = load ptr, ptr %13, align 8, !tbaa !5
  %508 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %507, i32 0, i32 10
  %509 = load ptr, ptr %13, align 8, !tbaa !5
  %510 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %509, i32 0, i32 13
  %511 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %508, ptr noundef %510)
  br i1 %511, label %512, label %526

512:                                              ; preds = %506
  %513 = load ptr, ptr %13, align 8, !tbaa !5
  %514 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %513, i32 0, i32 13
  %515 = load ptr, ptr %13, align 8, !tbaa !5
  %516 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %515, i32 0, i32 11
  %517 = load ptr, ptr %13, align 8, !tbaa !5
  %518 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %517, i32 0, i32 14
  %519 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %514, ptr noundef nonnull align 8 dereferenceable(40) %516, ptr noundef %518)
  br i1 %519, label %520, label %526

520:                                              ; preds = %512
  %521 = load ptr, ptr %13, align 8, !tbaa !5
  %522 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %521, i32 0, i32 14
  %523 = load ptr, ptr %13, align 8, !tbaa !5
  %524 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %523, i32 0, i32 9
  %525 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8SubtractERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %522, ptr noundef %524)
  br i1 %525, label %527, label %526

526:                                              ; preds = %520, %512, %506
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %645

527:                                              ; preds = %520
  %528 = load ptr, ptr %13, align 8, !tbaa !5
  %529 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %528, i32 0, i32 9
  %530 = load ptr, ptr %13, align 8, !tbaa !5
  %531 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %530, i32 0, i32 13
  %532 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %529, ptr noundef %531)
  br i1 %532, label %533, label %539

533:                                              ; preds = %527
  %534 = load ptr, ptr %13, align 8, !tbaa !5
  %535 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %534, i32 0, i32 13
  %536 = load ptr, ptr %13, align 8, !tbaa !5
  %537 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %536, i32 0, i32 12
  %538 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %535, ptr noundef %537)
  br i1 %538, label %540, label %539

539:                                              ; preds = %533, %527
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %645

540:                                              ; preds = %533
  %541 = load i32, ptr %23, align 4, !tbaa !13
  %542 = load ptr, ptr %11, align 8, !tbaa !5
  %543 = load ptr, ptr %13, align 8, !tbaa !5
  %544 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %543, i32 0, i32 7
  call void @_ZN12_GLOBAL__N_16PutBarEiRKSt6vectorIdSaIdEEPS2_(i32 noundef %541, ptr noundef nonnull align 8 dereferenceable(24) %542, ptr noundef %544)
  %545 = load ptr, ptr %13, align 8, !tbaa !5
  %546 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %545, i32 0, i32 7
  %547 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %546, i64 noundef 0) #4
  %548 = load double, ptr %547, align 8, !tbaa !19
  %549 = load ptr, ptr %13, align 8, !tbaa !5
  %550 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %549, i32 0, i32 5
  %551 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %550, i64 noundef 0) #4
  %552 = load double, ptr %551, align 8, !tbaa !19
  %553 = fsub double %548, %552
  %554 = load ptr, ptr %13, align 8, !tbaa !5
  %555 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %554, i32 0, i32 8
  %556 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %555, i64 noundef 0) #4
  store double %553, ptr %556, align 8, !tbaa !19
  %557 = load ptr, ptr %13, align 8, !tbaa !5
  %558 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %557, i32 0, i32 7
  %559 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %558, i64 noundef 1) #4
  %560 = load double, ptr %559, align 8, !tbaa !19
  %561 = load ptr, ptr %13, align 8, !tbaa !5
  %562 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %561, i32 0, i32 5
  %563 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %562, i64 noundef 1) #4
  %564 = load double, ptr %563, align 8, !tbaa !19
  %565 = fsub double %560, %564
  %566 = load ptr, ptr %13, align 8, !tbaa !5
  %567 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %566, i32 0, i32 8
  %568 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %567, i64 noundef 1) #4
  store double %565, ptr %568, align 8, !tbaa !19
  %569 = load ptr, ptr %13, align 8, !tbaa !5
  %570 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %569, i32 0, i32 12
  %571 = load ptr, ptr %13, align 8, !tbaa !5
  %572 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %571, i32 0, i32 8
  %573 = load ptr, ptr %13, align 8, !tbaa !5
  %574 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %573, i32 0, i32 6
  %575 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %570, ptr noundef nonnull align 8 dereferenceable(24) %572, ptr noundef %574)
  br i1 %575, label %577, label %576

576:                                              ; preds = %540
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %645

577:                                              ; preds = %540
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 0, ptr %28, align 4, !tbaa !13
  br label %578

578:                                              ; preds = %628, %577
  %579 = load i32, ptr %28, align 4, !tbaa !13
  %580 = load i32, ptr %23, align 4, !tbaa !13
  %581 = icmp slt i32 %579, %580
  br i1 %581, label %583, label %582

582:                                              ; preds = %578
  store i32 29, ptr %15, align 4
  br label %631

583:                                              ; preds = %578
  %584 = load ptr, ptr %13, align 8, !tbaa !5
  %585 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %584, i32 0, i32 2
  %586 = load i32, ptr %23, align 4, !tbaa !13
  %587 = load i32, ptr %28, align 4, !tbaa !13
  %588 = sub nsw i32 %586, %587
  %589 = sext i32 %588 to i64
  %590 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %585, i64 noundef %589) #4
  %591 = load ptr, ptr %13, align 8, !tbaa !5
  %592 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %591, i32 0, i32 13
  %593 = call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %590, ptr noundef %592)
  br i1 %593, label %594, label %602

594:                                              ; preds = %583
  %595 = load ptr, ptr %13, align 8, !tbaa !5
  %596 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %595, i32 0, i32 13
  %597 = load ptr, ptr %13, align 8, !tbaa !5
  %598 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %597, i32 0, i32 6
  %599 = load ptr, ptr %13, align 8, !tbaa !5
  %600 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %599, i32 0, i32 8
  %601 = call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %596, ptr noundef nonnull align 8 dereferenceable(24) %598, ptr noundef %600)
  br i1 %601, label %603, label %602

602:                                              ; preds = %594, %583
  store i1 false, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %631

603:                                              ; preds = %594
  %604 = load ptr, ptr %13, align 8, !tbaa !5
  %605 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %604, i32 0, i32 8
  %606 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %605, i64 noundef 0) #4
  %607 = load double, ptr %606, align 8, !tbaa !19
  %608 = load ptr, ptr %13, align 8, !tbaa !5
  %609 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %608, i32 0, i32 4
  %610 = load i32, ptr %28, align 4, !tbaa !13
  %611 = sext i32 %610 to i64
  %612 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %609, i64 noundef %611) #4
  %613 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %612, i64 noundef 0) #4
  %614 = load double, ptr %613, align 8, !tbaa !19
  %615 = fadd double %614, %607
  store double %615, ptr %613, align 8, !tbaa !19
  %616 = load ptr, ptr %13, align 8, !tbaa !5
  %617 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %616, i32 0, i32 8
  %618 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %617, i64 noundef 1) #4
  %619 = load double, ptr %618, align 8, !tbaa !19
  %620 = load ptr, ptr %13, align 8, !tbaa !5
  %621 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %620, i32 0, i32 4
  %622 = load i32, ptr %28, align 4, !tbaa !13
  %623 = sext i32 %622 to i64
  %624 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %621, i64 noundef %623) #4
  %625 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %624, i64 noundef 1) #4
  %626 = load double, ptr %625, align 8, !tbaa !19
  %627 = fadd double %626, %619
  store double %627, ptr %625, align 8, !tbaa !19
  br label %628

628:                                              ; preds = %603
  %629 = load i32, ptr %28, align 4, !tbaa !13
  %630 = add nsw i32 %629, 1
  store i32 %630, ptr %28, align 4, !tbaa !13
  br label %578, !llvm.loop !29

631:                                              ; preds = %602, %582
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  %632 = load i32, ptr %15, align 4
  switch i32 %632, label %645 [
    i32 29, label %633
  ]

633:                                              ; preds = %631
  %634 = load ptr, ptr %13, align 8, !tbaa !5
  %635 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %634, i32 0, i32 6
  %636 = load ptr, ptr %13, align 8, !tbaa !5
  %637 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %636, i32 0, i32 4
  %638 = load i32, ptr %23, align 4, !tbaa !13
  %639 = sext i32 %638 to i64
  %640 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %637, i64 noundef %639) #4
  %641 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %640, ptr noundef nonnull align 8 dereferenceable(24) %635)
  br label %642

642:                                              ; preds = %633
  %643 = load i32, ptr %23, align 4, !tbaa !13
  %644 = add nsw i32 %643, 1
  store i32 %644, ptr %23, align 4, !tbaa !13
  br label %321, !llvm.loop !30

645:                                              ; preds = %631, %576, %539, %526, %476, %436, %414, %361, %325
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  %646 = load i32, ptr %15, align 4
  switch i32 %646, label %671 [
    i32 14, label %647
  ]

647:                                              ; preds = %645
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %648 = load ptr, ptr %12, align 8, !tbaa !5
  %649 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %648, i64 noundef 0) #4
  store ptr %649, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  store i32 0, ptr %30, align 4, !tbaa !13
  br label %650

650:                                              ; preds = %667, %647
  %651 = load i32, ptr %30, align 4, !tbaa !13
  %652 = load i32, ptr %14, align 4, !tbaa !13
  %653 = icmp slt i32 %651, %652
  br i1 %653, label %655, label %654

654:                                              ; preds = %650
  store i32 32, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %670

655:                                              ; preds = %650
  %656 = load ptr, ptr %13, align 8, !tbaa !5
  %657 = getelementptr inbounds %"class.sptk::ToeplitzPlusHankelSystemSolver::Buffer", ptr %656, i32 0, i32 4
  %658 = load i32, ptr %30, align 4, !tbaa !13
  %659 = sext i32 %658 to i64
  %660 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %657, i64 noundef %659) #4
  %661 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %660, i64 noundef 0) #4
  %662 = load double, ptr %661, align 8, !tbaa !19
  %663 = load ptr, ptr %29, align 8, !tbaa !5
  %664 = load i32, ptr %30, align 4, !tbaa !13
  %665 = sext i32 %664 to i64
  %666 = getelementptr inbounds double, ptr %663, i64 %665
  store double %662, ptr %666, align 8, !tbaa !19
  br label %667

667:                                              ; preds = %655
  %668 = load i32, ptr %30, align 4, !tbaa !13
  %669 = add nsw i32 %668, 1
  store i32 %669, ptr %30, align 4, !tbaa !13
  br label %650, !llvm.loop !31

670:                                              ; preds = %654
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  store i1 true, ptr %7, align 1
  store i32 1, ptr %15, align 4
  br label %671

671:                                              ; preds = %670, %645, %313, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %672 = load i1, ptr %7, align 1
  ret i1 %672
}

; 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 i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IdSaIdEESaIS1_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(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

; 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(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

declare void @_ZN4sptk8Matrix2D12FillDiagonalEd(ptr noundef nonnull align 8 dereferenceable(40), double noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_16PutBarEiRKSt6vectorIdSaIdEEPS2_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

declare noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #3

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

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4sptk8Matrix2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3

declare void @_ZN4sptk8Matrix2D4FillEd(ptr noundef nonnull align 8 dereferenceable(40), double noundef) #3

declare noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #3

declare noundef zeroext i1 @_ZN4sptk8Matrix2D3AddERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #3

; 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

declare noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #3

declare noundef zeroext i1 @_ZN4sptk8Matrix2D8SubtractERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #3

declare void @_ZN4sptk8Matrix2D6NegateERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 = !{!"_ZTSN4sptk30ToeplitzPlusHankelSystemSolverE", !11, i64 8, !12, i64 12, !12, i64 13}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !12, i64 13}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = distinct !{!21, !18}
!22 = !{!10, !12, i64 12}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}


; 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 @_ZNK4sptk30ToeplitzPlusHankelSystemSolver3RunERKSt6vectorIdSaIdEES5_S5_PS3_PNS0_6BufferE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(14) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 align 2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = add i32 %8, 1
  %10 = getelementptr inbounds i8, ptr %0, i64 13
  %11 = load i8, ptr %10, align 1, !tbaa !11, !range !12, !noundef !13
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %.loopexit

13:                                               ; preds = %6
  %14 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  %15 = shl nsw i32 %9, 1
  %16 = add nsw i32 %15, -1
  %17 = sext i32 %16 to i64
  %.not = icmp eq i64 %14, %17
  br i1 %.not, label %18, label %.loopexit

18:                                               ; preds = %13
  %19 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %.not227 = icmp eq i64 %19, %14
  br i1 %.not227, label %20, label %.loopexit

20:                                               ; preds = %18
  %21 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %22 = sext i32 %9 to i64
  %23 = icmp ne i64 %21, %22
  %24 = icmp eq ptr %4, null
  %or.cond = or i1 %24, %23
  %25 = icmp eq ptr %5, null
  %or.cond7 = or i1 %25, %or.cond
  br i1 %or.cond7, label %.loopexit, label %26

26:                                               ; preds = %20
  %27 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #3
  %.not228 = icmp eq i64 %27, %21
  br i1 %.not228, label %29, label %28

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

29:                                               ; preds = %28, %26
  %30 = getelementptr inbounds i8, ptr %5, i64 8
  %31 = tail call noundef i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #3
  %.not229 = icmp eq i64 %31, %21
  br i1 %.not229, label %33, label %32

32:                                               ; preds = %29
  tail call void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %21)
  br label %33

33:                                               ; preds = %32, %29
  %34 = getelementptr inbounds i8, ptr %5, i64 32
  %35 = tail call noundef i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #3
  %.not230 = icmp eq i64 %35, %21
  br i1 %.not230, label %37, label %36

36:                                               ; preds = %33
  tail call void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %21)
  br label %37

37:                                               ; preds = %36, %33
  %38 = getelementptr inbounds i8, ptr %5, i64 56
  %39 = tail call noundef i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #3
  %.not231 = icmp eq i64 %39, %21
  br i1 %.not231, label %41, label %40

40:                                               ; preds = %37
  tail call void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %21)
  br label %41

41:                                               ; preds = %40, %37
  %42 = getelementptr inbounds i8, ptr %5, i64 80
  %43 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #3
  %.not232 = icmp eq i64 %43, %21
  br i1 %.not232, label %.loopexit259, label %44

44:                                               ; preds = %41
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %21)
  %.not233260 = icmp slt i32 %8, 0
  br i1 %.not233260, label %.loopexit259, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %44
  %wide.trip.count = zext i32 %9 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %45 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv) #3
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef 2)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit259, label %.lr.ph, !llvm.loop !14

.loopexit259:                                     ; preds = %.lr.ph, %44, %41
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #3
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #3
  %.not234262 = icmp slt i32 %8, 0
  br i1 %.not234262, label %._crit_edge.thread, label %.lr.ph264.preheader

.lr.ph264.preheader:                              ; preds = %.loopexit259
  %wide.trip.count297 = zext i32 %9 to i64
  br label %.lr.ph264

._crit_edge:                                      ; preds = %.lr.ph264
  %48 = getelementptr inbounds i8, ptr %0, i64 12
  %49 = load i8, ptr %48, align 4, !tbaa !16, !range !12, !noundef !13
  %50 = trunc nuw i8 %49 to i1
  br i1 %50, label %89, label %.loopexit258

._crit_edge.thread:                               ; preds = %.loopexit259
  %51 = getelementptr inbounds i8, ptr %0, i64 12
  %52 = load i8, ptr %51, align 4, !tbaa !16, !range !12, !noundef !13
  %53 = trunc nuw i8 %52 to i1
  br i1 %53, label %.thread, label %.loopexit258

.thread:                                          ; preds = %._crit_edge.thread
  %54 = load i32, ptr %7, align 8, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds double, ptr %46, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !17
  br label %._crit_edge269

.lr.ph264:                                        ; preds = %.lr.ph264.preheader, %.lr.ph264
  %indvars.iv294 = phi i64 [ 0, %.lr.ph264.preheader ], [ %indvars.iv.next295, %.lr.ph264 ]
  %58 = load i32, ptr %7, align 8, !tbaa !5
  %59 = trunc nuw nsw i64 %indvars.iv294 to i32
  %60 = add nsw i32 %58, %59
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds double, ptr %46, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !17
  %64 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv294) #3
  %65 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %64, i32 noundef 0)
  store double %63, ptr %65, align 8, !tbaa !17
  %66 = load i32, ptr %7, align 8, !tbaa !5
  %67 = sub nsw i32 %66, %59
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds double, ptr %46, i64 %68
  %70 = load double, ptr %69, align 8, !tbaa !17
  %71 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv294) #3
  %72 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %71, i32 noundef 1)
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  store double %70, ptr %73, align 8, !tbaa !17
  %74 = load i32, ptr %7, align 8, !tbaa !5
  %75 = add nsw i32 %74, %59
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %47, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !17
  %79 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv294) #3
  %80 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %79, i32 noundef 0)
  %81 = getelementptr inbounds i8, ptr %80, i64 8
  store double %78, ptr %81, align 8, !tbaa !17
  %82 = load i32, ptr %7, align 8, !tbaa !5
  %83 = sub nsw i32 %82, %59
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds double, ptr %47, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !17
  %87 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv294) #3
  %88 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %87, i32 noundef 1)
  store double %86, ptr %88, align 8, !tbaa !17
  %indvars.iv.next295 = add nuw nsw i64 %indvars.iv294, 1
  %exitcond298.not = icmp eq i64 %indvars.iv.next295, %wide.trip.count297
  br i1 %exitcond298.not, label %._crit_edge, label %.lr.ph264, !llvm.loop !19

89:                                               ; preds = %._crit_edge
  %90 = load i32, ptr %7, align 8, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds double, ptr %46, i64 %91
  %93 = load double, ptr %92, align 8, !tbaa !17
  br i1 %.not234262, label %._crit_edge269, label %.lr.ph268

._crit_edge269.loopexit:                          ; preds = %.lr.ph268
  %.pre = load i32, ptr %7, align 8, !tbaa !5
  br label %._crit_edge269

._crit_edge269:                                   ; preds = %.thread, %._crit_edge269.loopexit, %89
  %94 = phi double [ %93, %._crit_edge269.loopexit ], [ %93, %89 ], [ %57, %.thread ]
  %95 = phi i32 [ %.pre, %._crit_edge269.loopexit ], [ %90, %89 ], [ %54, %.thread ]
  %96 = and i32 %95, 1
  %.not236270 = icmp sgt i32 %96, %8
  br i1 %.not236270, label %.loopexit258, label %.lr.ph273.preheader

.lr.ph273.preheader:                              ; preds = %._crit_edge269
  %97 = and i32 %95, 1
  %98 = zext nneg i32 %97 to i64
  br label %.lr.ph273

.lr.ph268:                                        ; preds = %89, %.lr.ph268
  %indvars.iv299 = phi i64 [ %indvars.iv.next300, %.lr.ph268 ], [ 0, %89 ]
  %99 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv299) #3
  %100 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %99, i32 noundef 0)
  %101 = load double, ptr %100, align 8, !tbaa !17
  %102 = fadd double %93, %101
  store double %102, ptr %100, align 8, !tbaa !17
  %103 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv299) #3
  %104 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %103, i32 noundef 1)
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  %106 = load double, ptr %105, align 8, !tbaa !17
  %107 = fadd double %93, %106
  store double %107, ptr %105, align 8, !tbaa !17
  %indvars.iv.next300 = add nuw nsw i64 %indvars.iv299, 2
  %108 = trunc nuw i64 %indvars.iv.next300 to i32
  %.not235 = icmp slt i32 %8, %108
  br i1 %.not235, label %._crit_edge269.loopexit, label %.lr.ph268, !llvm.loop !20

.lr.ph273:                                        ; preds = %.lr.ph273.preheader, %.lr.ph273
  %indvars.iv302 = phi i64 [ %98, %.lr.ph273.preheader ], [ %indvars.iv.next303, %.lr.ph273 ]
  %109 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv302) #3
  %110 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %109, i32 noundef 0)
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = load double, ptr %111, align 8, !tbaa !17
  %113 = fsub double %112, %94
  store double %113, ptr %111, align 8, !tbaa !17
  %114 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv302) #3
  %115 = tail call noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40) %114, i32 noundef 1)
  %116 = load double, ptr %115, align 8, !tbaa !17
  %117 = fsub double %116, %94
  store double %117, ptr %115, align 8, !tbaa !17
  %indvars.iv.next303 = add nuw nsw i64 %indvars.iv302, 2
  %118 = trunc nuw i64 %indvars.iv.next303 to i32
  %.not236 = icmp slt i32 %8, %118
  br i1 %.not236, label %.loopexit258, label %.lr.ph273, !llvm.loop !21

.loopexit258:                                     ; preds = %.lr.ph273, %._crit_edge.thread, %._crit_edge269, %._crit_edge
  %119 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef 0) #3
  tail call void @_ZN4sptk8Matrix2D12FillDiagonalEd(ptr noundef nonnull align 8 dereferenceable(40) %119, double noundef 1.000000e+00)
  %120 = getelementptr inbounds i8, ptr %5, i64 152
  tail call void @_ZN12_GLOBAL__N_16PutBarEiRKSt6vectorIdSaIdEEPS2_(i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull %120)
  %121 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef 0) #3
  %122 = getelementptr inbounds i8, ptr %5, i64 320
  %123 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %121, ptr noundef nonnull %122)
  br i1 %123, label %124, label %.loopexit

124:                                              ; preds = %.loopexit258
  %125 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef 0) #3
  %126 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %122, ptr noundef nonnull align 8 dereferenceable(24) %120, ptr noundef nonnull %125)
  br i1 %126, label %127, label %.loopexit

127:                                              ; preds = %124
  %128 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef 0) #3
  %129 = getelementptr inbounds i8, ptr %5, i64 200
  %130 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4sptk8Matrix2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %129, ptr noundef nonnull align 8 dereferenceable(40) %128)
  %.not237281 = icmp slt i32 %8, 1
  br i1 %.not237281, label %.critedge251, label %.lr.ph284

.lr.ph284:                                        ; preds = %127
  %131 = getelementptr inbounds i8, ptr %5, i64 240
  %132 = getelementptr inbounds i8, ptr %5, i64 400
  %133 = getelementptr inbounds i8, ptr %5, i64 104
  %134 = getelementptr inbounds i8, ptr %5, i64 176
  %135 = getelementptr inbounds i8, ptr %5, i64 360
  %136 = getelementptr inbounds i8, ptr %5, i64 280
  %137 = getelementptr inbounds i8, ptr %5, i64 128
  %wide.trip.count339 = zext i32 %9 to i64
  br label %138

138:                                              ; preds = %.lr.ph284, %.critedge249
  %indvars.iv334 = phi i64 [ 1, %.lr.ph284 ], [ %indvars.iv.next335, %.critedge249 ]
  %indvars.iv332 = phi i64 [ 2, %.lr.ph284 ], [ %indvars.iv.next333, %.critedge249 ]
  tail call void @_ZN4sptk8Matrix2D4FillEd(ptr noundef nonnull align 8 dereferenceable(40) %131, double noundef 0.000000e+00)
  br label %140

139:                                              ; preds = %145
  %indvars.iv.next306 = add nuw nsw i64 %indvars.iv305, 1
  %exitcond309.not = icmp eq i64 %indvars.iv.next306, %indvars.iv334
  br i1 %exitcond309.not, label %.critedge, label %140, !llvm.loop !22

140:                                              ; preds = %138, %139
  %indvars.iv305 = phi i64 [ 0, %138 ], [ %indvars.iv.next306, %139 ]
  %141 = sub nsw i64 %indvars.iv334, %indvars.iv305
  %142 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %141) #3
  %143 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv305) #3
  %144 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %142, ptr noundef nonnull align 8 dereferenceable(40) %143, ptr noundef nonnull %132)
  br i1 %144, label %145, label %.loopexit

145:                                              ; preds = %140
  %146 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D3AddERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %132, ptr noundef nonnull %131)
  br i1 %146, label %139, label %.loopexit

.critedge:                                        ; preds = %139
  %147 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef 0) #3
  store double 0.000000e+00, ptr %147, align 8, !tbaa !17
  %148 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef 1) #3
  store double 0.000000e+00, ptr %148, align 8, !tbaa !17
  br label %149

149:                                              ; preds = %.critedge, %154
  %indvars.iv310 = phi i64 [ 0, %.critedge ], [ %indvars.iv.next311, %154 ]
  %150 = sub nsw i64 %indvars.iv334, %indvars.iv310
  %151 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %150) #3
  %152 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv310) #3
  %153 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %151, ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull %134)
  br i1 %153, label %154, label %.loopexit

154:                                              ; preds = %149
  %155 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 0) #3
  %156 = load double, ptr %155, align 8, !tbaa !17
  %157 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef 0) #3
  %158 = load double, ptr %157, align 8, !tbaa !17
  %159 = fadd double %156, %158
  store double %159, ptr %157, align 8, !tbaa !17
  %160 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 1) #3
  %161 = load double, ptr %160, align 8, !tbaa !17
  %162 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef 1) #3
  %163 = load double, ptr %162, align 8, !tbaa !17
  %164 = fadd double %161, %163
  store double %164, ptr %162, align 8, !tbaa !17
  %indvars.iv.next311 = add nuw nsw i64 %indvars.iv310, 1
  %exitcond314.not = icmp eq i64 %indvars.iv.next311, %indvars.iv334
  br i1 %exitcond314.not, label %.critedge245, label %149, !llvm.loop !23

.critedge245:                                     ; preds = %154
  %165 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %129, ptr noundef nonnull %135)
  br i1 %165, label %166, label %.loopexit

166:                                              ; preds = %.critedge245
  %167 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %135, ptr noundef nonnull %122)
  br i1 %167, label %168, label %.loopexit

168:                                              ; preds = %166
  %169 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %122, ptr noundef nonnull align 8 dereferenceable(40) %131, ptr noundef nonnull %136)
  br i1 %169, label %.preheader253, label %.loopexit

.preheader253:                                    ; preds = %168
  %.not240276 = icmp ugt i64 %indvars.iv334, 1
  br i1 %.not240276, label %.lr.ph278, label %.critedge247

170:                                              ; preds = %176
  %indvars.iv.next316 = add nuw nsw i64 %indvars.iv315, 1
  %exitcond319.not = icmp eq i64 %indvars.iv.next316, %indvars.iv334
  br i1 %exitcond319.not, label %.critedge247, label %.lr.ph278, !llvm.loop !24

.lr.ph278:                                        ; preds = %.preheader253, %170
  %indvars.iv315 = phi i64 [ %indvars.iv.next316, %170 ], [ 1, %.preheader253 ]
  %171 = sub nsw i64 %indvars.iv334, %indvars.iv315
  %172 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %171) #3
  %173 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %172, ptr noundef nonnull %135)
  br i1 %173, label %174, label %.loopexit

174:                                              ; preds = %.lr.ph278
  %175 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %135, ptr noundef nonnull align 8 dereferenceable(40) %136, ptr noundef nonnull %132)
  br i1 %175, label %176, label %.loopexit

176:                                              ; preds = %174
  %177 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv315) #3
  %178 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8SubtractERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %132, ptr noundef nonnull %177)
  br i1 %178, label %170, label %.loopexit

.critedge247:                                     ; preds = %170, %.preheader253
  %179 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv334) #3
  tail call void @_ZN4sptk8Matrix2D6NegateERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %179, ptr noundef nonnull align 8 dereferenceable(40) %136)
  br label %182

180:                                              ; preds = %182
  %181 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %131, ptr noundef nonnull %135)
  br i1 %181, label %186, label %.loopexit

182:                                              ; preds = %.critedge247, %182
  %indvars.iv320 = phi i64 [ 1, %.critedge247 ], [ %indvars.iv.next321, %182 ]
  %183 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv320) #3
  %184 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %indvars.iv320) #3
  %185 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4sptk8Matrix2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %184, ptr noundef nonnull align 8 dereferenceable(40) %183)
  %indvars.iv.next321 = add nuw nsw i64 %indvars.iv320, 1
  %exitcond326.not = icmp eq i64 %indvars.iv.next321, %indvars.iv332
  br i1 %exitcond326.not, label %180, label %182, !llvm.loop !25

186:                                              ; preds = %180
  %187 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %135, ptr noundef nonnull align 8 dereferenceable(40) %136, ptr noundef nonnull %132)
  br i1 %187, label %188, label %.loopexit

188:                                              ; preds = %186
  %189 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8SubtractERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40) %132, ptr noundef nonnull %129)
  br i1 %189, label %190, label %.loopexit

190:                                              ; preds = %188
  %191 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %129, ptr noundef nonnull %135)
  br i1 %191, label %192, label %.loopexit

192:                                              ; preds = %190
  %193 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %135, ptr noundef nonnull %122)
  br i1 %193, label %194, label %.loopexit

194:                                              ; preds = %192
  %195 = trunc nuw nsw i64 %indvars.iv334 to i32
  tail call void @_ZN12_GLOBAL__N_16PutBarEiRKSt6vectorIdSaIdEEPS2_(i32 noundef %195, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull %120)
  %196 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef 0) #3
  %197 = load double, ptr %196, align 8, !tbaa !17
  %198 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef 0) #3
  %199 = load double, ptr %198, align 8, !tbaa !17
  %200 = fsub double %197, %199
  %201 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 0) #3
  store double %200, ptr %201, align 8, !tbaa !17
  %202 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef 1) #3
  %203 = load double, ptr %202, align 8, !tbaa !17
  %204 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef 1) #3
  %205 = load double, ptr %204, align 8, !tbaa !17
  %206 = fsub double %203, %205
  %207 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 1) #3
  store double %206, ptr %207, align 8, !tbaa !17
  %208 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %122, ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef nonnull %137)
  br i1 %208, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %194, %214
  %indvars.iv327 = phi i64 [ %indvars.iv.next328, %214 ], [ 0, %194 ]
  %209 = sub nsw i64 %indvars.iv334, %indvars.iv327
  %210 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %209) #3
  %211 = tail call noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40) %210, ptr noundef nonnull %135)
  br i1 %211, label %212, label %.loopexit

212:                                              ; preds = %.preheader
  %213 = tail call noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40) %135, ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef nonnull %134)
  br i1 %213, label %214, label %.loopexit

214:                                              ; preds = %212
  %215 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 0) #3
  %216 = load double, ptr %215, align 8, !tbaa !17
  %217 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv327) #3
  %218 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %217, i64 noundef 0) #3
  %219 = load double, ptr %218, align 8, !tbaa !17
  %220 = fadd double %216, %219
  store double %220, ptr %218, align 8, !tbaa !17
  %221 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef 1) #3
  %222 = load double, ptr %221, align 8, !tbaa !17
  %223 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv327) #3
  %224 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef 1) #3
  %225 = load double, ptr %224, align 8, !tbaa !17
  %226 = fadd double %222, %225
  store double %226, ptr %224, align 8, !tbaa !17
  %indvars.iv.next328 = add nuw nsw i64 %indvars.iv327, 1
  %exitcond331.not = icmp eq i64 %indvars.iv.next328, %indvars.iv334
  br i1 %exitcond331.not, label %.critedge249, label %.preheader, !llvm.loop !26

.critedge249:                                     ; preds = %214
  %227 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv334) #3
  %228 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %227, ptr noundef nonnull align 8 dereferenceable(24) %137)
  %indvars.iv.next335 = add nuw nsw i64 %indvars.iv334, 1
  %indvars.iv.next333 = add nuw nsw i64 %indvars.iv332, 1
  %exitcond340.not = icmp eq i64 %indvars.iv.next335, %wide.trip.count339
  br i1 %exitcond340.not, label %.critedge251, label %138, !llvm.loop !27

.critedge251:                                     ; preds = %.critedge249, %127
  %229 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 0) #3
  br i1 %.not234262, label %.loopexit, label %.lr.ph287.preheader

.lr.ph287.preheader:                              ; preds = %.critedge251
  %wide.trip.count344 = zext i32 %9 to i64
  br label %.lr.ph287

.lr.ph287:                                        ; preds = %.lr.ph287.preheader, %.lr.ph287
  %indvars.iv341 = phi i64 [ 0, %.lr.ph287.preheader ], [ %indvars.iv.next342, %.lr.ph287 ]
  %230 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %indvars.iv341) #3
  %231 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef 0) #3
  %232 = load double, ptr %231, align 8, !tbaa !17
  %233 = getelementptr inbounds double, ptr %229, i64 %indvars.iv341
  store double %232, ptr %233, align 8, !tbaa !17
  %indvars.iv.next342 = add nuw nsw i64 %indvars.iv341, 1
  %exitcond345.not = icmp eq i64 %indvars.iv.next342, %wide.trip.count344
  br i1 %exitcond345.not, label %.loopexit, label %.lr.ph287, !llvm.loop !28

.loopexit:                                        ; preds = %168, %166, %.critedge245, %188, %186, %180, %192, %190, %194, %140, %145, %149, %.lr.ph278, %174, %176, %.preheader, %212, %.lr.ph287, %.critedge251, %.loopexit258, %124, %6, %13, %18, %20
  %.6 = phi i1 [ false, %20 ], [ false, %18 ], [ false, %13 ], [ false, %6 ], [ false, %124 ], [ false, %.loopexit258 ], [ true, %.critedge251 ], [ true, %.lr.ph287 ], [ false, %212 ], [ false, %.preheader ], [ false, %176 ], [ false, %174 ], [ false, %.lr.ph278 ], [ false, %149 ], [ false, %145 ], [ false, %140 ], [ false, %194 ], [ false, %190 ], [ false, %192 ], [ false, %180 ], [ false, %186 ], [ false, %188 ], [ false, %.critedge245 ], [ false, %166 ], [ false, %168 ]
  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 i64 @_ZNKSt6vectorIN4sptk8Matrix2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_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 i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IdSaIdEESaIS1_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(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(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 @_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(40) ptr @_ZNSt6vectorIN4sptk8Matrix2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4sptk8Matrix2DixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #1 align 2

declare void @_ZN4sptk8Matrix2D12FillDiagonalEd(ptr noundef nonnull align 8 dereferenceable(40), double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_16PutBarEiRKSt6vectorIdSaIdEEPS2_(i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZNK4sptk8Matrix2D6InvertEPS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_RKSt6vectorIdSaIdEEPS5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(40) ptr @_ZN4sptk8Matrix2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2

declare void @_ZN4sptk8Matrix2D4FillEd(ptr noundef nonnull align 8 dereferenceable(40), double noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4sptk8Matrix2D8MultiplyERKS0_S2_PS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4sptk8Matrix2D3AddERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #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

declare noundef zeroext i1 @_ZNK4sptk8Matrix2D14CrossTransposeEPS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4sptk8Matrix2D8SubtractERKS0_PS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

declare void @_ZN4sptk8Matrix2D6NegateERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 = !{!"_ZTSN4sptk30ToeplitzPlusHankelSystemSolverE", !7, i64 8, !10, i64 12, !10, i64 13}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!6, !10, i64 13}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !10, i64 12}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !8, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}


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