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

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

%class.FactorTimer = type { i8 }
%struct.HighsTimerClock = type { ptr, %"class.std::vector.3" }
%"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 }
%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.HighsTimer = type <{ ptr, double, i32, [4 x i8], %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.8", i32, i32, i32, [4 x i8] }>
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.89 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis17reportFactorTimerEv = external hidden unnamed_addr constant [47 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [54 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

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 dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN5highs8parallel11num_threadsEv() #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis17reportFactorTimerEv(ptr noundef nonnull align 8 dereferenceable(8576) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %class.FactorTimer, align 1
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.HighsTimerClock, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8
  %18 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %17, i32 0, i32 15
  %19 = load i8, ptr %18, align 1, !tbaa !9, !range !44, !noundef !45
  %20 = trunc i8 %19 to i1
  br i1 %20, label %21, label %22

21:                                               ; preds = %1
  br label %24

22:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.159, ptr noundef @.str.89, i32 noundef 1173, ptr noundef @__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis17reportFactorTimerEv) #7
  unreachable

23:                                               ; No predecessors!
  br label %24

24:                                               ; preds = %23, %21
  call void @llvm.lifetime.start.p0(i64 1, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  %25 = call noundef i32 @_ZN5highs8parallel11num_threadsEv()
  store i32 %25, ptr %4, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  store i32 0, ptr %5, align 4, !tbaa !46
  br label %26

26:                                               ; preds = %40, %24
  %27 = load i32, ptr %5, align 4, !tbaa !46
  %28 = load i32, ptr %4, align 4, !tbaa !46
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  br label %43

31:                                               ; preds = %26
  %32 = load i32, ptr %5, align 4, !tbaa !46
  %33 = load i32, ptr %4, align 4, !tbaa !46
  %34 = sub nsw i32 %33, 1
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.160, i32 noundef %32, i32 noundef %34)
  %36 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %17, i32 0, i32 2
  %37 = load i32, ptr %5, align 4, !tbaa !46
  %38 = sext i32 %37 to i64
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI15HighsTimerClockSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %38) #8
  call void @_ZN11FactorTimer17reportFactorClockER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(32) %39)
  br label %40

40:                                               ; preds = %31
  %41 = load i32, ptr %5, align 4, !tbaa !46
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %5, align 4, !tbaa !46
  br label %26, !llvm.loop !47

43:                                               ; preds = %30
  %44 = load i32, ptr %4, align 4, !tbaa !46
  %45 = icmp sgt i32 %44, 1
  br i1 %45, label %46, label %123

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %47 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %17, i32 0, i32 2
  %48 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI15HighsTimerClockSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 0) #8
  %49 = getelementptr inbounds %struct.HighsTimerClock, ptr %48, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !49
  store ptr %50, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #8
  call void @_ZN15HighsTimerClockC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.HighsTimerClock, ptr %7, i32 0, i32 0
  store ptr %51, ptr %52, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %53 = getelementptr inbounds %struct.HighsTimerClock, ptr %7, i32 0, i32 1
  store ptr %53, ptr %8, align 8, !tbaa !5
  invoke void @_ZN11FactorTimer22initialiseFactorClocksER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %54 unwind label %60

54:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !46
  br label %55

55:                                               ; preds = %115, %54
  %56 = load i32, ptr %11, align 4, !tbaa !46
  %57 = load i32, ptr %4, align 4, !tbaa !46
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %64, label %59

59:                                               ; preds = %55
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %118

60:                                               ; preds = %121, %118, %46
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %9, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @_ZN15HighsTimerClockD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #8
  br label %124

64:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %65 = getelementptr inbounds %class.HighsSimplexAnalysis, ptr %17, i32 0, i32 2
  %66 = load i32, ptr %11, align 4, !tbaa !46
  %67 = sext i32 %66 to i64
  %68 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI15HighsTimerClockSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67) #8
  %69 = getelementptr inbounds %struct.HighsTimerClock, ptr %68, i32 0, i32 1
  store ptr %69, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 0, ptr %14, align 4, !tbaa !46
  br label %70

70:                                               ; preds = %111, %64
  %71 = load i32, ptr %14, align 4, !tbaa !46
  %72 = icmp slt i32 %71, 39
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %114

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = load i32, ptr %14, align 4, !tbaa !46
  %77 = sext i32 %76 to i64
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %77) #8
  %79 = load i32, ptr %78, align 4, !tbaa !46
  store i32 %79, ptr %15, align 4, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = load i32, ptr %14, align 4, !tbaa !46
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %82) #8
  %84 = load i32, ptr %83, align 4, !tbaa !46
  store i32 %84, ptr %16, align 4, !tbaa !46
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %class.HighsTimer, ptr %85, i32 0, i32 4
  %87 = load i32, ptr %16, align 4, !tbaa !46
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %88) #8
  %90 = load i32, ptr %89, align 4, !tbaa !46
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %class.HighsTimer, ptr %91, i32 0, i32 4
  %93 = load i32, ptr %15, align 4, !tbaa !46
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #8
  %96 = load i32, ptr %95, align 4, !tbaa !46
  %97 = add nsw i32 %96, %90
  store i32 %97, ptr %95, align 4, !tbaa !46
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %class.HighsTimer, ptr %98, i32 0, i32 6
  %100 = load i32, ptr %16, align 4, !tbaa !46
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %101) #8
  %103 = load double, ptr %102, align 8, !tbaa !51
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %class.HighsTimer, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %15, align 4, !tbaa !46
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %107) #8
  %109 = load double, ptr %108, align 8, !tbaa !51
  %110 = fadd double %109, %103
  store double %110, ptr %108, align 8, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %111

111:                                              ; preds = %74
  %112 = load i32, ptr %14, align 4, !tbaa !46
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %14, align 4, !tbaa !46
  br label %70, !llvm.loop !52

114:                                              ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %11, align 4, !tbaa !46
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %11, align 4, !tbaa !46
  br label %55, !llvm.loop !53

118:                                              ; preds = %59
  %119 = load i32, ptr %4, align 4, !tbaa !46
  %120 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.161, i32 noundef %119)
          to label %121 unwind label %60

121:                                              ; preds = %118
  invoke void @_ZN11FactorTimer17reportFactorClockER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %122 unwind label %60

122:                                              ; preds = %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @_ZN15HighsTimerClockD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %123

123:                                              ; preds = %122, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %3) #8
  ret void

124:                                              ; preds = %60
  %125 = load ptr, ptr %9, align 8
  %126 = load i32, ptr %10, align 4
  %127 = insertvalue { ptr, i32 } poison, ptr %125, 0
  %128 = insertvalue { ptr, i32 } %127, i32 %126, 1
  resume { ptr, i32 } %128
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11FactorTimer17reportFactorClockER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(32)) #4 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 245}
!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 = !{!15, !15, i64 0}
!47 = distinct !{!47, !48}
!48 = !{!"llvm.loop.mustprogress"}
!49 = !{!50, !6, i64 0}
!50 = !{!"_ZTS15HighsTimerClock", !6, i64 0, !30, i64 8}
!51 = !{!24, !24, i64 0}
!52 = distinct !{!52, !48}
!53 = distinct !{!53, !48}


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

%class.FactorTimer = type { i8 }
%struct.HighsTimerClock = type { ptr, %"class.std::vector.3" }
%"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.89 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis17reportFactorTimerEv = external hidden unnamed_addr constant [47 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [54 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

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 dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN5highs8parallel11num_threadsEv() local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20HighsSimplexAnalysis17reportFactorTimerEv(ptr noundef nonnull align 8 dereferenceable(8576) %0) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.FactorTimer, align 1
  %3 = alloca %struct.HighsTimerClock, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 245
  %5 = load i8, ptr %4, align 1, !tbaa !5, !range !43, !noundef !44
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %8, label %7

7:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.159, ptr noundef nonnull @.str.89, i32 noundef 1173, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN20HighsSimplexAnalysis17reportFactorTimerEv) #7
  unreachable

8:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #8
  %9 = tail call noundef i32 @_ZN5highs8parallel11num_threadsEv()
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %8
  %11 = add nsw i32 %9, -1
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %wide.trip.count = zext nneg i32 %9 to i64
  br label %13

._crit_edge:                                      ; preds = %13
  %.not = icmp eq i32 %9, 1
  br i1 %.not, label %._crit_edge.thread, label %17

13:                                               ; preds = %.lr.ph, %13
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %13 ]
  %14 = trunc nuw nsw i64 %indvars.iv to i32
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.160, i32 noundef %14, i32 noundef %11)
  %16 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI15HighsTimerClockSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #8
  call void @_ZN11FactorTimer17reportFactorClockER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 8 dereferenceable(32) %16)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %13, !llvm.loop !45

17:                                               ; preds = %._crit_edge
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI15HighsTimerClockSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #8
  %20 = load ptr, ptr %19, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #8
  call void @_ZN15HighsTimerClockC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  store ptr %20, ptr %3, align 8, !tbaa !47
  %21 = getelementptr inbounds i8, ptr %3, i64 8
  invoke void @_ZN11FactorTimer22initialiseFactorClocksER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %.lr.ph35 unwind label %25

.lr.ph35:                                         ; preds = %17
  %22 = getelementptr inbounds i8, ptr %20, i64 24
  %23 = getelementptr inbounds i8, ptr %20, i64 72
  %wide.trip.count45 = zext nneg i32 %9 to i64
  br label %27

._crit_edge36:                                    ; preds = %30
  %24 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.161, i32 noundef %9)
  invoke void @_ZN11FactorTimer17reportFactorClockER15HighsTimerClock(ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %48 unwind label %25

25:                                               ; preds = %._crit_edge36, %17
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN15HighsTimerClockD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #8
  resume { ptr, i32 } %26

27:                                               ; preds = %.lr.ph35, %30
  %indvars.iv42 = phi i64 [ 0, %.lr.ph35 ], [ %indvars.iv.next43, %30 ]
  %28 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI15HighsTimerClockSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %indvars.iv42) #8
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  br label %31

30:                                               ; preds = %31
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 1
  %exitcond46.not = icmp eq i64 %indvars.iv.next43, %wide.trip.count45
  br i1 %exitcond46.not, label %._crit_edge36, label %27, !llvm.loop !49

31:                                               ; preds = %27, %31
  %indvars.iv38 = phi i64 [ 0, %27 ], [ %indvars.iv.next39, %31 ]
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv38) #8
  %33 = load i32, ptr %32, align 4, !tbaa !50
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %indvars.iv38) #8
  %35 = load i32, ptr %34, align 4, !tbaa !50
  %36 = sext i32 %35 to i64
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %36) #8
  %38 = load i32, ptr %37, align 4, !tbaa !50
  %39 = sext i32 %33 to i64
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %39) #8
  %41 = load i32, ptr %40, align 4, !tbaa !50
  %42 = add nsw i32 %41, %38
  store i32 %42, ptr %40, align 4, !tbaa !50
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %36) #8
  %44 = load double, ptr %43, align 8, !tbaa !51
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %39) #8
  %46 = load double, ptr %45, align 8, !tbaa !51
  %47 = fadd double %44, %46
  store double %47, ptr %45, align 8, !tbaa !51
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %exitcond41.not = icmp eq i64 %indvars.iv.next39, 39
  br i1 %exitcond41.not, label %30, label %31, !llvm.loop !52

48:                                               ; preds = %._crit_edge36
  call void @_ZN15HighsTimerClockD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %8, %48, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #8
  ret void
}

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

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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 245}
!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 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!48, !7, i64 0}
!48 = !{!"_ZTS15HighsTimerClock", !7, i64 0, !29, i64 8}
!49 = distinct !{!49, !46}
!50 = !{!14, !14, i64 0}
!51 = !{!23, !23, i64 0}
!52 = distinct !{!52, !46}


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