; LLVM IR from ERGO-Code/HiGHS :: src/simplex (HighsSimplexAnalysis)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%class.HighsSimplexAnalysis = type { ptr, %"class.std::vector.23", %"class.std::vector.23", 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", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.28", %"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.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = 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.34" }
%"struct.std::_Head_base.34" = 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", %"class.std::vector.3", i32, [4 x i8] }>
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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 }

@.str.85 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [5 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: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis27dualSteepestEdgeWeightErrorEdd(ptr noundef nonnull align 8 dereferenceable(8576) %0, double noundef %1, double noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store double %2, ptr %6, align 8, !tbaa !9
  %19 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store double 4.000000e+00, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  %20 = load double, ptr %6, align 8, !tbaa !9
  %21 = load double, ptr %5, align 8, !tbaa !9
  %22 = fmul double 2.500000e-01, %21
  %23 = fcmp oge double %20, %22
  %24 = zext i1 %23 to i8
  store i8 %24, ptr %8, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.85, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %25 unwind label %35

25:                                               ; preds = %3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  %26 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 105
  %27 = load i32, ptr %26, align 8, !tbaa !15
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 8, !tbaa !15
  %29 = load i8, ptr %8, align 1, !tbaa !11, !range !47, !noundef !48
  %30 = trunc i8 %29 to i1
  br i1 %30, label %39, label %31

31:                                               ; preds = %25
  %32 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 106
  %33 = load i32, ptr %32, align 4, !tbaa !49
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %32, align 4, !tbaa !49
  br label %39

35:                                               ; preds = %3
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %14, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %154

39:                                               ; preds = %31, %25
  %40 = load double, ptr %6, align 8, !tbaa !9
  %41 = load double, ptr %5, align 8, !tbaa !9
  %42 = fcmp olt double %40, %41
  br i1 %42, label %43, label %64

43:                                               ; preds = %39
  %44 = load double, ptr %5, align 8, !tbaa !9
  %45 = load double, ptr %6, align 8, !tbaa !9
  %46 = fdiv double %44, %45
  store double %46, ptr %11, align 8, !tbaa !9
  %47 = load double, ptr %11, align 8, !tbaa !9
  %48 = fcmp ogt double %47, 4.000000e+00
  br i1 %48, label %49, label %56

49:                                               ; preds = %43
  store i32 1, ptr %9, align 4, !tbaa !13
  %50 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.86)
          to label %51 unwind label %52

51:                                               ; preds = %49
  br label %56

52:                                               ; preds = %121, %115, %99, %81, %70, %49
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %14, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %15, align 4
  br label %153

56:                                               ; preds = %51, %43
  %57 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 111
  %58 = load double, ptr %57, align 8, !tbaa !50
  %59 = load double, ptr %11, align 8, !tbaa !9
  %60 = call double @log(double noundef %59) #6
  %61 = fmul double 1.000000e-02, %60
  %62 = call double @llvm.fmuladd.f64(double 0x3FEFAE147AE147AE, double %58, double %61)
  %63 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 111
  store double %62, ptr %63, align 8, !tbaa !50
  br label %81

64:                                               ; preds = %39
  %65 = load double, ptr %6, align 8, !tbaa !9
  %66 = load double, ptr %5, align 8, !tbaa !9
  %67 = fdiv double %65, %66
  store double %67, ptr %11, align 8, !tbaa !9
  %68 = load double, ptr %11, align 8, !tbaa !9
  %69 = fcmp ogt double %68, 4.000000e+00
  br i1 %69, label %70, label %73

70:                                               ; preds = %64
  store i32 1, ptr %10, align 4, !tbaa !13
  %71 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.87)
          to label %72 unwind label %52

72:                                               ; preds = %70
  br label %73

73:                                               ; preds = %72, %64
  %74 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 112
  %75 = load double, ptr %74, align 8, !tbaa !51
  %76 = load double, ptr %11, align 8, !tbaa !9
  %77 = call double @log(double noundef %76) #6
  %78 = fmul double 1.000000e-02, %77
  %79 = call double @llvm.fmuladd.f64(double 0x3FEFAE147AE147AE, double %75, double %78)
  %80 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 112
  store double %79, ptr %80, align 8, !tbaa !51
  br label %81

81:                                               ; preds = %73, %56
  %82 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 109
  %83 = load double, ptr %82, align 8, !tbaa !52
  %84 = load i32, ptr %9, align 4, !tbaa !13
  %85 = sitofp i32 %84 to double
  %86 = fmul double 1.000000e-02, %85
  %87 = call double @llvm.fmuladd.f64(double 0x3FEFAE147AE147AE, double %83, double %86)
  %88 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 109
  store double %87, ptr %88, align 8, !tbaa !52
  %89 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 110
  %90 = load double, ptr %89, align 8, !tbaa !53
  %91 = load i32, ptr %10, align 4, !tbaa !13
  %92 = sitofp i32 %91 to double
  %93 = fmul double 1.000000e-02, %92
  %94 = call double @llvm.fmuladd.f64(double 0x3FEFAE147AE147AE, double %90, double %93)
  %95 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 110
  store double %94, ptr %95, align 8, !tbaa !53
  %96 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 113
  %97 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 109
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %99 unwind label %52

99:                                               ; preds = %81
  %100 = load double, ptr %98, align 8, !tbaa !9
  %101 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 113
  store double %100, ptr %101, align 8, !tbaa !54
  %102 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 114
  %103 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 110
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull align 8 dereferenceable(8) %103)
          to label %105 unwind label %52

105:                                              ; preds = %99
  %106 = load double, ptr %104, align 8, !tbaa !9
  %107 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 114
  store double %106, ptr %107, align 8, !tbaa !55
  %108 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 115
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %109 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 109
  %110 = load double, ptr %109, align 8, !tbaa !52
  %111 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 110
  %112 = load double, ptr %111, align 8, !tbaa !53
  %113 = fadd double %110, %112
  store double %113, ptr %16, align 8, !tbaa !9
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %115 unwind label %144

115:                                              ; preds = %105
  %116 = load double, ptr %114, align 8, !tbaa !9
  %117 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 115
  store double %116, ptr %117, align 8, !tbaa !56
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %118 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 116
  %119 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 111
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull align 8 dereferenceable(8) %119)
          to label %121 unwind label %52

121:                                              ; preds = %115
  %122 = load double, ptr %120, align 8, !tbaa !9
  %123 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 116
  store double %122, ptr %123, align 8, !tbaa !57
  %124 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 117
  %125 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 112
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 8 dereferenceable(8) %125)
          to label %127 unwind label %52

127:                                              ; preds = %121
  %128 = load double, ptr %126, align 8, !tbaa !9
  %129 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 117
  store double %128, ptr %129, align 8, !tbaa !58
  %130 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 118
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %131 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 111
  %132 = load double, ptr %131, align 8, !tbaa !50
  %133 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 112
  %134 = load double, ptr %133, align 8, !tbaa !51
  %135 = fadd double %132, %134
  store double %135, ptr %17, align 8, !tbaa !9
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %137 unwind label %148

137:                                              ; preds = %127
  %138 = load double, ptr %136, align 8, !tbaa !9
  %139 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 118
  store double %138, ptr %139, align 8, !tbaa !59
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %140 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %19, i32 0, i32 12
  %141 = load i8, ptr %140, align 2, !tbaa !60, !range !47, !noundef !48
  %142 = trunc i8 %141 to i1
  br i1 %142, label %143, label %152

143:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  store i8 0, ptr %18, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %152

144:                                              ; preds = %105
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %14, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %153

148:                                              ; preds = %127
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %14, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %153

152:                                              ; preds = %143, %137
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret void

153:                                              ; preds = %148, %144, %52
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %154

154:                                              ; preds = %153, %35
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %155

155:                                              ; preds = %154
  %156 = load ptr, ptr %14, align 8
  %157 = load i32, ptr %15, align 4
  %158 = insertvalue { ptr, i32 } poison, ptr %156, 0
  %159 = insertvalue { ptr, i32 } %158, i32 %157, 1
  resume { ptr, i32 } %159
}

; Function Attrs: nounwind
declare double @log(double noundef) #3

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

; 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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !14, i64 2376}
!16 = !{!"_ZTS20HighsSimplexAnalysis", !6, i64 0, !17, i64 8, !17, i64 32, !6, i64 56, !14, i64 64, !14, i64 68, !14, i64 72, !21, i64 80, !21, i64 112, !24, i64 144, !12, i64 240, !12, i64 241, !12, i64 242, !12, i64 243, !12, i64 244, !12, i64 245, !12, i64 246, !14, i64 248, !27, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !14, i64 268, !14, i64 272, !14, i64 276, !14, i64 280, !21, i64 288, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !14, i64 416, !14, i64 420, !10, i64 424, !10, i64 432, !14, i64 440, !10, i64 448, !10, i64 456, !14, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !10, i64 536, !10, i64 544, !14, i64 552, !10, i64 560, !14, i64 568, !14, i64 572, !14, i64 576, !14, i64 580, !14, i64 584, !14, i64 588, !14, i64 592, !14, i64 596, !14, i64 600, !28, i64 608, !28, i64 760, !28, i64 912, !28, i64 1064, !28, i64 1216, !28, i64 1368, !28, i64 1520, !28, i64 1672, !28, i64 1824, !28, i64 1976, !14, i64 2128, !14, i64 2132, !14, i64 2136, !14, i64 2140, !10, i64 2144, !10, i64 2152, !14, i64 2160, !14, i64 2164, !14, i64 2168, !14, i64 2172, !14, i64 2176, !10, i64 2184, !10, i64 2192, !14, i64 2200, !10, i64 2208, !10, i64 2216, !14, i64 2224, !14, i64 2228, !10, i64 2232, !10, i64 2240, !29, i64 2248, !29, i64 2272, !29, i64 2296, !29, i64 2320, !37, i64 2344, !41, i64 2368, !14, i64 2376, !14, i64 2380, !14, i64 2384, !14, i64 2388, !10, i64 2392, !10, i64 2400, !10, i64 2408, !10, i64 2416, !10, i64 2424, !10, i64 2432, !10, i64 2440, !10, i64 2448, !10, i64 2456, !10, i64 2464, !14, i64 2472, !14, i64 2476, !10, i64 2480, !10, i64 2488, !10, i64 2496, !12, i64 2504, !10, i64 2512, !10, i64 2520, !14, i64 2528, !14, i64 2532, !14, i64 2536, !14, i64 2540, !14, i64 2544, !10, i64 2552, !10, i64 2560, !10, i64 2568, !10, i64 2576, !10, i64 2584, !10, i64 2592, !10, i64 2600, !10, i64 2608, !10, i64 2616, !14, i64 2624, !14, i64 2628, !7, i64 2632, !14, i64 4952, !14, i64 4956, !7, i64 4960, !7, i64 7600, !7, i64 7648, !28, i64 7664, !28, i64 7816, !28, i64 7968, !28, i64 8120, !28, i64 8272, !28, i64 8424}
!17 = !{!"_ZTSSt6vectorI15HighsTimerClockSaIS0_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseI15HighsTimerClockSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseI15HighsTimerClockSaIS0_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI15HighsTimerClockSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !25, i64 48, !6, i64 80, !12, i64 88}
!25 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !26, i64 0, !6, i64 24}
!26 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!27 = !{!"_ZTS14EdgeWeightMode", !7, i64 0}
!28 = !{!"_ZTS22HighsValueDistribution", !21, i64 0, !21, i64 32, !14, i64 64, !14, i64 68, !14, i64 72, !10, i64 80, !10, i64 88, !29, i64 96, !33, i64 120, !14, i64 144}
!29 = !{!"_ZTSSt6vectorIdSaIdEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorI17TranStageAnalysisSaIS0_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseI17TranStageAnalysisSaIS0_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseI17TranStageAnalysisSaIS0_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseI17TranStageAnalysisSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt10unique_ptrINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EE", !42, i64 0}
!42 = !{!"_ZTSSt15__uniq_ptr_dataINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_ELb1ELb1EE", !43, i64 0}
!43 = !{!"_ZTSSt15__uniq_ptr_implINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EE", !44, i64 0}
!44 = !{!"_ZTSSt5tupleIJPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEE", !45, i64 0}
!45 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEE", !46, i64 0}
!46 = !{!"_ZTSSt10_Head_baseILm0EPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEELb0EE", !6, i64 0}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = !{!16, !14, i64 2380}
!50 = !{!16, !10, i64 2408}
!51 = !{!16, !10, i64 2416}
!52 = !{!16, !10, i64 2392}
!53 = !{!16, !10, i64 2400}
!54 = !{!16, !10, i64 2424}
!55 = !{!16, !10, i64 2432}
!56 = !{!16, !10, i64 2440}
!57 = !{!16, !10, i64 2448}
!58 = !{!16, !10, i64 2456}
!59 = !{!16, !10, i64 2464}
!60 = !{!16, !12, i64 242}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.85 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [5 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis27dualSteepestEdgeWeightErrorEdd(ptr noundef nonnull align 8 dereferenceable(8576) %0, double noundef %1, double noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.85, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %8 unwind label %18

8:                                                ; preds = %3
  %9 = fmul double %1, 2.500000e-01
  %10 = fcmp ugt double %9, %2
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  %11 = getelementptr inbounds i8, ptr %0, i64 2376
  %12 = load i32, ptr %11, align 8, !tbaa !5
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr %11, align 8, !tbaa !5
  br i1 %10, label %14, label %20

14:                                               ; preds = %8
  %15 = getelementptr inbounds i8, ptr %0, i64 2380
  %16 = load i32, ptr %15, align 4, !tbaa !43
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %15, align 4, !tbaa !43
  br label %20

18:                                               ; preds = %3
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %71

20:                                               ; preds = %14, %8
  %21 = fcmp olt double %2, %1
  br i1 %21, label %22, label %29

22:                                               ; preds = %20
  %23 = fdiv double %1, %2
  %24 = fcmp ogt double %23, 4.000000e+00
  br i1 %24, label %25, label %34

25:                                               ; preds = %22
  %26 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.86)
          to label %34 unwind label %27

27:                                               ; preds = %32, %25
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  br label %71

29:                                               ; preds = %20
  %30 = fdiv double %2, %1
  %31 = fcmp ogt double %30, 4.000000e+00
  br i1 %31, label %32, label %34

32:                                               ; preds = %29
  %33 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.87)
          to label %34 unwind label %27

34:                                               ; preds = %29, %32, %22, %25
  %.sink30 = phi i64 [ 2408, %25 ], [ 2408, %22 ], [ 2416, %32 ], [ 2416, %29 ]
  %.sink29 = phi double [ %23, %25 ], [ %23, %22 ], [ %30, %32 ], [ %30, %29 ]
  %35 = phi <2 x double> [ <double 1.000000e-02, double 0.000000e+00>, %25 ], [ zeroinitializer, %22 ], [ <double 0.000000e+00, double 1.000000e-02>, %32 ], [ zeroinitializer, %29 ]
  %36 = getelementptr inbounds i8, ptr %0, i64 %.sink30
  %37 = load double, ptr %36, align 8, !tbaa !44
  %38 = call double @log(double noundef %.sink29) #7
  %39 = fmul double %38, 1.000000e-02
  %40 = call double @llvm.fmuladd.f64(double %37, double 0x3FEFAE147AE147AE, double %39)
  store double %40, ptr %36, align 8, !tbaa !44
  %41 = getelementptr inbounds i8, ptr %0, i64 2392
  %42 = getelementptr inbounds i8, ptr %0, i64 2400
  %43 = load <2 x double>, ptr %41, align 8, !tbaa !44
  %44 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %43, <2 x double> <double 0x3FEFAE147AE147AE, double 0x3FEFAE147AE147AE>, <2 x double> %35)
  store <2 x double> %44, ptr %41, align 8, !tbaa !44
  %45 = getelementptr inbounds i8, ptr %0, i64 2424
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %41)
  %47 = load double, ptr %46, align 8, !tbaa !44
  store double %47, ptr %45, align 8, !tbaa !45
  %48 = getelementptr inbounds i8, ptr %0, i64 2432
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %42)
  %50 = load double, ptr %49, align 8, !tbaa !44
  store double %50, ptr %48, align 8, !tbaa !46
  %51 = getelementptr inbounds i8, ptr %0, i64 2440
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %52 = load double, ptr %41, align 8, !tbaa !47
  %53 = load double, ptr %42, align 8, !tbaa !48
  %54 = fadd double %52, %53
  store double %54, ptr %6, align 8, !tbaa !44
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %56 = load double, ptr %55, align 8, !tbaa !44
  store double %56, ptr %51, align 8, !tbaa !49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %57 = getelementptr inbounds i8, ptr %0, i64 2448
  %58 = getelementptr inbounds i8, ptr %0, i64 2408
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(8) %58)
  %60 = load double, ptr %59, align 8, !tbaa !44
  store double %60, ptr %57, align 8, !tbaa !50
  %61 = getelementptr inbounds i8, ptr %0, i64 2456
  %62 = getelementptr inbounds i8, ptr %0, i64 2416
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull align 8 dereferenceable(8) %62)
  %64 = load double, ptr %63, align 8, !tbaa !44
  store double %64, ptr %61, align 8, !tbaa !51
  %65 = getelementptr inbounds i8, ptr %0, i64 2464
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %66 = load double, ptr %58, align 8, !tbaa !52
  %67 = load double, ptr %62, align 8, !tbaa !53
  %68 = fadd double %66, %67
  store double %68, ptr %7, align 8, !tbaa !44
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %70 = load double, ptr %69, align 8, !tbaa !44
  store double %70, ptr %65, align 8, !tbaa !54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  ret void

71:                                               ; preds = %27, %18
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %19, %18 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #6

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

!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, !14, i64 2376}
!6 = !{!"_ZTS20HighsSimplexAnalysis", !7, i64 0, !10, i64 8, !10, i64 32, !7, i64 56, !14, i64 64, !14, i64 68, !14, i64 72, !15, i64 80, !15, i64 112, !18, i64 144, !21, i64 240, !21, i64 241, !21, i64 242, !21, i64 243, !21, i64 244, !21, i64 245, !21, i64 246, !14, i64 248, !22, i64 252, !14, i64 256, !14, i64 260, !14, i64 264, !14, i64 268, !14, i64 272, !14, i64 276, !14, i64 280, !15, i64 288, !23, i64 320, !23, i64 328, !23, i64 336, !23, i64 344, !23, i64 352, !23, i64 360, !23, i64 368, !23, i64 376, !23, i64 384, !23, i64 392, !23, i64 400, !23, i64 408, !14, i64 416, !14, i64 420, !23, i64 424, !23, i64 432, !14, i64 440, !23, i64 448, !23, i64 456, !14, i64 464, !23, i64 472, !23, i64 480, !23, i64 488, !23, i64 496, !23, i64 504, !23, i64 512, !23, i64 520, !23, i64 528, !23, i64 536, !23, i64 544, !14, i64 552, !23, i64 560, !14, i64 568, !14, i64 572, !14, i64 576, !14, i64 580, !14, i64 584, !14, i64 588, !14, i64 592, !14, i64 596, !14, i64 600, !24, i64 608, !24, i64 760, !24, i64 912, !24, i64 1064, !24, i64 1216, !24, i64 1368, !24, i64 1520, !24, i64 1672, !24, i64 1824, !24, i64 1976, !14, i64 2128, !14, i64 2132, !14, i64 2136, !14, i64 2140, !23, i64 2144, !23, i64 2152, !14, i64 2160, !14, i64 2164, !14, i64 2168, !14, i64 2172, !14, i64 2176, !23, i64 2184, !23, i64 2192, !14, i64 2200, !23, i64 2208, !23, i64 2216, !14, i64 2224, !14, i64 2228, !23, i64 2232, !23, i64 2240, !25, i64 2248, !25, i64 2272, !25, i64 2296, !25, i64 2320, !33, i64 2344, !37, i64 2368, !14, i64 2376, !14, i64 2380, !14, i64 2384, !14, i64 2388, !23, i64 2392, !23, i64 2400, !23, i64 2408, !23, i64 2416, !23, i64 2424, !23, i64 2432, !23, i64 2440, !23, i64 2448, !23, i64 2456, !23, i64 2464, !14, i64 2472, !14, i64 2476, !23, i64 2480, !23, i64 2488, !23, i64 2496, !21, i64 2504, !23, i64 2512, !23, i64 2520, !14, i64 2528, !14, i64 2532, !14, i64 2536, !14, i64 2540, !14, i64 2544, !23, i64 2552, !23, i64 2560, !23, i64 2568, !23, i64 2576, !23, i64 2584, !23, i64 2592, !23, i64 2600, !23, i64 2608, !23, i64 2616, !14, i64 2624, !14, i64 2628, !8, i64 2632, !14, i64 4952, !14, i64 4956, !8, i64 4960, !8, i64 7600, !8, i64 7648, !24, i64 7664, !24, i64 7816, !24, i64 7968, !24, i64 8120, !24, i64 8272, !24, i64 8424}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorI15HighsTimerClockSaIS0_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseI15HighsTimerClockSaIS0_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseI15HighsTimerClockSaIS0_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseI15HighsTimerClockSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !8, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!"_ZTS15HighsLogOptions", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !19, i64 48, !7, i64 80, !21, i64 88}
!19 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !20, i64 0, !7, i64 24}
!20 = !{!"_ZTSSt14_Function_base", !8, i64 0, !7, i64 16}
!21 = !{!"bool", !8, i64 0}
!22 = !{!"_ZTS14EdgeWeightMode", !8, i64 0}
!23 = !{!"double", !8, i64 0}
!24 = !{!"_ZTS22HighsValueDistribution", !15, i64 0, !15, i64 32, !14, i64 64, !14, i64 68, !14, i64 72, !23, i64 80, !23, i64 88, !25, i64 96, !29, i64 120, !14, i64 144}
!25 = !{!"_ZTSSt6vectorIdSaIdEE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!33 = !{!"_ZTSSt6vectorI17TranStageAnalysisSaIS0_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseI17TranStageAnalysisSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseI17TranStageAnalysisSaIS0_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI17TranStageAnalysisSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!37 = !{!"_ZTSSt10unique_ptrINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EE", !38, i64 0}
!38 = !{!"_ZTSSt15__uniq_ptr_dataINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_ELb1ELb1EE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_implINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EE", !40, i64 0}
!40 = !{!"_ZTSSt5tupleIJPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEE", !41, i64 0}
!41 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEE", !42, i64 0}
!42 = !{!"_ZTSSt10_Head_baseILm0EPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEELb0EE", !7, i64 0}
!43 = !{!6, !14, i64 2380}
!44 = !{!23, !23, i64 0}
!45 = !{!6, !23, i64 2424}
!46 = !{!6, !23, i64 2432}
!47 = !{!6, !23, i64 2392}
!48 = !{!6, !23, i64 2400}
!49 = !{!6, !23, i64 2440}
!50 = !{!6, !23, i64 2448}
!51 = !{!6, !23, i64 2456}
!52 = !{!6, !23, i64 2408}
!53 = !{!6, !23, i64 2416}
!54 = !{!6, !23, i64 2464}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass