; LLVM IR from ERGO-Code/HiGHS :: src/qpsolver/basis.ll (ZN5BasisC2ER7RuntimeSt6vectorIiSaIiEES2_I11BasisStatusSaIS5_EES4_)

; 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.Basis = type <{ %class.HVectorBase, %struct.QpVector, %struct.QpVector, ptr, %class.HFactor, i32, [4 x i8], %struct.MatrixBase, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::map", %"class.std::vector", %struct.QpVector, %struct.QpVector, i32, i32, %class.HVectorBase, %class.HVectorBase, i8, [7 x i8] }>
%class.HFactor = type { double, double, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %struct.RefactorInfo, i32, i32, i32, i32, i32, i32, i32, double, i8, ptr, ptr, ptr, ptr, double, double, i32, double, %"class.std::unique_ptr", %struct.HighsLogOptions, i8, i8, i32, i32, ptr, i32, %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.13", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector", %"class.std::vector", %"class.std::vector.15", double }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl" = type { %"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<signed char, std::allocator<signed char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.21" }
%"struct.std::_Head_base.21" = type { ptr }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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 }
%struct.MatrixBase = type { i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.8" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, BasisStatus>, std::_Select1st<std::pair<const int, BasisStatus>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, BasisStatus>, std::_Select1st<std::pair<const int, BasisStatus>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, 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 }
%struct.QpVector = type { i32, i32, %"class.std::vector", %"class.std::vector.8" }
%class.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.8", double, %"class.std::vector.13", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.8" }
%struct.Runtime = type { %struct.Instance, %struct.Instance, %struct.Instance, %struct.Instance, %struct.Settings, ptr, %struct.QpVector, %struct.QpVector, %struct.QpVector, %struct.QpVector, i32, %"class.std::vector.3", %"class.std::vector.3" }
%struct.Instance = type { i32, i32, i32, double, %struct.QpVector, %struct.Matrix, %"class.std::vector.8", %"class.std::vector.8", %struct.Matrix, %"class.std::vector.8", %"class.std::vector.8" }
%struct.Matrix = type { %struct.MatrixBase, i8, %struct.MatrixBase }
%struct.Settings = type <{ i32, [4 x i8], double, double, i32, [4 x i8], double, double, double, double, double, i8, [7 x i8], double, i32, i8, i8, [2 x i8], i32, [4 x i8], %class.Eventhandler, %class.Eventhandler.30, %class.Eventhandler.36, i32, i32, i32, i32, i32, i32, double, i8, i8, i8, [5 x i8] }>
%class.Eventhandler = type { %"class.std::vector.25" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::function<void (Statistics &)>, std::allocator<std::function<void (Statistics &)>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<void (Statistics &)>, std::allocator<std::function<void (Statistics &)>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<void (Statistics &)>, std::allocator<std::function<void (Statistics &)>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<void (Statistics &)>, std::allocator<std::function<void (Statistics &)>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Eventhandler.30 = type { %"class.std::vector.31" }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<std::function<void (QpModelStatus &)>, std::allocator<std::function<void (QpModelStatus &)>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<void (QpModelStatus &)>, std::allocator<std::function<void (QpModelStatus &)>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<void (QpModelStatus &)>, std::allocator<std::function<void (QpModelStatus &)>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<void (QpModelStatus &)>, std::allocator<std::function<void (QpModelStatus &)>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Eventhandler.36 = type { %"class.std::vector.37" }
%"class.std::vector.37" = type { %"struct.std::_Vector_base.38" }
%"struct.std::_Vector_base.38" = type { %"struct.std::_Vector_base<std::function<void (int &)>, std::allocator<std::function<void (int &)>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<void (int &)>, std::allocator<std::function<void (int &)>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<void (int &)>, std::allocator<std::function<void (int &)>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<void (int &)>, std::allocator<std::function<void (int &)>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<BasisStatus, std::allocator<BasisStatus>>::_Vector_impl" }
%"struct.std::_Vector_base<BasisStatus, std::allocator<BasisStatus>>::_Vector_impl" = type { %"struct.std::_Vector_base<BasisStatus, std::allocator<BasisStatus>>::_Vector_impl_data" }
%"struct.std::_Vector_base<BasisStatus, std::allocator<BasisStatus>>::_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: mustprogress uwtable
define dso_local void @_ZN5BasisC2ER7RuntimeSt6vectorIiSaIiEES2_I11BasisStatusSaIS5_EES4_(ptr noundef nonnull align 8 dereferenceable(2913) %0, ptr noundef nonnull align 8 dereferenceable(2552) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %16 = load ptr, ptr %6, align 8
  %17 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 0
  call void @_ZN11HVectorBaseIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %17) #6
  %18 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 1
  %19 = load ptr, ptr %7, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.Runtime, ptr %19, i32 0, i32 0
  %21 = getelementptr inbounds %struct.Instance, ptr %20, i32 0, i32 1
  %22 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %18, i32 noundef %22)
          to label %23 unwind label %79

23:                                               ; preds = %5
  %24 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 2
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.Runtime, ptr %25, i32 0, i32 0
  %27 = getelementptr inbounds %struct.Instance, ptr %26, i32 0, i32 1
  %28 = load i32, ptr %27, align 4, !tbaa !9
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %24, i32 noundef %28)
          to label %29 unwind label %83

29:                                               ; preds = %23
  %30 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 3
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %31, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 4
  invoke void @_ZN7HFactorC2Ev(ptr noundef nonnull align 8 dereferenceable(1912) %32)
          to label %33 unwind label %87

33:                                               ; preds = %29
  %34 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 5
  store i32 0, ptr %34, align 8, !tbaa !50
  %35 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 7
  call void @_ZN10MatrixBaseC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %35) #6
  %36 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %37 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  %38 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 10
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %39 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 11
  call void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  %40 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 12
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %41 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 13
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.Runtime, ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds %struct.Instance, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !9
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %41, i32 noundef %45)
          to label %46 unwind label %91

46:                                               ; preds = %33
  %47 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 14
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.Runtime, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %struct.Instance, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 4, !tbaa !9
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %47, i32 noundef %51)
          to label %52 unwind label %95

52:                                               ; preds = %46
  %53 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 15
  store i32 -1, ptr %53, align 8, !tbaa !81
  %54 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 16
  store i32 -1, ptr %54, align 4, !tbaa !82
  %55 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 17
  call void @_ZN11HVectorBaseIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %55) #6
  %56 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 18
  call void @_ZN11HVectorBaseIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %56) #6
  %57 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 19
  store i8 0, ptr %57, align 8, !tbaa !83
  %58 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 0
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.Runtime, ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds %struct.Instance, ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 4, !tbaa !9
  invoke void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176) %58, i32 noundef %62)
          to label %63 unwind label %99

63:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !84
  br label %64

64:                                               ; preds = %107, %63
  %65 = load i32, ptr %13, align 4, !tbaa !84
  %66 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 3
  %67 = load ptr, ptr %66, align 8, !tbaa !85
  %68 = getelementptr inbounds %struct.Runtime, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %struct.Instance, ptr %68, i32 0, i32 1
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !85
  %73 = getelementptr inbounds %struct.Runtime, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %struct.Instance, ptr %73, i32 0, i32 2
  %75 = load i32, ptr %74, align 8, !tbaa !86
  %76 = add nsw i32 %70, %75
  %77 = icmp slt i32 %65, %76
  br i1 %77, label %103, label %78

78:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %114

79:                                               ; preds = %5
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %11, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %12, align 4
  br label %192

83:                                               ; preds = %23
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %11, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %12, align 4
  br label %191

87:                                               ; preds = %29
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %11, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %12, align 4
  br label %190

91:                                               ; preds = %33
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %11, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %12, align 4
  br label %189

95:                                               ; preds = %46
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %11, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %12, align 4
  br label %188

99:                                               ; preds = %185, %179, %173, %170, %165, %52
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %11, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %12, align 4
  br label %187

103:                                              ; preds = %64
  %104 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 11
  %105 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %104, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %106 unwind label %110

106:                                              ; preds = %103
  store i32 0, ptr %105, align 4, !tbaa !87
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %13, align 4, !tbaa !84
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %13, align 4, !tbaa !84
  br label %64, !llvm.loop !89

110:                                              ; preds = %103
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %187

114:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !91
  br label %115

115:                                              ; preds = %134, %114
  %116 = load i64, ptr %14, align 8, !tbaa !91
  %117 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %118 = icmp ult i64 %116, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %141

120:                                              ; preds = %115
  %121 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 8
  %122 = load i64, ptr %14, align 8, !tbaa !91
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %122) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %121, ptr noundef nonnull align 4 dereferenceable(4) %123)
          to label %124 unwind label %137

124:                                              ; preds = %120
  %125 = load i64, ptr %14, align 8, !tbaa !91
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorI11BasisStatusSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %125) #6
  %127 = load i32, ptr %126, align 4, !tbaa !87
  %128 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 11
  %129 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 8
  %130 = load i64, ptr %14, align 8, !tbaa !91
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %130) #6
  %132 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %128, ptr noundef nonnull align 4 dereferenceable(4) %131)
          to label %133 unwind label %137

133:                                              ; preds = %124
  store i32 %127, ptr %132, align 4, !tbaa !87
  br label %134

134:                                              ; preds = %133
  %135 = load i64, ptr %14, align 8, !tbaa !91
  %136 = add i64 %135, 1
  store i64 %136, ptr %14, align 8, !tbaa !91
  br label %115, !llvm.loop !92

137:                                              ; preds = %124, %120
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %11, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %187

141:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store i64 0, ptr %15, align 8, !tbaa !91
  br label %142

142:                                              ; preds = %158, %141
  %143 = load i64, ptr %15, align 8, !tbaa !91
  %144 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %145 = icmp ult i64 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %165

147:                                              ; preds = %142
  %148 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 9
  %149 = load i64, ptr %15, align 8, !tbaa !91
  %150 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %149) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %148, ptr noundef nonnull align 4 dereferenceable(4) %150)
          to label %151 unwind label %161

151:                                              ; preds = %147
  %152 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 11
  %153 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 9
  %154 = load i64, ptr %15, align 8, !tbaa !91
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %154) #6
  %156 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %152, ptr noundef nonnull align 4 dereferenceable(4) %155)
          to label %157 unwind label %161

157:                                              ; preds = %151
  store i32 3, ptr %156, align 4, !tbaa !87
  br label %158

158:                                              ; preds = %157
  %159 = load i64, ptr %15, align 8, !tbaa !91
  %160 = add i64 %159, 1
  store i64 %160, ptr %15, align 8, !tbaa !91
  br label %142, !llvm.loop !93

161:                                              ; preds = %151, %147
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %11, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %187

165:                                              ; preds = %146
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.Runtime, ptr %166, i32 0, i32 0
  %168 = getelementptr inbounds %struct.Instance, ptr %167, i32 0, i32 8
  %169 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN6Matrix1tEv(ptr noundef nonnull align 8 dereferenceable(168) %168)
          to label %170 unwind label %99

170:                                              ; preds = %165
  %171 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 7
  %172 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN10MatrixBaseaSERKS_(ptr noundef nonnull align 8 dereferenceable(80) %171, ptr noundef nonnull align 8 dereferenceable(80) %169)
          to label %173 unwind label %99

173:                                              ; preds = %170
  %174 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 18
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.Runtime, ptr %175, i32 0, i32 0
  %177 = getelementptr inbounds %struct.Instance, ptr %176, i32 0, i32 1
  %178 = load i32, ptr %177, align 4, !tbaa !9
  invoke void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176) %174, i32 noundef %178)
          to label %179 unwind label %99

179:                                              ; preds = %173
  %180 = getelementptr inbounds %class.Basis, ptr %16, i32 0, i32 17
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.Runtime, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %struct.Instance, ptr %182, i32 0, i32 1
  %184 = load i32, ptr %183, align 4, !tbaa !9
  invoke void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176) %180, i32 noundef %184)
          to label %185 unwind label %99

185:                                              ; preds = %179
  invoke void @_ZN5Basis5buildEv(ptr noundef nonnull align 8 dereferenceable(2913) %16)
          to label %186 unwind label %99

186:                                              ; preds = %185
  ret void

187:                                              ; preds = %161, %137, %110, %99
  call void @_ZN11HVectorBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(176) %56) #6
  call void @_ZN11HVectorBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(176) %55) #6
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %47) #6
  br label %188

188:                                              ; preds = %187, %95
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %41) #6
  br label %189

189:                                              ; preds = %188, %91
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  call void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  call void @_ZN10MatrixBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %35) #6
  call void @_ZN7HFactorD2Ev(ptr noundef nonnull align 8 dereferenceable(1912) %32) #6
  br label %190

190:                                              ; preds = %189, %87
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #6
  br label %191

191:                                              ; preds = %190, %83
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %18) #6
  br label %192

192:                                              ; preds = %191, %79
  call void @_ZN11HVectorBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(176) %17) #6
  br label %193

193:                                              ; preds = %192
  %194 = load ptr, ptr %11, align 8
  %195 = load i32, ptr %12, align 4
  %196 = insertvalue { ptr, i32 } poison, ptr %194, 0
  %197 = insertvalue { ptr, i32 } %196, i32 %195, 1
  resume { ptr, i32 } %197
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7HFactorC2Ev(ptr noundef nonnull align 8 dereferenceable(1912)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

declare void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN6Matrix1tEv(ptr noundef nonnull align 8 dereferenceable(168)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Basis5buildEv(ptr noundef nonnull align 8 dereferenceable(2913)) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 #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, !12, i64 4}
!10 = !{!"_ZTS7Runtime", !11, i64 0, !11, i64 512, !11, i64 1024, !11, i64 1536, !26, i64 2048, !6, i64 2264, !14, i64 2272, !14, i64 2328, !14, i64 2384, !14, i64 2440, !45, i64 2496, !46, i64 2504, !46, i64 2528}
!11 = !{!"_ZTS8Instance", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !14, i64 24, !23, i64 80, !19, i64 248, !19, i64 272, !23, i64 296, !19, i64 464, !19, i64 488}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS8QpVector", !12, i64 0, !12, i64 4, !15, i64 8, !19, i64 32}
!15 = !{!"_ZTSSt6vectorIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTS6Matrix", !24, i64 0, !25, i64 80, !24, i64 88}
!24 = !{!"_ZTS10MatrixBase", !12, i64 0, !12, i64 4, !15, i64 8, !15, i64 32, !19, i64 56}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTS8Settings", !27, i64 0, !13, i64 8, !13, i64 16, !28, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !25, i64 72, !13, i64 80, !29, i64 88, !25, i64 92, !25, i64 93, !12, i64 96, !30, i64 104, !35, i64 128, !40, i64 152, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !13, i64 200, !25, i64 208, !25, i64 209, !25, i64 210}
!27 = !{!"_ZTS17RatiotestStrategy", !7, i64 0}
!28 = !{!"_ZTS15PricingStrategy", !7, i64 0}
!29 = !{!"_ZTS14Phase1Strategy", !7, i64 0}
!30 = !{!"_ZTS12EventhandlerIR10StatisticsE", !31, i64 0}
!31 = !{!"_ZTSSt6vectorISt8functionIFvR10StatisticsEESaIS4_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseISt8functionIFvR10StatisticsEESaIS4_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR10StatisticsEESaIS4_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR10StatisticsEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTS12EventhandlerIR13QpModelStatusE", !36, i64 0}
!36 = !{!"_ZTSSt6vectorISt8functionIFvR13QpModelStatusEESaIS4_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseISt8functionIFvR13QpModelStatusEESaIS4_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR13QpModelStatusEESaIS4_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR13QpModelStatusEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"_ZTS12EventhandlerIRiE", !41, i64 0}
!41 = !{!"_ZTSSt6vectorISt8functionIFvRiEESaIS3_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseISt8functionIFvRiEESaIS3_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvRiEESaIS3_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvRiEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTS13QpModelStatus", !7, i64 0}
!46 = !{!"_ZTSSt6vectorI11BasisStatusSaIS0_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseI11BasisStatusSaIS0_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseI11BasisStatusSaIS0_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseI11BasisStatusSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!51, !12, i64 2208}
!51 = !{!"_ZTS5Basis", !52, i64 0, !14, i64 176, !14, i64 232, !6, i64 288, !57, i64 296, !12, i64 2208, !24, i64 2216, !15, i64 2296, !15, i64 2320, !15, i64 2344, !72, i64 2368, !15, i64 2416, !14, i64 2440, !14, i64 2496, !12, i64 2552, !12, i64 2556, !52, i64 2560, !52, i64 2736, !25, i64 2912}
!52 = !{!"_ZTS11HVectorBaseIdE", !12, i64 0, !12, i64 4, !15, i64 8, !19, i64 32, !13, i64 56, !53, i64 64, !15, i64 88, !6, i64 112, !25, i64 120, !12, i64 124, !15, i64 128, !19, i64 152}
!53 = !{!"_ZTSSt6vectorIcSaIcEE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTS7HFactor", !13, i64 0, !13, i64 8, !12, i64 16, !15, i64 24, !15, i64 48, !15, i64 72, !58, i64 96, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !12, i64 208, !13, i64 216, !25, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !13, i64 264, !13, i64 272, !12, i64 280, !13, i64 288, !63, i64 296, !69, i64 304, !25, i64 400, !25, i64 401, !12, i64 404, !12, i64 408, !6, i64 416, !12, i64 424, !15, i64 432, !19, i64 456, !15, i64 480, !15, i64 504, !15, i64 528, !19, i64 552, !15, i64 576, !15, i64 600, !15, i64 624, !15, i64 648, !15, i64 672, !15, i64 696, !15, i64 720, !19, i64 744, !19, i64 768, !15, i64 792, !15, i64 816, !15, i64 840, !15, i64 864, !15, i64 888, !15, i64 912, !53, i64 936, !19, i64 960, !15, i64 984, !15, i64 1008, !15, i64 1032, !15, i64 1056, !15, i64 1080, !15, i64 1104, !15, i64 1128, !15, i64 1152, !15, i64 1176, !15, i64 1200, !19, i64 1224, !15, i64 1248, !15, i64 1272, !19, i64 1296, !15, i64 1320, !15, i64 1344, !19, i64 1368, !12, i64 1392, !12, i64 1396, !15, i64 1400, !15, i64 1424, !15, i64 1448, !19, i64 1472, !15, i64 1496, !15, i64 1520, !15, i64 1544, !15, i64 1568, !19, i64 1592, !19, i64 1616, !15, i64 1640, !15, i64 1664, !15, i64 1688, !19, i64 1712, !52, i64 1736}
!58 = !{!"_ZTS12RefactorInfo", !25, i64 0, !15, i64 8, !15, i64 32, !59, i64 56, !13, i64 80}
!59 = !{!"_ZTSSt6vectorIaSaIaEE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!63 = !{!"_ZTSSt10unique_ptrIN7HFactor7LogDataESt14default_deleteIS1_EE", !64, i64 0}
!64 = !{!"_ZTSSt15__uniq_ptr_dataIN7HFactor7LogDataESt14default_deleteIS1_ELb1ELb1EE", !65, i64 0}
!65 = !{!"_ZTSSt15__uniq_ptr_implIN7HFactor7LogDataESt14default_deleteIS1_EE", !66, i64 0}
!66 = !{!"_ZTSSt5tupleIJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !67, i64 0}
!67 = !{!"_ZTSSt11_Tuple_implILm0EJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !68, i64 0}
!68 = !{!"_ZTSSt10_Head_baseILm0EPN7HFactor7LogDataELb0EE", !6, i64 0}
!69 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !70, i64 48, !6, i64 80, !25, i64 88}
!70 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !71, i64 0, !6, i64 24}
!71 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!72 = !{!"_ZTSSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEE", !73, i64 0}
!73 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKi11BasisStatusESt10_Select1stIS3_ESt4lessIiESaIS3_EE", !74, i64 0}
!74 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKi11BasisStatusESt10_Select1stIS3_ESt4lessIiESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !75, i64 0, !77, i64 8}
!75 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !76, i64 0}
!76 = !{!"_ZTSSt4lessIiE"}
!77 = !{!"_ZTSSt15_Rb_tree_header", !78, i64 0, !80, i64 32}
!78 = !{!"_ZTSSt18_Rb_tree_node_base", !79, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!79 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!80 = !{!"long", !7, i64 0}
!81 = !{!51, !12, i64 2552}
!82 = !{!51, !12, i64 2556}
!83 = !{!51, !25, i64 2912}
!84 = !{!12, !12, i64 0}
!85 = !{!51, !6, i64 288}
!86 = !{!10, !12, i64 8}
!87 = !{!88, !88, i64 0}
!88 = !{!"_ZTS11BasisStatus", !7, i64 0}
!89 = distinct !{!89, !90}
!90 = !{!"llvm.loop.mustprogress"}
!91 = !{!80, !80, i64 0}
!92 = distinct !{!92, !90}
!93 = distinct !{!93, !90}


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

; Function Attrs: mustprogress 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 uwtable
define dso_local void @_ZN5BasisC2ER7RuntimeSt6vectorIiSaIiEES2_I11BasisStatusSaIS5_EES4_(ptr noundef nonnull align 8 dereferenceable(2913) %0, ptr noundef nonnull align 8 dereferenceable(2552) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  tail call void @_ZN11HVectorBaseIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #6
  %7 = getelementptr inbounds i8, ptr %0, i64 176
  %8 = getelementptr inbounds i8, ptr %1, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %7, i32 noundef %9)
          to label %10 unwind label %45

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 232
  %12 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %11, i32 noundef %12)
          to label %13 unwind label %47

13:                                               ; preds = %10
  %14 = getelementptr inbounds i8, ptr %0, i64 288
  store ptr %1, ptr %14, align 8, !tbaa !49
  %15 = getelementptr inbounds i8, ptr %0, i64 296
  invoke void @_ZN7HFactorC2Ev(ptr noundef nonnull align 8 dereferenceable(1912) %15)
          to label %16 unwind label %49

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %0, i64 2208
  store i32 0, ptr %17, align 8, !tbaa !50
  %18 = getelementptr inbounds i8, ptr %0, i64 2216
  tail call void @_ZN10MatrixBaseC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %18) #6
  %19 = getelementptr inbounds i8, ptr %0, i64 2296
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %20 = getelementptr inbounds i8, ptr %0, i64 2320
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  %21 = getelementptr inbounds i8, ptr %0, i64 2344
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  %22 = getelementptr inbounds i8, ptr %0, i64 2368
  tail call void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  %23 = getelementptr inbounds i8, ptr %0, i64 2416
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 2440
  %25 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %24, i32 noundef %25)
          to label %26 unwind label %51

26:                                               ; preds = %16
  %27 = getelementptr inbounds i8, ptr %0, i64 2496
  %28 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56) %27, i32 noundef %28)
          to label %29 unwind label %53

29:                                               ; preds = %26
  %30 = getelementptr inbounds i8, ptr %0, i64 2552
  store i32 -1, ptr %30, align 8, !tbaa !81
  %31 = getelementptr inbounds i8, ptr %0, i64 2556
  store i32 -1, ptr %31, align 4, !tbaa !82
  %32 = getelementptr inbounds i8, ptr %0, i64 2560
  tail call void @_ZN11HVectorBaseIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %32) #6
  %33 = getelementptr inbounds i8, ptr %0, i64 2736
  tail call void @_ZN11HVectorBaseIdEC2Ev(ptr noundef nonnull align 8 dereferenceable(176) %33) #6
  %34 = getelementptr inbounds i8, ptr %0, i64 2912
  store i8 0, ptr %34, align 8, !tbaa !83
  %35 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176) %0, i32 noundef %35)
          to label %36 unwind label %55

36:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 0, ptr %6, align 4, !tbaa !84
  %37 = load ptr, ptr %14, align 8, !tbaa !85
  %38 = getelementptr inbounds i8, ptr %37, i64 4
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %37, i64 8
  %41 = load i32, ptr %40, align 8, !tbaa !86
  %42 = add nsw i32 %41, %39
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %58, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  %44 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %.not = icmp eq i64 %44, 0
  br i1 %.not, label %.preheader, label %.lr.ph36

45:                                               ; preds = %5
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %108

47:                                               ; preds = %10
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %107

49:                                               ; preds = %13
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %106

51:                                               ; preds = %16
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %105

53:                                               ; preds = %26
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %104

55:                                               ; preds = %101, %99, %97, %95, %._crit_edge39, %29
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %103

.lr.ph:                                           ; preds = %36, %58
  %57 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %58 unwind label %68

58:                                               ; preds = %.lr.ph
  store i32 0, ptr %57, align 4, !tbaa !87
  %59 = load i32, ptr %6, align 4, !tbaa !84
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %6, align 4, !tbaa !84
  %61 = load ptr, ptr %14, align 8, !tbaa !85
  %62 = getelementptr inbounds i8, ptr %61, i64 4
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %61, i64 8
  %65 = load i32, ptr %64, align 8, !tbaa !86
  %66 = add nsw i32 %65, %63
  %67 = icmp slt i32 %60, %66
  br i1 %67, label %.lr.ph, label %._crit_edge, !llvm.loop !89

68:                                               ; preds = %.lr.ph
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %103

.preheader:                                       ; preds = %77, %._crit_edge
  %70 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %.not40 = icmp eq i64 %70, 0
  br i1 %.not40, label %._crit_edge39, label %.lr.ph38

.lr.ph36:                                         ; preds = %._crit_edge, %77
  %.02034 = phi i64 [ %78, %77 ], [ 0, %._crit_edge ]
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.02034) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 4 dereferenceable(4) %71)
          to label %72 unwind label %81

72:                                               ; preds = %.lr.ph36
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorI11BasisStatusSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.02034) #6
  %74 = load i32, ptr %73, align 4, !tbaa !87
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.02034) #6
  %76 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %77 unwind label %81

77:                                               ; preds = %72
  store i32 %74, ptr %76, align 4, !tbaa !87
  %78 = add nuw i64 %.02034, 1
  %79 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %80 = icmp ult i64 %78, %79
  br i1 %80, label %.lr.ph36, label %.preheader, !llvm.loop !91

81:                                               ; preds = %72, %.lr.ph36
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %103

._crit_edge39:                                    ; preds = %89, %.preheader
  %83 = getelementptr inbounds i8, ptr %1, i64 296
  %84 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN6Matrix1tEv(ptr noundef nonnull align 8 dereferenceable(168) %83)
          to label %95 unwind label %55

.lr.ph38:                                         ; preds = %.preheader, %89
  %.037 = phi i64 [ %90, %89 ], [ 0, %.preheader ]
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.037) #6
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(4) %85)
          to label %86 unwind label %93

86:                                               ; preds = %.lr.ph38
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %.037) #6
  %88 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef nonnull align 4 dereferenceable(4) %87)
          to label %89 unwind label %93

89:                                               ; preds = %86
  store i32 3, ptr %88, align 4, !tbaa !87
  %90 = add nuw i64 %.037, 1
  %91 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %92 = icmp ult i64 %90, %91
  br i1 %92, label %.lr.ph38, label %._crit_edge39, !llvm.loop !92

93:                                               ; preds = %86, %.lr.ph38
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %103

95:                                               ; preds = %._crit_edge39
  %96 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN10MatrixBaseaSERKS_(ptr noundef nonnull align 8 dereferenceable(80) %18, ptr noundef nonnull align 8 dereferenceable(80) %84)
          to label %97 unwind label %55

97:                                               ; preds = %95
  %98 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176) %33, i32 noundef %98)
          to label %99 unwind label %55

99:                                               ; preds = %97
  %100 = load i32, ptr %8, align 4, !tbaa !5
  invoke void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176) %32, i32 noundef %100)
          to label %101 unwind label %55

101:                                              ; preds = %99
  invoke void @_ZN5Basis5buildEv(ptr noundef nonnull align 8 dereferenceable(2913) %0)
          to label %102 unwind label %55

102:                                              ; preds = %101
  ret void

103:                                              ; preds = %93, %81, %68, %55
  %.pn = phi { ptr, i32 } [ %69, %68 ], [ %82, %81 ], [ %94, %93 ], [ %56, %55 ]
  call void @_ZN11HVectorBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(176) %33) #6
  call void @_ZN11HVectorBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(176) %32) #6
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %27) #6
  br label %104

104:                                              ; preds = %103, %53
  %.pn.pn = phi { ptr, i32 } [ %.pn, %103 ], [ %54, %53 ]
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #6
  br label %105

105:                                              ; preds = %104, %51
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %104 ], [ %52, %51 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  call void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @_ZN10MatrixBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %18) #6
  call void @_ZN7HFactorD2Ev(ptr noundef nonnull align 8 dereferenceable(1912) %15) #6
  br label %106

106:                                              ; preds = %105, %49
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %105 ], [ %50, %49 ]
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #6
  br label %107

107:                                              ; preds = %106, %47
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %106 ], [ %48, %47 ]
  call void @_ZN8QpVectorD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #6
  br label %108

108:                                              ; preds = %107, %45
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %107 ], [ %46, %45 ]
  call void @_ZN11HVectorBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(176) %0) #6
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8QpVectorC2Ei(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7HFactorC2Ev(ptr noundef nonnull align 8 dereferenceable(1912)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

declare void @_ZN11HVectorBaseIdE5setupEi(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN6Matrix1tEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Basis5buildEv(ptr noundef nonnull align 8 dereferenceable(2913)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 #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, !8, i64 4}
!6 = !{!"_ZTS7Runtime", !7, i64 0, !7, i64 512, !7, i64 1024, !7, i64 1536, !25, i64 2048, !17, i64 2264, !12, i64 2272, !12, i64 2328, !12, i64 2384, !12, i64 2440, !44, i64 2496, !45, i64 2504, !45, i64 2528}
!7 = !{!"_ZTS8Instance", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !12, i64 24, !22, i64 80, !18, i64 248, !18, i64 272, !22, i64 296, !18, i64 464, !18, i64 488}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"double", !9, i64 0}
!12 = !{!"_ZTS8QpVector", !8, i64 0, !8, i64 4, !13, i64 8, !18, i64 32}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"_ZTSSt6vectorIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!"_ZTS6Matrix", !23, i64 0, !24, i64 80, !23, i64 88}
!23 = !{!"_ZTS10MatrixBase", !8, i64 0, !8, i64 4, !13, i64 8, !13, i64 32, !18, i64 56}
!24 = !{!"bool", !9, i64 0}
!25 = !{!"_ZTS8Settings", !26, i64 0, !11, i64 8, !11, i64 16, !27, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !24, i64 72, !11, i64 80, !28, i64 88, !24, i64 92, !24, i64 93, !8, i64 96, !29, i64 104, !34, i64 128, !39, i64 152, !8, i64 176, !8, i64 180, !8, i64 184, !8, i64 188, !8, i64 192, !8, i64 196, !11, i64 200, !24, i64 208, !24, i64 209, !24, i64 210}
!26 = !{!"_ZTS17RatiotestStrategy", !9, i64 0}
!27 = !{!"_ZTS15PricingStrategy", !9, i64 0}
!28 = !{!"_ZTS14Phase1Strategy", !9, i64 0}
!29 = !{!"_ZTS12EventhandlerIR10StatisticsE", !30, i64 0}
!30 = !{!"_ZTSSt6vectorISt8functionIFvR10StatisticsEESaIS4_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseISt8functionIFvR10StatisticsEESaIS4_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR10StatisticsEESaIS4_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR10StatisticsEESaIS4_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!34 = !{!"_ZTS12EventhandlerIR13QpModelStatusE", !35, i64 0}
!35 = !{!"_ZTSSt6vectorISt8functionIFvR13QpModelStatusEESaIS4_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseISt8functionIFvR13QpModelStatusEESaIS4_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR13QpModelStatusEESaIS4_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvR13QpModelStatusEESaIS4_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!39 = !{!"_ZTS12EventhandlerIRiE", !40, i64 0}
!40 = !{!"_ZTSSt6vectorISt8functionIFvRiEESaIS3_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseISt8functionIFvRiEESaIS3_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvRiEESaIS3_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseISt8functionIFvRiEESaIS3_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!44 = !{!"_ZTS13QpModelStatus", !9, i64 0}
!45 = !{!"_ZTSSt6vectorI11BasisStatusSaIS0_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseI11BasisStatusSaIS0_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseI11BasisStatusSaIS0_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseI11BasisStatusSaIS0_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!49 = !{!17, !17, i64 0}
!50 = !{!51, !8, i64 2208}
!51 = !{!"_ZTS5Basis", !52, i64 0, !12, i64 176, !12, i64 232, !17, i64 288, !57, i64 296, !8, i64 2208, !23, i64 2216, !13, i64 2296, !13, i64 2320, !13, i64 2344, !72, i64 2368, !13, i64 2416, !12, i64 2440, !12, i64 2496, !8, i64 2552, !8, i64 2556, !52, i64 2560, !52, i64 2736, !24, i64 2912}
!52 = !{!"_ZTS11HVectorBaseIdE", !8, i64 0, !8, i64 4, !13, i64 8, !18, i64 32, !11, i64 56, !53, i64 64, !13, i64 88, !17, i64 112, !24, i64 120, !8, i64 124, !13, i64 128, !18, i64 152}
!53 = !{!"_ZTSSt6vectorIcSaIcEE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!57 = !{!"_ZTS7HFactor", !11, i64 0, !11, i64 8, !8, i64 16, !13, i64 24, !13, i64 48, !13, i64 72, !58, i64 96, !8, i64 184, !8, i64 188, !8, i64 192, !8, i64 196, !8, i64 200, !8, i64 204, !8, i64 208, !11, i64 216, !24, i64 224, !17, i64 232, !17, i64 240, !17, i64 248, !17, i64 256, !11, i64 264, !11, i64 272, !8, i64 280, !11, i64 288, !63, i64 296, !69, i64 304, !24, i64 400, !24, i64 401, !8, i64 404, !8, i64 408, !17, i64 416, !8, i64 424, !13, i64 432, !18, i64 456, !13, i64 480, !13, i64 504, !13, i64 528, !18, i64 552, !13, i64 576, !13, i64 600, !13, i64 624, !13, i64 648, !13, i64 672, !13, i64 696, !13, i64 720, !18, i64 744, !18, i64 768, !13, i64 792, !13, i64 816, !13, i64 840, !13, i64 864, !13, i64 888, !13, i64 912, !53, i64 936, !18, i64 960, !13, i64 984, !13, i64 1008, !13, i64 1032, !13, i64 1056, !13, i64 1080, !13, i64 1104, !13, i64 1128, !13, i64 1152, !13, i64 1176, !13, i64 1200, !18, i64 1224, !13, i64 1248, !13, i64 1272, !18, i64 1296, !13, i64 1320, !13, i64 1344, !18, i64 1368, !8, i64 1392, !8, i64 1396, !13, i64 1400, !13, i64 1424, !13, i64 1448, !18, i64 1472, !13, i64 1496, !13, i64 1520, !13, i64 1544, !13, i64 1568, !18, i64 1592, !18, i64 1616, !13, i64 1640, !13, i64 1664, !13, i64 1688, !18, i64 1712, !52, i64 1736}
!58 = !{!"_ZTS12RefactorInfo", !24, i64 0, !13, i64 8, !13, i64 32, !59, i64 56, !11, i64 80}
!59 = !{!"_ZTSSt6vectorIaSaIaEE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!63 = !{!"_ZTSSt10unique_ptrIN7HFactor7LogDataESt14default_deleteIS1_EE", !64, i64 0}
!64 = !{!"_ZTSSt15__uniq_ptr_dataIN7HFactor7LogDataESt14default_deleteIS1_ELb1ELb1EE", !65, i64 0}
!65 = !{!"_ZTSSt15__uniq_ptr_implIN7HFactor7LogDataESt14default_deleteIS1_EE", !66, i64 0}
!66 = !{!"_ZTSSt5tupleIJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !67, i64 0}
!67 = !{!"_ZTSSt11_Tuple_implILm0EJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !68, i64 0}
!68 = !{!"_ZTSSt10_Head_baseILm0EPN7HFactor7LogDataELb0EE", !17, i64 0}
!69 = !{!"_ZTS15HighsLogOptions", !17, i64 0, !17, i64 8, !17, i64 16, !17, i64 24, !17, i64 32, !17, i64 40, !70, i64 48, !17, i64 80, !24, i64 88}
!70 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !71, i64 0, !17, i64 24}
!71 = !{!"_ZTSSt14_Function_base", !9, i64 0, !17, i64 16}
!72 = !{!"_ZTSSt3mapIi11BasisStatusSt4lessIiESaISt4pairIKiS0_EEE", !73, i64 0}
!73 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKi11BasisStatusESt10_Select1stIS3_ESt4lessIiESaIS3_EE", !74, i64 0}
!74 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKi11BasisStatusESt10_Select1stIS3_ESt4lessIiESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !75, i64 0, !77, i64 8}
!75 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !76, i64 0}
!76 = !{!"_ZTSSt4lessIiE"}
!77 = !{!"_ZTSSt15_Rb_tree_header", !78, i64 0, !80, i64 32}
!78 = !{!"_ZTSSt18_Rb_tree_node_base", !79, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!79 = !{!"_ZTSSt14_Rb_tree_color", !9, i64 0}
!80 = !{!"long", !9, i64 0}
!81 = !{!51, !8, i64 2552}
!82 = !{!51, !8, i64 2556}
!83 = !{!51, !24, i64 2912}
!84 = !{!8, !8, i64 0}
!85 = !{!51, !17, i64 288}
!86 = !{!6, !8, i64 8}
!87 = !{!88, !88, i64 0}
!88 = !{!"_ZTS11BasisStatus", !9, i64 0}
!89 = distinct !{!89, !90}
!90 = !{!"llvm.loop.mustprogress"}
!91 = distinct !{!91, !90}
!92 = distinct !{!92, !90}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass