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

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.ipx::ForrestTomlin" = type { %"class.ipx::LuUpdate.base", ptr, i32, %"class.std::unique_ptr", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.ipx::SparseMatrix", %"class.ipx::SparseMatrix", %"class.ipx::SparseMatrix", %"class.std::vector", i32, i8, i8, double, double, %"class.std::valarray" }
%"class.ipx::LuUpdate.base" = type <{ ptr, i32 }>
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.ipx::SparseMatrix" = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.5", %"class.std::vector", %"class.std::vector.5" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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 }
%"class.std::valarray" = type { i64, ptr }

@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd = external hidden unnamed_addr constant [48 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [46 x i8], align 1

; 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #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) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ipx13ForrestTomlin7_UpdateEd(ptr noundef nonnull align 8 dereferenceable(608) %0, double noundef %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  %25 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %26 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 12
  %27 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  %28 = trunc i64 %27 to i32
  store i32 %28, ptr %6, align 4, !tbaa !11
  %29 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 15
  %30 = load i8, ptr %29, align 1, !tbaa !13, !range !34, !noundef !35
  %31 = trunc i8 %30 to i1
  br i1 %31, label %32, label %33

32:                                               ; preds = %2
  br label %35

33:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.17, i32 noundef 145, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd) #8
  unreachable

34:                                               ; No predecessors!
  br label %35

35:                                               ; preds = %34, %32
  %36 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 14
  %37 = load i8, ptr %36, align 4, !tbaa !36, !range !34, !noundef !35
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %40

39:                                               ; preds = %35
  br label %42

40:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.17, i32 noundef 146, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd) #8
  unreachable

41:                                               ; No predecessors!
  br label %42

42:                                               ; preds = %41, %39
  %43 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  %44 = load i32, ptr %43, align 8, !tbaa !37
  %45 = icmp sge i32 %44, 0
  br i1 %45, label %46, label %47

46:                                               ; preds = %42
  br label %49

47:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.17, i32 noundef 150, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd) #8
  unreachable

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %50 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %51 = call noundef i32 @_ZNK3ipx12SparseMatrix10queue_sizeEv(ptr noundef nonnull align 8 dereferenceable(128) %50)
  store i32 %51, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %66, %49
  %53 = load i32, ptr %8, align 4, !tbaa !11
  %54 = load i32, ptr %7, align 4, !tbaa !11
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %56, label %64

56:                                               ; preds = %52
  %57 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %58 = load i32, ptr %8, align 4, !tbaa !11
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %57, i32 noundef %58)
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  %62 = load i32, ptr %61, align 8, !tbaa !37
  %63 = icmp ne i32 %60, %62
  br label %64

64:                                               ; preds = %56, %52
  %65 = phi i1 [ false, %52 ], [ %63, %56 ]
  br i1 %65, label %66, label %69

66:                                               ; preds = %64
  %67 = load i32, ptr %8, align 4, !tbaa !11
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %8, align 4, !tbaa !11
  br label %52, !llvm.loop !38

69:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %70 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %71 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %72 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  %73 = load i32, ptr %72, align 8, !tbaa !37
  %74 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %71, i32 noundef %73)
  %75 = sub nsw i32 %74, 1
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %70, i32 noundef %75)
  %77 = load double, ptr %76, align 8, !tbaa !9
  store double %77, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %78 = load double, ptr %5, align 8, !tbaa !9
  %79 = load double, ptr %9, align 8, !tbaa !9
  %80 = fmul double %78, %79
  store double %80, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %81 = load i32, ptr %8, align 4, !tbaa !11
  %82 = load i32, ptr %7, align 4, !tbaa !11
  %83 = icmp eq i32 %81, %82
  br i1 %83, label %84, label %85

84:                                               ; preds = %69
  br label %90

85:                                               ; preds = %69
  %86 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %87 = load i32, ptr %8, align 4, !tbaa !11
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %86, i32 noundef %87)
  %89 = load double, ptr %88, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %85, %84
  %91 = phi double [ 0.000000e+00, %84 ], [ %89, %85 ]
  %92 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %93 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 11
  %94 = call noundef double @_ZN3ipxL9SparseDotERKNS_12SparseMatrixES2_(ptr noundef nonnull align 8 dereferenceable(128) %92, ptr noundef nonnull align 8 dereferenceable(128) %93)
  %95 = fsub double %91, %94
  store double %95, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %96 = load double, ptr %10, align 8, !tbaa !9
  %97 = load double, ptr %11, align 8, !tbaa !9
  %98 = fsub double %96, %97
  %99 = call noundef double @_ZSt3absd(double noundef %98)
  store double %99, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %100 = load double, ptr %12, align 8, !tbaa !9
  %101 = load double, ptr %10, align 8, !tbaa !9
  %102 = call noundef double @_ZSt3absd(double noundef %101)
  %103 = fdiv double %100, %102
  store double %103, ptr %13, align 8, !tbaa !9
  %104 = load i32, ptr %8, align 4, !tbaa !11
  %105 = load i32, ptr %7, align 4, !tbaa !11
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %107, label %149

107:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %108 = load i32, ptr %8, align 4, !tbaa !11
  store i32 %108, ptr %14, align 4, !tbaa !11
  br label %109

109:                                              ; preds = %132, %107
  %110 = load i32, ptr %14, align 4, !tbaa !11
  %111 = load i32, ptr %7, align 4, !tbaa !11
  %112 = sub nsw i32 %111, 1
  %113 = icmp slt i32 %110, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %135

115:                                              ; preds = %109
  %116 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %117 = load i32, ptr %14, align 4, !tbaa !11
  %118 = add nsw i32 %117, 1
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %116, i32 noundef %118)
  %120 = load i32, ptr %119, align 4, !tbaa !11
  %121 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %122 = load i32, ptr %14, align 4, !tbaa !11
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %121, i32 noundef %122)
  store i32 %120, ptr %123, align 4, !tbaa !11
  %124 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %125 = load i32, ptr %14, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %124, i32 noundef %126)
  %128 = load double, ptr %127, align 8, !tbaa !9
  %129 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %130 = load i32, ptr %14, align 4, !tbaa !11
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %129, i32 noundef %130)
  store double %128, ptr %131, align 8, !tbaa !9
  br label %132

132:                                              ; preds = %115
  %133 = load i32, ptr %14, align 4, !tbaa !11
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %14, align 4, !tbaa !11
  br label %109, !llvm.loop !40

135:                                              ; preds = %114
  %136 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 2
  %137 = load i32, ptr %136, align 8, !tbaa !41
  %138 = load i32, ptr %6, align 4, !tbaa !11
  %139 = add nsw i32 %137, %138
  %140 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %141 = load i32, ptr %7, align 4, !tbaa !11
  %142 = sub nsw i32 %141, 1
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %140, i32 noundef %142)
  store i32 %139, ptr %143, align 4, !tbaa !11
  %144 = load double, ptr %10, align 8, !tbaa !9
  %145 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %146 = load i32, ptr %7, align 4, !tbaa !11
  %147 = sub nsw i32 %146, 1
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %145, i32 noundef %147)
  store double %144, ptr %148, align 8, !tbaa !9
  br label %156

149:                                              ; preds = %90
  %150 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %151 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 2
  %152 = load i32, ptr %151, align 8, !tbaa !41
  %153 = load i32, ptr %6, align 4, !tbaa !11
  %154 = add nsw i32 %152, %153
  %155 = load double, ptr %10, align 8, !tbaa !9
  call void @_ZN3ipx12SparseMatrix9push_backEid(ptr noundef nonnull align 8 dereferenceable(128) %150, i32 noundef %154, double noundef %155)
  br label %156

156:                                              ; preds = %149, %135
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %157 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %158 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  %159 = load i32, ptr %158, align 8, !tbaa !37
  %160 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %157, i32 noundef %159)
  store i32 %160, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %161 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %162 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  %163 = load i32, ptr %162, align 8, !tbaa !37
  %164 = call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %161, i32 noundef %163)
  store i32 %164, ptr %16, align 4, !tbaa !11
  br label %165

165:                                              ; preds = %175, %156
  %166 = load i32, ptr %16, align 4, !tbaa !11
  %167 = load i32, ptr %15, align 4, !tbaa !11
  %168 = sub nsw i32 %167, 1
  %169 = icmp slt i32 %166, %168
  br i1 %169, label %171, label %170

170:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %178

171:                                              ; preds = %165
  %172 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %173 = load i32, ptr %16, align 4, !tbaa !11
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %172, i32 noundef %173)
  store double 0.000000e+00, ptr %174, align 8, !tbaa !9
  br label %175

175:                                              ; preds = %171
  %176 = load i32, ptr %16, align 4, !tbaa !11
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %16, align 4, !tbaa !11
  br label %165, !llvm.loop !42

178:                                              ; preds = %170
  %179 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  %180 = load i32, ptr %15, align 4, !tbaa !11
  %181 = sub nsw i32 %180, 1
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %179, i32 noundef %181)
  store double 1.000000e+00, ptr %182, align 8, !tbaa !9
  %183 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 10
  call void @_ZN3ipx12SparseMatrix10add_columnEv(ptr noundef nonnull align 8 dereferenceable(128) %183)
  %184 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 11
  call void @_ZN3ipx12SparseMatrix10add_columnEv(ptr noundef nonnull align 8 dereferenceable(128) %184)
  %185 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 12
  %186 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %185, ptr noundef nonnull align 4 dereferenceable(4) %186)
  %187 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 13
  store i32 -1, ptr %187, align 8, !tbaa !37
  %188 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 14
  store i8 0, ptr %188, align 4, !tbaa !36
  %189 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 15
  store i8 0, ptr %189, align 1, !tbaa !13
  %190 = load double, ptr %10, align 8, !tbaa !9
  %191 = fcmp oeq double %190, 0.000000e+00
  br i1 %191, label %192, label %193

192:                                              ; preds = %178
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %252

193:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %194 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 11
  %195 = load i32, ptr %6, align 4, !tbaa !11
  %196 = call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %194, i32 noundef %195)
  store i32 %196, ptr %19, align 4, !tbaa !11
  br label %197

197:                                              ; preds = %212, %193
  %198 = load i32, ptr %19, align 4, !tbaa !11
  %199 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 11
  %200 = load i32, ptr %6, align 4, !tbaa !11
  %201 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %199, i32 noundef %200)
  %202 = icmp slt i32 %198, %201
  br i1 %202, label %204, label %203

203:                                              ; preds = %197
  store i32 10, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %215

204:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %205 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 11
  %206 = load i32, ptr %19, align 4, !tbaa !11
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %205, i32 noundef %206)
  %208 = load double, ptr %207, align 8, !tbaa !9
  %209 = call noundef double @_ZSt3absd(double noundef %208)
  store double %209, ptr %20, align 8, !tbaa !9
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %211 = load double, ptr %210, align 8, !tbaa !9
  store double %211, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %212

212:                                              ; preds = %204
  %213 = load i32, ptr %19, align 4, !tbaa !11
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %19, align 4, !tbaa !11
  br label %197, !llvm.loop !43

215:                                              ; preds = %203
  %216 = load double, ptr %18, align 8, !tbaa !9
  %217 = fcmp ogt double %216, 1.000000e+10
  br i1 %217, label %218, label %232

218:                                              ; preds = %215
  %219 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8, !tbaa !44
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %220, i32 noundef 3)
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef @.str.20)
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  %223 = load double, ptr %18, align 8, !tbaa !9
  call void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, double noundef %223)
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %222, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %225 unwind label %228

225:                                              ; preds = %218
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %224, i8 noundef signext 10)
          to label %227 unwind label %228

227:                                              ; preds = %225
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %232

228:                                              ; preds = %225, %218
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %22, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %251

232:                                              ; preds = %227, %215
  %233 = load double, ptr %13, align 8, !tbaa !9
  %234 = fcmp ogt double %233, 1.000000e-08
  br i1 %234, label %235, label %249

235:                                              ; preds = %232
  %236 = getelementptr inbounds %"class.ipx::ForrestTomlin", ptr %25, i32 0, i32 1
  %237 = load ptr, ptr %236, align 8, !tbaa !44
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %237, i32 noundef 3)
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %238, ptr noundef @.str.21)
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #7
  %240 = load double, ptr %13, align 8, !tbaa !9
  call void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %24, double noundef %240)
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %242 unwind label %245

242:                                              ; preds = %235
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %241, i8 noundef signext 10)
          to label %244 unwind label %245

244:                                              ; preds = %242
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %250

245:                                              ; preds = %242, %235
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %22, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br label %251

249:                                              ; preds = %232
  store i32 0, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %250

250:                                              ; preds = %249, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %252

251:                                              ; preds = %245, %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %254

252:                                              ; preds = %250, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %253 = load i32, ptr %3, align 4
  ret i32 %253

254:                                              ; preds = %251
  %255 = load ptr, ptr %22, align 8
  %256 = load i32, ptr %23, align 4
  %257 = insertvalue { ptr, i32 } poison, ptr %255, 0
  %258 = insertvalue { ptr, i32 } %257, i32 %256, 1
  resume { ptr, i32 } %258
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZN3ipxL9SparseDotERKNS_12SparseMatrixES2_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ipx12SparseMatrix9push_backEid(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, double noundef) #4 align 2

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

declare void @_ZN3ipx12SparseMatrix10add_columnEv(ptr noundef nonnull align 8 dereferenceable(128)) #2

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

; 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)) #6

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 = { noreturn 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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !31, i64 573}
!14 = !{!"_ZTSN3ipx13ForrestTomlinE", !15, i64 0, !6, i64 16, !12, i64 24, !16, i64 32, !22, i64 40, !22, i64 64, !22, i64 88, !22, i64 112, !22, i64 136, !26, i64 160, !26, i64 288, !26, i64 416, !22, i64 544, !12, i64 568, !31, i64 572, !31, i64 573, !10, i64 576, !10, i64 584, !32, i64 592}
!15 = !{!"_ZTSN3ipx8LuUpdateE", !12, i64 8}
!16 = !{!"_ZTSSt10unique_ptrIN3ipx15LuFactorizationESt14default_deleteIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt15__uniq_ptr_dataIN3ipx15LuFactorizationESt14default_deleteIS1_ELb1ELb1EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_implIN3ipx15LuFactorizationESt14default_deleteIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt5tupleIJPN3ipx15LuFactorizationESt14default_deleteIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSSt11_Tuple_implILm0EJPN3ipx15LuFactorizationESt14default_deleteIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSSt10_Head_baseILm0EPN3ipx15LuFactorizationELb0EE", !6, i64 0}
!22 = !{!"_ZTSSt6vectorIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSN3ipx12SparseMatrixE", !12, i64 0, !22, i64 8, !22, i64 32, !27, i64 56, !22, i64 80, !27, i64 104}
!27 = !{!"_ZTSSt6vectorIdSaIdEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"_ZTSSt8valarrayIdE", !33, i64 0, !6, i64 8}
!33 = !{!"long", !7, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!14, !31, i64 572}
!37 = !{!14, !12, i64 568}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = distinct !{!40, !39}
!41 = !{!14, !12, i64 24}
!42 = distinct !{!42, !39}
!43 = distinct !{!43, !39}
!44 = !{!14, !6, i64 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.16 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd = external hidden unnamed_addr constant [48 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [46 x i8], align 1

; 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #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) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, double noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -1, 2) i32 @_ZN3ipx13ForrestTomlin7_UpdateEd(ptr noundef nonnull align 8 dereferenceable(608) %0, double noundef %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 544
  %8 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %9 = trunc i64 %8 to i32
  %10 = getelementptr inbounds i8, ptr %0, i64 573
  %11 = load i8, ptr %10, align 1, !tbaa !5, !range !31, !noundef !32
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %14, label %13

13:                                               ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.17, i32 noundef 145, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd) #8
  unreachable

14:                                               ; preds = %2
  %15 = getelementptr inbounds i8, ptr %0, i64 572
  %16 = load i8, ptr %15, align 4, !tbaa !33, !range !31, !noundef !32
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.17, i32 noundef 146, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd) #8
  unreachable

19:                                               ; preds = %14
  %20 = getelementptr inbounds i8, ptr %0, i64 568
  %21 = load i32, ptr %20, align 8, !tbaa !34
  %22 = icmp sgt i32 %21, -1
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.17, i32 noundef 150, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx13ForrestTomlin7_UpdateEd) #8
  unreachable

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %0, i64 288
  %26 = tail call noundef i32 @_ZNK3ipx12SparseMatrix10queue_sizeEv(ptr noundef nonnull align 8 dereferenceable(128) %25)
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph.preheader, label %..critedge_crit_edge

.lr.ph.preheader:                                 ; preds = %24
  %28 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef 0)
  %29 = load i32, ptr %28, align 4, !tbaa !35
  %30 = load i32, ptr %20, align 8, !tbaa !34
  %.not78 = icmp eq i32 %29, %30
  br i1 %.not78, label %.critedge, label %.lr.ph80

..critedge_crit_edge:                             ; preds = %24
  %.pre = load i32, ptr %20, align 8, !tbaa !34
  br label %.critedge

.lr.ph:                                           ; preds = %.lr.ph80
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %35)
  %32 = load i32, ptr %31, align 4, !tbaa !35
  %33 = load i32, ptr %20, align 8, !tbaa !34
  %.not = icmp eq i32 %32, %33
  br i1 %.not, label %.critedge.loopexit, label %.lr.ph80, !llvm.loop !36

.lr.ph80:                                         ; preds = %.lr.ph.preheader, %.lr.ph
  %34 = phi i32 [ %33, %.lr.ph ], [ %30, %.lr.ph.preheader ]
  %.0505879 = phi i32 [ %35, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %35 = add nuw nsw i32 %.0505879, 1
  %exitcond.not = icmp eq i32 %35, %26
  br i1 %exitcond.not, label %.critedge.loopexit, label %.lr.ph, !llvm.loop !36

.critedge.loopexit:                               ; preds = %.lr.ph, %.lr.ph80
  %.ph = phi i32 [ %33, %.lr.ph ], [ %34, %.lr.ph80 ]
  %.050.lcssa.ph = phi i32 [ %35, %.lr.ph ], [ %26, %.lr.ph80 ]
  %36 = icmp slt i32 %35, %26
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %.lr.ph.preheader, %..critedge_crit_edge
  %37 = phi i32 [ %.pre, %..critedge_crit_edge ], [ %30, %.lr.ph.preheader ], [ %.ph, %.critedge.loopexit ]
  %.050.lcssa = phi i32 [ 0, %..critedge_crit_edge ], [ 0, %.lr.ph.preheader ], [ %.050.lcssa.ph, %.critedge.loopexit ]
  %.lcssa57 = phi i1 [ false, %..critedge_crit_edge ], [ true, %.lr.ph.preheader ], [ %36, %.critedge.loopexit ]
  %38 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %37)
  %39 = add nsw i32 %38, -1
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %39)
  %41 = load double, ptr %40, align 8, !tbaa !38
  %42 = fmul double %41, %1
  %43 = icmp eq i32 %.050.lcssa, %26
  br i1 %43, label %47, label %44

44:                                               ; preds = %.critedge
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %.050.lcssa)
  %46 = load double, ptr %45, align 8, !tbaa !38
  br label %47

47:                                               ; preds = %.critedge, %44
  %48 = phi double [ %46, %44 ], [ 0.000000e+00, %.critedge ]
  %49 = getelementptr inbounds i8, ptr %0, i64 416
  %50 = tail call noundef double @_ZN3ipxL9SparseDotERKNS_12SparseMatrixES2_(ptr noundef nonnull align 8 dereferenceable(128) %25, ptr noundef nonnull align 8 dereferenceable(128) %49)
  %51 = fsub double %48, %50
  %52 = fsub double %42, %51
  %53 = tail call noundef double @_ZSt3absd(double noundef %52)
  %54 = tail call noundef double @_ZSt3absd(double noundef %42)
  %55 = fdiv double %53, %54
  br i1 %.lcssa57, label %.preheader, label %70

.preheader:                                       ; preds = %47
  %56 = add nsw i32 %26, -1
  %57 = icmp slt i32 %.050.lcssa, %56
  br i1 %57, label %.lr.ph64, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph64, %.preheader
  %58 = getelementptr inbounds i8, ptr %0, i64 24
  %59 = load i32, ptr %58, align 8, !tbaa !39
  %60 = add nsw i32 %59, %9
  %61 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %56)
  store i32 %60, ptr %61, align 4, !tbaa !35
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %56)
  store double %42, ptr %62, align 8, !tbaa !38
  br label %74

.lr.ph64:                                         ; preds = %.preheader, %.lr.ph64
  %.04963 = phi i32 [ %63, %.lr.ph64 ], [ %.050.lcssa, %.preheader ]
  %63 = add nuw nsw i32 %.04963, 1
  %64 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %63)
  %65 = load i32, ptr %64, align 4, !tbaa !35
  %66 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3ipx12SparseMatrix6qindexEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %.04963)
  store i32 %65, ptr %66, align 4, !tbaa !35
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %63)
  %68 = load double, ptr %67, align 8, !tbaa !38
  %69 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix6qvalueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %.04963)
  store double %68, ptr %69, align 8, !tbaa !38
  %exitcond75.not = icmp eq i32 %63, %56
  br i1 %exitcond75.not, label %._crit_edge, label %.lr.ph64, !llvm.loop !40

70:                                               ; preds = %47
  %71 = getelementptr inbounds i8, ptr %0, i64 24
  %72 = load i32, ptr %71, align 8, !tbaa !39
  %73 = add nsw i32 %72, %9
  tail call void @_ZN3ipx12SparseMatrix9push_backEid(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %73, double noundef %42)
  br label %74

74:                                               ; preds = %70, %._crit_edge
  %75 = load i32, ptr %20, align 8, !tbaa !34
  %76 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %75)
  %77 = load i32, ptr %20, align 8, !tbaa !34
  %78 = tail call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %77)
  %79 = add nsw i32 %76, -1
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %.lr.ph68, label %._crit_edge69

._crit_edge69:                                    ; preds = %.lr.ph68, %74
  %81 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %79)
  store double 1.000000e+00, ptr %81, align 8, !tbaa !38
  tail call void @_ZN3ipx12SparseMatrix10add_columnEv(ptr noundef nonnull align 8 dereferenceable(128) %25)
  tail call void @_ZN3ipx12SparseMatrix10add_columnEv(ptr noundef nonnull align 8 dereferenceable(128) %49)
  tail call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %20)
  store i32 -1, ptr %20, align 8, !tbaa !34
  store i8 0, ptr %15, align 4, !tbaa !33
  store i8 0, ptr %10, align 1, !tbaa !5
  %82 = fcmp oeq double %42, 0.000000e+00
  br i1 %82, label %124, label %85

.lr.ph68:                                         ; preds = %74, %.lr.ph68
  %.04766 = phi i32 [ %84, %.lr.ph68 ], [ %78, %74 ]
  %83 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %25, i32 noundef %.04766)
  store double 0.000000e+00, ptr %83, align 8, !tbaa !38
  %84 = add i32 %.04766, 1
  %exitcond76.not = icmp eq i32 %84, %79
  br i1 %exitcond76.not, label %._crit_edge69, label %.lr.ph68, !llvm.loop !41

85:                                               ; preds = %._crit_edge69
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  store double 0.000000e+00, ptr %3, align 8, !tbaa !38
  %86 = tail call noundef i32 @_ZNK3ipx12SparseMatrix5beginEi(ptr noundef nonnull align 8 dereferenceable(128) %49, i32 noundef %9)
  %87 = tail call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %49, i32 noundef %9)
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %.lr.ph73, label %._crit_edge74.thread

._crit_edge74:                                    ; preds = %.lr.ph73
  %.pre77 = load double, ptr %3, align 8, !tbaa !38
  %89 = fcmp ogt double %.pre77, 1.000000e+10
  br i1 %89, label %98, label %._crit_edge74.thread

.lr.ph73:                                         ; preds = %85, %.lr.ph73
  %.04671 = phi i32 [ %95, %.lr.ph73 ], [ %86, %85 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipx12SparseMatrix5valueEi(ptr noundef nonnull align 8 dereferenceable(128) %49, i32 noundef %.04671)
  %91 = load double, ptr %90, align 8, !tbaa !38
  %92 = call noundef double @_ZSt3absd(double noundef %91)
  store double %92, ptr %4, align 8, !tbaa !38
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %94 = load double, ptr %93, align 8, !tbaa !38
  store double %94, ptr %3, align 8, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %95 = add nsw i32 %.04671, 1
  %96 = call noundef i32 @_ZNK3ipx12SparseMatrix3endEi(ptr noundef nonnull align 8 dereferenceable(128) %49, i32 noundef %9)
  %97 = icmp slt i32 %95, %96
  br i1 %97, label %.lr.ph73, label %._crit_edge74, !llvm.loop !42

98:                                               ; preds = %._crit_edge74
  %99 = getelementptr inbounds i8, ptr %0, i64 16
  %100 = load ptr, ptr %99, align 8, !tbaa !43
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %100, i32 noundef 3)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull @.str.20)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  %103 = load double, ptr %3, align 8, !tbaa !38
  call void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, double noundef %103)
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %105 unwind label %108

105:                                              ; preds = %98
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %104, i8 noundef signext 10)
          to label %107 unwind label %108

107:                                              ; preds = %105
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %._crit_edge74.thread

108:                                              ; preds = %105, %98
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %123

._crit_edge74.thread:                             ; preds = %85, %107, %._crit_edge74
  %110 = fcmp ogt double %55, 1.000000e-08
  br i1 %110, label %111, label %122

111:                                              ; preds = %._crit_edge74.thread
  %112 = getelementptr inbounds i8, ptr %0, i64 16
  %113 = load ptr, ptr %112, align 8, !tbaa !43
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %113, i32 noundef 3)
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull @.str.21)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  call void @_ZN3ipx4sci2B5cxx11Ed(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, double noundef %55)
  %116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %117 unwind label %120

117:                                              ; preds = %111
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %116, i8 noundef signext 10)
          to label %119 unwind label %120

119:                                              ; preds = %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %122

120:                                              ; preds = %117, %111
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  br label %123

122:                                              ; preds = %._crit_edge74.thread, %119
  %.048 = phi i32 [ 1, %119 ], [ 0, %._crit_edge74.thread ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  br label %124

123:                                              ; preds = %120, %108
  %.pn = phi { ptr, i32 } [ %121, %120 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn

124:                                              ; preds = %._crit_edge69, %122
  %.1 = phi i32 [ %.048, %122 ], [ -1, %._crit_edge69 ]
  ret i32 %.1
}

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef double @_ZN3ipxL9SparseDotERKNS_12SparseMatrixES2_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3ipx12SparseMatrix9push_backEid(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, double noundef) local_unnamed_addr #4 align 2

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

declare void @_ZN3ipx12SparseMatrix10add_columnEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2

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

; 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 #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 = { noreturn 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 = { 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 #7 = { nounwind }
attributes #8 = { noreturn 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, !27, i64 573}
!6 = !{!"_ZTSN3ipx13ForrestTomlinE", !7, i64 0, !11, i64 16, !8, i64 24, !12, i64 32, !18, i64 40, !18, i64 64, !18, i64 88, !18, i64 112, !18, i64 136, !22, i64 160, !22, i64 288, !22, i64 416, !18, i64 544, !8, i64 568, !27, i64 572, !27, i64 573, !28, i64 576, !28, i64 584, !29, i64 592}
!7 = !{!"_ZTSN3ipx8LuUpdateE", !8, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTSSt10unique_ptrIN3ipx15LuFactorizationESt14default_deleteIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt15__uniq_ptr_dataIN3ipx15LuFactorizationESt14default_deleteIS1_ELb1ELb1EE", !14, i64 0}
!14 = !{!"_ZTSSt15__uniq_ptr_implIN3ipx15LuFactorizationESt14default_deleteIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt5tupleIJPN3ipx15LuFactorizationESt14default_deleteIS1_EEE", !16, i64 0}
!16 = !{!"_ZTSSt11_Tuple_implILm0EJPN3ipx15LuFactorizationESt14default_deleteIS1_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_Head_baseILm0EPN3ipx15LuFactorizationELb0EE", !11, i64 0}
!18 = !{!"_ZTSSt6vectorIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!"_ZTSN3ipx12SparseMatrixE", !8, i64 0, !18, i64 8, !18, i64 32, !23, i64 56, !18, i64 80, !23, i64 104}
!23 = !{!"_ZTSSt6vectorIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!27 = !{!"bool", !9, i64 0}
!28 = !{!"double", !9, i64 0}
!29 = !{!"_ZTSSt8valarrayIdE", !30, i64 0, !11, i64 8}
!30 = !{!"long", !9, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = !{!6, !27, i64 572}
!34 = !{!6, !8, i64 568}
!35 = !{!8, !8, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!28, !28, i64 0}
!39 = !{!6, !8, i64 24}
!40 = distinct !{!40, !37}
!41 = distinct !{!41, !37}
!42 = distinct !{!42, !37}
!43 = !{!6, !11, i64 16}


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