; LLVM IR from moarseniy/CudaFEMproject :: deprecated/Linal2/src/Linal2.ll (ZN6Matrix9CGM_solveES_7MyArrayRS0_i)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #7 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Matrix9CGM_solveES_7MyArrayRS0_i(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %4) #5 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, 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 i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %30 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 1, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store float 0x3EE4F8B580000000, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %32, i64 4)
  %34 = extractvalue { i64, i1 } %33, 1
  %35 = extractvalue { i64, i1 } %33, 0
  %36 = select i1 %34, i64 -1, i64 %35
  %37 = call noalias noundef nonnull ptr @_Znam(i64 noundef %36) #9
  store ptr %37, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %39, i64 4)
  %41 = extractvalue { i64, i1 } %40, 1
  %42 = extractvalue { i64, i1 } %40, 0
  %43 = select i1 %41, i64 -1, i64 %42
  %44 = call noalias noundef nonnull ptr @_Znam(i64 noundef %43) #9
  store ptr %44, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %46, i64 4)
  %48 = extractvalue { i64, i1 } %47, 1
  %49 = extractvalue { i64, i1 } %47, 0
  %50 = select i1 %48, i64 -1, i64 %49
  %51 = call noalias noundef nonnull ptr @_Znam(i64 noundef %50) #9
  store ptr %51, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store float 0.000000e+00, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %69, %5
  %53 = load i32, ptr %22, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %72

57:                                               ; preds = %52
  %58 = load i32, ptr %22, align 4, !tbaa !9
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %58)
  %60 = load float, ptr %59, align 4, !tbaa !11
  %61 = load i32, ptr %22, align 4, !tbaa !9
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %61)
  %63 = load float, ptr %62, align 4, !tbaa !11
  %64 = load float, ptr %18, align 4, !tbaa !11
  %65 = call float @llvm.fmuladd.f32(float %60, float %63, float %64)
  store float %65, ptr %18, align 4, !tbaa !11
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = load i32, ptr %22, align 4, !tbaa !9
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %66, i32 noundef %67)
  store float 0x3FC99999A0000000, ptr %68, align 4, !tbaa !11
  br label %69

69:                                               ; preds = %57
  %70 = load i32, ptr %22, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %22, align 4, !tbaa !9
  br label %52, !llvm.loop !13

72:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %129, %72
  %74 = load i32, ptr %23, align 4, !tbaa !9
  %75 = load i32, ptr %10, align 4, !tbaa !9
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  store i32 5, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %132

78:                                               ; preds = %73
  %79 = load ptr, ptr %15, align 8, !tbaa !5
  %80 = load i32, ptr %23, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %79, i64 %81
  store float 0.000000e+00, ptr %82, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %103, %78
  %84 = load i32, ptr %25, align 4, !tbaa !9
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = icmp slt i32 %84, %85
  br i1 %86, label %88, label %87

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

88:                                               ; preds = %83
  %89 = load i32, ptr %23, align 4, !tbaa !9
  %90 = load i32, ptr %25, align 4, !tbaa !9
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %89, i32 noundef %90)
  %92 = load float, ptr %91, align 4, !tbaa !11
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = load i32, ptr %25, align 4, !tbaa !9
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %93, i32 noundef %94)
  %96 = load float, ptr %95, align 4, !tbaa !11
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = load i32, ptr %23, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds float, ptr %97, i64 %99
  %101 = load float, ptr %100, align 4, !tbaa !11
  %102 = call float @llvm.fmuladd.f32(float %92, float %96, float %101)
  store float %102, ptr %100, align 4, !tbaa !11
  br label %103

103:                                              ; preds = %88
  %104 = load i32, ptr %25, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %25, align 4, !tbaa !9
  br label %83, !llvm.loop !15

106:                                              ; preds = %87
  %107 = load i32, ptr %23, align 4, !tbaa !9
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %107)
  %109 = load float, ptr %108, align 4, !tbaa !11
  %110 = load ptr, ptr %15, align 8, !tbaa !5
  %111 = load i32, ptr %23, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds float, ptr %110, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !11
  %115 = fsub float %109, %114
  %116 = load ptr, ptr %14, align 8, !tbaa !5
  %117 = load i32, ptr %23, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds float, ptr %116, i64 %118
  store float %115, ptr %119, align 4, !tbaa !11
  %120 = load ptr, ptr %14, align 8, !tbaa !5
  %121 = load i32, ptr %23, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds float, ptr %120, i64 %122
  %124 = load float, ptr %123, align 4, !tbaa !11
  %125 = load ptr, ptr %13, align 8, !tbaa !5
  %126 = load i32, ptr %23, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds float, ptr %125, i64 %127
  store float %124, ptr %128, align 4, !tbaa !11
  br label %129

129:                                              ; preds = %106
  %130 = load i32, ptr %23, align 4, !tbaa !9
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %23, align 4, !tbaa !9
  br label %73, !llvm.loop !16

132:                                              ; preds = %77
  br label %133

133:                                              ; preds = %292, %132
  store float 0.000000e+00, ptr %21, align 4, !tbaa !11
  store float 0.000000e+00, ptr %19, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %134

134:                                              ; preds = %193, %133
  %135 = load i32, ptr %26, align 4, !tbaa !9
  %136 = load i32, ptr %10, align 4, !tbaa !9
  %137 = icmp slt i32 %135, %136
  br i1 %137, label %139, label %138

138:                                              ; preds = %134
  store i32 13, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %196

139:                                              ; preds = %134
  %140 = load ptr, ptr %15, align 8, !tbaa !5
  %141 = load i32, ptr %26, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds float, ptr %140, i64 %142
  store float 0.000000e+00, ptr %143, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %165, %139
  %145 = load i32, ptr %27, align 4, !tbaa !9
  %146 = load i32, ptr %10, align 4, !tbaa !9
  %147 = icmp slt i32 %145, %146
  br i1 %147, label %149, label %148

148:                                              ; preds = %144
  store i32 16, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %168

149:                                              ; preds = %144
  %150 = load i32, ptr %26, align 4, !tbaa !9
  %151 = load i32, ptr %27, align 4, !tbaa !9
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %150, i32 noundef %151)
  %153 = load float, ptr %152, align 4, !tbaa !11
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = load i32, ptr %27, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds float, ptr %154, i64 %156
  %158 = load float, ptr %157, align 4, !tbaa !11
  %159 = load ptr, ptr %15, align 8, !tbaa !5
  %160 = load i32, ptr %26, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds float, ptr %159, i64 %161
  %163 = load float, ptr %162, align 4, !tbaa !11
  %164 = call float @llvm.fmuladd.f32(float %153, float %158, float %163)
  store float %164, ptr %162, align 4, !tbaa !11
  br label %165

165:                                              ; preds = %149
  %166 = load i32, ptr %27, align 4, !tbaa !9
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %27, align 4, !tbaa !9
  br label %144, !llvm.loop !17

168:                                              ; preds = %148
  %169 = load ptr, ptr %15, align 8, !tbaa !5
  %170 = load i32, ptr %26, align 4, !tbaa !9
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds float, ptr %169, i64 %171
  %173 = load float, ptr %172, align 4, !tbaa !11
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  %175 = load i32, ptr %26, align 4, !tbaa !9
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds float, ptr %174, i64 %176
  %178 = load float, ptr %177, align 4, !tbaa !11
  %179 = load float, ptr %21, align 4, !tbaa !11
  %180 = call float @llvm.fmuladd.f32(float %173, float %178, float %179)
  store float %180, ptr %21, align 4, !tbaa !11
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  %182 = load i32, ptr %26, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds float, ptr %181, i64 %183
  %185 = load float, ptr %184, align 4, !tbaa !11
  %186 = load ptr, ptr %14, align 8, !tbaa !5
  %187 = load i32, ptr %26, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds float, ptr %186, i64 %188
  %190 = load float, ptr %189, align 4, !tbaa !11
  %191 = load float, ptr %19, align 4, !tbaa !11
  %192 = call float @llvm.fmuladd.f32(float %185, float %190, float %191)
  store float %192, ptr %19, align 4, !tbaa !11
  br label %193

193:                                              ; preds = %168
  %194 = load i32, ptr %26, align 4, !tbaa !9
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %26, align 4, !tbaa !9
  br label %134, !llvm.loop !18

196:                                              ; preds = %138
  %197 = load float, ptr %19, align 4, !tbaa !11
  %198 = load float, ptr %21, align 4, !tbaa !11
  %199 = fdiv float %197, %198
  store float %199, ptr %16, align 4, !tbaa !11
  store float 0.000000e+00, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %256, %196
  %201 = load i32, ptr %28, align 4, !tbaa !9
  %202 = load i32, ptr %10, align 4, !tbaa !9
  %203 = icmp slt i32 %201, %202
  br i1 %203, label %205, label %204

204:                                              ; preds = %200
  store i32 19, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %259

205:                                              ; preds = %200
  %206 = load float, ptr %16, align 4, !tbaa !11
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = load i32, ptr %28, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds float, ptr %207, i64 %209
  %211 = load float, ptr %210, align 4, !tbaa !11
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = load i32, ptr %28, align 4, !tbaa !9
  %214 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %212, i32 noundef %213)
  %215 = load float, ptr %214, align 4, !tbaa !11
  %216 = call float @llvm.fmuladd.f32(float %206, float %211, float %215)
  store float %216, ptr %214, align 4, !tbaa !11
  %217 = load float, ptr %16, align 4, !tbaa !11
  %218 = load ptr, ptr %15, align 8, !tbaa !5
  %219 = load i32, ptr %28, align 4, !tbaa !9
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds float, ptr %218, i64 %220
  %222 = load float, ptr %221, align 4, !tbaa !11
  %223 = load ptr, ptr %14, align 8, !tbaa !5
  %224 = load i32, ptr %28, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds float, ptr %223, i64 %225
  %227 = load float, ptr %226, align 4, !tbaa !11
  %228 = fneg float %217
  %229 = call float @llvm.fmuladd.f32(float %228, float %222, float %227)
  store float %229, ptr %226, align 4, !tbaa !11
  %230 = load ptr, ptr %14, align 8, !tbaa !5
  %231 = load i32, ptr %28, align 4, !tbaa !9
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds float, ptr %230, i64 %232
  %234 = load float, ptr %233, align 4, !tbaa !11
  %235 = load ptr, ptr %14, align 8, !tbaa !5
  %236 = load i32, ptr %28, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds float, ptr %235, i64 %237
  %239 = load float, ptr %238, align 4, !tbaa !11
  %240 = load float, ptr %20, align 4, !tbaa !11
  %241 = call float @llvm.fmuladd.f32(float %234, float %239, float %240)
  store float %241, ptr %20, align 4, !tbaa !11
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.30)
  %243 = load i32, ptr %11, align 4, !tbaa !9
  %244 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %242, i32 noundef %243)
  %245 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef @.str.31)
  %247 = load i32, ptr %28, align 4, !tbaa !9
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %246, i32 noundef %247)
  %249 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %248, ptr noundef @.str.17)
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = load i32, ptr %28, align 4, !tbaa !9
  %252 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %250, i32 noundef %251)
  %253 = load float, ptr %252, align 4, !tbaa !11
  %254 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %249, float noundef %253)
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %254, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %256

256:                                              ; preds = %205
  %257 = load i32, ptr %28, align 4, !tbaa !9
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %28, align 4, !tbaa !9
  br label %200, !llvm.loop !19

259:                                              ; preds = %204
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %261 = load i32, ptr %11, align 4, !tbaa !9
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %11, align 4, !tbaa !9
  %263 = load float, ptr %20, align 4, !tbaa !11
  %264 = load float, ptr %19, align 4, !tbaa !11
  %265 = fdiv float %263, %264
  store float %265, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %266

266:                                              ; preds = %288, %259
  %267 = load i32, ptr %29, align 4, !tbaa !9
  %268 = load i32, ptr %10, align 4, !tbaa !9
  %269 = icmp slt i32 %267, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %266
  store i32 22, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %291

271:                                              ; preds = %266
  %272 = load ptr, ptr %14, align 8, !tbaa !5
  %273 = load i32, ptr %29, align 4, !tbaa !9
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds float, ptr %272, i64 %274
  %276 = load float, ptr %275, align 4, !tbaa !11
  %277 = load float, ptr %17, align 4, !tbaa !11
  %278 = load ptr, ptr %13, align 8, !tbaa !5
  %279 = load i32, ptr %29, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds float, ptr %278, i64 %280
  %282 = load float, ptr %281, align 4, !tbaa !11
  %283 = call float @llvm.fmuladd.f32(float %277, float %282, float %276)
  %284 = load ptr, ptr %13, align 8, !tbaa !5
  %285 = load i32, ptr %29, align 4, !tbaa !9
  %286 = sext i32 %285 to i64
  %287 = getelementptr inbounds float, ptr %284, i64 %286
  store float %283, ptr %287, align 4, !tbaa !11
  br label %288

288:                                              ; preds = %271
  %289 = load i32, ptr %29, align 4, !tbaa !9
  %290 = add nsw i32 %289, 1
  store i32 %290, ptr %29, align 4, !tbaa !9
  br label %266, !llvm.loop !20

291:                                              ; preds = %270
  br label %292

292:                                              ; preds = %291
  %293 = load float, ptr %20, align 4, !tbaa !11
  %294 = load float, ptr %18, align 4, !tbaa !11
  %295 = fdiv float %293, %294
  %296 = load float, ptr %12, align 4, !tbaa !11
  %297 = load float, ptr %12, align 4, !tbaa !11
  %298 = fmul float %296, %297
  %299 = fcmp ogt float %295, %298
  br i1 %299, label %133, label %300, !llvm.loop !21

300:                                              ; preds = %292
  %301 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %302 = load ptr, ptr %15, align 8, !tbaa !5
  %303 = icmp eq ptr %302, null
  br i1 %303, label %305, label %304

304:                                              ; preds = %300
  call void @_ZdaPv(ptr noundef %302) #10
  br label %305

305:                                              ; preds = %304, %300
  %306 = load ptr, ptr %13, align 8, !tbaa !5
  %307 = icmp eq ptr %306, null
  br i1 %307, label %309, label %308

308:                                              ; preds = %305
  call void @_ZdaPv(ptr noundef %306) #10
  br label %309

309:                                              ; preds = %308, %305
  %310 = load ptr, ptr %14, align 8, !tbaa !5
  %311 = icmp eq ptr %310, null
  br i1 %311, label %313, label %312

312:                                              ; preds = %309
  call void @_ZdaPv(ptr noundef %310) #10
  br label %313

313:                                              ; preds = %312, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Matrix9CGM_solveES_7MyArrayRS0_i(ptr nocapture noundef nonnull readnone align 8 dereferenceable(24) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %4) local_unnamed_addr #3 align 2 {
  %6 = zext i32 %4 to i64
  %7 = icmp slt i32 %4, 0
  %8 = shl nuw nsw i64 %6, 2
  %9 = select i1 %7, i64 -1, i64 %8
  %10 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %9) #8
  %11 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %9) #8
  %12 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %9) #8
  %13 = icmp sgt i32 %4, 0
  br i1 %13, label %.lr.ph, label %.preheader

.preheader114:                                    ; preds = %.lr.ph
  br i1 %13, label %.lr.ph118.us, label %.preheader

.lr.ph118.us:                                     ; preds = %.preheader114, %._crit_edge.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge.us ], [ 0, %.preheader114 ]
  %14 = getelementptr inbounds float, ptr %12, i64 %indvars.iv
  store float 0.000000e+00, ptr %14, align 4, !tbaa !5
  %15 = trunc nuw nsw i64 %indvars.iv to i32
  br label %16

16:                                               ; preds = %.lr.ph118.us, %16
  %17 = phi float [ 0.000000e+00, %.lr.ph118.us ], [ %22, %16 ]
  %.0105117.us = phi i32 [ 0, %.lr.ph118.us ], [ %23, %16 ]
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %15, i32 noundef %.0105117.us)
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.0105117.us)
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = tail call float @llvm.fmuladd.f32(float %19, float %21, float %17)
  store float %22, ptr %14, align 4, !tbaa !5
  %23 = add nuw nsw i32 %.0105117.us, 1
  %exitcond144.not = icmp eq i32 %23, %4
  br i1 %exitcond144.not, label %._crit_edge.us, label %16, !llvm.loop !9

._crit_edge.us:                                   ; preds = %16
  %24 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %15)
  %25 = load float, ptr %24, align 4, !tbaa !5
  %26 = fsub float %25, %22
  %27 = getelementptr inbounds float, ptr %11, i64 %indvars.iv
  store float %26, ptr %27, align 4, !tbaa !5
  %28 = getelementptr inbounds float, ptr %10, i64 %indvars.iv
  store float %26, ptr %28, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond146.not = icmp eq i64 %indvars.iv.next, %6
  br i1 %exitcond146.not, label %.preheader, label %.lr.ph118.us, !llvm.loop !11

.lr.ph:                                           ; preds = %5, %.lr.ph
  %.0107116 = phi i32 [ %35, %.lr.ph ], [ 0, %5 ]
  %.0111115 = phi float [ %33, %.lr.ph ], [ 0.000000e+00, %5 ]
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.0107116)
  %30 = load float, ptr %29, align 4, !tbaa !5
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %.0107116)
  %32 = load float, ptr %31, align 4, !tbaa !5
  %33 = tail call float @llvm.fmuladd.f32(float %30, float %32, float %.0111115)
  %34 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %.0107116)
  store float 0x3FC99999A0000000, ptr %34, align 4, !tbaa !5
  %35 = add nuw nsw i32 %.0107116, 1
  %exitcond.not = icmp eq i32 %35, %4
  br i1 %exitcond.not, label %.preheader114, label %.lr.ph, !llvm.loop !12

.preheader:                                       ; preds = %._crit_edge.us, %5, %.preheader114
  %.0111.lcssa168 = phi float [ %33, %.preheader114 ], [ 0.000000e+00, %5 ], [ %33, %._crit_edge.us ]
  %min.iters.check = icmp ult i32 %4, 8
  %n.vec = and i64 %6, 2147483640
  %cmp.n = icmp eq i64 %n.vec, %6
  br label %36

36:                                               ; preds = %.preheader, %._crit_edge140
  %.0112 = phi i32 [ %94, %._crit_edge140 ], [ 1, %.preheader ]
  br i1 %13, label %.lr.ph122.us, label %._crit_edge.thread

.lr.ph122.us:                                     ; preds = %36, %._crit_edge.us131
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %._crit_edge.us131 ], [ 0, %36 ]
  %37 = phi <2 x float> [ %56, %._crit_edge.us131 ], [ zeroinitializer, %36 ]
  %38 = getelementptr inbounds float, ptr %12, i64 %indvars.iv152
  store float 0.000000e+00, ptr %38, align 4, !tbaa !5
  %39 = trunc nuw nsw i64 %indvars.iv152 to i32
  br label %40

40:                                               ; preds = %.lr.ph122.us, %40
  %41 = phi float [ 0.000000e+00, %.lr.ph122.us ], [ %47, %40 ]
  %indvars.iv147 = phi i64 [ 0, %.lr.ph122.us ], [ %indvars.iv.next148, %40 ]
  %42 = trunc nuw nsw i64 %indvars.iv147 to i32
  %43 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %39, i32 noundef %42)
  %44 = load float, ptr %43, align 4, !tbaa !5
  %45 = getelementptr inbounds float, ptr %10, i64 %indvars.iv147
  %46 = load float, ptr %45, align 4, !tbaa !5
  %47 = tail call float @llvm.fmuladd.f32(float %44, float %46, float %41)
  store float %47, ptr %38, align 4, !tbaa !5
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %exitcond151.not = icmp eq i64 %indvars.iv.next148, %6
  br i1 %exitcond151.not, label %._crit_edge.us131, label %40, !llvm.loop !13

._crit_edge.us131:                                ; preds = %40
  %48 = getelementptr inbounds float, ptr %10, i64 %indvars.iv152
  %49 = load float, ptr %48, align 4, !tbaa !5
  %50 = getelementptr inbounds float, ptr %11, i64 %indvars.iv152
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = insertelement <2 x float> poison, float %47, i64 0
  %53 = insertelement <2 x float> %52, float %51, i64 1
  %54 = insertelement <2 x float> poison, float %49, i64 0
  %55 = insertelement <2 x float> %54, float %51, i64 1
  %56 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %53, <2 x float> %55, <2 x float> %37)
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %exitcond156.not = icmp eq i64 %indvars.iv.next153, %6
  br i1 %exitcond156.not, label %._crit_edge128.split.us, label %.lr.ph122.us, !llvm.loop !14

._crit_edge128.split.us:                          ; preds = %._crit_edge.us131
  %57 = extractelement <2 x float> %56, i64 0
  %58 = extractelement <2 x float> %56, i64 1
  %59 = fdiv float %58, %57
  br i1 %13, label %.lr.ph135, label %._crit_edge.thread

.lr.ph135:                                        ; preds = %._crit_edge128.split.us
  %60 = fneg float %59
  br label %71

._crit_edge.thread:                               ; preds = %._crit_edge128.split.us, %36
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %._crit_edge140

._crit_edge:                                      ; preds = %71
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %63 = fdiv float %83, %58
  br i1 %13, label %.lr.ph139.preheader, label %._crit_edge140

.lr.ph139.preheader:                              ; preds = %._crit_edge
  br i1 %min.iters.check, label %.lr.ph139.preheader189, label %vector.ph

.lr.ph139.preheader189:                           ; preds = %middle.block, %.lr.ph139.preheader
  %indvars.iv162.ph = phi i64 [ 0, %.lr.ph139.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph139

vector.ph:                                        ; preds = %.lr.ph139.preheader
  %broadcast.splatinsert = insertelement <4 x float> poison, float %63, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %64 = getelementptr inbounds float, ptr %11, i64 %index
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  %wide.load = load <4 x float>, ptr %64, align 4, !tbaa !5
  %wide.load186 = load <4 x float>, ptr %65, align 4, !tbaa !5
  %66 = getelementptr inbounds float, ptr %10, i64 %index
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  %wide.load187 = load <4 x float>, ptr %66, align 4, !tbaa !5
  %wide.load188 = load <4 x float>, ptr %67, align 4, !tbaa !5
  %68 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load187, <4 x float> %wide.load)
  %69 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load188, <4 x float> %wide.load186)
  store <4 x float> %68, ptr %66, align 4, !tbaa !5
  store <4 x float> %69, ptr %67, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %70 = icmp eq i64 %index.next, %n.vec
  br i1 %70, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge140, label %.lr.ph139.preheader189

71:                                               ; preds = %.lr.ph135, %71
  %indvars.iv157 = phi i64 [ 0, %.lr.ph135 ], [ %indvars.iv.next158, %71 ]
  %.0109133 = phi float [ 0.000000e+00, %.lr.ph135 ], [ %83, %71 ]
  %72 = getelementptr inbounds float, ptr %10, i64 %indvars.iv157
  %73 = load float, ptr %72, align 4, !tbaa !5
  %74 = trunc nuw nsw i64 %indvars.iv157 to i32
  %75 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %74)
  %76 = load float, ptr %75, align 4, !tbaa !5
  %77 = tail call float @llvm.fmuladd.f32(float %59, float %73, float %76)
  store float %77, ptr %75, align 4, !tbaa !5
  %78 = getelementptr inbounds float, ptr %12, i64 %indvars.iv157
  %79 = load float, ptr %78, align 4, !tbaa !5
  %80 = getelementptr inbounds float, ptr %11, i64 %indvars.iv157
  %81 = load float, ptr %80, align 4, !tbaa !5
  %82 = tail call float @llvm.fmuladd.f32(float %60, float %79, float %81)
  store float %82, ptr %80, align 4, !tbaa !5
  %83 = tail call float @llvm.fmuladd.f32(float %82, float %82, float %.0109133)
  %84 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.30)
  %85 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %84, i32 noundef %.0112)
  %86 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %87 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull @.str.31)
  %88 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %87, i32 noundef %74)
  %89 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @.str.17)
  %90 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN7MyArrayixEi(ptr noundef nonnull align 8 dereferenceable(16) %3, i32 noundef %74)
  %91 = load float, ptr %90, align 4, !tbaa !5
  %92 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %89, float noundef %91)
  %93 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %indvars.iv.next158 = add nuw nsw i64 %indvars.iv157, 1
  %exitcond161.not = icmp eq i64 %indvars.iv.next158, %6
  br i1 %exitcond161.not, label %._crit_edge, label %71, !llvm.loop !18

._crit_edge140:                                   ; preds = %.lr.ph139, %middle.block, %._crit_edge.thread, %._crit_edge
  %.0109.lcssa174 = phi float [ 0.000000e+00, %._crit_edge.thread ], [ %83, %._crit_edge ], [ %83, %middle.block ], [ %83, %.lr.ph139 ]
  %94 = add nuw nsw i32 %.0112, 1
  %95 = fdiv float %.0109.lcssa174, %.0111.lcssa168
  %96 = fcmp ogt float %95, 0x3DDB7CDFC0000000
  br i1 %96, label %36, label %102, !llvm.loop !19

.lr.ph139:                                        ; preds = %.lr.ph139.preheader189, %.lr.ph139
  %indvars.iv162 = phi i64 [ %indvars.iv.next163, %.lr.ph139 ], [ %indvars.iv162.ph, %.lr.ph139.preheader189 ]
  %97 = getelementptr inbounds float, ptr %11, i64 %indvars.iv162
  %98 = load float, ptr %97, align 4, !tbaa !5
  %99 = getelementptr inbounds float, ptr %10, i64 %indvars.iv162
  %100 = load float, ptr %99, align 4, !tbaa !5
  %101 = tail call float @llvm.fmuladd.f32(float %63, float %100, float %98)
  store float %101, ptr %99, align 4, !tbaa !5
  %indvars.iv.next163 = add nuw nsw i64 %indvars.iv162, 1
  %exitcond166.not = icmp eq i64 %indvars.iv.next163, %6
  br i1 %exitcond166.not, label %._crit_edge140, label %.lr.ph139, !llvm.loop !20

102:                                              ; preds = %._crit_edge140
  %103 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  tail call void @_ZdaPv(ptr noundef nonnull %12) #9
  tail call void @_ZdaPv(ptr noundef nonnull %10) #9
  tail call void @_ZdaPv(ptr noundef nonnull %11) #9
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #7

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

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

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


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