; LLVM IR from ERGO-Code/HiGHS :: src/util/HFactor.ll (ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock)

; 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.FactorTimer = type { 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.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.15", %"class.std::vector.10", %"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.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.10", %class.HVectorBase }
%struct.RefactorInfo = type { i8, %"class.std::vector", %"class.std::vector", %"class.std::vector.3", double }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.9" }
%"struct.std::_Head_base.9" = 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.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.10", double, %"class.std::vector.15", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.10" }

@.str.52 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [37 x i8], align 1
@__PRETTY_FUNCTION__._ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock = external hidden unnamed_addr constant [71 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock(ptr noundef nonnull align 8 dereferenceable(1912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, double noundef %2, ptr noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.FactorTimer, align 1
  %10 = alloca double, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #6
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 6, ptr noundef %28)
  %29 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 29
  %30 = load i32, ptr %29, align 8, !tbaa !11
  %31 = icmp eq i32 %30, 4
  br i1 %31, label %32, label %47

32:                                               ; preds = %4
  %33 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 29
  %34 = load i32, ptr %33, align 8, !tbaa !11
  %35 = icmp eq i32 %34, 4
  %36 = xor i1 %35, true
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  br label %40

38:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.77, ptr noundef @.str.52, i32 noundef 1534, ptr noundef @__PRETTY_FUNCTION__._ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock) #7
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 7, ptr noundef %41)
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176) %42)
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11HVectorBaseIdE4packEv(ptr noundef nonnull align 8 dereferenceable(176) %43)
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNK7HFactor8ftranAPFER11HVectorBaseIdE(ptr noundef nonnull align 8 dereferenceable(1912) %27, ptr noundef nonnull align 8 dereferenceable(176) %44)
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 7, ptr noundef %45)
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176) %46)
  br label %47

47:                                               ; preds = %40, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %class.HVectorBase, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 4, !tbaa !42
  %51 = sitofp i32 %50 to double
  %52 = fmul double 1.000000e+00, %51
  %53 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 14
  %54 = load double, ptr %53, align 8, !tbaa !43
  %55 = fmul double %52, %54
  store double %55, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = getelementptr inbounds %class.HVectorBase, ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 4, !tbaa !42
  %59 = icmp slt i32 %58, 0
  br i1 %59, label %66, label %60

60:                                               ; preds = %47
  %61 = load double, ptr %10, align 8, !tbaa !9
  %62 = fcmp ogt double %61, 5.000000e-02
  br i1 %62, label %66, label %63

63:                                               ; preds = %60
  %64 = load double, ptr %7, align 8, !tbaa !9
  %65 = fcmp ogt double %64, 1.500000e-01
  br label %66

66:                                               ; preds = %63, %60, %47
  %67 = phi i1 [ true, %60 ], [ true, %47 ], [ %65, %63 ]
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %11, align 1, !tbaa !44
  %69 = load i8, ptr %11, align 1, !tbaa !44, !range !45, !noundef !46
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %165

71:                                               ; preds = %66
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 9, ptr noundef %72)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = getelementptr inbounds %class.HVectorBase, ptr %73, i32 0, i32 2
  %75 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #6
  store ptr %75, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %class.HVectorBase, ptr %76, i32 0, i32 3
  %78 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #6
  store ptr %78, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %79 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 63
  %80 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #6
  store ptr %80, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %81 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 64
  %82 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #6
  store ptr %82, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %83 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 65
  %84 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #6
  store ptr %84, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !47
  br label %85

85:                                               ; preds = %157, %71
  %86 = load i32, ptr %18, align 4, !tbaa !47
  %87 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 11
  %88 = load i32, ptr %87, align 8, !tbaa !48
  %89 = icmp slt i32 %86, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %85
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %160

91:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %92 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 62
  %93 = load i32, ptr %18, align 4, !tbaa !47
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #6
  %96 = load i32, ptr %95, align 4, !tbaa !47
  store i32 %96, ptr %20, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  %98 = load i32, ptr %20, align 4, !tbaa !47
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %97, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !9
  store double %101, ptr %21, align 8, !tbaa !9
  %102 = load double, ptr %21, align 8, !tbaa !9
  %103 = call double @llvm.fabs.f64(double %102)
  %104 = fcmp ogt double %103, 0x3D06849B86A12B9B
  br i1 %104, label %105, label %151

105:                                              ; preds = %91
  %106 = load i32, ptr %20, align 4, !tbaa !47
  %107 = load ptr, ptr %12, align 8, !tbaa !5
  %108 = load i32, ptr %17, align 4, !tbaa !47
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %17, align 4, !tbaa !47
  %110 = sext i32 %108 to i64
  %111 = getelementptr inbounds i32, ptr %107, i64 %110
  store i32 %106, ptr %111, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %112 = load ptr, ptr %14, align 8, !tbaa !5
  %113 = load i32, ptr %18, align 4, !tbaa !47
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds i32, ptr %112, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !47
  store i32 %116, ptr %22, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = load i32, ptr %18, align 4, !tbaa !47
  %119 = add nsw i32 %118, 1
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i32, ptr %117, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !47
  store i32 %122, ptr %23, align 4, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %123 = load i32, ptr %22, align 4, !tbaa !47
  store i32 %123, ptr %24, align 4, !tbaa !47
  br label %124

124:                                              ; preds = %147, %105
  %125 = load i32, ptr %24, align 4, !tbaa !47
  %126 = load i32, ptr %23, align 4, !tbaa !47
  %127 = icmp slt i32 %125, %126
  br i1 %127, label %129, label %128

128:                                              ; preds = %124
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %150

129:                                              ; preds = %124
  %130 = load double, ptr %21, align 8, !tbaa !9
  %131 = load ptr, ptr %16, align 8, !tbaa !5
  %132 = load i32, ptr %24, align 4, !tbaa !47
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  %135 = load double, ptr %134, align 8, !tbaa !9
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = load ptr, ptr %15, align 8, !tbaa !5
  %138 = load i32, ptr %24, align 4, !tbaa !47
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds i32, ptr %137, i64 %139
  %141 = load i32, ptr %140, align 4, !tbaa !47
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds double, ptr %136, i64 %142
  %144 = load double, ptr %143, align 8, !tbaa !9
  %145 = fneg double %130
  %146 = call double @llvm.fmuladd.f64(double %145, double %135, double %144)
  store double %146, ptr %143, align 8, !tbaa !9
  br label %147

147:                                              ; preds = %129
  %148 = load i32, ptr %24, align 4, !tbaa !47
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %24, align 4, !tbaa !47
  br label %124, !llvm.loop !49

150:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %156

151:                                              ; preds = %91
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = load i32, ptr %20, align 4, !tbaa !47
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds double, ptr %152, i64 %154
  store double 0.000000e+00, ptr %155, align 8, !tbaa !9
  br label %156

156:                                              ; preds = %151, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %157

157:                                              ; preds = %156
  %158 = load i32, ptr %18, align 4, !tbaa !47
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %18, align 4, !tbaa !47
  br label %85, !llvm.loop !51

160:                                              ; preds = %90
  %161 = load i32, ptr %17, align 4, !tbaa !47
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %class.HVectorBase, ptr %162, i32 0, i32 1
  store i32 %161, ptr %163, align 4, !tbaa !42
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 9, ptr noundef %164)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %187

165:                                              ; preds = %66
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 10, ptr noundef %166)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %167 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 64
  %168 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #6
  store ptr %168, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %169 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 65
  %170 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %169) #6
  store ptr %170, ptr %26, align 8, !tbaa !5
  %171 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 11
  %172 = load i32, ptr %171, align 8, !tbaa !48
  %173 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 61
  %174 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %173) #6
  %175 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 62
  %176 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %175) #6
  %177 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 63
  %178 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #6
  %179 = getelementptr inbounds %class.HFactor, ptr %27, i32 0, i32 63
  %180 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %179, i64 noundef 1) #6
  %181 = load ptr, ptr %25, align 8, !tbaa !5
  %182 = getelementptr inbounds i32, ptr %181, i64 0
  %183 = load ptr, ptr %26, align 8, !tbaa !5
  %184 = getelementptr inbounds double, ptr %183, i64 0
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef %172, ptr noundef %174, ptr noundef %176, ptr noundef null, ptr noundef %178, ptr noundef %180, ptr noundef %182, ptr noundef %184, ptr noundef %185)
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 10, ptr noundef %186)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %187

187:                                              ; preds = %165, %160
  %188 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %9, i32 noundef 6, ptr noundef %188)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #6
  ret void
}

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

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

declare void @_ZN11HVectorBaseIdE5tightEv(ptr noundef nonnull align 8 dereferenceable(176)) #5

declare void @_ZN11HVectorBaseIdE4packEv(ptr noundef nonnull align 8 dereferenceable(176)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7HFactor8ftranAPFER11HVectorBaseIdE(ptr noundef nonnull align 8 dereferenceable(1912), ptr noundef nonnull align 8 dereferenceable(176)) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 408}
!12 = !{!"_ZTS7HFactor", !10, i64 0, !10, i64 8, !13, i64 16, !14, i64 24, !14, i64 48, !14, i64 72, !18, i64 96, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !10, i64 216, !19, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !10, i64 264, !10, i64 272, !13, i64 280, !10, i64 288, !24, i64 296, !30, i64 304, !19, i64 400, !19, i64 401, !13, i64 404, !13, i64 408, !6, i64 416, !13, i64 424, !14, i64 432, !33, i64 456, !14, i64 480, !14, i64 504, !14, i64 528, !33, i64 552, !14, i64 576, !14, i64 600, !14, i64 624, !14, i64 648, !14, i64 672, !14, i64 696, !14, i64 720, !33, i64 744, !33, i64 768, !14, i64 792, !14, i64 816, !14, i64 840, !14, i64 864, !14, i64 888, !14, i64 912, !37, i64 936, !33, i64 960, !14, i64 984, !14, i64 1008, !14, i64 1032, !14, i64 1056, !14, i64 1080, !14, i64 1104, !14, i64 1128, !14, i64 1152, !14, i64 1176, !14, i64 1200, !33, i64 1224, !14, i64 1248, !14, i64 1272, !33, i64 1296, !14, i64 1320, !14, i64 1344, !33, i64 1368, !13, i64 1392, !13, i64 1396, !14, i64 1400, !14, i64 1424, !14, i64 1448, !33, i64 1472, !14, i64 1496, !14, i64 1520, !14, i64 1544, !14, i64 1568, !33, i64 1592, !33, i64 1616, !14, i64 1640, !14, i64 1664, !14, i64 1688, !33, i64 1712, !41, i64 1736}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTS12RefactorInfo", !19, i64 0, !14, i64 8, !14, i64 32, !20, i64 56, !10, i64 80}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSSt6vectorIaSaIaEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt10unique_ptrIN7HFactor7LogDataESt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIN7HFactor7LogDataESt14default_deleteIS1_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIN7HFactor7LogDataESt14default_deleteIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPN7HFactor7LogDataELb0EE", !6, i64 0}
!30 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !31, i64 48, !6, i64 80, !19, i64 88}
!31 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !32, i64 0, !6, i64 24}
!32 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIdSaIdEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIcSaIcEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTS11HVectorBaseIdE", !13, i64 0, !13, i64 4, !14, i64 8, !33, i64 32, !10, i64 56, !37, i64 64, !14, i64 88, !6, i64 112, !19, i64 120, !13, i64 124, !14, i64 128, !33, i64 152}
!42 = !{!41, !13, i64 4}
!43 = !{!12, !10, i64 216}
!44 = !{!19, !19, i64 0}
!45 = !{i8 0, i8 2}
!46 = !{}
!47 = !{!13, !13, i64 0}
!48 = !{!12, !13, i64 200}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = distinct !{!51, !50}


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

%class.FactorTimer = type { i8 }

@.str.52 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [37 x i8], align 1
@__PRETTY_FUNCTION__._ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock = external hidden unnamed_addr constant [71 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock(ptr noundef nonnull align 8 dereferenceable(1912) %0, ptr noundef nonnull align 8 dereferenceable(176) %1, double noundef %2, ptr noundef %3) local_unnamed_addr #3 align 2 {
  %5 = alloca %class.FactorTimer, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 6, ptr noundef %3)
  %6 = getelementptr inbounds i8, ptr %0, i64 408
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = icmp eq i32 %7, 4
  br i1 %8, label %9, label %10

9:                                                ; preds = %4
  call void @__assert_fail(ptr noundef nonnull @.str.77, ptr noundef nonnull @.str.52, i32 noundef 1534, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK7HFactor6ftranLER11HVectorBaseIdEdP15HighsTimerClock) #6
  unreachable

10:                                               ; preds = %4
  %11 = getelementptr inbounds i8, ptr %1, i64 4
  %12 = load i32, ptr %11, align 4, !tbaa !40
  %13 = sitofp i32 %12 to double
  %14 = getelementptr inbounds i8, ptr %0, i64 216
  %15 = load double, ptr %14, align 8, !tbaa !41
  %16 = fmul double %15, %13
  %17 = icmp slt i32 %12, 0
  %18 = fcmp ogt double %16, 5.000000e-02
  %or.cond = select i1 %17, i1 true, i1 %18
  %19 = fcmp ogt double %2, 1.500000e-01
  %spec.select = or i1 %19, %or.cond
  br i1 %spec.select, label %20, label %85

20:                                               ; preds = %10
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 9, ptr noundef %3)
  %21 = getelementptr inbounds i8, ptr %1, i64 8
  %22 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %23 = getelementptr inbounds i8, ptr %1, i64 32
  %24 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #5
  %25 = getelementptr inbounds i8, ptr %0, i64 1176
  %26 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %27 = getelementptr inbounds i8, ptr %0, i64 1200
  %28 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  %29 = getelementptr inbounds i8, ptr %0, i64 1224
  %30 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  %31 = getelementptr inbounds i8, ptr %0, i64 200
  %32 = load i32, ptr %31, align 8, !tbaa !42
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph55, label %._crit_edge

.lr.ph55:                                         ; preds = %20
  %34 = getelementptr inbounds i8, ptr %0, i64 1152
  br label %35

._crit_edge:                                      ; preds = %.loopexit, %20
  %.0.lcssa = phi i32 [ 0, %20 ], [ %.1, %.loopexit ]
  store i32 %.0.lcssa, ptr %11, align 4, !tbaa !40
  br label %99

35:                                               ; preds = %.lr.ph55, %.loopexit
  %indvars.iv57 = phi i64 [ 0, %.lr.ph55 ], [ %indvars.iv.next58, %.loopexit ]
  %.054 = phi i32 [ 0, %.lr.ph55 ], [ %.1, %.loopexit ]
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %indvars.iv57) #5
  %37 = load i32, ptr %36, align 4, !tbaa !43
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds double, ptr %24, i64 %38
  %40 = load double, ptr %39, align 8, !tbaa !44
  %41 = call double @llvm.fabs.f64(double %40)
  %42 = fcmp ogt double %41, 0x3D06849B86A12B9B
  br i1 %42, label %43, label %81

43:                                               ; preds = %35
  %44 = add nsw i32 %.054, 1
  %45 = sext i32 %.054 to i64
  %46 = getelementptr inbounds i32, ptr %22, i64 %45
  store i32 %37, ptr %46, align 4, !tbaa !43
  %47 = getelementptr inbounds i32, ptr %26, i64 %indvars.iv57
  %48 = load i32, ptr %47, align 4, !tbaa !43
  %49 = getelementptr inbounds i8, ptr %47, i64 4
  %50 = load i32, ptr %49, align 4, !tbaa !43
  %51 = icmp slt i32 %48, %50
  br i1 %51, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %43
  %52 = fneg double %40
  %53 = sext i32 %48 to i64
  %wide.trip.count = sext i32 %50 to i64
  %54 = sub nsw i64 %wide.trip.count, %53
  %xtraiter = and i64 %54, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph
  %55 = getelementptr inbounds double, ptr %30, i64 %53
  %56 = load double, ptr %55, align 8, !tbaa !44
  %57 = getelementptr inbounds i32, ptr %28, i64 %53
  %58 = load i32, ptr %57, align 4, !tbaa !43
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds double, ptr %24, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !44
  %62 = call double @llvm.fmuladd.f64(double %52, double %56, double %61)
  store double %62, ptr %60, align 8, !tbaa !44
  %indvars.iv.next.prol = add nsw i64 %53, 1
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph
  %indvars.iv.unr = phi i64 [ %53, %.lr.ph ], [ %indvars.iv.next.prol, %.prol.loopexit.unr-lcssa ]
  %63 = add nsw i64 %wide.trip.count, -1
  %64 = icmp eq i64 %63, %53
  br i1 %64, label %.loopexit, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.prol.loopexit, %.lr.ph.new
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph.new ], [ %indvars.iv.unr, %.prol.loopexit ]
  %65 = getelementptr inbounds double, ptr %30, i64 %indvars.iv
  %66 = load double, ptr %65, align 8, !tbaa !44
  %67 = getelementptr inbounds i32, ptr %28, i64 %indvars.iv
  %68 = load i32, ptr %67, align 4, !tbaa !43
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %24, i64 %69
  %71 = load double, ptr %70, align 8, !tbaa !44
  %72 = call double @llvm.fmuladd.f64(double %52, double %66, double %71)
  store double %72, ptr %70, align 8, !tbaa !44
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %73 = getelementptr inbounds double, ptr %30, i64 %indvars.iv.next
  %74 = load double, ptr %73, align 8, !tbaa !44
  %75 = getelementptr inbounds i32, ptr %28, i64 %indvars.iv.next
  %76 = load i32, ptr %75, align 4, !tbaa !43
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds double, ptr %24, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !44
  %80 = call double @llvm.fmuladd.f64(double %52, double %74, double %79)
  store double %80, ptr %78, align 8, !tbaa !44
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.loopexit, label %.lr.ph.new, !llvm.loop !45

81:                                               ; preds = %35
  store double 0.000000e+00, ptr %39, align 8, !tbaa !44
  br label %.loopexit

.loopexit:                                        ; preds = %.prol.loopexit, %.lr.ph.new, %43, %81
  %.1 = phi i32 [ %.054, %81 ], [ %44, %43 ], [ %44, %.lr.ph.new ], [ %44, %.prol.loopexit ]
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %82 = load i32, ptr %31, align 8, !tbaa !42
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next58, %83
  br i1 %84, label %35, label %._crit_edge, !llvm.loop !47

85:                                               ; preds = %10
  call void @_ZN11FactorTimer5startEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 10, ptr noundef %3)
  %86 = getelementptr inbounds i8, ptr %0, i64 1200
  %87 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #5
  %88 = getelementptr inbounds i8, ptr %0, i64 1224
  %89 = call noundef ptr @_ZNKSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #5
  %90 = getelementptr inbounds i8, ptr %0, i64 200
  %91 = load i32, ptr %90, align 8, !tbaa !42
  %92 = getelementptr inbounds i8, ptr %0, i64 1128
  %93 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #5
  %94 = getelementptr inbounds i8, ptr %0, i64 1152
  %95 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #5
  %96 = getelementptr inbounds i8, ptr %0, i64 1176
  %97 = call noundef ptr @_ZNKSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #5
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef 1) #5
  call void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef %91, ptr noundef %93, ptr noundef %95, ptr noundef null, ptr noundef %97, ptr noundef nonnull %98, ptr noundef %87, ptr noundef %89, ptr noundef nonnull %1)
  br label %99

99:                                               ; preds = %85, %._crit_edge
  %.sink = phi i32 [ 10, %85 ], [ 9, %._crit_edge ]
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %.sink, ptr noundef %3)
  call void @_ZN11FactorTimer4stopEiP15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef 6, ptr noundef %3)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  ret void
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL10solveHyperiPKiS0_PKdS0_S0_S0_S2_P11HVectorBaseIdE(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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, !10, i64 408}
!6 = !{!"_ZTS7HFactor", !7, i64 0, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 48, !11, i64 72, !16, i64 96, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !7, i64 216, !17, i64 224, !15, i64 232, !15, i64 240, !15, i64 248, !15, i64 256, !7, i64 264, !7, i64 272, !10, i64 280, !7, i64 288, !22, i64 296, !28, i64 304, !17, i64 400, !17, i64 401, !10, i64 404, !10, i64 408, !15, i64 416, !10, i64 424, !11, i64 432, !31, i64 456, !11, i64 480, !11, i64 504, !11, i64 528, !31, i64 552, !11, i64 576, !11, i64 600, !11, i64 624, !11, i64 648, !11, i64 672, !11, i64 696, !11, i64 720, !31, i64 744, !31, i64 768, !11, i64 792, !11, i64 816, !11, i64 840, !11, i64 864, !11, i64 888, !11, i64 912, !35, i64 936, !31, i64 960, !11, i64 984, !11, i64 1008, !11, i64 1032, !11, i64 1056, !11, i64 1080, !11, i64 1104, !11, i64 1128, !11, i64 1152, !11, i64 1176, !11, i64 1200, !31, i64 1224, !11, i64 1248, !11, i64 1272, !31, i64 1296, !11, i64 1320, !11, i64 1344, !31, i64 1368, !10, i64 1392, !10, i64 1396, !11, i64 1400, !11, i64 1424, !11, i64 1448, !31, i64 1472, !11, i64 1496, !11, i64 1520, !11, i64 1544, !11, i64 1568, !31, i64 1592, !31, i64 1616, !11, i64 1640, !11, i64 1664, !11, i64 1688, !31, i64 1712, !39, i64 1736}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTS12RefactorInfo", !17, i64 0, !11, i64 8, !11, i64 32, !18, i64 56, !7, i64 80}
!17 = !{!"bool", !8, i64 0}
!18 = !{!"_ZTSSt6vectorIaSaIaEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIaSaIaEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIaSaIaEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!22 = !{!"_ZTSSt10unique_ptrIN7HFactor7LogDataESt14default_deleteIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt15__uniq_ptr_dataIN7HFactor7LogDataESt14default_deleteIS1_ELb1ELb1EE", !24, i64 0}
!24 = !{!"_ZTSSt15__uniq_ptr_implIN7HFactor7LogDataESt14default_deleteIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt5tupleIJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !26, i64 0}
!26 = !{!"_ZTSSt11_Tuple_implILm0EJPN7HFactor7LogDataESt14default_deleteIS1_EEE", !27, i64 0}
!27 = !{!"_ZTSSt10_Head_baseILm0EPN7HFactor7LogDataELb0EE", !15, i64 0}
!28 = !{!"_ZTS15HighsLogOptions", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !29, i64 48, !15, i64 80, !17, i64 88}
!29 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !30, i64 0, !15, i64 24}
!30 = !{!"_ZTSSt14_Function_base", !8, i64 0, !15, i64 16}
!31 = !{!"_ZTSSt6vectorIdSaIdEE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!35 = !{!"_ZTSSt6vectorIcSaIcEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!39 = !{!"_ZTS11HVectorBaseIdE", !10, i64 0, !10, i64 4, !11, i64 8, !31, i64 32, !7, i64 56, !35, i64 64, !11, i64 88, !15, i64 112, !17, i64 120, !10, i64 124, !11, i64 128, !31, i64 152}
!40 = !{!39, !10, i64 4}
!41 = !{!6, !7, i64 216}
!42 = !{!6, !10, i64 200}
!43 = !{!10, !10, i64 0}
!44 = !{!7, !7, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = distinct !{!47, !46}


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