; LLVM IR from ERGO-Code/HiGHS :: src/ipm/ipx/model.ll (ZN3ipx5Model17EquilibrateMatrixEv)

; 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::valarray" = type { i64, ptr }
%"class.ipx::Model" = type { i8, i32, i32, i32, i32, %"class.ipx::SparseMatrix", %"class.ipx::SparseMatrix", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", double, double, i32, i32, i32, i32, i32, %"class.std::vector", %"class.std::vector.8", double, double, double, %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.ipx::SparseMatrix", %"class.std::vector", %"class.std::valarray", %"class.std::valarray" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.ipx::SparseMatrix" = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, double noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx5Model17EquilibrateMatrixEv(ptr noundef nonnull align 8 dereferenceable(704) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca %"class.std::valarray", align 8
  %18 = alloca %"class.std::valarray", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %34 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %35 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 27
  %36 = call noundef i32 @_ZNK3ipx12SparseMatrix4rowsEv(ptr noundef nonnull align 8 dereferenceable(128) %35)
  store i32 %36, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %37 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 27
  %38 = call noundef i32 @_ZNK3ipx12SparseMatrix4colsEv(ptr noundef nonnull align 8 dereferenceable(128) %37)
  store i32 %38, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %39 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 27
  %40 = call noundef ptr @_ZN3ipx12SparseMatrix6colptrEv(ptr noundef nonnull align 8 dereferenceable(128) %39)
  store ptr %40, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %41 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 27
  %42 = call noundef ptr @_ZN3ipx12SparseMatrix6rowidxEv(ptr noundef nonnull align 8 dereferenceable(128) %41)
  store ptr %42, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %43 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 27
  %44 = call noundef ptr @_ZN3ipx12SparseMatrix6valuesEv(ptr noundef nonnull align 8 dereferenceable(128) %43)
  store ptr %44, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 29
  call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %45, i64 noundef 0, double noundef 0.000000e+00)
  %46 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 30
  call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %46, i64 noundef 0, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 10, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %74, %1
  %48 = load i32, ptr %12, align 4, !tbaa !9
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load i32, ptr %4, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i32, ptr %49, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = icmp slt i32 %48, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %47
  store i32 2, ptr %13, align 4
  br label %77

56:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i32, ptr %12, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds double, ptr %57, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !13
  %62 = call noundef double @_ZSt3absd(double noundef %61)
  %63 = call double @frexp(double noundef %62, ptr noundef %14) #6
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = icmp slt i32 %64, 0
  br i1 %65, label %69, label %66

66:                                               ; preds = %56
  %67 = load i32, ptr %14, align 4, !tbaa !9
  %68 = icmp sgt i32 %67, 3
  br i1 %68, label %69, label %70

69:                                               ; preds = %66, %56
  store i8 1, ptr %11, align 1, !tbaa !11
  store i32 2, ptr %13, align 4
  br label %71

70:                                               ; preds = %66
  store i32 0, ptr %13, align 4
  br label %71

71:                                               ; preds = %70, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %72 = load i32, ptr %13, align 4
  switch i32 %72, label %77 [
    i32 0, label %73
  ]

73:                                               ; preds = %71
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %12, align 4, !tbaa !9
  br label %47, !llvm.loop !15

77:                                               ; preds = %71, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %78

78:                                               ; preds = %77
  %79 = load i8, ptr %11, align 1, !tbaa !11, !range !17, !noundef !18
  %80 = trunc i8 %79 to i1
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  store i32 1, ptr %13, align 4
  br label %332

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 29
  %84 = load i32, ptr %4, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %83, i64 noundef %85, double noundef 0.000000e+00)
  %86 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 30
  %87 = load i32, ptr %3, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %86, i64 noundef %88, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store double 1.000000e+00, ptr %15, align 8, !tbaa !13
  %89 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 29
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKd(ptr noundef nonnull align 8 dereferenceable(16) %89, ptr noundef nonnull align 8 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store double 1.000000e+00, ptr %16, align 8, !tbaa !13
  %91 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 30
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKd(ptr noundef nonnull align 8 dereferenceable(16) %91, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %93 = load i32, ptr %4, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  call void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %94)
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %95 = load i32, ptr %3, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %96)
          to label %97 unwind label %102

97:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %325, %97
  %99 = load i32, ptr %21, align 4, !tbaa !9
  %100 = icmp slt i32 %99, 10
  br i1 %100, label %106, label %101

101:                                              ; preds = %98
  store i32 5, ptr %13, align 4
  br label %329

102:                                              ; preds = %82
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %19, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %20, align 4
  br label %335

106:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  store double 0.000000e+00, ptr %22, align 8, !tbaa !13
  %107 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKd(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %108 unwind label %114

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %109

109:                                              ; preds = %176, %108
  %110 = load i32, ptr %23, align 4, !tbaa !9
  %111 = load i32, ptr %4, align 4, !tbaa !9
  %112 = icmp slt i32 %110, %111
  br i1 %112, label %118, label %113

113:                                              ; preds = %109
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %179

114:                                              ; preds = %106
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %19, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %330

118:                                              ; preds = %109
  %119 = load i32, ptr %23, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %120) #6
  store double 0.000000e+00, ptr %121, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load i32, ptr %23, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds i32, ptr %122, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !9
  store i32 %126, ptr %24, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %168, %118
  %128 = load i32, ptr %24, align 4, !tbaa !9
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = load i32, ptr %23, align 4, !tbaa !9
  %131 = add nsw i32 %130, 1
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds i32, ptr %129, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !9
  %135 = icmp slt i32 %128, %134
  br i1 %135, label %137, label %136

136:                                              ; preds = %127
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %175

137:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = load i32, ptr %24, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds i32, ptr %138, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !9
  store i32 %142, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = load i32, ptr %24, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds double, ptr %143, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !13
  %148 = invoke noundef double @_ZSt3absd(double noundef %147)
          to label %149 unwind label %171

149:                                              ; preds = %137
  store double %148, ptr %26, align 8, !tbaa !13
  %150 = load i32, ptr %23, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %151) #6
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %154 unwind label %171

154:                                              ; preds = %149
  %155 = load double, ptr %153, align 8, !tbaa !13
  %156 = load i32, ptr %23, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %157) #6
  store double %155, ptr %158, align 8, !tbaa !13
  %159 = load i32, ptr %25, align 4, !tbaa !9
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %160) #6
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %163 unwind label %171

163:                                              ; preds = %154
  %164 = load double, ptr %162, align 8, !tbaa !13
  %165 = load i32, ptr %25, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %166) #6
  store double %164, ptr %167, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %168

168:                                              ; preds = %163
  %169 = load i32, ptr %24, align 4, !tbaa !9
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %24, align 4, !tbaa !9
  br label %127, !llvm.loop !19

171:                                              ; preds = %154, %149, %137
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %19, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %330

175:                                              ; preds = %136
  br label %176

176:                                              ; preds = %175
  %177 = load i32, ptr %23, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %23, align 4, !tbaa !9
  br label %109, !llvm.loop !20

179:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  store i8 0, ptr %27, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %180

180:                                              ; preds = %218, %179
  %181 = load i32, ptr %28, align 4, !tbaa !9
  %182 = load i32, ptr %3, align 4, !tbaa !9
  %183 = icmp slt i32 %181, %182
  br i1 %183, label %185, label %184

184:                                              ; preds = %180
  store i32 14, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %221

185:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  %186 = load i32, ptr %28, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %187) #6
  %189 = load double, ptr %188, align 8, !tbaa !13
  %190 = call double @frexp(double noundef %189, ptr noundef %29) #6
  %191 = load i32, ptr %29, align 4, !tbaa !9
  %192 = invoke noundef double @_ZN3ipxL19EquilibrationFactorEiii(i32 noundef 0, i32 noundef 3, i32 noundef %191)
          to label %193 unwind label %213

193:                                              ; preds = %185
  %194 = load i32, ptr %28, align 4, !tbaa !9
  %195 = sext i32 %194 to i64
  %196 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %195) #6
  store double %192, ptr %196, align 8, !tbaa !13
  %197 = load i32, ptr %28, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %198) #6
  %200 = load double, ptr %199, align 8, !tbaa !13
  %201 = fcmp une double %200, 1.000000e+00
  br i1 %201, label %202, label %217

202:                                              ; preds = %193
  store i8 1, ptr %27, align 1, !tbaa !11
  %203 = load i32, ptr %28, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %204) #6
  %206 = load double, ptr %205, align 8, !tbaa !13
  %207 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 30
  %208 = load i32, ptr %28, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %207, i64 noundef %209) #6
  %211 = load double, ptr %210, align 8, !tbaa !13
  %212 = fmul double %211, %206
  store double %212, ptr %210, align 8, !tbaa !13
  br label %217

213:                                              ; preds = %185
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %19, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %328

217:                                              ; preds = %202, %193
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %28, align 4, !tbaa !9
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %28, align 4, !tbaa !9
  br label %180, !llvm.loop !21

221:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %222

222:                                              ; preds = %260, %221
  %223 = load i32, ptr %30, align 4, !tbaa !9
  %224 = load i32, ptr %4, align 4, !tbaa !9
  %225 = icmp slt i32 %223, %224
  br i1 %225, label %227, label %226

226:                                              ; preds = %222
  store i32 17, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %263

227:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %228 = load i32, ptr %30, align 4, !tbaa !9
  %229 = sext i32 %228 to i64
  %230 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %229) #6
  %231 = load double, ptr %230, align 8, !tbaa !13
  %232 = call double @frexp(double noundef %231, ptr noundef %31) #6
  %233 = load i32, ptr %31, align 4, !tbaa !9
  %234 = invoke noundef double @_ZN3ipxL19EquilibrationFactorEiii(i32 noundef 0, i32 noundef 3, i32 noundef %233)
          to label %235 unwind label %255

235:                                              ; preds = %227
  %236 = load i32, ptr %30, align 4, !tbaa !9
  %237 = sext i32 %236 to i64
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %237) #6
  store double %234, ptr %238, align 8, !tbaa !13
  %239 = load i32, ptr %30, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %240) #6
  %242 = load double, ptr %241, align 8, !tbaa !13
  %243 = fcmp une double %242, 1.000000e+00
  br i1 %243, label %244, label %259

244:                                              ; preds = %235
  store i8 1, ptr %27, align 1, !tbaa !11
  %245 = load i32, ptr %30, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %246) #6
  %248 = load double, ptr %247, align 8, !tbaa !13
  %249 = getelementptr inbounds %"class.ipx::Model", ptr %34, i32 0, i32 29
  %250 = load i32, ptr %30, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %249, i64 noundef %251) #6
  %253 = load double, ptr %252, align 8, !tbaa !13
  %254 = fmul double %253, %248
  store double %254, ptr %252, align 8, !tbaa !13
  br label %259

255:                                              ; preds = %227
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %19, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %328

259:                                              ; preds = %244, %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %260

260:                                              ; preds = %259
  %261 = load i32, ptr %30, align 4, !tbaa !9
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %30, align 4, !tbaa !9
  br label %222, !llvm.loop !22

263:                                              ; preds = %226
  %264 = load i8, ptr %27, align 1, !tbaa !11, !range !17, !noundef !18
  %265 = trunc i8 %264 to i1
  br i1 %265, label %267, label %266

266:                                              ; preds = %263
  store i32 5, ptr %13, align 4
  br label %322

267:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 0, ptr %32, align 4, !tbaa !9
  br label %268

268:                                              ; preds = %318, %267
  %269 = load i32, ptr %32, align 4, !tbaa !9
  %270 = load i32, ptr %4, align 4, !tbaa !9
  %271 = icmp slt i32 %269, %270
  br i1 %271, label %273, label %272

272:                                              ; preds = %268
  store i32 20, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %321

273:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %274 = load ptr, ptr %5, align 8, !tbaa !5
  %275 = load i32, ptr %32, align 4, !tbaa !9
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds i32, ptr %274, i64 %276
  %278 = load i32, ptr %277, align 4, !tbaa !9
  store i32 %278, ptr %33, align 4, !tbaa !9
  br label %279

279:                                              ; preds = %314, %273
  %280 = load i32, ptr %33, align 4, !tbaa !9
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = load i32, ptr %32, align 4, !tbaa !9
  %283 = add nsw i32 %282, 1
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds i32, ptr %281, i64 %284
  %286 = load i32, ptr %285, align 4, !tbaa !9
  %287 = icmp slt i32 %280, %286
  br i1 %287, label %289, label %288

288:                                              ; preds = %279
  store i32 23, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %317

289:                                              ; preds = %279
  %290 = load i32, ptr %32, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %291) #6
  %293 = load double, ptr %292, align 8, !tbaa !13
  %294 = load ptr, ptr %7, align 8, !tbaa !5
  %295 = load i32, ptr %33, align 4, !tbaa !9
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds double, ptr %294, i64 %296
  %298 = load double, ptr %297, align 8, !tbaa !13
  %299 = fmul double %298, %293
  store double %299, ptr %297, align 8, !tbaa !13
  %300 = load ptr, ptr %6, align 8, !tbaa !5
  %301 = load i32, ptr %33, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds i32, ptr %300, i64 %302
  %304 = load i32, ptr %303, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %305) #6
  %307 = load double, ptr %306, align 8, !tbaa !13
  %308 = load ptr, ptr %7, align 8, !tbaa !5
  %309 = load i32, ptr %33, align 4, !tbaa !9
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds double, ptr %308, i64 %310
  %312 = load double, ptr %311, align 8, !tbaa !13
  %313 = fmul double %312, %307
  store double %313, ptr %311, align 8, !tbaa !13
  br label %314

314:                                              ; preds = %289
  %315 = load i32, ptr %33, align 4, !tbaa !9
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %33, align 4, !tbaa !9
  br label %279, !llvm.loop !23

317:                                              ; preds = %288
  br label %318

318:                                              ; preds = %317
  %319 = load i32, ptr %32, align 4, !tbaa !9
  %320 = add nsw i32 %319, 1
  store i32 %320, ptr %32, align 4, !tbaa !9
  br label %268, !llvm.loop !24

321:                                              ; preds = %272
  store i32 0, ptr %13, align 4
  br label %322

322:                                              ; preds = %321, %266
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  %323 = load i32, ptr %13, align 4
  switch i32 %323, label %329 [
    i32 0, label %324
  ]

324:                                              ; preds = %322
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %21, align 4, !tbaa !9
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %21, align 4, !tbaa !9
  br label %98, !llvm.loop !25

328:                                              ; preds = %255, %213
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %330

329:                                              ; preds = %322, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %331

330:                                              ; preds = %328, %171, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  br label %335

331:                                              ; preds = %329
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  store i32 0, ptr %13, align 4
  br label %332

332:                                              ; preds = %331, %81
  call void @llvm.lifetime.end.p0(i64 1, 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 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  %333 = load i32, ptr %13, align 4
  switch i32 %333, label %341 [
    i32 0, label %334
    i32 1, label %334
  ]

334:                                              ; preds = %332, %332
  ret void

335:                                              ; preds = %330, %102
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, 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 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %336

336:                                              ; preds = %335
  %337 = load ptr, ptr %19, align 8
  %338 = load i32, ptr %20, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340

341:                                              ; preds = %332
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx12SparseMatrix4colsEv(ptr noundef nonnull align 8 dereferenceable(128)) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx12SparseMatrix4rowsEv(ptr noundef nonnull align 8 dereferenceable(128)) #4 align 2

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

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

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

; Function Attrs: nounwind
declare double @frexp(double noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN3ipxL19EquilibrationFactorEiii(i32 noundef, i32 noundef, i32 noundef) #4

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


; 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::valarray" = type { i64, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef, double noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3ipx5Model17EquilibrateMatrixEv(ptr noundef nonnull align 8 dereferenceable(704) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca %"class.std::valarray", align 8
  %6 = alloca %"class.std::valarray", align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = getelementptr inbounds i8, ptr %0, i64 520
  %12 = tail call noundef i32 @_ZNK3ipx12SparseMatrix4rowsEv(ptr noundef nonnull align 8 dereferenceable(128) %11)
  %13 = tail call noundef i32 @_ZNK3ipx12SparseMatrix4colsEv(ptr noundef nonnull align 8 dereferenceable(128) %11)
  %14 = tail call noundef ptr @_ZN3ipx12SparseMatrix6colptrEv(ptr noundef nonnull align 8 dereferenceable(128) %11)
  %15 = tail call noundef ptr @_ZN3ipx12SparseMatrix6rowidxEv(ptr noundef nonnull align 8 dereferenceable(128) %11)
  %16 = tail call noundef ptr @_ZN3ipx12SparseMatrix6valuesEv(ptr noundef nonnull align 8 dereferenceable(128) %11)
  %17 = getelementptr inbounds i8, ptr %0, i64 672
  tail call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 0, double noundef 0.000000e+00)
  %18 = getelementptr inbounds i8, ptr %0, i64 688
  tail call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef 0, double noundef 0.000000e+00)
  %19 = sext i32 %13 to i64
  %20 = getelementptr inbounds i32, ptr %14, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %.critedge88

23:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %24 = load i32, ptr %20, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = icmp slt i64 %indvars.iv.next, %25
  br i1 %26, label %.lr.ph, label %.critedge88, !llvm.loop !9

.lr.ph:                                           ; preds = %1, %23
  %indvars.iv = phi i64 [ %indvars.iv.next, %23 ], [ 0, %1 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %27 = getelementptr inbounds double, ptr %16, i64 %indvars.iv
  %28 = load double, ptr %27, align 8, !tbaa !11
  %29 = tail call noundef double @_ZSt3absd(double noundef %28)
  %30 = call double @frexp(double noundef %29, ptr noundef nonnull %2) #6
  %31 = load i32, ptr %2, align 4
  %or.cond = icmp ult i32 %31, 4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  br i1 %or.cond, label %23, label %32

32:                                               ; preds = %.lr.ph
  tail call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %19, double noundef 0.000000e+00)
  %33 = sext i32 %12 to i64
  tail call void @_ZNSt8valarrayIdE6resizeEmd(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %33, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  store double 1.000000e+00, ptr %3, align 8, !tbaa !11
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKd(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store double 1.000000e+00, ptr %4, align 8, !tbaa !11
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKd(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %19)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  invoke void @_ZNSt8valarrayIdEC2Em(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %33)
          to label %.preheader92 unwind label %38

.preheader92:                                     ; preds = %32
  %36 = icmp sgt i32 %13, 0
  %37 = icmp sgt i32 %12, 0
  %wide.trip.count = zext nneg i32 %13 to i64
  %wide.trip.count125 = zext nneg i32 %12 to i64
  %wide.trip.count129 = zext nneg i32 %13 to i64
  %wide.trip.count137 = zext nneg i32 %13 to i64
  br label %.backedge

._crit_edge114.loopexit:                          ; preds = %.loopexit, %.preheader
  %.old = add nuw nsw i32 %.079115, 1
  %exitcond139.not.old = icmp eq i32 %.old, 10
  br i1 %exitcond139.not.old, label %.critedge, label %.backedge.backedge

.backedge.backedge:                               ; preds = %._crit_edge114.loopexit, %._crit_edge.thread
  %.079115.be = phi i32 [ %.old, %._crit_edge114.loopexit ], [ %84, %._crit_edge.thread ]
  br label %.backedge, !llvm.loop !13

38:                                               ; preds = %32
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %121

.backedge:                                        ; preds = %.backedge.backedge, %.preheader92
  %.079115 = phi i32 [ 0, %.preheader92 ], [ %.079115.be, %.backedge.backedge ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store double 0.000000e+00, ptr %7, align 8, !tbaa !11
  %40 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEaSERKd(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %41 unwind label %42

41:                                               ; preds = %.backedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br i1 %36, label %.lr.ph100, label %.preheader91.thread

.loopexit89:                                      ; preds = %.lr.ph98, %.lr.ph100
  %exitcond.not = icmp eq i64 %indvars.iv.next121, %wide.trip.count
  br i1 %exitcond.not, label %.preheader91, label %.lr.ph100, !llvm.loop !14

.preheader91:                                     ; preds = %.loopexit89
  br i1 %37, label %.lr.ph103.preheader, label %.preheader90.thread

.lr.ph103.preheader:                              ; preds = %.preheader91.thread, %.preheader91
  br label %.lr.ph103

.preheader91.thread:                              ; preds = %41
  br i1 %37, label %.lr.ph103.preheader, label %.critedge

42:                                               ; preds = %.backedge
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %121

.lr.ph100:                                        ; preds = %41, %.loopexit89
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %.loopexit89 ], [ 0, %41 ]
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv120) #6
  store double 0.000000e+00, ptr %44, align 8, !tbaa !11
  %45 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv120
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %47 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.next121
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = icmp slt i32 %46, %48
  br i1 %49, label %.lr.ph98.preheader, label %.loopexit89

.lr.ph98.preheader:                               ; preds = %.lr.ph100
  %50 = sext i32 %46 to i64
  br label %.lr.ph98

.lr.ph98:                                         ; preds = %.lr.ph98.preheader, %.lr.ph98
  %indvars.iv117 = phi i64 [ %50, %.lr.ph98.preheader ], [ %indvars.iv.next118, %.lr.ph98 ]
  %51 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv117
  %52 = load i32, ptr %51, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %53 = getelementptr inbounds double, ptr %16, i64 %indvars.iv117
  %54 = load double, ptr %53, align 8, !tbaa !11
  %55 = call noundef double @_ZSt3absd(double noundef %54)
  store double %55, ptr %8, align 8, !tbaa !11
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv120) #6
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv120) #6
  store double %58, ptr %59, align 8, !tbaa !11
  %60 = sext i32 %52 to i64
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %60) #6
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %63 = load double, ptr %62, align 8, !tbaa !11
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %60) #6
  store double %63, ptr %64, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %indvars.iv.next118 = add nsw i64 %indvars.iv117, 1
  %65 = load i32, ptr %47, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = icmp slt i64 %indvars.iv.next118, %66
  br i1 %67, label %.lr.ph98, label %.loopexit89, !llvm.loop !15

.preheader90:                                     ; preds = %83
  br i1 %36, label %.lr.ph106.outer.preheader, label %._crit_edge.thread

.preheader90.thread:                              ; preds = %.preheader91
  br i1 %36, label %.lr.ph106.outer.preheader, label %.critedge

.lr.ph106.outer.preheader:                        ; preds = %.preheader90.thread, %.preheader90
  %.2104.ph.ph = phi i1 [ %.1, %.preheader90 ], [ false, %.preheader90.thread ]
  br label %.lr.ph106.outer

.lr.ph106.outer:                                  ; preds = %.lr.ph106.outer.preheader, %.thread
  %indvars.iv127.ph = phi i64 [ %indvars.iv.next128142, %.thread ], [ 0, %.lr.ph106.outer.preheader ]
  %.2104.ph = phi i1 [ true, %.thread ], [ %.2104.ph.ph, %.lr.ph106.outer.preheader ]
  br label %.lr.ph106

.lr.ph103:                                        ; preds = %.lr.ph103.preheader, %83
  %indvars.iv123 = phi i64 [ %indvars.iv.next124, %83 ], [ 0, %.lr.ph103.preheader ]
  %.073101 = phi i1 [ %.1, %83 ], [ false, %.lr.ph103.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %indvars.iv123) #6
  %69 = load double, ptr %68, align 8, !tbaa !11
  %70 = call double @frexp(double noundef %69, ptr noundef nonnull %9) #6
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = call noundef double @_ZN3ipxL19EquilibrationFactorEiii(i32 noundef 0, i32 noundef 3, i32 noundef %71)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %indvars.iv123) #6
  store double %72, ptr %73, align 8, !tbaa !11
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %indvars.iv123) #6
  %75 = load double, ptr %74, align 8, !tbaa !11
  %76 = fcmp une double %75, 1.000000e+00
  br i1 %76, label %77, label %83

77:                                               ; preds = %.lr.ph103
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %indvars.iv123) #6
  %79 = load double, ptr %78, align 8, !tbaa !11
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %indvars.iv123) #6
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = fmul double %79, %81
  store double %82, ptr %80, align 8, !tbaa !11
  br label %83

83:                                               ; preds = %77, %.lr.ph103
  %.1 = phi i1 [ true, %77 ], [ %.073101, %.lr.ph103 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %indvars.iv.next124 = add nuw nsw i64 %indvars.iv123, 1
  %exitcond126.not = icmp eq i64 %indvars.iv.next124, %wide.trip.count125
  br i1 %exitcond126.not, label %.preheader90, label %.lr.ph103, !llvm.loop !16

._crit_edge:                                      ; preds = %94
  br i1 %.2104.ph, label %.preheader, label %.critedge

._crit_edge.thread:                               ; preds = %.preheader90
  %84 = add nuw nsw i32 %.079115, 1
  %exitcond139.not = icmp ne i32 %84, 10
  %or.cond153.not = select i1 %.1, i1 %exitcond139.not, i1 false
  br i1 %or.cond153.not, label %.backedge.backedge, label %.critedge

.preheader:                                       ; preds = %.thread, %._crit_edge
  br i1 %36, label %.lr.ph113.preheader, label %._crit_edge114.loopexit

.lr.ph113.preheader:                              ; preds = %.preheader
  %.pre = load i32, ptr %14, align 4, !tbaa !5
  br label %.lr.ph113

.lr.ph106:                                        ; preds = %.lr.ph106.outer, %94
  %indvars.iv127 = phi i64 [ %indvars.iv.next128, %94 ], [ %indvars.iv127.ph, %.lr.ph106.outer ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv127) #6
  %86 = load double, ptr %85, align 8, !tbaa !11
  %87 = call double @frexp(double noundef %86, ptr noundef nonnull %10) #6
  %88 = load i32, ptr %10, align 4, !tbaa !5
  %89 = call noundef double @_ZN3ipxL19EquilibrationFactorEiii(i32 noundef 0, i32 noundef 3, i32 noundef %88)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv127) #6
  store double %89, ptr %90, align 8, !tbaa !11
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv127) #6
  %92 = load double, ptr %91, align 8, !tbaa !11
  %93 = fcmp une double %92, 1.000000e+00
  br i1 %93, label %.thread, label %94

94:                                               ; preds = %.lr.ph106
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %exitcond130.not = icmp eq i64 %indvars.iv.next128, %wide.trip.count129
  br i1 %exitcond130.not, label %._crit_edge, label %.lr.ph106, !llvm.loop !17

.thread:                                          ; preds = %.lr.ph106
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv127) #6
  %96 = load double, ptr %95, align 8, !tbaa !11
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef %indvars.iv127) #6
  %98 = load double, ptr %97, align 8, !tbaa !11
  %99 = fmul double %96, %98
  store double %99, ptr %97, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  %indvars.iv.next128142 = add nuw nsw i64 %indvars.iv127, 1
  %exitcond130.not143 = icmp eq i64 %indvars.iv.next128142, %wide.trip.count129
  br i1 %exitcond130.not143, label %.preheader, label %.lr.ph106.outer, !llvm.loop !17

.loopexit:                                        ; preds = %.lr.ph110, %.lr.ph113
  %100 = phi i32 [ %103, %.lr.ph113 ], [ %118, %.lr.ph110 ]
  %exitcond138.not = icmp eq i64 %indvars.iv.next135, %wide.trip.count137
  br i1 %exitcond138.not, label %._crit_edge114.loopexit, label %.lr.ph113, !llvm.loop !18

.lr.ph113:                                        ; preds = %.lr.ph113.preheader, %.loopexit
  %101 = phi i32 [ %.pre, %.lr.ph113.preheader ], [ %100, %.loopexit ]
  %indvars.iv134 = phi i64 [ 0, %.lr.ph113.preheader ], [ %indvars.iv.next135, %.loopexit ]
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %102 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.next135
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = icmp slt i32 %101, %103
  br i1 %104, label %.lr.ph110.preheader, label %.loopexit

.lr.ph110.preheader:                              ; preds = %.lr.ph113
  %105 = sext i32 %101 to i64
  br label %.lr.ph110

.lr.ph110:                                        ; preds = %.lr.ph110.preheader, %.lr.ph110
  %indvars.iv131 = phi i64 [ %105, %.lr.ph110.preheader ], [ %indvars.iv.next132, %.lr.ph110 ]
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %5, i64 noundef %indvars.iv134) #6
  %107 = load double, ptr %106, align 8, !tbaa !11
  %108 = getelementptr inbounds double, ptr %16, i64 %indvars.iv131
  %109 = load double, ptr %108, align 8, !tbaa !11
  %110 = fmul double %107, %109
  store double %110, ptr %108, align 8, !tbaa !11
  %111 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv131
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %6, i64 noundef %113) #6
  %115 = load double, ptr %114, align 8, !tbaa !11
  %116 = load double, ptr %108, align 8, !tbaa !11
  %117 = fmul double %115, %116
  store double %117, ptr %108, align 8, !tbaa !11
  %indvars.iv.next132 = add nsw i64 %indvars.iv131, 1
  %118 = load i32, ptr %102, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = icmp slt i64 %indvars.iv.next132, %119
  br i1 %120, label %.lr.ph110, label %.loopexit, !llvm.loop !19

.critedge:                                        ; preds = %.preheader91.thread, %.preheader90.thread, %._crit_edge, %._crit_edge114.loopexit, %._crit_edge.thread
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %.critedge88

.critedge88:                                      ; preds = %23, %1, %.critedge
  ret void

121:                                              ; preds = %42, %38
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx12SparseMatrix4colsEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3ipx12SparseMatrix4rowsEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: write)
declare double @frexp(double noundef, ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef double @_ZN3ipxL19EquilibrationFactorEiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


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