; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/matrix (jacobi)

; 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.Vector = type { %class.Matrix, ptr }
%class.Matrix = type { ptr, ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [38 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6Matrix6jacobiER6VectorRS_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca %class.Vector, align 8
  %23 = alloca %class.Vector, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %class.Matrix, align 8
  %27 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %28 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  call void @_ZN6VectorC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %22)
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #6
  invoke void @_ZN6VectorC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %23)
          to label %29 unwind label %71

29:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  invoke void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %30 unwind label %75

30:                                               ; preds = %29
  %31 = invoke noundef i32 @_ZNK6Matrix6nbRowsEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %32 unwind label %79

32:                                               ; preds = %30
  store i32 %31, ptr %11, align 4, !tbaa !9
  %33 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN6Vector6createEi(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef %33)
          to label %34 unwind label %79

34:                                               ; preds = %32
  %35 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN6Vector6createEi(ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %35)
          to label %36 unwind label %79

36:                                               ; preds = %34
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  %38 = load i32, ptr %11, align 4, !tbaa !9
  %39 = load ptr, ptr %37, align 8, !tbaa !11
  %40 = getelementptr inbounds ptr, ptr %39, i64 7
  %41 = load ptr, ptr %40, align 8
  invoke void %41(ptr noundef nonnull align 8 dereferenceable(32) %37, i32 noundef %38)
          to label %42 unwind label %79

42:                                               ; preds = %36
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = load i32, ptr %11, align 4, !tbaa !9
  %46 = load ptr, ptr %43, align 8, !tbaa !11
  %47 = getelementptr inbounds ptr, ptr %46, i64 2
  %48 = load ptr, ptr %47, align 8
  invoke void %48(ptr noundef nonnull align 8 dereferenceable(24) %43, i32 noundef %44, i32 noundef %45)
          to label %49 unwind label %79

49:                                               ; preds = %42
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %92, %49
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = icmp sle i32 %51, %52
  br i1 %53, label %54, label %95

54:                                               ; preds = %50
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %68, %54
  %56 = load i32, ptr %8, align 4, !tbaa !9
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = icmp sle i32 %56, %57
  br i1 %58, label %59, label %83

59:                                               ; preds = %55
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load i32, ptr %9, align 4, !tbaa !9
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = load ptr, ptr %60, align 8, !tbaa !11
  %64 = getelementptr inbounds ptr, ptr %63, i64 6
  %65 = load ptr, ptr %64, align 8
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr %65(ptr noundef nonnull align 8 dereferenceable(24) %60, i32 noundef %61, i32 noundef %62)
          to label %67 unwind label %79

67:                                               ; preds = %59
  store double 0.000000e+00, ptr %66, align 8, !tbaa !13
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %8, align 4, !tbaa !9
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %8, align 4, !tbaa !9
  br label %55, !llvm.loop !15

71:                                               ; preds = %3
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %24, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %25, align 4
  br label %614

75:                                               ; preds = %29
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %24, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %25, align 4
  br label %613

79:                                               ; preds = %608, %597, %589, %584, %580, %577, %540, %523, %514, %506, %485, %472, %467, %463, %440, %427, %422, %418, %394, %381, %376, %372, %360, %350, %340, %334, %328, %311, %288, %280, %262, %255, %246, %241, %226, %219, %204, %197, %187, %158, %139, %115, %112, %104, %100, %83, %59, %42, %36, %34, %32, %30
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %24, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %25, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  br label %613

83:                                               ; preds = %55
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = load ptr, ptr %84, align 8, !tbaa !11
  %88 = getelementptr inbounds ptr, ptr %87, i64 6
  %89 = load ptr, ptr %88, align 8
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr %89(ptr noundef nonnull align 8 dereferenceable(24) %84, i32 noundef %85, i32 noundef %86)
          to label %91 unwind label %79

91:                                               ; preds = %83
  store double 1.000000e+00, ptr %90, align 8, !tbaa !13
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %9, align 4, !tbaa !9
  br label %50, !llvm.loop !17

95:                                               ; preds = %50
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %119, %95
  %97 = load i32, ptr %9, align 4, !tbaa !9
  %98 = load i32, ptr %11, align 4, !tbaa !9
  %99 = icmp sle i32 %97, %98
  br i1 %99, label %100, label %122

100:                                              ; preds = %96
  %101 = load i32, ptr %9, align 4, !tbaa !9
  %102 = load i32, ptr %9, align 4, !tbaa !9
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %101, i32 noundef %102)
          to label %104 unwind label %79

104:                                              ; preds = %100
  %105 = load double, ptr %103, align 8, !tbaa !13
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = load i32, ptr %9, align 4, !tbaa !9
  %108 = load ptr, ptr %106, align 8, !tbaa !11
  %109 = getelementptr inbounds ptr, ptr %108, i64 10
  %110 = load ptr, ptr %109, align 8
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr %110(ptr noundef nonnull align 8 dereferenceable(32) %106, i32 noundef %107)
          to label %112 unwind label %79

112:                                              ; preds = %104
  store double %105, ptr %111, align 8, !tbaa !13
  %113 = load i32, ptr %9, align 4, !tbaa !9
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef %113)
          to label %115 unwind label %79

115:                                              ; preds = %112
  store double %105, ptr %114, align 8, !tbaa !13
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %116)
          to label %118 unwind label %79

118:                                              ; preds = %115
  store double 0.000000e+00, ptr %117, align 8, !tbaa !13
  br label %119

119:                                              ; preds = %118
  %120 = load i32, ptr %9, align 4, !tbaa !9
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %9, align 4, !tbaa !9
  br label %96, !llvm.loop !18

122:                                              ; preds = %96
  store i32 0, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %605, %122
  %124 = load i32, ptr %10, align 4, !tbaa !9
  %125 = icmp sle i32 %124, 50
  br i1 %125, label %126, label %608

126:                                              ; preds = %123
  store double 0.000000e+00, ptr %17, align 8, !tbaa !13
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %152, %126
  %128 = load i32, ptr %9, align 4, !tbaa !9
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = sub nsw i32 %129, 1
  %131 = icmp sle i32 %128, %130
  br i1 %131, label %132, label %155

132:                                              ; preds = %127
  %133 = load i32, ptr %9, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %8, align 4, !tbaa !9
  br label %135

135:                                              ; preds = %148, %132
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = load i32, ptr %11, align 4, !tbaa !9
  %138 = icmp sle i32 %136, %137
  br i1 %138, label %139, label %151

139:                                              ; preds = %135
  %140 = load i32, ptr %9, align 4, !tbaa !9
  %141 = load i32, ptr %8, align 4, !tbaa !9
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %140, i32 noundef %141)
          to label %143 unwind label %79

143:                                              ; preds = %139
  %144 = load double, ptr %142, align 8, !tbaa !13
  %145 = call double @llvm.fabs.f64(double %144)
  %146 = load double, ptr %17, align 8, !tbaa !13
  %147 = fadd double %146, %145
  store double %147, ptr %17, align 8, !tbaa !13
  br label %148

148:                                              ; preds = %143
  %149 = load i32, ptr %8, align 4, !tbaa !9
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %8, align 4, !tbaa !9
  br label %135, !llvm.loop !19

151:                                              ; preds = %135
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %9, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %9, align 4, !tbaa !9
  br label %127, !llvm.loop !20

155:                                              ; preds = %127
  %156 = load double, ptr %17, align 8, !tbaa !13
  %157 = fcmp oeq double %156, 0.000000e+00
  br i1 %157, label %158, label %162

158:                                              ; preds = %155
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZL6eigsrtR6VectorR6Matrix(ptr noundef nonnull align 8 dereferenceable(32) %159, ptr noundef nonnull align 8 dereferenceable(24) %160)
          to label %161 unwind label %79

161:                                              ; preds = %158
  store i32 1, ptr %27, align 4
  br label %610

162:                                              ; preds = %155
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = icmp slt i32 %163, 4
  br i1 %164, label %165, label %173

165:                                              ; preds = %162
  %166 = load double, ptr %17, align 8, !tbaa !13
  %167 = fmul double 2.000000e-01, %166
  %168 = load i32, ptr %11, align 4, !tbaa !9
  %169 = load i32, ptr %11, align 4, !tbaa !9
  %170 = mul nsw i32 %168, %169
  %171 = sitofp i32 %170 to double
  %172 = fdiv double %167, %171
  store double %172, ptr %13, align 8, !tbaa !13
  br label %174

173:                                              ; preds = %162
  store double 0.000000e+00, ptr %13, align 8, !tbaa !13
  br label %174

174:                                              ; preds = %173, %165
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %569, %174
  %176 = load i32, ptr %9, align 4, !tbaa !9
  %177 = load i32, ptr %11, align 4, !tbaa !9
  %178 = sub nsw i32 %177, 1
  %179 = icmp sle i32 %176, %178
  br i1 %179, label %180, label %572

180:                                              ; preds = %175
  %181 = load i32, ptr %9, align 4, !tbaa !9
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %8, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %565, %180
  %184 = load i32, ptr %8, align 4, !tbaa !9
  %185 = load i32, ptr %11, align 4, !tbaa !9
  %186 = icmp sle i32 %184, %185
  br i1 %186, label %187, label %568

187:                                              ; preds = %183
  %188 = load i32, ptr %9, align 4, !tbaa !9
  %189 = load i32, ptr %8, align 4, !tbaa !9
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %188, i32 noundef %189)
          to label %191 unwind label %79

191:                                              ; preds = %187
  %192 = load double, ptr %190, align 8, !tbaa !13
  %193 = call double @llvm.fabs.f64(double %192)
  %194 = fmul double 1.000000e+02, %193
  store double %194, ptr %20, align 8, !tbaa !13
  %195 = load i32, ptr %10, align 4, !tbaa !9
  %196 = icmp sgt i32 %195, 4
  br i1 %196, label %197, label %246

197:                                              ; preds = %191
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = load i32, ptr %9, align 4, !tbaa !9
  %200 = load ptr, ptr %198, align 8, !tbaa !11
  %201 = getelementptr inbounds ptr, ptr %200, i64 10
  %202 = load ptr, ptr %201, align 8
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr %202(ptr noundef nonnull align 8 dereferenceable(32) %198, i32 noundef %199)
          to label %204 unwind label %79

204:                                              ; preds = %197
  %205 = load double, ptr %203, align 8, !tbaa !13
  %206 = call double @llvm.fabs.f64(double %205)
  %207 = load double, ptr %20, align 8, !tbaa !13
  %208 = fadd double %206, %207
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = load i32, ptr %9, align 4, !tbaa !9
  %211 = load ptr, ptr %209, align 8, !tbaa !11
  %212 = getelementptr inbounds ptr, ptr %211, i64 10
  %213 = load ptr, ptr %212, align 8
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr %213(ptr noundef nonnull align 8 dereferenceable(32) %209, i32 noundef %210)
          to label %215 unwind label %79

215:                                              ; preds = %204
  %216 = load double, ptr %214, align 8, !tbaa !13
  %217 = call double @llvm.fabs.f64(double %216)
  %218 = fcmp oeq double %208, %217
  br i1 %218, label %219, label %246

219:                                              ; preds = %215
  %220 = load ptr, ptr %5, align 8, !tbaa !5
  %221 = load i32, ptr %8, align 4, !tbaa !9
  %222 = load ptr, ptr %220, align 8, !tbaa !11
  %223 = getelementptr inbounds ptr, ptr %222, i64 10
  %224 = load ptr, ptr %223, align 8
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr %224(ptr noundef nonnull align 8 dereferenceable(32) %220, i32 noundef %221)
          to label %226 unwind label %79

226:                                              ; preds = %219
  %227 = load double, ptr %225, align 8, !tbaa !13
  %228 = call double @llvm.fabs.f64(double %227)
  %229 = load double, ptr %20, align 8, !tbaa !13
  %230 = fadd double %228, %229
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = load i32, ptr %8, align 4, !tbaa !9
  %233 = load ptr, ptr %231, align 8, !tbaa !11
  %234 = getelementptr inbounds ptr, ptr %233, i64 10
  %235 = load ptr, ptr %234, align 8
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr %235(ptr noundef nonnull align 8 dereferenceable(32) %231, i32 noundef %232)
          to label %237 unwind label %79

237:                                              ; preds = %226
  %238 = load double, ptr %236, align 8, !tbaa !13
  %239 = call double @llvm.fabs.f64(double %238)
  %240 = fcmp oeq double %230, %239
  br i1 %240, label %241, label %246

241:                                              ; preds = %237
  %242 = load i32, ptr %9, align 4, !tbaa !9
  %243 = load i32, ptr %8, align 4, !tbaa !9
  %244 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %242, i32 noundef %243)
          to label %245 unwind label %79

245:                                              ; preds = %241
  store double 0.000000e+00, ptr %244, align 8, !tbaa !13
  br label %564

246:                                              ; preds = %237, %215, %191
  %247 = load i32, ptr %9, align 4, !tbaa !9
  %248 = load i32, ptr %8, align 4, !tbaa !9
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %247, i32 noundef %248)
          to label %250 unwind label %79

250:                                              ; preds = %246
  %251 = load double, ptr %249, align 8, !tbaa !13
  %252 = call double @llvm.fabs.f64(double %251)
  %253 = load double, ptr %13, align 8, !tbaa !13
  %254 = fcmp ogt double %252, %253
  br i1 %254, label %255, label %563

255:                                              ; preds = %250
  %256 = load ptr, ptr %5, align 8, !tbaa !5
  %257 = load i32, ptr %8, align 4, !tbaa !9
  %258 = load ptr, ptr %256, align 8, !tbaa !11
  %259 = getelementptr inbounds ptr, ptr %258, i64 10
  %260 = load ptr, ptr %259, align 8
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr %260(ptr noundef nonnull align 8 dereferenceable(32) %256, i32 noundef %257)
          to label %262 unwind label %79

262:                                              ; preds = %255
  %263 = load double, ptr %261, align 8, !tbaa !13
  %264 = load ptr, ptr %5, align 8, !tbaa !5
  %265 = load i32, ptr %9, align 4, !tbaa !9
  %266 = load ptr, ptr %264, align 8, !tbaa !11
  %267 = getelementptr inbounds ptr, ptr %266, i64 10
  %268 = load ptr, ptr %267, align 8
  %269 = invoke noundef nonnull align 8 dereferenceable(8) ptr %268(ptr noundef nonnull align 8 dereferenceable(32) %264, i32 noundef %265)
          to label %270 unwind label %79

270:                                              ; preds = %262
  %271 = load double, ptr %269, align 8, !tbaa !13
  %272 = fsub double %263, %271
  store double %272, ptr %19, align 8, !tbaa !13
  %273 = load double, ptr %19, align 8, !tbaa !13
  %274 = call double @llvm.fabs.f64(double %273)
  %275 = load double, ptr %20, align 8, !tbaa !13
  %276 = fadd double %274, %275
  %277 = load double, ptr %19, align 8, !tbaa !13
  %278 = call double @llvm.fabs.f64(double %277)
  %279 = fcmp oeq double %276, %278
  br i1 %279, label %280, label %288

280:                                              ; preds = %270
  %281 = load i32, ptr %9, align 4, !tbaa !9
  %282 = load i32, ptr %8, align 4, !tbaa !9
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %281, i32 noundef %282)
          to label %284 unwind label %79

284:                                              ; preds = %280
  %285 = load double, ptr %283, align 8, !tbaa !13
  %286 = load double, ptr %19, align 8, !tbaa !13
  %287 = fdiv double %285, %286
  store double %287, ptr %16, align 8, !tbaa !13
  br label %311

288:                                              ; preds = %270
  %289 = load double, ptr %19, align 8, !tbaa !13
  %290 = fmul double 5.000000e-01, %289
  %291 = load i32, ptr %9, align 4, !tbaa !9
  %292 = load i32, ptr %8, align 4, !tbaa !9
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %291, i32 noundef %292)
          to label %294 unwind label %79

294:                                              ; preds = %288
  %295 = load double, ptr %293, align 8, !tbaa !13
  %296 = fdiv double %290, %295
  store double %296, ptr %14, align 8, !tbaa !13
  %297 = load double, ptr %14, align 8, !tbaa !13
  %298 = call double @llvm.fabs.f64(double %297)
  %299 = load double, ptr %14, align 8, !tbaa !13
  %300 = load double, ptr %14, align 8, !tbaa !13
  %301 = call double @llvm.fmuladd.f64(double %299, double %300, double 1.000000e+00)
  %302 = call double @sqrt(double noundef %301) #6
  %303 = fadd double %298, %302
  %304 = fdiv double 1.000000e+00, %303
  store double %304, ptr %16, align 8, !tbaa !13
  %305 = load double, ptr %14, align 8, !tbaa !13
  %306 = fcmp olt double %305, 0.000000e+00
  br i1 %306, label %307, label %310

307:                                              ; preds = %294
  %308 = load double, ptr %16, align 8, !tbaa !13
  %309 = fneg double %308
  store double %309, ptr %16, align 8, !tbaa !13
  br label %310

310:                                              ; preds = %307, %294
  br label %311

311:                                              ; preds = %310, %284
  %312 = load double, ptr %16, align 8, !tbaa !13
  %313 = load double, ptr %16, align 8, !tbaa !13
  %314 = call double @llvm.fmuladd.f64(double %312, double %313, double 1.000000e+00)
  %315 = call double @sqrt(double noundef %314) #6
  %316 = fdiv double 1.000000e+00, %315
  store double %316, ptr %21, align 8, !tbaa !13
  %317 = load double, ptr %16, align 8, !tbaa !13
  %318 = load double, ptr %21, align 8, !tbaa !13
  %319 = fmul double %317, %318
  store double %319, ptr %18, align 8, !tbaa !13
  %320 = load double, ptr %18, align 8, !tbaa !13
  %321 = load double, ptr %21, align 8, !tbaa !13
  %322 = fadd double 1.000000e+00, %321
  %323 = fdiv double %320, %322
  store double %323, ptr %15, align 8, !tbaa !13
  %324 = load double, ptr %16, align 8, !tbaa !13
  %325 = load i32, ptr %9, align 4, !tbaa !9
  %326 = load i32, ptr %8, align 4, !tbaa !9
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %325, i32 noundef %326)
          to label %328 unwind label %79

328:                                              ; preds = %311
  %329 = load double, ptr %327, align 8, !tbaa !13
  %330 = fmul double %324, %329
  store double %330, ptr %19, align 8, !tbaa !13
  %331 = load double, ptr %19, align 8, !tbaa !13
  %332 = load i32, ptr %9, align 4, !tbaa !9
  %333 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %332)
          to label %334 unwind label %79

334:                                              ; preds = %328
  %335 = load double, ptr %333, align 8, !tbaa !13
  %336 = fsub double %335, %331
  store double %336, ptr %333, align 8, !tbaa !13
  %337 = load double, ptr %19, align 8, !tbaa !13
  %338 = load i32, ptr %8, align 4, !tbaa !9
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %338)
          to label %340 unwind label %79

340:                                              ; preds = %334
  %341 = load double, ptr %339, align 8, !tbaa !13
  %342 = fadd double %341, %337
  store double %342, ptr %339, align 8, !tbaa !13
  %343 = load double, ptr %19, align 8, !tbaa !13
  %344 = load ptr, ptr %5, align 8, !tbaa !5
  %345 = load i32, ptr %9, align 4, !tbaa !9
  %346 = load ptr, ptr %344, align 8, !tbaa !11
  %347 = getelementptr inbounds ptr, ptr %346, i64 10
  %348 = load ptr, ptr %347, align 8
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr %348(ptr noundef nonnull align 8 dereferenceable(32) %344, i32 noundef %345)
          to label %350 unwind label %79

350:                                              ; preds = %340
  %351 = load double, ptr %349, align 8, !tbaa !13
  %352 = fsub double %351, %343
  store double %352, ptr %349, align 8, !tbaa !13
  %353 = load double, ptr %19, align 8, !tbaa !13
  %354 = load ptr, ptr %5, align 8, !tbaa !5
  %355 = load i32, ptr %8, align 4, !tbaa !9
  %356 = load ptr, ptr %354, align 8, !tbaa !11
  %357 = getelementptr inbounds ptr, ptr %356, i64 10
  %358 = load ptr, ptr %357, align 8
  %359 = invoke noundef nonnull align 8 dereferenceable(8) ptr %358(ptr noundef nonnull align 8 dereferenceable(32) %354, i32 noundef %355)
          to label %360 unwind label %79

360:                                              ; preds = %350
  %361 = load double, ptr %359, align 8, !tbaa !13
  %362 = fadd double %361, %353
  store double %362, ptr %359, align 8, !tbaa !13
  %363 = load i32, ptr %9, align 4, !tbaa !9
  %364 = load i32, ptr %8, align 4, !tbaa !9
  %365 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %363, i32 noundef %364)
          to label %366 unwind label %79

366:                                              ; preds = %360
  store double 0.000000e+00, ptr %365, align 8, !tbaa !13
  store i32 1, ptr %7, align 4, !tbaa !9
  br label %367

367:                                              ; preds = %407, %366
  %368 = load i32, ptr %7, align 4, !tbaa !9
  %369 = load i32, ptr %9, align 4, !tbaa !9
  %370 = sub nsw i32 %369, 1
  %371 = icmp sle i32 %368, %370
  br i1 %371, label %372, label %410

372:                                              ; preds = %367
  %373 = load i32, ptr %7, align 4, !tbaa !9
  %374 = load i32, ptr %9, align 4, !tbaa !9
  %375 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %373, i32 noundef %374)
          to label %376 unwind label %79

376:                                              ; preds = %372
  %377 = load double, ptr %375, align 8, !tbaa !13
  store double %377, ptr %20, align 8, !tbaa !13
  %378 = load i32, ptr %7, align 4, !tbaa !9
  %379 = load i32, ptr %8, align 4, !tbaa !9
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %378, i32 noundef %379)
          to label %381 unwind label %79

381:                                              ; preds = %376
  %382 = load double, ptr %380, align 8, !tbaa !13
  store double %382, ptr %19, align 8, !tbaa !13
  %383 = load double, ptr %20, align 8, !tbaa !13
  %384 = load double, ptr %18, align 8, !tbaa !13
  %385 = load double, ptr %19, align 8, !tbaa !13
  %386 = load double, ptr %20, align 8, !tbaa !13
  %387 = load double, ptr %15, align 8, !tbaa !13
  %388 = call double @llvm.fmuladd.f64(double %386, double %387, double %385)
  %389 = fneg double %384
  %390 = call double @llvm.fmuladd.f64(double %389, double %388, double %383)
  %391 = load i32, ptr %7, align 4, !tbaa !9
  %392 = load i32, ptr %9, align 4, !tbaa !9
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %391, i32 noundef %392)
          to label %394 unwind label %79

394:                                              ; preds = %381
  store double %390, ptr %393, align 8, !tbaa !13
  %395 = load double, ptr %19, align 8, !tbaa !13
  %396 = load double, ptr %18, align 8, !tbaa !13
  %397 = load double, ptr %20, align 8, !tbaa !13
  %398 = load double, ptr %19, align 8, !tbaa !13
  %399 = load double, ptr %15, align 8, !tbaa !13
  %400 = fneg double %398
  %401 = call double @llvm.fmuladd.f64(double %400, double %399, double %397)
  %402 = call double @llvm.fmuladd.f64(double %396, double %401, double %395)
  %403 = load i32, ptr %7, align 4, !tbaa !9
  %404 = load i32, ptr %8, align 4, !tbaa !9
  %405 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %403, i32 noundef %404)
          to label %406 unwind label %79

406:                                              ; preds = %394
  store double %402, ptr %405, align 8, !tbaa !13
  br label %407

407:                                              ; preds = %406
  %408 = load i32, ptr %7, align 4, !tbaa !9
  %409 = add nsw i32 %408, 1
  store i32 %409, ptr %7, align 4, !tbaa !9
  br label %367, !llvm.loop !21

410:                                              ; preds = %367
  %411 = load i32, ptr %9, align 4, !tbaa !9
  %412 = add nsw i32 %411, 1
  store i32 %412, ptr %7, align 4, !tbaa !9
  br label %413

413:                                              ; preds = %453, %410
  %414 = load i32, ptr %7, align 4, !tbaa !9
  %415 = load i32, ptr %8, align 4, !tbaa !9
  %416 = sub nsw i32 %415, 1
  %417 = icmp sle i32 %414, %416
  br i1 %417, label %418, label %456

418:                                              ; preds = %413
  %419 = load i32, ptr %9, align 4, !tbaa !9
  %420 = load i32, ptr %7, align 4, !tbaa !9
  %421 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %419, i32 noundef %420)
          to label %422 unwind label %79

422:                                              ; preds = %418
  %423 = load double, ptr %421, align 8, !tbaa !13
  store double %423, ptr %20, align 8, !tbaa !13
  %424 = load i32, ptr %7, align 4, !tbaa !9
  %425 = load i32, ptr %8, align 4, !tbaa !9
  %426 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %424, i32 noundef %425)
          to label %427 unwind label %79

427:                                              ; preds = %422
  %428 = load double, ptr %426, align 8, !tbaa !13
  store double %428, ptr %19, align 8, !tbaa !13
  %429 = load double, ptr %20, align 8, !tbaa !13
  %430 = load double, ptr %18, align 8, !tbaa !13
  %431 = load double, ptr %19, align 8, !tbaa !13
  %432 = load double, ptr %20, align 8, !tbaa !13
  %433 = load double, ptr %15, align 8, !tbaa !13
  %434 = call double @llvm.fmuladd.f64(double %432, double %433, double %431)
  %435 = fneg double %430
  %436 = call double @llvm.fmuladd.f64(double %435, double %434, double %429)
  %437 = load i32, ptr %9, align 4, !tbaa !9
  %438 = load i32, ptr %7, align 4, !tbaa !9
  %439 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %437, i32 noundef %438)
          to label %440 unwind label %79

440:                                              ; preds = %427
  store double %436, ptr %439, align 8, !tbaa !13
  %441 = load double, ptr %19, align 8, !tbaa !13
  %442 = load double, ptr %18, align 8, !tbaa !13
  %443 = load double, ptr %20, align 8, !tbaa !13
  %444 = load double, ptr %19, align 8, !tbaa !13
  %445 = load double, ptr %15, align 8, !tbaa !13
  %446 = fneg double %444
  %447 = call double @llvm.fmuladd.f64(double %446, double %445, double %443)
  %448 = call double @llvm.fmuladd.f64(double %442, double %447, double %441)
  %449 = load i32, ptr %7, align 4, !tbaa !9
  %450 = load i32, ptr %8, align 4, !tbaa !9
  %451 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %449, i32 noundef %450)
          to label %452 unwind label %79

452:                                              ; preds = %440
  store double %448, ptr %451, align 8, !tbaa !13
  br label %453

453:                                              ; preds = %452
  %454 = load i32, ptr %7, align 4, !tbaa !9
  %455 = add nsw i32 %454, 1
  store i32 %455, ptr %7, align 4, !tbaa !9
  br label %413, !llvm.loop !22

456:                                              ; preds = %413
  %457 = load i32, ptr %8, align 4, !tbaa !9
  %458 = add nsw i32 %457, 1
  store i32 %458, ptr %7, align 4, !tbaa !9
  br label %459

459:                                              ; preds = %498, %456
  %460 = load i32, ptr %7, align 4, !tbaa !9
  %461 = load i32, ptr %11, align 4, !tbaa !9
  %462 = icmp sle i32 %460, %461
  br i1 %462, label %463, label %501

463:                                              ; preds = %459
  %464 = load i32, ptr %9, align 4, !tbaa !9
  %465 = load i32, ptr %7, align 4, !tbaa !9
  %466 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %464, i32 noundef %465)
          to label %467 unwind label %79

467:                                              ; preds = %463
  %468 = load double, ptr %466, align 8, !tbaa !13
  store double %468, ptr %20, align 8, !tbaa !13
  %469 = load i32, ptr %8, align 4, !tbaa !9
  %470 = load i32, ptr %7, align 4, !tbaa !9
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %469, i32 noundef %470)
          to label %472 unwind label %79

472:                                              ; preds = %467
  %473 = load double, ptr %471, align 8, !tbaa !13
  store double %473, ptr %19, align 8, !tbaa !13
  %474 = load double, ptr %20, align 8, !tbaa !13
  %475 = load double, ptr %18, align 8, !tbaa !13
  %476 = load double, ptr %19, align 8, !tbaa !13
  %477 = load double, ptr %20, align 8, !tbaa !13
  %478 = load double, ptr %15, align 8, !tbaa !13
  %479 = call double @llvm.fmuladd.f64(double %477, double %478, double %476)
  %480 = fneg double %475
  %481 = call double @llvm.fmuladd.f64(double %480, double %479, double %474)
  %482 = load i32, ptr %9, align 4, !tbaa !9
  %483 = load i32, ptr %7, align 4, !tbaa !9
  %484 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %482, i32 noundef %483)
          to label %485 unwind label %79

485:                                              ; preds = %472
  store double %481, ptr %484, align 8, !tbaa !13
  %486 = load double, ptr %19, align 8, !tbaa !13
  %487 = load double, ptr %18, align 8, !tbaa !13
  %488 = load double, ptr %20, align 8, !tbaa !13
  %489 = load double, ptr %19, align 8, !tbaa !13
  %490 = load double, ptr %15, align 8, !tbaa !13
  %491 = fneg double %489
  %492 = call double @llvm.fmuladd.f64(double %491, double %490, double %488)
  %493 = call double @llvm.fmuladd.f64(double %487, double %492, double %486)
  %494 = load i32, ptr %8, align 4, !tbaa !9
  %495 = load i32, ptr %7, align 4, !tbaa !9
  %496 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %494, i32 noundef %495)
          to label %497 unwind label %79

497:                                              ; preds = %485
  store double %493, ptr %496, align 8, !tbaa !13
  br label %498

498:                                              ; preds = %497
  %499 = load i32, ptr %7, align 4, !tbaa !9
  %500 = add nsw i32 %499, 1
  store i32 %500, ptr %7, align 4, !tbaa !9
  br label %459, !llvm.loop !23

501:                                              ; preds = %459
  store i32 1, ptr %7, align 4, !tbaa !9
  br label %502

502:                                              ; preds = %557, %501
  %503 = load i32, ptr %7, align 4, !tbaa !9
  %504 = load i32, ptr %11, align 4, !tbaa !9
  %505 = icmp sle i32 %503, %504
  br i1 %505, label %506, label %560

506:                                              ; preds = %502
  %507 = load ptr, ptr %6, align 8, !tbaa !5
  %508 = load i32, ptr %7, align 4, !tbaa !9
  %509 = load i32, ptr %9, align 4, !tbaa !9
  %510 = load ptr, ptr %507, align 8, !tbaa !11
  %511 = getelementptr inbounds ptr, ptr %510, i64 6
  %512 = load ptr, ptr %511, align 8
  %513 = invoke noundef nonnull align 8 dereferenceable(8) ptr %512(ptr noundef nonnull align 8 dereferenceable(24) %507, i32 noundef %508, i32 noundef %509)
          to label %514 unwind label %79

514:                                              ; preds = %506
  %515 = load double, ptr %513, align 8, !tbaa !13
  store double %515, ptr %20, align 8, !tbaa !13
  %516 = load ptr, ptr %6, align 8, !tbaa !5
  %517 = load i32, ptr %7, align 4, !tbaa !9
  %518 = load i32, ptr %8, align 4, !tbaa !9
  %519 = load ptr, ptr %516, align 8, !tbaa !11
  %520 = getelementptr inbounds ptr, ptr %519, i64 6
  %521 = load ptr, ptr %520, align 8
  %522 = invoke noundef nonnull align 8 dereferenceable(8) ptr %521(ptr noundef nonnull align 8 dereferenceable(24) %516, i32 noundef %517, i32 noundef %518)
          to label %523 unwind label %79

523:                                              ; preds = %514
  %524 = load double, ptr %522, align 8, !tbaa !13
  store double %524, ptr %19, align 8, !tbaa !13
  %525 = load double, ptr %20, align 8, !tbaa !13
  %526 = load double, ptr %18, align 8, !tbaa !13
  %527 = load double, ptr %19, align 8, !tbaa !13
  %528 = load double, ptr %20, align 8, !tbaa !13
  %529 = load double, ptr %15, align 8, !tbaa !13
  %530 = call double @llvm.fmuladd.f64(double %528, double %529, double %527)
  %531 = fneg double %526
  %532 = call double @llvm.fmuladd.f64(double %531, double %530, double %525)
  %533 = load ptr, ptr %6, align 8, !tbaa !5
  %534 = load i32, ptr %7, align 4, !tbaa !9
  %535 = load i32, ptr %9, align 4, !tbaa !9
  %536 = load ptr, ptr %533, align 8, !tbaa !11
  %537 = getelementptr inbounds ptr, ptr %536, i64 6
  %538 = load ptr, ptr %537, align 8
  %539 = invoke noundef nonnull align 8 dereferenceable(8) ptr %538(ptr noundef nonnull align 8 dereferenceable(24) %533, i32 noundef %534, i32 noundef %535)
          to label %540 unwind label %79

540:                                              ; preds = %523
  store double %532, ptr %539, align 8, !tbaa !13
  %541 = load double, ptr %19, align 8, !tbaa !13
  %542 = load double, ptr %18, align 8, !tbaa !13
  %543 = load double, ptr %20, align 8, !tbaa !13
  %544 = load double, ptr %19, align 8, !tbaa !13
  %545 = load double, ptr %15, align 8, !tbaa !13
  %546 = fneg double %544
  %547 = call double @llvm.fmuladd.f64(double %546, double %545, double %543)
  %548 = call double @llvm.fmuladd.f64(double %542, double %547, double %541)
  %549 = load ptr, ptr %6, align 8, !tbaa !5
  %550 = load i32, ptr %7, align 4, !tbaa !9
  %551 = load i32, ptr %8, align 4, !tbaa !9
  %552 = load ptr, ptr %549, align 8, !tbaa !11
  %553 = getelementptr inbounds ptr, ptr %552, i64 6
  %554 = load ptr, ptr %553, align 8
  %555 = invoke noundef nonnull align 8 dereferenceable(8) ptr %554(ptr noundef nonnull align 8 dereferenceable(24) %549, i32 noundef %550, i32 noundef %551)
          to label %556 unwind label %79

556:                                              ; preds = %540
  store double %548, ptr %555, align 8, !tbaa !13
  br label %557

557:                                              ; preds = %556
  %558 = load i32, ptr %7, align 4, !tbaa !9
  %559 = add nsw i32 %558, 1
  store i32 %559, ptr %7, align 4, !tbaa !9
  br label %502, !llvm.loop !24

560:                                              ; preds = %502
  %561 = load i32, ptr %12, align 4, !tbaa !9
  %562 = add nsw i32 %561, 1
  store i32 %562, ptr %12, align 4, !tbaa !9
  br label %563

563:                                              ; preds = %560, %250
  br label %564

564:                                              ; preds = %563, %245
  br label %565

565:                                              ; preds = %564
  %566 = load i32, ptr %8, align 4, !tbaa !9
  %567 = add nsw i32 %566, 1
  store i32 %567, ptr %8, align 4, !tbaa !9
  br label %183, !llvm.loop !25

568:                                              ; preds = %183
  br label %569

569:                                              ; preds = %568
  %570 = load i32, ptr %9, align 4, !tbaa !9
  %571 = add nsw i32 %570, 1
  store i32 %571, ptr %9, align 4, !tbaa !9
  br label %175, !llvm.loop !26

572:                                              ; preds = %175
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %573

573:                                              ; preds = %601, %572
  %574 = load i32, ptr %9, align 4, !tbaa !9
  %575 = load i32, ptr %11, align 4, !tbaa !9
  %576 = icmp sle i32 %574, %575
  br i1 %576, label %577, label %604

577:                                              ; preds = %573
  %578 = load i32, ptr %9, align 4, !tbaa !9
  %579 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %578)
          to label %580 unwind label %79

580:                                              ; preds = %577
  %581 = load double, ptr %579, align 8, !tbaa !13
  %582 = load i32, ptr %9, align 4, !tbaa !9
  %583 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef %582)
          to label %584 unwind label %79

584:                                              ; preds = %580
  %585 = load double, ptr %583, align 8, !tbaa !13
  %586 = fadd double %585, %581
  store double %586, ptr %583, align 8, !tbaa !13
  %587 = load i32, ptr %9, align 4, !tbaa !9
  %588 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef %587)
          to label %589 unwind label %79

589:                                              ; preds = %584
  %590 = load double, ptr %588, align 8, !tbaa !13
  %591 = load ptr, ptr %5, align 8, !tbaa !5
  %592 = load i32, ptr %9, align 4, !tbaa !9
  %593 = load ptr, ptr %591, align 8, !tbaa !11
  %594 = getelementptr inbounds ptr, ptr %593, i64 10
  %595 = load ptr, ptr %594, align 8
  %596 = invoke noundef nonnull align 8 dereferenceable(8) ptr %595(ptr noundef nonnull align 8 dereferenceable(32) %591, i32 noundef %592)
          to label %597 unwind label %79

597:                                              ; preds = %589
  store double %590, ptr %596, align 8, !tbaa !13
  %598 = load i32, ptr %9, align 4, !tbaa !9
  %599 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef %598)
          to label %600 unwind label %79

600:                                              ; preds = %597
  store double 0.000000e+00, ptr %599, align 8, !tbaa !13
  br label %601

601:                                              ; preds = %600
  %602 = load i32, ptr %9, align 4, !tbaa !9
  %603 = add nsw i32 %602, 1
  store i32 %603, ptr %9, align 4, !tbaa !9
  br label %573, !llvm.loop !27

604:                                              ; preds = %573
  br label %605

605:                                              ; preds = %604
  %606 = load i32, ptr %10, align 4, !tbaa !9
  %607 = add nsw i32 %606, 1
  store i32 %607, ptr %10, align 4, !tbaa !9
  br label %123, !llvm.loop !28

608:                                              ; preds = %123
  invoke void @_ZNK6Matrix5errorEPc(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef @.str)
          to label %609 unwind label %79

609:                                              ; preds = %608
  store i32 0, ptr %27, align 4
  br label %610

610:                                              ; preds = %609, %161
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %611 = load i32, ptr %27, align 4
  switch i32 %611, label %620 [
    i32 0, label %612
    i32 1, label %612
  ]

612:                                              ; preds = %610, %610
  ret void

613:                                              ; preds = %79, %75
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #6
  br label %614

614:                                              ; preds = %613, %71
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #6
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %615

615:                                              ; preds = %614
  %616 = load ptr, ptr %24, align 8
  %617 = load i32, ptr %25, align 4
  %618 = insertvalue { ptr, i32 } poison, ptr %616, 0
  %619 = insertvalue { ptr, i32 } %618, i32 %617, 1
  resume { ptr, i32 } %619

620:                                              ; preds = %610
  unreachable
}

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

declare void @_ZN6VectorC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

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

declare void @_ZN6Vector6createEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL6eigsrtR6VectorR6Matrix(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #0

; Function Attrs: nounwind
declare double @sqrt(double noundef) #5

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

declare void @_ZNK6Matrix5errorEPc(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

; Function Attrs: nounwind
declare void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

; Function Attrs: nounwind
declare void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

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 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.Vector = type { %class.Matrix, ptr }
%class.Matrix = type { ptr, ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [38 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6Matrix6jacobiER6VectorRS_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.Vector, align 8
  %5 = alloca %class.Vector, align 8
  %6 = alloca %class.Matrix, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @_ZN6VectorC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %4)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  invoke void @_ZN6VectorC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %7 unwind label %26

7:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  invoke void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %0)
          to label %8 unwind label %28

8:                                                ; preds = %7
  %9 = call noundef i32 @_ZNK6Matrix6nbRowsEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
  invoke void @_ZN6Vector6createEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %9)
          to label %10 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

10:                                               ; preds = %8
  invoke void @_ZN6Vector6createEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %9)
          to label %11 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

11:                                               ; preds = %10
  %12 = load ptr, ptr %1, align 8, !tbaa !5
  %13 = getelementptr inbounds i8, ptr %12, i64 56
  %14 = load ptr, ptr %13, align 8
  invoke void %14(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %9)
          to label %15 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

15:                                               ; preds = %11
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  %18 = load ptr, ptr %17, align 8
  invoke void %18(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %9, i32 noundef %9)
          to label %.preheader269 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader269:                                    ; preds = %15
  %.not279 = icmp slt i32 %9, 1
  br i1 %.not279, label %.preheader261, label %.preheader266

.preheader266:                                    ; preds = %.preheader269, %34
  %.0223280 = phi i32 [ %35, %34 ], [ 1, %.preheader269 ]
  br label %19

.preheader262:                                    ; preds = %34
  br i1 %.not279, label %.preheader261, label %.lr.ph

19:                                               ; preds = %.preheader266, %24
  %.0217278 = phi i32 [ 1, %.preheader266 ], [ %25, %24 ]
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 48
  %22 = load ptr, ptr %21, align 8
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr %22(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %.0223280, i32 noundef %.0217278)
          to label %24 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

24:                                               ; preds = %19
  store double 0.000000e+00, ptr %23, align 8, !tbaa !8
  %25 = add nuw i32 %.0217278, 1
  %exitcond.not = icmp eq i32 %.0217278, %9
  br i1 %exitcond.not, label %._crit_edge, label %19, !llvm.loop !11

26:                                               ; preds = %3
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %257

28:                                               ; preds = %7
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %256

.loopexit:                                        ; preds = %.lr.ph306, %214, %220, %226
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %159, %140, %112, %107, %88, %83, %71, %66
  %lpad.loopexit253 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %.lr.ph323
  %lpad.loopexit258 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %.lr.ph
  %lpad.loopexit263 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %19
  %lpad.loopexit267 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split: ; preds = %._crit_edge
  %lpad.loopexit270 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %254, %._crit_edge292.thread, %15, %11, %10, %8
  %lpad.loopexit.split-lp271 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit253, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit258, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit263, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit267, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp271, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ], [ %lpad.loopexit270, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %256

._crit_edge:                                      ; preds = %24
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 48
  %32 = load ptr, ptr %31, align 8
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr %32(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %.0223280, i32 noundef %.0223280)
          to label %34 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split

34:                                               ; preds = %._crit_edge
  store double 1.000000e+00, ptr %33, align 8, !tbaa !8
  %35 = add nuw i32 %.0223280, 1
  %exitcond327.not = icmp eq i32 %.0223280, %9
  br i1 %exitcond327.not, label %.preheader262, label %.preheader266, !llvm.loop !13

.preheader261:                                    ; preds = %44, %.preheader269, %.preheader262
  %.not237.not288 = icmp sgt i32 %9, 1
  %36 = mul nsw i32 %9, %9
  %37 = uitofp nneg i32 %36 to double
  br label %.preheader260

.lr.ph:                                           ; preds = %.preheader262, %44
  %.1224282 = phi i32 [ %47, %44 ], [ 1, %.preheader262 ]
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.1224282, i32 noundef %.1224282)
  %39 = load double, ptr %38, align 8, !tbaa !8
  %40 = load ptr, ptr %1, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %40, i64 80
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr %42(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.1224282)
          to label %44 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

44:                                               ; preds = %.lr.ph
  store double %39, ptr %43, align 8, !tbaa !8
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.1224282)
  store double %39, ptr %45, align 8, !tbaa !8
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %.1224282)
  store double 0.000000e+00, ptr %46, align 8, !tbaa !8
  %47 = add nuw i32 %.1224282, 1
  %exitcond328.not = icmp eq i32 %.1224282, %9
  br i1 %exitcond328.not, label %.preheader261, label %.lr.ph, !llvm.loop !14

.preheader260:                                    ; preds = %.preheader261, %._crit_edge324
  %.0227326 = phi i32 [ 1, %.preheader261 ], [ %253, %._crit_edge324 ]
  br i1 %.not237.not288, label %.lr.ph287.preheader, label %._crit_edge292.thread

.loopexit256:                                     ; preds = %.lr.ph287
  %exitcond330.not = icmp eq i32 %48, %9
  br i1 %exitcond330.not, label %._crit_edge292, label %.lr.ph287.preheader, !llvm.loop !15

.lr.ph287.preheader:                              ; preds = %.preheader260, %.loopexit256
  %.0220290 = phi double [ %52, %.loopexit256 ], [ 0.000000e+00, %.preheader260 ]
  %.2225289 = phi i32 [ %48, %.loopexit256 ], [ 1, %.preheader260 ]
  %48 = add nuw nsw i32 %.2225289, 1
  br label %.lr.ph287

.lr.ph287:                                        ; preds = %.lr.ph287.preheader, %.lr.ph287
  %.1218285 = phi i32 [ %53, %.lr.ph287 ], [ %48, %.lr.ph287.preheader ]
  %.1221284 = phi double [ %52, %.lr.ph287 ], [ %.0220290, %.lr.ph287.preheader ]
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.2225289, i32 noundef %.1218285)
  %50 = load double, ptr %49, align 8, !tbaa !8
  %51 = call double @llvm.fabs.f64(double %50)
  %52 = fadd double %.1221284, %51
  %53 = add nuw i32 %.1218285, 1
  %exitcond329.not = icmp eq i32 %.1218285, %9
  br i1 %exitcond329.not, label %.loopexit256, label %.lr.ph287, !llvm.loop !16

._crit_edge292:                                   ; preds = %.loopexit256
  %54 = fcmp oeq double %52, 0.000000e+00
  br i1 %54, label %._crit_edge292.thread, label %55

._crit_edge292.thread:                            ; preds = %.preheader260, %._crit_edge292
  invoke void @_ZL6eigsrtR6VectorR6Matrix(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %255 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

55:                                               ; preds = %._crit_edge292
  %56 = icmp ult i32 %.0227326, 4
  %57 = fmul double %52, 2.000000e-01
  %58 = fdiv double %57, %37
  %.0228 = select i1 %56, double %58, double 0.000000e+00
  br i1 %.not237.not288, label %.lr.ph319, label %.preheader257

.lr.ph319:                                        ; preds = %55
  %59 = icmp ugt i32 %.0227326, 4
  br label %.lr.ph313

.loopexit252:                                     ; preds = %._crit_edge307
  %exitcond335.not = icmp eq i32 %60, %9
  br i1 %exitcond335.not, label %.preheader257, label %.lr.ph313, !llvm.loop !17

.preheader257:                                    ; preds = %.loopexit252, %55
  br i1 %.not279, label %._crit_edge324, label %.lr.ph323

.lr.ph313:                                        ; preds = %.loopexit252, %.lr.ph319
  %.3226317 = phi i32 [ 1, %.lr.ph319 ], [ %60, %.loopexit252 ]
  %60 = add nuw nsw i32 %.3226317, 1
  %.not241.not294 = icmp ugt i32 %.3226317, 1
  br label %61

61:                                               ; preds = %.lr.ph313, %._crit_edge307
  %.2219310 = phi i32 [ %60, %.lr.ph313 ], [ %238, %._crit_edge307 ]
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  %63 = load double, ptr %62, align 8, !tbaa !8
  %64 = call double @llvm.fabs.f64(double %63)
  %65 = fmul double %64, 1.000000e+02
  br i1 %59, label %66, label %102

66:                                               ; preds = %61
  %67 = load ptr, ptr %1, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 80
  %69 = load ptr, ptr %68, align 8
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr %69(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.3226317)
          to label %71 unwind label %.loopexit.split-lp.loopexit

71:                                               ; preds = %66
  %72 = load double, ptr %70, align 8, !tbaa !8
  %73 = load ptr, ptr %1, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %73, i64 80
  %75 = load ptr, ptr %74, align 8
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr %75(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.3226317)
          to label %77 unwind label %.loopexit.split-lp.loopexit

77:                                               ; preds = %71
  %78 = call double @llvm.fabs.f64(double %72)
  %79 = fadd double %65, %78
  %80 = load double, ptr %76, align 8, !tbaa !8
  %81 = call double @llvm.fabs.f64(double %80)
  %82 = fcmp oeq double %79, %81
  br i1 %82, label %83, label %102

83:                                               ; preds = %77
  %84 = load ptr, ptr %1, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 80
  %86 = load ptr, ptr %85, align 8
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr %86(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.2219310)
          to label %88 unwind label %.loopexit.split-lp.loopexit

88:                                               ; preds = %83
  %89 = load double, ptr %87, align 8, !tbaa !8
  %90 = load ptr, ptr %1, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i64 80
  %92 = load ptr, ptr %91, align 8
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr %92(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.2219310)
          to label %94 unwind label %.loopexit.split-lp.loopexit

94:                                               ; preds = %88
  %95 = call double @llvm.fabs.f64(double %89)
  %96 = fadd double %65, %95
  %97 = load double, ptr %93, align 8, !tbaa !8
  %98 = call double @llvm.fabs.f64(double %97)
  %99 = fcmp oeq double %96, %98
  br i1 %99, label %100, label %102

100:                                              ; preds = %94
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  store double 0.000000e+00, ptr %101, align 8, !tbaa !8
  br label %._crit_edge307

102:                                              ; preds = %94, %77, %61
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  %104 = load double, ptr %103, align 8, !tbaa !8
  %105 = call double @llvm.fabs.f64(double %104)
  %106 = fcmp ogt double %105, %.0228
  br i1 %106, label %107, label %._crit_edge307

107:                                              ; preds = %102
  %108 = load ptr, ptr %1, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 80
  %110 = load ptr, ptr %109, align 8
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr %110(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.2219310)
          to label %112 unwind label %.loopexit.split-lp.loopexit

112:                                              ; preds = %107
  %113 = load double, ptr %111, align 8, !tbaa !8
  %114 = load ptr, ptr %1, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i64 80
  %116 = load ptr, ptr %115, align 8
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr %116(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.3226317)
          to label %118 unwind label %.loopexit.split-lp.loopexit

118:                                              ; preds = %112
  %119 = load double, ptr %117, align 8, !tbaa !8
  %120 = fsub double %113, %119
  %121 = call double @llvm.fabs.f64(double %120)
  %122 = fadd double %65, %121
  %123 = fcmp oeq double %122, %121
  br i1 %123, label %124, label %128

124:                                              ; preds = %118
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  %126 = load double, ptr %125, align 8, !tbaa !8
  %127 = fdiv double %126, %120
  br label %140

128:                                              ; preds = %118
  %129 = fmul double %120, 5.000000e-01
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  %131 = load double, ptr %130, align 8, !tbaa !8
  %132 = fdiv double %129, %131
  %133 = call double @llvm.fabs.f64(double %132)
  %134 = call double @llvm.fmuladd.f64(double %132, double %132, double 1.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %134)
  %135 = fadd double %133, %sqrt
  %136 = fdiv double 1.000000e+00, %135
  %137 = fcmp olt double %132, 0.000000e+00
  br i1 %137, label %138, label %140

138:                                              ; preds = %128
  %139 = fneg double %136
  br label %140

140:                                              ; preds = %128, %138, %124
  %.0222 = phi double [ %127, %124 ], [ %139, %138 ], [ %136, %128 ]
  %141 = call double @llvm.fmuladd.f64(double %.0222, double %.0222, double 1.000000e+00)
  %sqrt249 = call double @llvm.sqrt.f64(double %141)
  %142 = fdiv double 1.000000e+00, %sqrt249
  %143 = fmul double %.0222, %142
  %144 = fadd double %142, 1.000000e+00
  %145 = fdiv double %143, %144
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  %147 = load double, ptr %146, align 8, !tbaa !8
  %148 = fmul double %.0222, %147
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %.3226317)
  %150 = load double, ptr %149, align 8, !tbaa !8
  %151 = fsub double %150, %148
  store double %151, ptr %149, align 8, !tbaa !8
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %.2219310)
  %153 = load double, ptr %152, align 8, !tbaa !8
  %154 = fadd double %148, %153
  store double %154, ptr %152, align 8, !tbaa !8
  %155 = load ptr, ptr %1, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %155, i64 80
  %157 = load ptr, ptr %156, align 8
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr %157(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.3226317)
          to label %159 unwind label %.loopexit.split-lp.loopexit

159:                                              ; preds = %140
  %160 = load double, ptr %158, align 8, !tbaa !8
  %161 = fsub double %160, %148
  store double %161, ptr %158, align 8, !tbaa !8
  %162 = load ptr, ptr %1, align 8, !tbaa !5
  %163 = getelementptr inbounds i8, ptr %162, i64 80
  %164 = load ptr, ptr %163, align 8
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr %164(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.2219310)
          to label %166 unwind label %.loopexit.split-lp.loopexit

166:                                              ; preds = %159
  %167 = load double, ptr %165, align 8, !tbaa !8
  %168 = fadd double %148, %167
  store double %168, ptr %165, align 8, !tbaa !8
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2219310)
  store double 0.000000e+00, ptr %169, align 8, !tbaa !8
  br i1 %.not241.not294, label %.lr.ph297, label %.preheader251

.lr.ph297:                                        ; preds = %166
  %170 = fneg double %143
  br label %172

.preheader251:                                    ; preds = %172, %166
  %.not242.not298 = icmp ult i32 %60, %.2219310
  br i1 %.not242.not298, label %.lr.ph300, label %.preheader250

.lr.ph300:                                        ; preds = %.preheader251
  %171 = fneg double %143
  br label %186

172:                                              ; preds = %.lr.ph297, %172
  %.0215295 = phi i32 [ 1, %.lr.ph297 ], [ %184, %172 ]
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.0215295, i32 noundef %.3226317)
  %174 = load double, ptr %173, align 8, !tbaa !8
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.0215295, i32 noundef %.2219310)
  %176 = load double, ptr %175, align 8, !tbaa !8
  %177 = call double @llvm.fmuladd.f64(double %174, double %145, double %176)
  %178 = call double @llvm.fmuladd.f64(double %170, double %177, double %174)
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.0215295, i32 noundef %.3226317)
  store double %178, ptr %179, align 8, !tbaa !8
  %180 = fneg double %176
  %181 = call double @llvm.fmuladd.f64(double %180, double %145, double %174)
  %182 = call double @llvm.fmuladd.f64(double %143, double %181, double %176)
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.0215295, i32 noundef %.2219310)
  store double %182, ptr %183, align 8, !tbaa !8
  %184 = add nuw nsw i32 %.0215295, 1
  %exitcond331.not = icmp eq i32 %184, %.3226317
  br i1 %exitcond331.not, label %.preheader251, label %172, !llvm.loop !18

.preheader250:                                    ; preds = %186, %.preheader251
  %.not243.not301 = icmp slt i32 %.2219310, %9
  %185 = fneg double %143
  br i1 %.not243.not301, label %.lr.ph303, label %.lr.ph306.preheader

186:                                              ; preds = %.lr.ph300, %186
  %.1216299 = phi i32 [ %60, %.lr.ph300 ], [ %198, %186 ]
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.1216299)
  %188 = load double, ptr %187, align 8, !tbaa !8
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.1216299, i32 noundef %.2219310)
  %190 = load double, ptr %189, align 8, !tbaa !8
  %191 = call double @llvm.fmuladd.f64(double %188, double %145, double %190)
  %192 = call double @llvm.fmuladd.f64(double %171, double %191, double %188)
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.1216299)
  store double %192, ptr %193, align 8, !tbaa !8
  %194 = fneg double %190
  %195 = call double @llvm.fmuladd.f64(double %194, double %145, double %188)
  %196 = call double @llvm.fmuladd.f64(double %143, double %195, double %190)
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.1216299, i32 noundef %.2219310)
  store double %196, ptr %197, align 8, !tbaa !8
  %198 = add nuw i32 %.1216299, 1
  %exitcond332.not = icmp eq i32 %198, %.2219310
  br i1 %exitcond332.not, label %.preheader250, label %186, !llvm.loop !19

.lr.ph303:                                        ; preds = %.preheader250, %.lr.ph303
  %.2.in302 = phi i32 [ %.2, %.lr.ph303 ], [ %.2219310, %.preheader250 ]
  %.2 = add nuw nsw i32 %.2.in302, 1
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2)
  %200 = load double, ptr %199, align 8, !tbaa !8
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.2219310, i32 noundef %.2)
  %202 = load double, ptr %201, align 8, !tbaa !8
  %203 = call double @llvm.fmuladd.f64(double %200, double %145, double %202)
  %204 = call double @llvm.fmuladd.f64(double %185, double %203, double %200)
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.3226317, i32 noundef %.2)
  store double %204, ptr %205, align 8, !tbaa !8
  %206 = fneg double %202
  %207 = call double @llvm.fmuladd.f64(double %206, double %145, double %200)
  %208 = call double @llvm.fmuladd.f64(double %143, double %207, double %202)
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.2219310, i32 noundef %.2)
  store double %208, ptr %209, align 8, !tbaa !8
  %.not243.not = icmp slt i32 %.2, %9
  br i1 %.not243.not, label %.lr.ph303, label %.lr.ph306.preheader, !llvm.loop !20

.lr.ph306.preheader:                              ; preds = %.lr.ph303, %.preheader250
  br label %.lr.ph306

.lr.ph306:                                        ; preds = %.lr.ph306.preheader, %233
  %.3305 = phi i32 [ %237, %233 ], [ 1, %.lr.ph306.preheader ]
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds i8, ptr %210, i64 48
  %212 = load ptr, ptr %211, align 8
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr %212(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %.3305, i32 noundef %.3226317)
          to label %214 unwind label %.loopexit

214:                                              ; preds = %.lr.ph306
  %215 = load double, ptr %213, align 8, !tbaa !8
  %216 = load ptr, ptr %2, align 8, !tbaa !5
  %217 = getelementptr inbounds i8, ptr %216, i64 48
  %218 = load ptr, ptr %217, align 8
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr %218(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %.3305, i32 noundef %.2219310)
          to label %220 unwind label %.loopexit

220:                                              ; preds = %214
  %221 = load double, ptr %219, align 8, !tbaa !8
  %222 = load ptr, ptr %2, align 8, !tbaa !5
  %223 = getelementptr inbounds i8, ptr %222, i64 48
  %224 = load ptr, ptr %223, align 8
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr %224(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %.3305, i32 noundef %.3226317)
          to label %226 unwind label %.loopexit

226:                                              ; preds = %220
  %227 = call double @llvm.fmuladd.f64(double %215, double %145, double %221)
  %228 = call double @llvm.fmuladd.f64(double %185, double %227, double %215)
  store double %228, ptr %225, align 8, !tbaa !8
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds i8, ptr %229, i64 48
  %231 = load ptr, ptr %230, align 8
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr %231(ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %.3305, i32 noundef %.2219310)
          to label %233 unwind label %.loopexit

233:                                              ; preds = %226
  %234 = fneg double %221
  %235 = call double @llvm.fmuladd.f64(double %234, double %145, double %215)
  %236 = call double @llvm.fmuladd.f64(double %143, double %235, double %221)
  store double %236, ptr %232, align 8, !tbaa !8
  %237 = add nuw i32 %.3305, 1
  %exitcond333.not = icmp eq i32 %.3305, %9
  br i1 %exitcond333.not, label %._crit_edge307, label %.lr.ph306, !llvm.loop !21

._crit_edge307:                                   ; preds = %233, %100, %102
  %238 = add nuw i32 %.2219310, 1
  %exitcond334.not = icmp eq i32 %.2219310, %9
  br i1 %exitcond334.not, label %.loopexit252, label %61, !llvm.loop !22

.lr.ph323:                                        ; preds = %.preheader257, %250
  %.4322 = phi i32 [ %252, %250 ], [ 1, %.preheader257 ]
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %.4322)
  %240 = load double, ptr %239, align 8, !tbaa !8
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.4322)
  %242 = load double, ptr %241, align 8, !tbaa !8
  %243 = fadd double %240, %242
  store double %243, ptr %241, align 8, !tbaa !8
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.4322)
  %245 = load double, ptr %244, align 8, !tbaa !8
  %246 = load ptr, ptr %1, align 8, !tbaa !5
  %247 = getelementptr inbounds i8, ptr %246, i64 80
  %248 = load ptr, ptr %247, align 8
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr %248(ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %.4322)
          to label %250 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

250:                                              ; preds = %.lr.ph323
  store double %245, ptr %249, align 8, !tbaa !8
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %.4322)
  store double 0.000000e+00, ptr %251, align 8, !tbaa !8
  %252 = add nuw i32 %.4322, 1
  %exitcond336.not = icmp eq i32 %.4322, %9
  br i1 %exitcond336.not, label %._crit_edge324, label %.lr.ph323, !llvm.loop !23

._crit_edge324:                                   ; preds = %250, %.preheader257
  %253 = add nuw nsw i32 %.0227326, 1
  %exitcond337.not = icmp eq i32 %253, 51
  br i1 %exitcond337.not, label %254, label %.preheader260, !llvm.loop !24

254:                                              ; preds = %._crit_edge324
  invoke void @_ZNK6Matrix5errorEPc(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull @.str)
          to label %255 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

255:                                              ; preds = %254, %._crit_edge292.thread
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  ret void

256:                                              ; preds = %.loopexit.split-lp, %28
  %.pn = phi { ptr, i32 } [ %lpad.phi, %.loopexit.split-lp ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %257

257:                                              ; preds = %256, %26
  %.pn.pn = phi { ptr, i32 } [ %.pn, %256 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  call void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn.pn
}

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

declare void @_ZN6VectorC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

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

declare void @_ZN6Vector6createEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6VectorclEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL6eigsrtR6VectorR6Matrix(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

declare void @_ZNK6Matrix5errorEPc(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5

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

; Function Attrs: nounwind
declare void @_ZN6VectorD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

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

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


; Effective O3 passes: AggressiveInstCombinePass,BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass