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

; 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.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::__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::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.88 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis15iterationRecordEv = external hidden unnamed_addr constant [45 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 uwtable
declare dso_local noundef double @_ZNK10HighsTimer11getWallTimeEv(ptr noundef nonnull align 8 dereferenceable(132)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis15iterationRecordEv(ptr noundef nonnull align 8 dereferenceable(8576) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 11
  %9 = load i8, ptr %8, align 1, !tbaa !9, !range !44, !noundef !45
  %10 = trunc i8 %9 to i1
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  br label %14

12:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.88, ptr noundef @.str.89, i32 noundef 644, ptr noundef @__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis15iterationRecordEv) #5
  unreachable

13:                                               ; No predecessors!
  br label %14

14:                                               ; preds = %13, %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %15 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 20
  %16 = load i32, ptr %15, align 4, !tbaa !46
  store i32 %16, ptr %3, align 4, !tbaa !47
  %17 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 25
  %18 = load i32, ptr %17, align 8, !tbaa !48
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %20, label %28

20:                                               ; preds = %14
  %21 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 147
  %22 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 25
  %23 = load i32, ptr %22, align 8, !tbaa !48
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [12 x i32], ptr %21, i64 0, i64 %24
  %26 = load i32, ptr %25, align 4, !tbaa !47
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %25, align 4, !tbaa !47
  br label %28

28:                                               ; preds = %20, %14
  %29 = load i32, ptr %3, align 4, !tbaa !47
  %30 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 142
  %31 = load i32, ptr %30, align 4, !tbaa !49
  %32 = icmp sgt i32 %29, %31
  br i1 %32, label %33, label %45

33:                                               ; preds = %28
  %34 = load i32, ptr %3, align 4, !tbaa !47
  %35 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 142
  %36 = load i32, ptr %35, align 4, !tbaa !49
  %37 = sub nsw i32 %34, %36
  %38 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 148
  %39 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 18
  %40 = load i32, ptr %39, align 4, !tbaa !50
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [3 x i32], ptr %38, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !47
  %44 = add nsw i32 %43, %37
  store i32 %44, ptr %42, align 4, !tbaa !47
  br label %45

45:                                               ; preds = %33, %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %46 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 146
  %47 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 144
  %48 = load i32, ptr %47, align 8, !tbaa !51
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], ptr %46, i64 0, i64 %49
  store ptr %50, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 20
  %52 = load i32, ptr %51, align 4, !tbaa !46
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %53, i32 0, i32 4
  %55 = load i32, ptr %54, align 8, !tbaa !52
  %56 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 145
  %57 = load i32, ptr %56, align 4, !tbaa !54
  %58 = add nsw i32 %55, %57
  %59 = icmp eq i32 %52, %58
  br i1 %59, label %60, label %175

60:                                               ; preds = %45
  %61 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 144
  %62 = load i32, ptr %61, align 8, !tbaa !51
  %63 = icmp eq i32 %62, 20
  br i1 %63, label %64, label %91

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 1, ptr %5, align 4, !tbaa !47
  br label %65

65:                                               ; preds = %79, %64
  %66 = load i32, ptr %5, align 4, !tbaa !47
  %67 = icmp sle i32 %66, 10
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %82

69:                                               ; preds = %65
  %70 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 146
  %71 = load i32, ptr %5, align 4, !tbaa !47
  %72 = mul nsw i32 2, %71
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], ptr %70, i64 0, i64 %73
  %75 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 146
  %76 = load i32, ptr %5, align 4, !tbaa !47
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], ptr %75, i64 0, i64 %77
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %78, ptr align 8 %74, i64 120, i1 false), !tbaa.struct !55
  br label %79

79:                                               ; preds = %69
  %80 = load i32, ptr %5, align 4, !tbaa !47
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %5, align 4, !tbaa !47
  br label %65, !llvm.loop !58

82:                                               ; preds = %68
  %83 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 144
  %84 = load i32, ptr %83, align 8, !tbaa !51
  %85 = sdiv i32 %84, 2
  %86 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 144
  store i32 %85, ptr %86, align 8, !tbaa !51
  %87 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 145
  %88 = load i32, ptr %87, align 4, !tbaa !54
  %89 = mul nsw i32 %88, 2
  %90 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 145
  store i32 %89, ptr %90, align 4, !tbaa !54
  br label %174

91:                                               ; preds = %60
  %92 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 144
  %93 = load i32, ptr %92, align 8, !tbaa !51
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %92, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %95 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 146
  %96 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 144
  %97 = load i32, ptr %96, align 8, !tbaa !51
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], ptr %95, i64 0, i64 %98
  store ptr %99, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 20
  %101 = load i32, ptr %100, align 4, !tbaa !46
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %102, i32 0, i32 4
  store i32 %101, ptr %103, align 8, !tbaa !52
  %104 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !60
  %106 = call noundef double @_ZNK10HighsTimer11getWallTimeEv(ptr noundef nonnull align 8 dereferenceable(132) %105)
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %107, i32 0, i32 0
  store double %106, ptr %108, align 8, !tbaa !61
  %109 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 126
  %110 = load double, ptr %109, align 8, !tbaa !62
  %111 = fcmp ogt double %110, 0.000000e+00
  br i1 %111, label %112, label %117

112:                                              ; preds = %91
  %113 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 126
  %114 = load double, ptr %113, align 8, !tbaa !62
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %115, i32 0, i32 1
  store double %114, ptr %116, align 8, !tbaa !63
  br label %120

117:                                              ; preds = %91
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %118, i32 0, i32 1
  store double 0.000000e+00, ptr %119, align 8, !tbaa !63
  br label %120

120:                                              ; preds = %117, %112
  %121 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 47
  %122 = load double, ptr %121, align 8, !tbaa !64
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %123, i32 0, i32 2
  %125 = getelementptr inbounds [10 x double], ptr %124, i64 0, i64 6
  store double %122, ptr %125, align 8, !tbaa !56
  %126 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 48
  %127 = load double, ptr %126, align 8, !tbaa !65
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %128, i32 0, i32 2
  %130 = getelementptr inbounds [10 x double], ptr %129, i64 0, i64 4
  store double %127, ptr %130, align 8, !tbaa !56
  %131 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 49
  %132 = load double, ptr %131, align 8, !tbaa !66
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %133, i32 0, i32 2
  %135 = getelementptr inbounds [10 x double], ptr %134, i64 0, i64 5
  store double %132, ptr %135, align 8, !tbaa !56
  %136 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 47
  %137 = load double, ptr %136, align 8, !tbaa !64
  %138 = load ptr, ptr %6, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %138, i32 0, i32 2
  %140 = getelementptr inbounds [10 x double], ptr %139, i64 0, i64 7
  store double %137, ptr %140, align 8, !tbaa !56
  %141 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 18
  %142 = load i32, ptr %141, align 4, !tbaa !50
  %143 = icmp eq i32 %142, 2
  br i1 %143, label %144, label %159

144:                                              ; preds = %120
  %145 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 50
  %146 = load double, ptr %145, align 8, !tbaa !67
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %147, i32 0, i32 2
  %149 = getelementptr inbounds [10 x double], ptr %148, i64 0, i64 8
  store double %146, ptr %149, align 8, !tbaa !56
  %150 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 51
  %151 = load double, ptr %150, align 8, !tbaa !68
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %152, i32 0, i32 2
  %154 = getelementptr inbounds [10 x double], ptr %153, i64 0, i64 9
  store double %151, ptr %154, align 8, !tbaa !56
  %155 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 58
  %156 = load double, ptr %155, align 8, !tbaa !69
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %157, i32 0, i32 3
  store double %156, ptr %158, align 8, !tbaa !70
  br label %165

159:                                              ; preds = %120
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %160, i32 0, i32 2
  %162 = getelementptr inbounds [10 x double], ptr %161, i64 0, i64 8
  store double 0.000000e+00, ptr %162, align 8, !tbaa !56
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %163, i32 0, i32 3
  store double 0.000000e+00, ptr %164, align 8, !tbaa !70
  br label %165

165:                                              ; preds = %159, %144
  %166 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 17
  %167 = load i32, ptr %166, align 8, !tbaa !71
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %168, i32 0, i32 5
  store i32 %167, ptr %169, align 4, !tbaa !72
  %170 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 18
  %171 = load i32, ptr %170, align 4, !tbaa !50
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.HighsSimplexAnalysis::AnIterTraceRec", ptr %172, i32 0, i32 6
  store i32 %171, ptr %173, align 8, !tbaa !73
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %174

174:                                              ; preds = %165, %82
  br label %175

175:                                              ; preds = %174, %45
  %176 = load i32, ptr %3, align 4, !tbaa !47
  %177 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 142
  store i32 %176, ptr %177, align 4, !tbaa !49
  %178 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 32
  %179 = load double, ptr %178, align 8, !tbaa !74
  %180 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 76
  %181 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %179, ptr noundef nonnull align 8 dereferenceable(148) %180)
  %182 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 33
  %183 = load double, ptr %182, align 8, !tbaa !75
  %184 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 77
  %185 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %183, ptr noundef nonnull align 8 dereferenceable(148) %184)
  %186 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 32
  %187 = load double, ptr %186, align 8, !tbaa !74
  %188 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 150
  %189 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %187, ptr noundef nonnull align 8 dereferenceable(148) %188)
  %190 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 33
  %191 = load double, ptr %190, align 8, !tbaa !75
  %192 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 151
  %193 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %191, ptr noundef nonnull align 8 dereferenceable(148) %192)
  %194 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 34
  %195 = load double, ptr %194, align 8, !tbaa !76
  %196 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 152
  %197 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %195, ptr noundef nonnull align 8 dereferenceable(148) %196)
  %198 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 36
  %199 = load double, ptr %198, align 8, !tbaa !77
  %200 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 154
  %201 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %199, ptr noundef nonnull align 8 dereferenceable(148) %200)
  %202 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 37
  %203 = load double, ptr %202, align 8, !tbaa !78
  %204 = fcmp oge double %203, 0.000000e+00
  br i1 %204, label %205, label %210

205:                                              ; preds = %175
  %206 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 37
  %207 = load double, ptr %206, align 8, !tbaa !78
  %208 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 153
  %209 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %207, ptr noundef nonnull align 8 dereferenceable(148) %208)
  br label %210

210:                                              ; preds = %205, %175
  %211 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 30
  %212 = load double, ptr %211, align 8, !tbaa !79
  %213 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %7, i32 0, i32 155
  %214 = call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %212, ptr noundef nonnull align 8 dereferenceable(148) %213)
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef, ptr noundef nonnull align 8 dereferenceable(148)) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind }
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, !22, i64 241}
!10 = !{!"_ZTS20HighsSimplexAnalysis", !6, i64 0, !11, i64 8, !11, i64 32, !6, i64 56, !15, i64 64, !15, i64 68, !15, i64 72, !16, i64 80, !16, i64 112, !19, i64 144, !22, i64 240, !22, i64 241, !22, i64 242, !22, i64 243, !22, i64 244, !22, i64 245, !22, i64 246, !15, i64 248, !23, i64 252, !15, i64 256, !15, i64 260, !15, i64 264, !15, i64 268, !15, i64 272, !15, i64 276, !15, i64 280, !16, i64 288, !24, i64 320, !24, i64 328, !24, i64 336, !24, i64 344, !24, i64 352, !24, i64 360, !24, i64 368, !24, i64 376, !24, i64 384, !24, i64 392, !24, i64 400, !24, i64 408, !15, i64 416, !15, i64 420, !24, i64 424, !24, i64 432, !15, i64 440, !24, i64 448, !24, i64 456, !15, i64 464, !24, i64 472, !24, i64 480, !24, i64 488, !24, i64 496, !24, i64 504, !24, i64 512, !24, i64 520, !24, i64 528, !24, i64 536, !24, i64 544, !15, i64 552, !24, i64 560, !15, i64 568, !15, i64 572, !15, i64 576, !15, i64 580, !15, i64 584, !15, i64 588, !15, i64 592, !15, i64 596, !15, i64 600, !25, i64 608, !25, i64 760, !25, i64 912, !25, i64 1064, !25, i64 1216, !25, i64 1368, !25, i64 1520, !25, i64 1672, !25, i64 1824, !25, i64 1976, !15, i64 2128, !15, i64 2132, !15, i64 2136, !15, i64 2140, !24, i64 2144, !24, i64 2152, !15, i64 2160, !15, i64 2164, !15, i64 2168, !15, i64 2172, !15, i64 2176, !24, i64 2184, !24, i64 2192, !15, i64 2200, !24, i64 2208, !24, i64 2216, !15, i64 2224, !15, i64 2228, !24, i64 2232, !24, i64 2240, !26, i64 2248, !26, i64 2272, !26, i64 2296, !26, i64 2320, !34, i64 2344, !38, i64 2368, !15, i64 2376, !15, i64 2380, !15, i64 2384, !15, i64 2388, !24, i64 2392, !24, i64 2400, !24, i64 2408, !24, i64 2416, !24, i64 2424, !24, i64 2432, !24, i64 2440, !24, i64 2448, !24, i64 2456, !24, i64 2464, !15, i64 2472, !15, i64 2476, !24, i64 2480, !24, i64 2488, !24, i64 2496, !22, i64 2504, !24, i64 2512, !24, i64 2520, !15, i64 2528, !15, i64 2532, !15, i64 2536, !15, i64 2540, !15, i64 2544, !24, i64 2552, !24, i64 2560, !24, i64 2568, !24, i64 2576, !24, i64 2584, !24, i64 2592, !24, i64 2600, !24, i64 2608, !24, i64 2616, !15, i64 2624, !15, i64 2628, !7, i64 2632, !15, i64 4952, !15, i64 4956, !7, i64 4960, !7, i64 7600, !7, i64 7648, !25, i64 7664, !25, i64 7816, !25, i64 7968, !25, i64 8120, !25, i64 8272, !25, i64 8424}
!11 = !{!"_ZTSSt6vectorI15HighsTimerClockSaIS0_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseI15HighsTimerClockSaIS0_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseI15HighsTimerClockSaIS0_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseI15HighsTimerClockSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !18, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !20, i64 48, !6, i64 80, !22, i64 88}
!20 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !21, i64 0, !6, i64 24}
!21 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTS14EdgeWeightMode", !7, i64 0}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS22HighsValueDistribution", !16, i64 0, !16, i64 32, !15, i64 64, !15, i64 68, !15, i64 72, !24, i64 80, !24, i64 88, !26, i64 96, !30, i64 120, !15, i64 144}
!26 = !{!"_ZTSSt6vectorIdSaIdEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSSt6vectorI17TranStageAnalysisSaIS0_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseI17TranStageAnalysisSaIS0_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseI17TranStageAnalysisSaIS0_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseI17TranStageAnalysisSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"_ZTSSt10unique_ptrINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_dataINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_ELb1ELb1EE", !40, i64 0}
!40 = !{!"_ZTSSt15__uniq_ptr_implINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EE", !41, i64 0}
!41 = !{!"_ZTSSt5tupleIJPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEE", !42, i64 0}
!42 = !{!"_ZTSSt11_Tuple_implILm0EJPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEE", !43, i64 0}
!43 = !{!"_ZTSSt10_Head_baseILm0EPNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEELb0EE", !6, i64 0}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!10, !15, i64 260}
!47 = !{!15, !15, i64 0}
!48 = !{!10, !15, i64 280}
!49 = !{!10, !15, i64 2628}
!50 = !{!10, !23, i64 252}
!51 = !{!10, !15, i64 4952}
!52 = !{!53, !15, i64 104}
!53 = !{!"_ZTSN20HighsSimplexAnalysis14AnIterTraceRecE", !24, i64 0, !24, i64 8, !7, i64 16, !24, i64 96, !15, i64 104, !15, i64 108, !15, i64 112}
!54 = !{!10, !15, i64 4956}
!55 = !{i64 0, i64 8, !56, i64 8, i64 8, !56, i64 16, i64 80, !57, i64 96, i64 8, !56, i64 104, i64 4, !47, i64 108, i64 4, !47, i64 112, i64 4, !47}
!56 = !{!24, !24, i64 0}
!57 = !{!7, !7, i64 0}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = !{!10, !6, i64 0}
!61 = !{!53, !24, i64 0}
!62 = !{!10, !24, i64 2520}
!63 = !{!53, !24, i64 8}
!64 = !{!10, !24, i64 472}
!65 = !{!10, !24, i64 480}
!66 = !{!10, !24, i64 488}
!67 = !{!10, !24, i64 496}
!68 = !{!10, !24, i64 504}
!69 = !{!10, !24, i64 560}
!70 = !{!53, !24, i64 96}
!71 = !{!10, !15, i64 248}
!72 = !{!53, !15, i64 108}
!73 = !{!53, !15, i64 112}
!74 = !{!10, !24, i64 360}
!75 = !{!10, !24, i64 368}
!76 = !{!10, !24, i64 376}
!77 = !{!10, !24, i64 392}
!78 = !{!10, !24, i64 400}
!79 = !{!10, !24, i64 344}


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

%"struct.HighsSimplexAnalysis::AnIterTraceRec" = type { double, double, [10 x double], double, i32, i32, i32 }

@.str.88 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [86 x i8], align 1
@__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis15iterationRecordEv = external hidden unnamed_addr constant [45 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZNK10HighsTimer11getWallTimeEv(ptr noundef nonnull align 8 dereferenceable(132)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis15iterationRecordEv(ptr noundef nonnull align 8 dereferenceable(8576) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 241
  %3 = load i8, ptr %2, align 1, !tbaa !5, !range !43, !noundef !44
  %4 = trunc nuw i8 %3 to i1
  br i1 %4, label %6, label %5

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.88, ptr noundef nonnull @.str.89, i32 noundef 644, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis15iterationRecordEv) #4
  unreachable

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 260
  %8 = load i32, ptr %7, align 4, !tbaa !45
  %9 = getelementptr inbounds i8, ptr %0, i64 280
  %10 = load i32, ptr %9, align 8, !tbaa !46
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %12, label %18

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %0, i64 7600
  %14 = zext nneg i32 %10 to i64
  %15 = getelementptr inbounds [12 x i32], ptr %13, i64 0, i64 %14
  %16 = load i32, ptr %15, align 4, !tbaa !47
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %15, align 4, !tbaa !47
  br label %18

18:                                               ; preds = %12, %6
  %19 = getelementptr inbounds i8, ptr %0, i64 2628
  %20 = load i32, ptr %19, align 4, !tbaa !48
  %21 = icmp sgt i32 %8, %20
  br i1 %21, label %22, label %31

22:                                               ; preds = %18
  %23 = sub i32 %8, %20
  %24 = getelementptr inbounds i8, ptr %0, i64 7648
  %25 = getelementptr inbounds i8, ptr %0, i64 252
  %26 = load i32, ptr %25, align 4, !tbaa !49
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [3 x i32], ptr %24, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !47
  %30 = add nsw i32 %23, %29
  store i32 %30, ptr %28, align 4, !tbaa !47
  %.pre = load i32, ptr %7, align 4, !tbaa !45
  br label %31

31:                                               ; preds = %22, %18
  %32 = phi i32 [ %.pre, %22 ], [ %8, %18 ]
  %33 = getelementptr inbounds i8, ptr %0, i64 4960
  %34 = getelementptr inbounds i8, ptr %0, i64 4952
  %35 = load i32, ptr %34, align 8, !tbaa !50
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], ptr %33, i64 0, i64 %36, i32 4
  %38 = load i32, ptr %37, align 8, !tbaa !51
  %39 = getelementptr inbounds i8, ptr %0, i64 4956
  %40 = load i32, ptr %39, align 4, !tbaa !53
  %41 = add nsw i32 %40, %38
  %42 = icmp eq i32 %32, %41
  br i1 %42, label %43, label %103

43:                                               ; preds = %31
  %44 = icmp eq i32 %35, 20
  br i1 %44, label %.preheader.preheader, label %61

.preheader.preheader:                             ; preds = %43
  %45 = getelementptr inbounds i8, ptr %0, i64 5200
  %46 = getelementptr inbounds i8, ptr %0, i64 5080
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %46, ptr noundef nonnull align 8 dereferenceable(120) %45, i64 120, i1 false), !tbaa.struct !54
  %47 = getelementptr inbounds i8, ptr %0, i64 5440
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %45, ptr noundef nonnull align 8 dereferenceable(120) %47, i64 120, i1 false), !tbaa.struct !54
  %48 = getelementptr inbounds i8, ptr %0, i64 5680
  %49 = getelementptr inbounds i8, ptr %0, i64 5320
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %49, ptr noundef nonnull align 8 dereferenceable(120) %48, i64 120, i1 false), !tbaa.struct !54
  %50 = getelementptr inbounds i8, ptr %0, i64 5920
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %47, ptr noundef nonnull align 8 dereferenceable(120) %50, i64 120, i1 false), !tbaa.struct !54
  %51 = getelementptr inbounds i8, ptr %0, i64 6160
  %52 = getelementptr inbounds i8, ptr %0, i64 5560
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %52, ptr noundef nonnull align 8 dereferenceable(120) %51, i64 120, i1 false), !tbaa.struct !54
  %53 = getelementptr inbounds i8, ptr %0, i64 6400
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %48, ptr noundef nonnull align 8 dereferenceable(120) %53, i64 120, i1 false), !tbaa.struct !54
  %54 = getelementptr inbounds i8, ptr %0, i64 6640
  %55 = getelementptr inbounds i8, ptr %0, i64 5800
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %55, ptr noundef nonnull align 8 dereferenceable(120) %54, i64 120, i1 false), !tbaa.struct !54
  %56 = getelementptr inbounds i8, ptr %0, i64 6880
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %50, ptr noundef nonnull align 8 dereferenceable(120) %56, i64 120, i1 false), !tbaa.struct !54
  %57 = getelementptr inbounds i8, ptr %0, i64 7120
  %58 = getelementptr inbounds i8, ptr %0, i64 6040
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %58, ptr noundef nonnull align 8 dereferenceable(120) %57, i64 120, i1 false), !tbaa.struct !54
  %59 = getelementptr inbounds i8, ptr %0, i64 7360
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %51, ptr noundef nonnull align 8 dereferenceable(120) %59, i64 120, i1 false), !tbaa.struct !54
  store i32 10, ptr %34, align 8, !tbaa !50
  %60 = shl nsw i32 %40, 1
  store i32 %60, ptr %39, align 4, !tbaa !53
  br label %103

61:                                               ; preds = %43
  %62 = add nsw i32 %35, 1
  store i32 %62, ptr %34, align 8, !tbaa !50
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [22 x %"struct.HighsSimplexAnalysis::AnIterTraceRec"], ptr %33, i64 0, i64 %63
  %65 = getelementptr inbounds i8, ptr %64, i64 104
  store i32 %32, ptr %65, align 8, !tbaa !51
  %66 = load ptr, ptr %0, align 8, !tbaa !57
  %67 = tail call noundef double @_ZNK10HighsTimer11getWallTimeEv(ptr noundef nonnull align 8 dereferenceable(132) %66)
  store double %67, ptr %64, align 8, !tbaa !58
  %68 = getelementptr inbounds i8, ptr %0, i64 2520
  %69 = load double, ptr %68, align 8, !tbaa !59
  %70 = fcmp ogt double %69, 0.000000e+00
  %.sink = select i1 %70, double %69, double 0.000000e+00
  %71 = getelementptr inbounds i8, ptr %64, i64 8
  store double %.sink, ptr %71, align 8
  %72 = getelementptr inbounds i8, ptr %0, i64 472
  %73 = load double, ptr %72, align 8, !tbaa !60
  %74 = getelementptr inbounds i8, ptr %64, i64 64
  store double %73, ptr %74, align 8, !tbaa !55
  %75 = getelementptr inbounds i8, ptr %0, i64 480
  %76 = load double, ptr %75, align 8, !tbaa !61
  %77 = getelementptr inbounds i8, ptr %64, i64 48
  store double %76, ptr %77, align 8, !tbaa !55
  %78 = getelementptr inbounds i8, ptr %0, i64 488
  %79 = load double, ptr %78, align 8, !tbaa !62
  %80 = getelementptr inbounds i8, ptr %64, i64 56
  store double %79, ptr %80, align 8, !tbaa !55
  %81 = load double, ptr %72, align 8, !tbaa !60
  %82 = getelementptr inbounds i8, ptr %64, i64 72
  store double %81, ptr %82, align 8, !tbaa !55
  %83 = getelementptr inbounds i8, ptr %0, i64 252
  %84 = load i32, ptr %83, align 4, !tbaa !49
  %85 = icmp eq i32 %84, 2
  br i1 %85, label %86, label %95

86:                                               ; preds = %61
  %87 = getelementptr inbounds i8, ptr %0, i64 496
  %88 = load double, ptr %87, align 8, !tbaa !63
  %89 = getelementptr inbounds i8, ptr %64, i64 80
  store double %88, ptr %89, align 8, !tbaa !55
  %90 = getelementptr inbounds i8, ptr %0, i64 504
  %91 = load double, ptr %90, align 8, !tbaa !64
  %92 = getelementptr inbounds i8, ptr %64, i64 88
  store double %91, ptr %92, align 8, !tbaa !55
  %93 = getelementptr inbounds i8, ptr %0, i64 560
  %94 = load double, ptr %93, align 8, !tbaa !65
  br label %97

95:                                               ; preds = %61
  %96 = getelementptr inbounds i8, ptr %64, i64 80
  store double 0.000000e+00, ptr %96, align 8, !tbaa !55
  br label %97

97:                                               ; preds = %95, %86
  %.sink31 = phi double [ %94, %86 ], [ 0.000000e+00, %95 ]
  %98 = getelementptr inbounds i8, ptr %64, i64 96
  store double %.sink31, ptr %98, align 8
  %99 = getelementptr inbounds i8, ptr %0, i64 248
  %100 = load i32, ptr %99, align 8, !tbaa !66
  %101 = getelementptr inbounds i8, ptr %64, i64 108
  store i32 %100, ptr %101, align 4, !tbaa !67
  %102 = getelementptr inbounds i8, ptr %64, i64 112
  store i32 %84, ptr %102, align 8, !tbaa !68
  br label %103

103:                                              ; preds = %.preheader.preheader, %97, %31
  store i32 %8, ptr %19, align 4, !tbaa !48
  %104 = getelementptr inbounds i8, ptr %0, i64 360
  %105 = load double, ptr %104, align 8, !tbaa !69
  %106 = getelementptr inbounds i8, ptr %0, i64 1672
  %107 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %105, ptr noundef nonnull align 8 dereferenceable(148) %106)
  %108 = getelementptr inbounds i8, ptr %0, i64 368
  %109 = load double, ptr %108, align 8, !tbaa !70
  %110 = getelementptr inbounds i8, ptr %0, i64 1824
  %111 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %109, ptr noundef nonnull align 8 dereferenceable(148) %110)
  %112 = load double, ptr %104, align 8, !tbaa !69
  %113 = getelementptr inbounds i8, ptr %0, i64 7664
  %114 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %112, ptr noundef nonnull align 8 dereferenceable(148) %113)
  %115 = load double, ptr %108, align 8, !tbaa !70
  %116 = getelementptr inbounds i8, ptr %0, i64 7816
  %117 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %115, ptr noundef nonnull align 8 dereferenceable(148) %116)
  %118 = getelementptr inbounds i8, ptr %0, i64 376
  %119 = load double, ptr %118, align 8, !tbaa !71
  %120 = getelementptr inbounds i8, ptr %0, i64 7968
  %121 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %119, ptr noundef nonnull align 8 dereferenceable(148) %120)
  %122 = getelementptr inbounds i8, ptr %0, i64 392
  %123 = load double, ptr %122, align 8, !tbaa !72
  %124 = getelementptr inbounds i8, ptr %0, i64 8272
  %125 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %123, ptr noundef nonnull align 8 dereferenceable(148) %124)
  %126 = getelementptr inbounds i8, ptr %0, i64 400
  %127 = load double, ptr %126, align 8, !tbaa !73
  %128 = fcmp ult double %127, 0.000000e+00
  br i1 %128, label %132, label %129

129:                                              ; preds = %103
  %130 = getelementptr inbounds i8, ptr %0, i64 8120
  %131 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %127, ptr noundef nonnull align 8 dereferenceable(148) %130)
  br label %132

132:                                              ; preds = %129, %103
  %133 = getelementptr inbounds i8, ptr %0, i64 344
  %134 = load double, ptr %133, align 8, !tbaa !74
  %135 = getelementptr inbounds i8, ptr %0, i64 8424
  %136 = tail call noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef %134, ptr noundef nonnull align 8 dereferenceable(148) %135)
  ret void
}

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare noundef zeroext i1 @_Z23updateValueDistributiondR22HighsValueDistribution(double noundef, ptr noundef nonnull align 8 dereferenceable(148)) local_unnamed_addr #3

attributes #0 = { 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 #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !21, i64 241}
!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 = !{i8 0, i8 2}
!44 = !{}
!45 = !{!6, !14, i64 260}
!46 = !{!6, !14, i64 280}
!47 = !{!14, !14, i64 0}
!48 = !{!6, !14, i64 2628}
!49 = !{!6, !22, i64 252}
!50 = !{!6, !14, i64 4952}
!51 = !{!52, !14, i64 104}
!52 = !{!"_ZTSN20HighsSimplexAnalysis14AnIterTraceRecE", !23, i64 0, !23, i64 8, !8, i64 16, !23, i64 96, !14, i64 104, !14, i64 108, !14, i64 112}
!53 = !{!6, !14, i64 4956}
!54 = !{i64 0, i64 8, !55, i64 8, i64 8, !55, i64 16, i64 80, !56, i64 96, i64 8, !55, i64 104, i64 4, !47, i64 108, i64 4, !47, i64 112, i64 4, !47}
!55 = !{!23, !23, i64 0}
!56 = !{!8, !8, i64 0}
!57 = !{!6, !7, i64 0}
!58 = !{!52, !23, i64 0}
!59 = !{!6, !23, i64 2520}
!60 = !{!6, !23, i64 472}
!61 = !{!6, !23, i64 480}
!62 = !{!6, !23, i64 488}
!63 = !{!6, !23, i64 496}
!64 = !{!6, !23, i64 504}
!65 = !{!6, !23, i64 560}
!66 = !{!6, !14, i64 248}
!67 = !{!52, !14, i64 108}
!68 = !{!52, !14, i64 112}
!69 = !{!6, !23, i64 360}
!70 = !{!6, !23, i64 368}
!71 = !{!6, !23, i64 376}
!72 = !{!6, !23, i64 392}
!73 = !{!6, !23, i64 400}
!74 = !{!6, !23, i64 344}


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