; LLVM IR from ERGO-Code/HiGHS :: src/simplex/HEkkPrimal.ll (ZN10HEkkPrimal18phase2UpdatePrimalEb)

; 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.HEkkPrimal = type { ptr, ptr, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", i32, i32, %"class.std::vector.8", i32, %class.HSet, i8, i8, i8, i32, i32, %"class.std::vector.8", %"class.std::vector.3", %class.HSet, double, double, i32, i8, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HVectorBase, %class.HighsRandom, double, double, double, i32, i32, double, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_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<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::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HSet = type { i32, %"class.std::vector.8", i8, i8, i8, i8, ptr, i32, %"class.std::vector.8" }
%class.HVectorBase = type { i32, i32, %"class.std::vector.8", %"class.std::vector.3", double, %"class.std::vector.13", %"class.std::vector.8", ptr, i8, i32, %"class.std::vector.8", %"class.std::vector.3" }
%"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.HighsRandom = type { i64 }
%class.HEkk = type { ptr, ptr, ptr, %class.HighsSimplexAnalysis, %class.HighsLp, %"class.std::__cxx11::basic_string", %struct.HighsSimplexStatus, [3 x i8], %struct.HighsSimplexInfo, i32, %struct.SimplexBasis, %class.HighsHashTable, %class.HighsRandom, %"class.std::vector.3", %"class.std::vector.3", i8, %class.HighsSparseMatrix, %class.HighsSparseMatrix, %class.HSimplexNla, %struct.HotStart, double, double, double, i32, i32, i32, i32, i8, i8, i32, i32, i32, %"class.std::vector.8", %"class.std::vector.3", %struct.HighsRayRecord, %struct.HighsRayRecord, i32, i32, i32, double, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", double, double, double, i32, i32, i8, i32, i8, i8, i8, i8, double, %"class.std::vector.71", %"class.std::vector.3", %struct.HighsSimplexStats }
%class.HighsSimplexAnalysis = type { ptr, %"class.std::vector.15", %"class.std::vector.15", ptr, i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %struct.HighsLogOptions, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, double, double, i32, double, double, i32, double, double, double, double, double, double, double, double, double, double, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i8], %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, double, double, i32, double, double, i32, i32, double, double, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.20", %"class.std::unique_ptr", i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, i32, i32, double, double, double, i8, double, double, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, i32, i32, [10 x %"struct.HighsSimplexAnalysis::AnIterOpRec"], i32, i32, [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], [12 x i32], [3 x i32], [4 x i8], %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution, %struct.HighsValueDistribution }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsTimerClock, std::allocator<HighsTimerClock>>::_Vector_impl_data" = type { ptr, ptr, 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.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = type { %"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl" }
%"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl" = type { %"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TranStageAnalysis, std::allocator<TranStageAnalysis>>::_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.26" }
%"struct.std::_Head_base.26" = type { ptr }
%"struct.HighsSimplexAnalysis::AnIterOpRec" = type { double, double, i32, i32, i32, i32, double, i32, %"class.std::__cxx11::basic_string", %struct.HighsValueDistribution }
%"struct.HighsSimplexAnalysis::AnIterTraceRec" = type { double, double, [10 x double], double, i32, i32, i32 }
%struct.HighsValueDistribution = type <{ %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, i32, [4 x i8], double, double, %"class.std::vector.3", %"class.std::vector.8", i32, [4 x i8] }>
%class.HighsLp = type { i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.32", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsNameHash = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.3", %"class.std::vector.3" }
%struct.HighsLpMods = type { %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.32", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%"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] }
%struct.HighsSimplexStatus = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }
%struct.HighsSimplexInfo = type <{ %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", i32, i32, i8, i8, [6 x i8], %struct.SimplexBasis, i32, i32, i32, [4 x i8], %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", i32, i32, i32, i32, double, double, double, double, i32, i32, double, double, double, double, double, double, double, double, double, double, i8, [7 x i8], double, double, i32, [4 x i8], double, double, double, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, [4 x i8], double, double, i32, [4 x i8], double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, i32, [4 x i8] }>
%struct.SimplexBasis = type { %"class.std::vector.8", %"class.std::vector.42", %"class.std::vector.42", i64, i32, i32, %"class.std::__cxx11::basic_string" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.HighsHashTable = type { %"class.std::unique_ptr.47", %"class.std::unique_ptr.55", i64, i64, i64 }
%"class.std::unique_ptr.47" = type { %"struct.std::__uniq_ptr_data.48" }
%"struct.std::__uniq_ptr_data.48" = type { %"class.std::__uniq_ptr_impl.49" }
%"class.std::__uniq_ptr_impl.49" = type { %"class.std::tuple.50" }
%"class.std::tuple.50" = type { %"struct.std::_Tuple_impl.51" }
%"struct.std::_Tuple_impl.51" = type { %"struct.std::_Head_base.54" }
%"struct.std::_Head_base.54" = type { ptr }
%"class.std::unique_ptr.55" = type { %"struct.std::__uniq_ptr_data.56" }
%"struct.std::__uniq_ptr_data.56" = type { %"class.std::__uniq_ptr_impl.57" }
%"class.std::__uniq_ptr_impl.57" = type { %"class.std::tuple.58" }
%"class.std::tuple.58" = type { %"struct.std::_Tuple_impl.59" }
%"struct.std::_Tuple_impl.59" = type { %"struct.std::_Head_base.62" }
%"struct.std::_Head_base.62" = type { ptr }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3" }
%class.HSimplexNla = type { ptr, ptr, ptr, ptr, ptr, ptr, %class.HFactor, i8, double, %struct.ProductFormUpdate, %struct.SimplexIterate }
%class.HFactor = type { double, double, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %struct.RefactorInfo, i32, i32, i32, i32, i32, i32, i32, double, i8, ptr, ptr, ptr, ptr, double, double, i32, double, %"class.std::unique_ptr.63", %struct.HighsLogOptions, i8, i8, i32, i32, ptr, i32, %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", i32, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.42", double }
%"class.std::unique_ptr.63" = type { %"struct.std::__uniq_ptr_data.64" }
%"struct.std::__uniq_ptr_data.64" = type { %"class.std::__uniq_ptr_impl.65" }
%"class.std::__uniq_ptr_impl.65" = type { %"class.std::tuple.66" }
%"class.std::tuple.66" = type { %"struct.std::_Tuple_impl.67" }
%"struct.std::_Tuple_impl.67" = type { %"struct.std::_Head_base.70" }
%"struct.std::_Head_base.70" = type { ptr }
%struct.ProductFormUpdate = type { i8, i32, i32, %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3" }
%struct.SimplexIterate = type { i8, %struct.SimplexBasis, %struct.InvertibleRepresentation, %"class.std::vector.3" }
%struct.InvertibleRepresentation = type { %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3" }
%struct.HotStart = type { i8, %struct.RefactorInfo, %"class.std::vector.42" }
%struct.HighsRayRecord = type { i32, i32, %"class.std::vector.3" }
%"class.std::vector.71" = type { %"struct.std::_Vector_base.72" }
%"struct.std::_Vector_base.72" = type { %"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsSimplexBadBasisChangeRecord, std::allocator<HighsSimplexBadBasisChangeRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsSimplexStats = type { i8, i32, i32, i32, i32, double, double, double, double }

@.str.53 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN10HEkkPrimal18phase2UpdatePrimalEb = external hidden unnamed_addr constant [48 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [48 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

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

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

declare i32 @printf(ptr noundef, ...) #2

declare void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) #2

declare void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HEkkPrimal18phase2UpdatePrimalEb(ptr noundef nonnull align 8 dereferenceable(1616) %0, i1 noundef zeroext %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %23 = zext i1 %1 to i8
  store i8 %23, ptr %4, align 1, !tbaa !9
  %24 = load ptr, ptr %3, align 8
  %25 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %26 = trunc i8 %25 to i1
  br i1 %26, label %27, label %30

27:                                               ; preds = %2
  %28 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 50
  store double 0.000000e+00, ptr %28, align 8, !tbaa !13
  %29 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 51
  store double 0.000000e+00, ptr %29, align 8, !tbaa !38
  br label %315

30:                                               ; preds = %2
  %31 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !39
  call void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576) %32, i32 noundef 75, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %33 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 0
  %34 = load ptr, ptr %33, align 8, !tbaa !40
  %35 = getelementptr inbounds %class.HEkk, ptr %34, i32 0, i32 8
  store ptr %35, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  store i8 0, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store double 0.000000e+00, ptr %7, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store double 0.000000e+00, ptr %8, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  %36 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 54
  %37 = load i32, ptr %36, align 4, !tbaa !42
  %38 = icmp eq i32 %37, 1
  %39 = zext i1 %38 to i8
  store i8 %39, ptr %9, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  %40 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !40
  %42 = getelementptr inbounds %class.HEkk, ptr %41, i32 0, i32 18
  %43 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 45
  %44 = getelementptr inbounds %class.HVectorBase, ptr %43, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !43
  %46 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 3
  %47 = load i32, ptr %46, align 4, !tbaa !44
  %48 = call noundef zeroext i1 @_ZNK11HSimplexNla15sparseLoopStyleEiiRi(ptr noundef nonnull align 8 dereferenceable(2864) %42, i32 noundef %45, i32 noundef %47, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %49 = zext i1 %48 to i8
  store i8 %49, ptr %11, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !45
  br label %50

50:                                               ; preds = %267, %30
  %51 = load i32, ptr %12, align 4, !tbaa !45
  %52 = load i32, ptr %10, align 4, !tbaa !45
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %270

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %56 = load i8, ptr %11, align 1, !tbaa !9, !range !11, !noundef !12
  %57 = trunc i8 %56 to i1
  br i1 %57, label %58, label %65

58:                                               ; preds = %55
  %59 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 45
  %60 = getelementptr inbounds %class.HVectorBase, ptr %59, i32 0, i32 2
  %61 = load i32, ptr %12, align 4, !tbaa !45
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %62) #7
  %64 = load i32, ptr %63, align 4, !tbaa !45
  br label %67

65:                                               ; preds = %55
  %66 = load i32, ptr %12, align 4, !tbaa !45
  br label %67

67:                                               ; preds = %65, %58
  %68 = phi i32 [ %64, %58 ], [ %66, %65 ]
  store i32 %68, ptr %14, align 4, !tbaa !45
  %69 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 17
  %70 = load double, ptr %69, align 8, !tbaa !46
  %71 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 45
  %72 = getelementptr inbounds %class.HVectorBase, ptr %71, i32 0, i32 3
  %73 = load i32, ptr %14, align 4, !tbaa !45
  %74 = sext i32 %73 to i64
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %74) #7
  %76 = load double, ptr %75, align 8, !tbaa !41
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %77, i32 0, i32 11
  %79 = load i32, ptr %14, align 4, !tbaa !45
  %80 = sext i32 %79 to i64
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %80) #7
  %82 = load double, ptr %81, align 8, !tbaa !41
  %83 = fneg double %70
  %84 = call double @llvm.fmuladd.f64(double %83, double %76, double %82)
  store double %84, ptr %81, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %85, i32 0, i32 9
  %87 = load i32, ptr %14, align 4, !tbaa !45
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #7
  %90 = load double, ptr %89, align 8, !tbaa !41
  store double %90, ptr %15, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %91, i32 0, i32 10
  %93 = load i32, ptr %14, align 4, !tbaa !45
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #7
  %96 = load double, ptr %95, align 8, !tbaa !41
  store double %96, ptr %16, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %97, i32 0, i32 11
  %99 = load i32, ptr %14, align 4, !tbaa !45
  %100 = sext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %100) #7
  %102 = load double, ptr %101, align 8, !tbaa !41
  store double %102, ptr %17, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !45
  %103 = load double, ptr %17, align 8, !tbaa !41
  %104 = load double, ptr %15, align 8, !tbaa !41
  %105 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 7
  %106 = load double, ptr %105, align 8, !tbaa !47
  %107 = fsub double %104, %106
  %108 = fcmp olt double %103, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %67
  store i32 -1, ptr %18, align 4, !tbaa !45
  br label %119

110:                                              ; preds = %67
  %111 = load double, ptr %17, align 8, !tbaa !41
  %112 = load double, ptr %16, align 8, !tbaa !41
  %113 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 7
  %114 = load double, ptr %113, align 8, !tbaa !47
  %115 = fadd double %112, %114
  %116 = fcmp ogt double %111, %115
  br i1 %116, label %117, label %118

117:                                              ; preds = %110
  store i32 1, ptr %18, align 4, !tbaa !45
  br label %118

118:                                              ; preds = %117, %110
  br label %119

119:                                              ; preds = %118, %109
  %120 = load i32, ptr %18, align 4, !tbaa !45
  %121 = icmp ne i32 %120, 0
  br i1 %121, label %123, label %122

122:                                              ; preds = %119
  store i32 4, ptr %13, align 4
  br label %264

123:                                              ; preds = %119
  %124 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 54
  %125 = load i32, ptr %124, align 4, !tbaa !42
  %126 = icmp eq i32 %125, 0
  br i1 %126, label %127, label %151

127:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %128 = load i32, ptr %18, align 4, !tbaa !45
  %129 = icmp slt i32 %128, 0
  br i1 %129, label %130, label %134

130:                                              ; preds = %127
  %131 = load double, ptr %15, align 8, !tbaa !41
  %132 = load double, ptr %17, align 8, !tbaa !41
  %133 = fsub double %131, %132
  store double %133, ptr %19, align 8, !tbaa !41
  br label %138

134:                                              ; preds = %127
  %135 = load double, ptr %17, align 8, !tbaa !41
  %136 = load double, ptr %16, align 8, !tbaa !41
  %137 = fsub double %135, %136
  store double %137, ptr %19, align 8, !tbaa !41
  br label %138

138:                                              ; preds = %134, %130
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %140 = load double, ptr %139, align 8, !tbaa !41
  store double %140, ptr %7, align 8, !tbaa !41
  %141 = load double, ptr %19, align 8, !tbaa !41
  %142 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 7
  %143 = load double, ptr %142, align 8, !tbaa !47
  %144 = fcmp ogt double %141, %143
  br i1 %144, label %145, label %150

145:                                              ; preds = %138
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %146, i32 0, i32 77
  %148 = load i32, ptr %147, align 8, !tbaa !48
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %147, align 8, !tbaa !48
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %150

150:                                              ; preds = %145, %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %263

151:                                              ; preds = %123
  %152 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %168

154:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %155 = load i32, ptr %18, align 4, !tbaa !45
  %156 = icmp slt i32 %155, 0
  br i1 %156, label %157, label %161

157:                                              ; preds = %154
  %158 = load double, ptr %15, align 8, !tbaa !41
  %159 = load double, ptr %17, align 8, !tbaa !41
  %160 = fsub double %158, %159
  store double %160, ptr %20, align 8, !tbaa !41
  br label %165

161:                                              ; preds = %154
  %162 = load double, ptr %17, align 8, !tbaa !41
  %163 = load double, ptr %16, align 8, !tbaa !41
  %164 = fsub double %162, %163
  store double %164, ptr %20, align 8, !tbaa !41
  br label %165

165:                                              ; preds = %161, %157
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %167 = load double, ptr %166, align 8, !tbaa !41
  store double %167, ptr %8, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %262

168:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %169 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8, !tbaa !40
  %171 = getelementptr inbounds %class.HEkk, ptr %170, i32 0, i32 10
  %172 = getelementptr inbounds %struct.SimplexBasis, ptr %171, i32 0, i32 0
  %173 = load i32, ptr %14, align 4, !tbaa !45
  %174 = sext i32 %173 to i64
  %175 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %172, i64 noundef %174) #7
  %176 = load i32, ptr %175, align 4, !tbaa !45
  store i32 %176, ptr %21, align 4, !tbaa !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %177 = load i32, ptr %18, align 4, !tbaa !45
  %178 = icmp sgt i32 %177, 0
  br i1 %178, label %179, label %217

179:                                              ; preds = %168
  %180 = load i32, ptr %21, align 4, !tbaa !45
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %181, i32 0, i32 11
  %183 = load i32, ptr %14, align 4, !tbaa !45
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %184) #7
  %186 = load double, ptr %185, align 8, !tbaa !41
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %187, i32 0, i32 12
  %189 = load i32, ptr %21, align 4, !tbaa !45
  %190 = sext i32 %189 to i64
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %188, i64 noundef %190) #7
  %192 = load double, ptr %191, align 8, !tbaa !41
  %193 = load ptr, ptr %5, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %193, i32 0, i32 4
  %195 = load i32, ptr %21, align 4, !tbaa !45
  %196 = sext i32 %195 to i64
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %194, i64 noundef %196) #7
  call void @_ZN10HEkkPrimal10shiftBoundEbiddRdS0_(ptr noundef nonnull align 8 dereferenceable(1616) %24, i1 noundef zeroext false, i32 noundef %180, double noundef %186, double noundef %192, ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %198, i32 0, i32 4
  %200 = load i32, ptr %21, align 4, !tbaa !45
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #7
  %203 = load double, ptr %202, align 8, !tbaa !41
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %204, i32 0, i32 10
  %206 = load i32, ptr %14, align 4, !tbaa !45
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %205, i64 noundef %207) #7
  store double %203, ptr %208, align 8, !tbaa !41
  %209 = load double, ptr %22, align 8, !tbaa !41
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %210, i32 0, i32 8
  %212 = load i32, ptr %21, align 4, !tbaa !45
  %213 = sext i32 %212 to i64
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %211, i64 noundef %213) #7
  %215 = load double, ptr %214, align 8, !tbaa !41
  %216 = fadd double %215, %209
  store double %216, ptr %214, align 8, !tbaa !41
  br label %255

217:                                              ; preds = %168
  %218 = load i32, ptr %21, align 4, !tbaa !45
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %219, i32 0, i32 11
  %221 = load i32, ptr %14, align 4, !tbaa !45
  %222 = sext i32 %221 to i64
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %220, i64 noundef %222) #7
  %224 = load double, ptr %223, align 8, !tbaa !41
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %225, i32 0, i32 12
  %227 = load i32, ptr %21, align 4, !tbaa !45
  %228 = sext i32 %227 to i64
  %229 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %226, i64 noundef %228) #7
  %230 = load double, ptr %229, align 8, !tbaa !41
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %231, i32 0, i32 3
  %233 = load i32, ptr %21, align 4, !tbaa !45
  %234 = sext i32 %233 to i64
  %235 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %232, i64 noundef %234) #7
  call void @_ZN10HEkkPrimal10shiftBoundEbiddRdS0_(ptr noundef nonnull align 8 dereferenceable(1616) %24, i1 noundef zeroext true, i32 noundef %218, double noundef %224, double noundef %230, ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %236 = load ptr, ptr %5, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %236, i32 0, i32 3
  %238 = load i32, ptr %21, align 4, !tbaa !45
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef %239) #7
  %241 = load double, ptr %240, align 8, !tbaa !41
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %242, i32 0, i32 9
  %244 = load i32, ptr %14, align 4, !tbaa !45
  %245 = sext i32 %244 to i64
  %246 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %243, i64 noundef %245) #7
  store double %241, ptr %246, align 8, !tbaa !41
  %247 = load double, ptr %22, align 8, !tbaa !41
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %248, i32 0, i32 7
  %250 = load i32, ptr %21, align 4, !tbaa !45
  %251 = sext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %249, i64 noundef %251) #7
  %253 = load double, ptr %252, align 8, !tbaa !41
  %254 = fadd double %253, %247
  store double %254, ptr %252, align 8, !tbaa !41
  br label %255

255:                                              ; preds = %217, %179
  %256 = load double, ptr %22, align 8, !tbaa !41
  %257 = fcmp ogt double %256, 0.000000e+00
  br i1 %257, label %258, label %259

258:                                              ; preds = %255
  br label %261

259:                                              ; preds = %255
  call void @__assert_fail(ptr noundef @.str.131, ptr noundef @.str.53, i32 noundef 2024, ptr noundef @__PRETTY_FUNCTION__._ZN10HEkkPrimal18phase2UpdatePrimalEb) #8
  unreachable

260:                                              ; No predecessors!
  br label %261

261:                                              ; preds = %260, %258
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %262

262:                                              ; preds = %261, %165
  br label %263

263:                                              ; preds = %262, %150
  store i32 0, ptr %13, align 4
  br label %264

264:                                              ; preds = %263, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  %265 = load i32, ptr %13, align 4
  switch i32 %265, label %316 [
    i32 0, label %266
    i32 4, label %267
  ]

266:                                              ; preds = %264
  br label %267

267:                                              ; preds = %266, %264
  %268 = load i32, ptr %12, align 4, !tbaa !45
  %269 = add nsw i32 %268, 1
  store i32 %269, ptr %12, align 4, !tbaa !45
  br label %50, !llvm.loop !57

270:                                              ; preds = %54
  %271 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %272 = trunc i8 %271 to i1
  br i1 %272, label %273, label %288

273:                                              ; preds = %270
  %274 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 10
  store i32 8, ptr %274, align 8, !tbaa !59
  %275 = load double, ptr %7, align 8, !tbaa !41
  %276 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 50
  %277 = load double, ptr %276, align 8, !tbaa !13
  %278 = fmul double %277, 2.000000e+00
  %279 = fcmp ogt double %275, %278
  br i1 %279, label %280, label %285

280:                                              ; preds = %273
  %281 = load double, ptr %7, align 8, !tbaa !41
  %282 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 50
  store double %281, ptr %282, align 8, !tbaa !13
  %283 = load double, ptr %7, align 8, !tbaa !41
  %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.132, double noundef %283)
  br label %285

285:                                              ; preds = %280, %273
  %286 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 0
  %287 = load ptr, ptr %286, align 8, !tbaa !40
  call void @_ZN4HEkk41invalidatePrimalMaxSumInfeasibilityRecordEv(ptr noundef nonnull align 8 dereferenceable(14568) %287)
  br label %288

288:                                              ; preds = %285, %270
  %289 = load double, ptr %8, align 8, !tbaa !41
  %290 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 51
  %291 = load double, ptr %290, align 8, !tbaa !38
  %292 = fmul double %291, 2.000000e+00
  %293 = fcmp ogt double %289, %292
  br i1 %293, label %294, label %299

294:                                              ; preds = %288
  %295 = load double, ptr %8, align 8, !tbaa !41
  %296 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 51
  store double %295, ptr %296, align 8, !tbaa !38
  %297 = load double, ptr %8, align 8, !tbaa !41
  %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.133, double noundef %297)
  br label %299

299:                                              ; preds = %294, %288
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %300, i32 0, i32 1
  %302 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 11
  %303 = load i32, ptr %302, align 4, !tbaa !60
  %304 = sext i32 %303 to i64
  %305 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %304) #7
  %306 = load double, ptr %305, align 8, !tbaa !41
  %307 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 17
  %308 = load double, ptr %307, align 8, !tbaa !46
  %309 = load ptr, ptr %5, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.HighsSimplexInfo, ptr %309, i32 0, i32 104
  %311 = load double, ptr %310, align 8, !tbaa !61
  %312 = call double @llvm.fmuladd.f64(double %306, double %308, double %311)
  store double %312, ptr %310, align 8, !tbaa !61
  %313 = getelementptr inbounds %class.HEkkPrimal, ptr %24, i32 0, i32 1
  %314 = load ptr, ptr %313, align 8, !tbaa !39
  call void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576) %314, i32 noundef 75, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %315

315:                                              ; preds = %299, %27
  ret void

316:                                              ; preds = %264
  unreachable
}

; 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: 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)) #5

declare noundef zeroext i1 @_ZNK11HSimplexNla15sparseLoopStyleEiiRi(ptr noundef nonnull align 8 dereferenceable(2864), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #2

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

declare void @_ZN4HEkk41invalidatePrimalMaxSumInfeasibilityRecordEv(ptr noundef nonnull align 8 dereferenceable(14568)) #2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !17, i64 1568}
!14 = !{!"_ZTS10HEkkPrimal", !6, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !16, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !15, i64 84, !17, i64 88, !17, i64 96, !17, i64 104, !17, i64 112, !17, i64 120, !17, i64 128, !15, i64 136, !18, i64 144, !18, i64 168, !22, i64 192, !15, i64 216, !15, i64 220, !26, i64 224, !15, i64 248, !30, i64 256, !10, i64 336, !10, i64 337, !10, i64 338, !15, i64 340, !15, i64 344, !26, i64 352, !22, i64 376, !30, i64 400, !17, i64 480, !17, i64 488, !15, i64 496, !10, i64 500, !31, i64 504, !31, i64 680, !31, i64 856, !31, i64 1032, !31, i64 1208, !31, i64 1384, !36, i64 1560, !17, i64 1568, !17, i64 1576, !17, i64 1584, !15, i64 1592, !15, i64 1596, !17, i64 1600, !15, i64 1608, !15, i64 1612}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS14EdgeWeightMode", !7, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!"_ZTSSt6vectorISt4pairIdiESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt4pairIdiESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTS4HSet", !15, i64 0, !26, i64 8, !10, i64 32, !10, i64 33, !10, i64 34, !10, i64 35, !6, i64 40, !15, i64 48, !26, i64 56}
!31 = !{!"_ZTS11HVectorBaseIdE", !15, i64 0, !15, i64 4, !26, i64 8, !22, i64 32, !17, i64 56, !32, i64 64, !26, i64 88, !6, i64 112, !10, i64 120, !15, i64 124, !26, i64 128, !22, i64 152}
!32 = !{!"_ZTSSt6vectorIcSaIcEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTS11HighsRandom", !37, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = !{!14, !17, i64 1576}
!39 = !{!14, !6, i64 8}
!40 = !{!14, !6, i64 0}
!41 = !{!17, !17, i64 0}
!42 = !{!14, !15, i64 1596}
!43 = !{!14, !15, i64 860}
!44 = !{!14, !15, i64 20}
!45 = !{!15, !15, i64 0}
!46 = !{!14, !17, i64 96}
!47 = !{!14, !17, i64 40}
!48 = !{!49, !15, i64 888}
!49 = !{!"_ZTS16HighsSimplexInfo", !22, i64 0, !22, i64 24, !22, i64 48, !22, i64 72, !22, i64 96, !22, i64 120, !22, i64 144, !22, i64 168, !22, i64 192, !22, i64 216, !22, i64 240, !22, i64 264, !22, i64 288, !26, i64 312, !26, i64 336, !26, i64 360, !26, i64 384, !22, i64 408, !15, i64 432, !15, i64 436, !10, i64 440, !10, i64 441, !50, i64 448, !15, i64 568, !15, i64 572, !15, i64 576, !22, i64 584, !22, i64 608, !22, i64 632, !22, i64 656, !15, i64 680, !15, i64 684, !15, i64 688, !15, i64 692, !17, i64 696, !17, i64 704, !17, i64 712, !17, i64 720, !15, i64 728, !15, i64 732, !17, i64 736, !17, i64 744, !17, i64 752, !17, i64 760, !17, i64 768, !17, i64 776, !17, i64 784, !17, i64 792, !17, i64 800, !17, i64 808, !10, i64 816, !17, i64 824, !17, i64 832, !15, i64 840, !17, i64 848, !17, i64 856, !17, i64 864, !10, i64 872, !10, i64 873, !10, i64 874, !10, i64 875, !10, i64 876, !10, i64 877, !10, i64 878, !10, i64 879, !10, i64 880, !10, i64 881, !10, i64 882, !10, i64 883, !10, i64 884, !10, i64 885, !10, i64 886, !15, i64 888, !17, i64 896, !17, i64 904, !15, i64 912, !17, i64 920, !17, i64 928, !15, i64 936, !15, i64 940, !15, i64 944, !15, i64 948, !15, i64 952, !15, i64 956, !15, i64 960, !15, i64 964, !15, i64 968, !15, i64 972, !15, i64 976, !15, i64 980, !15, i64 984, !15, i64 988, !15, i64 992, !15, i64 996, !17, i64 1000, !17, i64 1008, !17, i64 1016, !17, i64 1024, !15, i64 1032}
!50 = !{!"_ZTS12SimplexBasis", !26, i64 0, !51, i64 24, !51, i64 48, !37, i64 72, !15, i64 80, !15, i64 84, !55, i64 88}
!51 = !{!"_ZTSSt6vectorIaSaIaEE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !56, i64 0, !37, i64 8, !7, i64 16}
!56 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!57 = distinct !{!57, !58}
!58 = !{!"llvm.loop.mustprogress"}
!59 = !{!14, !15, i64 64}
!60 = !{!14, !15, i64 68}
!61 = !{!49, !17, i64 1024}


; 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"

@.str.53 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN10HEkkPrimal18phase2UpdatePrimalEb = external hidden unnamed_addr constant [48 x i8], align 1
@.str.132 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.133 = external hidden unnamed_addr constant [48 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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576), i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10HEkkPrimal18phase2UpdatePrimalEb(ptr noundef nonnull align 8 dereferenceable(1616) %0, i1 noundef zeroext %1) local_unnamed_addr #5 align 2 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  br i1 %1, label %9, label %11

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 1568
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 0, i64 16, i1 false)
  br label %138

11:                                               ; preds = %2
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  tail call void @_ZN20HighsSimplexAnalysis17simplexTimerStartEii(ptr noundef nonnull align 8 dereferenceable(8576) %13, i32 noundef 75, i32 noundef 0)
  %14 = load ptr, ptr %0, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  store double 0.000000e+00, ptr %3, align 8, !tbaa !35
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  store double 0.000000e+00, ptr %4, align 8, !tbaa !35
  %15 = getelementptr inbounds i8, ptr %0, i64 1596
  %16 = load i32, ptr %15, align 4, !tbaa !36
  %17 = icmp eq i32 %16, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #9
  %18 = getelementptr inbounds i8, ptr %14, i64 11064
  %19 = getelementptr inbounds i8, ptr %0, i64 860
  %20 = load i32, ptr %19, align 4, !tbaa !37
  %21 = getelementptr inbounds i8, ptr %0, i64 20
  %22 = load i32, ptr %21, align 4, !tbaa !38
  %23 = call noundef zeroext i1 @_ZNK11HSimplexNla15sparseLoopStyleEiiRi(ptr noundef nonnull align 8 dereferenceable(2864) %18, i32 noundef %20, i32 noundef %22, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %24 = load i32, ptr %5, align 4, !tbaa !39
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %11
  %26 = getelementptr inbounds i8, ptr %0, i64 864
  %27 = getelementptr inbounds i8, ptr %0, i64 96
  %28 = getelementptr inbounds i8, ptr %0, i64 888
  %29 = getelementptr inbounds i8, ptr %14, i64 9832
  %30 = getelementptr inbounds i8, ptr %14, i64 9784
  %31 = getelementptr inbounds i8, ptr %14, i64 9808
  %32 = getelementptr inbounds i8, ptr %0, i64 40
  %33 = getelementptr inbounds i8, ptr %14, i64 9856
  %34 = getelementptr inbounds i8, ptr %14, i64 10456
  br label %35

._crit_edge:                                      ; preds = %103
  br i1 %.3, label %107, label %.critedge

35:                                               ; preds = %.lr.ph, %103
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %103 ]
  %.073 = phi i1 [ false, %.lr.ph ], [ %.3, %103 ]
  %36 = trunc nuw nsw i64 %indvars.iv to i32
  br i1 %23, label %37, label %40

37:                                               ; preds = %35
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %indvars.iv) #9
  %39 = load i32, ptr %38, align 4, !tbaa !39
  br label %40

40:                                               ; preds = %35, %37
  %41 = phi i32 [ %39, %37 ], [ %36, %35 ]
  %42 = load double, ptr %27, align 8, !tbaa !40
  %43 = sext i32 %41 to i64
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %43) #9
  %45 = load double, ptr %44, align 8, !tbaa !35
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %43) #9
  %47 = load double, ptr %46, align 8, !tbaa !35
  %48 = fneg double %42
  %49 = call double @llvm.fmuladd.f64(double %48, double %45, double %47)
  store double %49, ptr %46, align 8, !tbaa !35
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %43) #9
  %51 = load double, ptr %50, align 8, !tbaa !35
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %43) #9
  %53 = load double, ptr %52, align 8, !tbaa !35
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %43) #9
  %55 = load double, ptr %54, align 8, !tbaa !35
  %56 = load double, ptr %32, align 8, !tbaa !41
  %57 = fsub double %51, %56
  %58 = fcmp olt double %55, %57
  %59 = fadd double %53, %56
  %60 = fcmp ogt double %55, %59
  %or.cond = select i1 %58, i1 true, i1 %60
  br i1 %or.cond, label %61, label %103

61:                                               ; preds = %40
  %62 = load i32, ptr %15, align 4, !tbaa !36
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %76

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %65 = fsub double %55, %53
  %66 = fsub double %51, %55
  %storemerge68 = select i1 %58, double %66, double %65
  store double %storemerge68, ptr %6, align 8, !tbaa !35
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %68 = load double, ptr %67, align 8, !tbaa !35
  store double %68, ptr %3, align 8, !tbaa !35
  %69 = load double, ptr %6, align 8, !tbaa !35
  %70 = load double, ptr %32, align 8, !tbaa !41
  %71 = fcmp ogt double %69, %70
  br i1 %71, label %72, label %75

72:                                               ; preds = %64
  %73 = load i32, ptr %34, align 8, !tbaa !42
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %34, align 8, !tbaa !42
  br label %75

75:                                               ; preds = %72, %64
  %.1 = phi i1 [ true, %72 ], [ %.073, %64 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %103

76:                                               ; preds = %61
  br i1 %17, label %77, label %82

77:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %78 = fsub double %55, %53
  %79 = fsub double %51, %55
  %storemerge = select i1 %58, double %79, double %78
  store double %storemerge, ptr %7, align 8, !tbaa !35
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %81 = load double, ptr %80, align 8, !tbaa !35
  store double %81, ptr %4, align 8, !tbaa !35
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  br label %103

82:                                               ; preds = %76
  %83 = load ptr, ptr %0, align 8, !tbaa !34
  %84 = getelementptr inbounds i8, ptr %83, i64 10616
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %43) #9
  %86 = load i32, ptr %85, align 4, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %43) #9
  %88 = load double, ptr %87, align 8, !tbaa !35
  %89 = sext i32 %86 to i64
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %89) #9
  %91 = load double, ptr %90, align 8, !tbaa !35
  %..v = select i1 %58, i64 9640, i64 9664
  %. = getelementptr inbounds i8, ptr %14, i64 %..v
  %.85 = select i1 %58, ptr %30, ptr %31
  %.86.v = select i1 %58, i64 9736, i64 9760
  %.86 = getelementptr inbounds i8, ptr %14, i64 %.86.v
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %., i64 noundef %89) #9
  call void @_ZN10HEkkPrimal10shiftBoundEbiddRdS0_(ptr noundef nonnull align 8 dereferenceable(1616) %0, i1 noundef zeroext %58, i32 noundef %86, double noundef %88, double noundef %91, ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %., i64 noundef %89) #9
  %94 = load double, ptr %93, align 8, !tbaa !35
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.85, i64 noundef %43) #9
  store double %94, ptr %95, align 8, !tbaa !35
  %.sink75 = load double, ptr %8, align 8, !tbaa !35
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %.86, i64 noundef %89) #9
  %97 = load double, ptr %96, align 8, !tbaa !35
  %98 = fadd double %.sink75, %97
  store double %98, ptr %96, align 8, !tbaa !35
  %99 = load double, ptr %8, align 8, !tbaa !35
  %100 = fcmp ogt double %99, 0.000000e+00
  br i1 %100, label %102, label %101

101:                                              ; preds = %82
  call void @__assert_fail(ptr noundef nonnull @.str.131, ptr noundef nonnull @.str.53, i32 noundef 2024, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10HEkkPrimal18phase2UpdatePrimalEb) #10
  unreachable

102:                                              ; preds = %82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %103

103:                                              ; preds = %40, %75, %102, %77
  %.3 = phi i1 [ %.1, %75 ], [ %.073, %77 ], [ %.073, %102 ], [ %.073, %40 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %104 = load i32, ptr %5, align 4, !tbaa !39
  %105 = sext i32 %104 to i64
  %106 = icmp slt i64 %indvars.iv.next, %105
  br i1 %106, label %35, label %._crit_edge, !llvm.loop !51

107:                                              ; preds = %._crit_edge
  %108 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 8, ptr %108, align 8, !tbaa !53
  %109 = load double, ptr %3, align 8, !tbaa !35
  %110 = getelementptr inbounds i8, ptr %0, i64 1568
  %111 = load double, ptr %110, align 8, !tbaa !54
  %112 = fmul double %111, 2.000000e+00
  %113 = fcmp ogt double %109, %112
  br i1 %113, label %114, label %116

114:                                              ; preds = %107
  store double %109, ptr %110, align 8, !tbaa !54
  %115 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.132, double noundef %109)
  br label %116

116:                                              ; preds = %114, %107
  %117 = load ptr, ptr %0, align 8, !tbaa !34
  call void @_ZN4HEkk41invalidatePrimalMaxSumInfeasibilityRecordEv(ptr noundef nonnull align 8 dereferenceable(14568) %117)
  br label %.critedge

.critedge:                                        ; preds = %11, %116, %._crit_edge
  %118 = load double, ptr %4, align 8, !tbaa !35
  %119 = getelementptr inbounds i8, ptr %0, i64 1576
  %120 = load double, ptr %119, align 8, !tbaa !55
  %121 = fmul double %120, 2.000000e+00
  %122 = fcmp ogt double %118, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %.critedge
  store double %118, ptr %119, align 8, !tbaa !55
  %124 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.133, double noundef %118)
  br label %125

125:                                              ; preds = %123, %.critedge
  %126 = getelementptr inbounds i8, ptr %14, i64 9592
  %127 = getelementptr inbounds i8, ptr %0, i64 68
  %128 = load i32, ptr %127, align 4, !tbaa !56
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %129) #9
  %131 = load double, ptr %130, align 8, !tbaa !35
  %132 = getelementptr inbounds i8, ptr %0, i64 96
  %133 = load double, ptr %132, align 8, !tbaa !40
  %134 = getelementptr inbounds i8, ptr %14, i64 10592
  %135 = load double, ptr %134, align 8, !tbaa !57
  %136 = call double @llvm.fmuladd.f64(double %131, double %133, double %135)
  store double %136, ptr %134, align 8, !tbaa !57
  %137 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN20HighsSimplexAnalysis16simplexTimerStopEii(ptr noundef nonnull align 8 dereferenceable(8576) %137, i32 noundef 75, i32 noundef 0)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  br label %138

138:                                              ; preds = %125, %9
  ret void
}

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

declare noundef zeroext i1 @_ZNK11HSimplexNla15sparseLoopStyleEiiRi(ptr noundef nonnull align 8 dereferenceable(2864), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

declare void @_ZN4HEkk41invalidatePrimalMaxSumInfeasibilityRecordEv(ptr noundef nonnull align 8 dereferenceable(14568)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10HEkkPrimal10shiftBoundEbiddRdS0_(ptr noundef nonnull align 8 dereferenceable(1616), i1 noundef zeroext, i32 noundef, double noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nofree 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind }
attributes #10 = { 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, !7, i64 8}
!6 = !{!"_ZTS10HEkkPrimal", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !11, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !10, i64 136, !13, i64 144, !13, i64 168, !17, i64 192, !10, i64 216, !10, i64 220, !21, i64 224, !10, i64 248, !25, i64 256, !26, i64 336, !26, i64 337, !26, i64 338, !10, i64 340, !10, i64 344, !21, i64 352, !17, i64 376, !25, i64 400, !12, i64 480, !12, i64 488, !10, i64 496, !26, i64 500, !27, i64 504, !27, i64 680, !27, i64 856, !27, i64 1032, !27, i64 1208, !27, i64 1384, !32, i64 1560, !12, i64 1568, !12, i64 1576, !12, i64 1584, !10, i64 1592, !10, i64 1596, !12, i64 1600, !10, i64 1608, !10, i64 1612}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS14EdgeWeightMode", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSSt6vectorISt4pairIdiESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseISt4pairIdiESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseISt4pairIdiESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!"_ZTSSt6vectorIiSaIiEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!25 = !{!"_ZTS4HSet", !10, i64 0, !21, i64 8, !26, i64 32, !26, i64 33, !26, i64 34, !26, i64 35, !7, i64 40, !10, i64 48, !21, i64 56}
!26 = !{!"bool", !8, i64 0}
!27 = !{!"_ZTS11HVectorBaseIdE", !10, i64 0, !10, i64 4, !21, i64 8, !17, i64 32, !12, i64 56, !28, i64 64, !21, i64 88, !7, i64 112, !26, i64 120, !10, i64 124, !21, i64 128, !17, i64 152}
!28 = !{!"_ZTSSt6vectorIcSaIcEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!32 = !{!"_ZTS11HighsRandom", !33, i64 0}
!33 = !{!"long", !8, i64 0}
!34 = !{!6, !7, i64 0}
!35 = !{!12, !12, i64 0}
!36 = !{!6, !10, i64 1596}
!37 = !{!6, !10, i64 860}
!38 = !{!6, !10, i64 20}
!39 = !{!10, !10, i64 0}
!40 = !{!6, !12, i64 96}
!41 = !{!6, !12, i64 40}
!42 = !{!43, !10, i64 888}
!43 = !{!"_ZTS16HighsSimplexInfo", !17, i64 0, !17, i64 24, !17, i64 48, !17, i64 72, !17, i64 96, !17, i64 120, !17, i64 144, !17, i64 168, !17, i64 192, !17, i64 216, !17, i64 240, !17, i64 264, !17, i64 288, !21, i64 312, !21, i64 336, !21, i64 360, !21, i64 384, !17, i64 408, !10, i64 432, !10, i64 436, !26, i64 440, !26, i64 441, !44, i64 448, !10, i64 568, !10, i64 572, !10, i64 576, !17, i64 584, !17, i64 608, !17, i64 632, !17, i64 656, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !12, i64 696, !12, i64 704, !12, i64 712, !12, i64 720, !10, i64 728, !10, i64 732, !12, i64 736, !12, i64 744, !12, i64 752, !12, i64 760, !12, i64 768, !12, i64 776, !12, i64 784, !12, i64 792, !12, i64 800, !12, i64 808, !26, i64 816, !12, i64 824, !12, i64 832, !10, i64 840, !12, i64 848, !12, i64 856, !12, i64 864, !26, i64 872, !26, i64 873, !26, i64 874, !26, i64 875, !26, i64 876, !26, i64 877, !26, i64 878, !26, i64 879, !26, i64 880, !26, i64 881, !26, i64 882, !26, i64 883, !26, i64 884, !26, i64 885, !26, i64 886, !10, i64 888, !12, i64 896, !12, i64 904, !10, i64 912, !12, i64 920, !12, i64 928, !10, i64 936, !10, i64 940, !10, i64 944, !10, i64 948, !10, i64 952, !10, i64 956, !10, i64 960, !10, i64 964, !10, i64 968, !10, i64 972, !10, i64 976, !10, i64 980, !10, i64 984, !10, i64 988, !10, i64 992, !10, i64 996, !12, i64 1000, !12, i64 1008, !12, i64 1016, !12, i64 1024, !10, i64 1032}
!44 = !{!"_ZTS12SimplexBasis", !21, i64 0, !45, i64 24, !45, i64 48, !33, i64 72, !10, i64 80, !10, i64 84, !49, i64 88}
!45 = !{!"_ZTSSt6vectorIaSaIaEE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!49 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !50, i64 0, !33, i64 8, !8, i64 16}
!50 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = !{!6, !10, i64 64}
!54 = !{!6, !12, i64 1568}
!55 = !{!6, !12, i64 1576}
!56 = !{!6, !10, i64 68}
!57 = !{!43, !12, i64 1024}


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