; LLVM IR from ERGO-Code/HiGHS :: src/mip/HighsNodeQueue.ll (ZN14HighsNodeQueue15performBoundingEd)

; 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.HighsNodeQueue::NodeLowerRbTree" = type { %"class.highs::CacheMinRbTree.0", ptr }
%"class.highs::CacheMinRbTree.0" = type { %"class.highs::RbTree.1", ptr }
%"class.highs::RbTree.1" = type { ptr }
%class.HighsCDouble = type { double, double }
%"class.HighsNodeQueue::SuboptimalNodeRbTree" = type { %"class.highs::CacheMinRbTree.2", ptr }
%"class.highs::CacheMinRbTree.2" = type { %"class.highs::RbTree.3", ptr }
%"class.highs::RbTree.3" = type { ptr }
%class.HighsNodeQueue = type <{ %"class.std::unique_ptr", %"class.std::vector", %"class.std::priority_queue", %"class.std::unique_ptr.14", %"class.std::unique_ptr.14", i64, i64, i64, i64, i64, i64, i64, double, i32, [4 x i8] }>
%"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.5" }
%"struct.std::_Head_base.5" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<HighsNodeQueue::OpenNode, std::allocator<HighsNodeQueue::OpenNode>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsNodeQueue::OpenNode, std::allocator<HighsNodeQueue::OpenNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsNodeQueue::OpenNode, std::allocator<HighsNodeQueue::OpenNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsNodeQueue::OpenNode, std::allocator<HighsNodeQueue::OpenNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector.9", [8 x i8] }>
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long, std::allocator<long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr.14" = type { %"struct.std::__uniq_ptr_data.15" }
%"struct.std::__uniq_ptr_data.15" = type { %"class.std::__uniq_ptr_impl.16" }
%"class.std::__uniq_ptr_impl.16" = type { %"class.std::tuple.17" }
%"class.std::tuple.17" = type { %"struct.std::_Tuple_impl.18" }
%"struct.std::_Tuple_impl.18" = type { %"struct.std::_Head_base.21" }
%"struct.std::_Head_base.21" = type { ptr }
%"struct.HighsNodeQueue::OpenNode" = type { %"class.std::vector.22", %"class.std::vector.27", %"class.std::vector.32", double, double, i32, %"struct.highs::RbTreeLinks", %"struct.highs::RbTreeLinks" }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomainChange, std::allocator<HighsDomainChange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<double, long>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<double, long>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<double, long>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<double, long>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<double, long>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<double, long>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<double, long>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<double, long>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.highs::RbTreeLinks" = type { [2 x i64], i64 }

@.str.52 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN14HighsNodeQueue15performBoundingEd = external hidden unnamed_addr constant [47 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue12unlink_estimEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue12unlink_lowerEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue15link_suboptimalEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) #2 align 2

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

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

; Function Attrs: nounwind
declare double @ldexp(double noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue6unlinkEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16), double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN14HighsNodeQueue9pruneNodeEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN14HighsNodeQueue15performBoundingEd(ptr noundef nonnull align 8 dereferenceable(148) %0, double noundef %1) #2 align 2 {
  %3 = alloca double, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca %"class.HighsNodeQueue::NodeLowerRbTree", align 8
  %7 = alloca i32, align 4
  %8 = alloca %class.HighsCDouble, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.HighsNodeQueue::SuboptimalNodeRbTree", align 8
  %13 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  call void @_ZN14HighsNodeQueue15NodeLowerRbTreeC2EPS_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef %14)
  %15 = call noundef zeroext i1 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  br i1 %15, label %16, label %17

16:                                               ; preds = %2
  store double 0.000000e+00, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %113

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #5
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %18 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
  store i64 %18, ptr %9, align 8, !tbaa !11
  br label %19

19:                                               ; preds = %31, %17
  %20 = load i64, ptr %9, align 8, !tbaa !11
  %21 = icmp ne i64 %20, -1
  br i1 %21, label %22, label %38

22:                                               ; preds = %19
  %23 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 1
  %24 = load i64, ptr %9, align 8, !tbaa !11
  %25 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %24) #5
  %26 = getelementptr inbounds %"struct.HighsNodeQueue::OpenNode", ptr %25, i32 0, i32 3
  %27 = load double, ptr %26, align 8, !tbaa !13
  %28 = load double, ptr %5, align 8, !tbaa !9
  %29 = fcmp olt double %27, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %22
  br label %38

31:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %32 = load i64, ptr %9, align 8, !tbaa !11
  %33 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE11predecessorEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %32)
  store i64 %33, ptr %10, align 8, !tbaa !11
  %34 = load i64, ptr %9, align 8, !tbaa !11
  %35 = call noundef double @_ZN14HighsNodeQueue9pruneNodeEl(ptr noundef nonnull align 8 dereferenceable(148) %14, i64 noundef %34)
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %35)
  %37 = load i64, ptr %10, align 8, !tbaa !11
  store i64 %37, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %19, !llvm.loop !29

38:                                               ; preds = %30, %19
  %39 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 12
  %40 = load double, ptr %39, align 8, !tbaa !31
  %41 = load double, ptr %5, align 8, !tbaa !9
  %42 = fcmp olt double %40, %41
  br i1 %42, label %43, label %87

43:                                               ; preds = %38
  br label %44

44:                                               ; preds = %69, %43
  %45 = load i64, ptr %9, align 8, !tbaa !11
  %46 = icmp ne i64 %45, -1
  br i1 %46, label %47, label %86

47:                                               ; preds = %44
  %48 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 1
  %49 = load i64, ptr %9, align 8, !tbaa !11
  %50 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %49) #5
  %51 = getelementptr inbounds %"struct.HighsNodeQueue::OpenNode", ptr %50, i32 0, i32 3
  %52 = load double, ptr %51, align 8, !tbaa !13
  %53 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 12
  %54 = load double, ptr %53, align 8, !tbaa !31
  %55 = fcmp olt double %52, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %47
  br label %86

57:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %58 = load i64, ptr %9, align 8, !tbaa !11
  %59 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE11predecessorEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %58)
  store i64 %59, ptr %11, align 8, !tbaa !11
  %60 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 1
  %61 = load i64, ptr %9, align 8, !tbaa !11
  %62 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %61) #5
  %63 = getelementptr inbounds %"struct.HighsNodeQueue::OpenNode", ptr %62, i32 0, i32 4
  %64 = load double, ptr %63, align 8, !tbaa !55
  %65 = fcmp une double %64, 0x7FF0000000000000
  br i1 %65, label %66, label %67

66:                                               ; preds = %57
  br label %69

67:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.55, ptr noundef @.str.52, i32 noundef 337, ptr noundef @__PRETTY_FUNCTION__._ZN14HighsNodeQueue15performBoundingEd) #6
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  %70 = load i64, ptr %9, align 8, !tbaa !11
  call void @_ZN14HighsNodeQueue12unlink_estimEl(ptr noundef nonnull align 8 dereferenceable(148) %14, i64 noundef %70)
  %71 = load i64, ptr %9, align 8, !tbaa !11
  call void @_ZN14HighsNodeQueue12unlink_lowerEl(ptr noundef nonnull align 8 dereferenceable(148) %14, i64 noundef %71)
  %72 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 1
  %73 = load i64, ptr %9, align 8, !tbaa !11
  %74 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %73) #5
  %75 = getelementptr inbounds %"struct.HighsNodeQueue::OpenNode", ptr %74, i32 0, i32 5
  %76 = load i32, ptr %75, align 8, !tbaa !56
  %77 = sub nsw i32 1, %76
  %78 = call double @ldexp(double noundef 1.000000e+00, i32 noundef %77) #5
  %79 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef %78)
  %80 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 1
  %81 = load i64, ptr %9, align 8, !tbaa !11
  %82 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %81) #5
  %83 = getelementptr inbounds %"struct.HighsNodeQueue::OpenNode", ptr %82, i32 0, i32 4
  store double 0x7FF0000000000000, ptr %83, align 8, !tbaa !55
  %84 = load i64, ptr %9, align 8, !tbaa !11
  call void @_ZN14HighsNodeQueue15link_suboptimalEl(ptr noundef nonnull align 8 dereferenceable(148) %14, i64 noundef %84)
  %85 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %85, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %44, !llvm.loop !57

86:                                               ; preds = %56, %44
  br label %87

87:                                               ; preds = %86, %38
  %88 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 11
  %89 = load i64, ptr %88, align 8, !tbaa !58
  %90 = icmp ne i64 %89, 0
  br i1 %90, label %91, label %111

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  call void @_ZN14HighsNodeQueue20SuboptimalNodeRbTreeC2EPS_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %14)
  %92 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue20SuboptimalNodeRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8) %12)
  store i64 %92, ptr %9, align 8, !tbaa !11
  br label %93

93:                                               ; preds = %105, %91
  %94 = load i64, ptr %9, align 8, !tbaa !11
  %95 = icmp ne i64 %94, -1
  br i1 %95, label %96, label %110

96:                                               ; preds = %93
  %97 = getelementptr inbounds %class.HighsNodeQueue, ptr %14, i32 0, i32 1
  %98 = load i64, ptr %9, align 8, !tbaa !11
  %99 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %98) #5
  %100 = getelementptr inbounds %"struct.HighsNodeQueue::OpenNode", ptr %99, i32 0, i32 3
  %101 = load double, ptr %100, align 8, !tbaa !13
  %102 = load double, ptr %5, align 8, !tbaa !9
  %103 = fcmp olt double %101, %102
  br i1 %103, label %104, label %105

104:                                              ; preds = %96
  br label %110

105:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %106 = load i64, ptr %9, align 8, !tbaa !11
  %107 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue20SuboptimalNodeRbTreeEE11predecessorEl(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %106)
  store i64 %107, ptr %13, align 8, !tbaa !11
  %108 = load i64, ptr %9, align 8, !tbaa !11
  call void @_ZN14HighsNodeQueue6unlinkEl(ptr noundef nonnull align 8 dereferenceable(148) %14, i64 noundef %108)
  %109 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %109, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %93, !llvm.loop !59

110:                                              ; preds = %104, %93
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  br label %111

111:                                              ; preds = %110, %87
  %112 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  store double %112, ptr %3, align 8
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #5
  br label %113

113:                                              ; preds = %111, %16
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  %114 = load double, ptr %3, align 8
  ret double %114
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue20SuboptimalNodeRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 72}
!14 = !{!"_ZTSN14HighsNodeQueue8OpenNodeE", !15, i64 0, !19, i64 24, !23, i64 48, !10, i64 72, !10, i64 80, !27, i64 88, !28, i64 96, !28, i64 120}
!15 = !{!"_ZTSSt6vectorI17HighsDomainChangeSaIS0_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseI17HighsDomainChangeSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"int", !7, i64 0}
!28 = !{!"_ZTSN5highs11RbTreeLinksIlEE", !7, i64 0, !12, i64 16}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!32, !10, i64 136}
!32 = !{!"_ZTS14HighsNodeQueue", !33, i64 0, !39, i64 8, !43, i64 32, !49, i64 64, !49, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !10, i64 136, !27, i64 144}
!33 = !{!"_ZTSSt10unique_ptrIN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt15__uniq_ptr_dataIN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_ELb1ELb1EE", !35, i64 0}
!35 = !{!"_ZTSSt15__uniq_ptr_implIN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt5tupleIJPN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EEE", !37, i64 0}
!37 = !{!"_ZTSSt11_Tuple_implILm0EJPN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EEE", !38, i64 0}
!38 = !{!"_ZTSSt10_Head_baseILm0EPN14HighsNodeQueue14AllocatorStateELb0EE", !6, i64 0}
!39 = !{!"_ZTSSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN14HighsNodeQueue8OpenNodeESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN14HighsNodeQueue8OpenNodeESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN14HighsNodeQueue8OpenNodeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!43 = !{!"_ZTSSt14priority_queueIlSt6vectorIlSaIlEESt7greaterIlEE", !44, i64 0, !48, i64 24}
!44 = !{!"_ZTSSt6vectorIlSaIlEE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSSt7greaterIlE"}
!49 = !{!"_ZTSSt10unique_ptrISt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEE", !50, i64 0}
!50 = !{!"_ZTSSt15__uniq_ptr_dataISt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteELb1ELb1EE", !51, i64 0}
!51 = !{!"_ZTSSt15__uniq_ptr_implISt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEE", !52, i64 0}
!52 = !{!"_ZTSSt5tupleIJPSt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEEE", !53, i64 0}
!53 = !{!"_ZTSSt11_Tuple_implILm0EJPSt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEEE", !54, i64 0}
!54 = !{!"_ZTSSt10_Head_baseILm0EPSt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEELb0EE", !6, i64 0}
!55 = !{!14, !10, i64 80}
!56 = !{!14, !27, i64 88}
!57 = distinct !{!57, !30}
!58 = !{!32, !12, i64 128}
!59 = distinct !{!59, !30}


; 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.HighsNodeQueue::NodeLowerRbTree" = type { %"class.highs::CacheMinRbTree.0", ptr }
%"class.highs::CacheMinRbTree.0" = type { %"class.highs::RbTree.1", ptr }
%"class.highs::RbTree.1" = type { ptr }
%class.HighsCDouble = type { double, double }
%"class.HighsNodeQueue::SuboptimalNodeRbTree" = type { %"class.highs::CacheMinRbTree.2", ptr }
%"class.highs::CacheMinRbTree.2" = type { %"class.highs::RbTree.3", ptr }
%"class.highs::RbTree.3" = type { ptr }

@.str.52 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN14HighsNodeQueue15performBoundingEd = external hidden unnamed_addr constant [47 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue12unlink_estimEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue12unlink_lowerEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue15link_suboptimalEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nofree nounwind willreturn
declare double @ldexp(double noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14HighsNodeQueue6unlinkEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16), double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN14HighsNodeQueue9pruneNodeEl(ptr noundef nonnull align 8 dereferenceable(148), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN14HighsNodeQueue15performBoundingEd(ptr noundef nonnull align 8 dereferenceable(148) %0, double noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca %"class.HighsNodeQueue::NodeLowerRbTree", align 8
  %4 = alloca %class.HighsCDouble, align 8
  %5 = alloca %"class.HighsNodeQueue::SuboptimalNodeRbTree", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN14HighsNodeQueue15NodeLowerRbTreeC2EPS_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull %0)
  %6 = call noundef zeroext i1 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  br i1 %6, label %57, label %7

7:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef 0.000000e+00)
  %8 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %.not41 = icmp eq i64 %8, -1
  br i1 %.not41, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %7
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  br label %10

10:                                               ; preds = %.lr.ph, %15
  %.02633 = phi i64 [ %8, %.lr.ph ], [ %16, %15 ]
  %11 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.02633) #5
  %12 = getelementptr inbounds i8, ptr %11, i64 72
  %13 = load double, ptr %12, align 8, !tbaa !5
  %14 = fcmp olt double %13, %1
  br i1 %14, label %19, label %15

15:                                               ; preds = %10
  %16 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE11predecessorEl(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %.02633)
  %17 = call noundef double @_ZN14HighsNodeQueue9pruneNodeEl(ptr noundef nonnull align 8 dereferenceable(148) %0, i64 noundef %.02633)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef %17)
  %.not42 = icmp eq i64 %16, -1
  br i1 %.not42, label %.thread, label %10, !llvm.loop !26

19:                                               ; preds = %10
  %20 = getelementptr inbounds i8, ptr %0, i64 136
  %21 = load double, ptr %20, align 8, !tbaa !28
  %22 = fcmp olt double %21, %1
  br i1 %22, label %.preheader, label %.thread

.preheader:                                       ; preds = %19, %35
  %.1 = phi i64 [ %29, %35 ], [ %.02633, %19 ]
  %23 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1) #5
  %24 = getelementptr inbounds i8, ptr %23, i64 72
  %25 = load double, ptr %24, align 8, !tbaa !5
  %26 = load double, ptr %20, align 8, !tbaa !28
  %27 = fcmp olt double %25, %26
  br i1 %27, label %.thread, label %28

28:                                               ; preds = %.preheader
  %29 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE11predecessorEl(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %.1)
  %30 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1) #5
  %31 = getelementptr inbounds i8, ptr %30, i64 80
  %32 = load double, ptr %31, align 8, !tbaa !52
  %33 = fcmp une double %32, 0x7FF0000000000000
  br i1 %33, label %35, label %34

34:                                               ; preds = %28
  call void @__assert_fail(ptr noundef nonnull @.str.55, ptr noundef nonnull @.str.52, i32 noundef 337, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14HighsNodeQueue15performBoundingEd) #6
  unreachable

35:                                               ; preds = %28
  call void @_ZN14HighsNodeQueue12unlink_estimEl(ptr noundef nonnull align 8 dereferenceable(148) %0, i64 noundef %.1)
  call void @_ZN14HighsNodeQueue12unlink_lowerEl(ptr noundef nonnull align 8 dereferenceable(148) %0, i64 noundef %.1)
  %36 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1) #5
  %37 = getelementptr inbounds i8, ptr %36, i64 88
  %38 = load i32, ptr %37, align 8, !tbaa !53
  %39 = sub nsw i32 1, %38
  %40 = call double @ldexp(double noundef 1.000000e+00, i32 noundef %39) #5
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef %40)
  %42 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.1) #5
  %43 = getelementptr inbounds i8, ptr %42, i64 80
  store double 0x7FF0000000000000, ptr %43, align 8, !tbaa !52
  call void @_ZN14HighsNodeQueue15link_suboptimalEl(ptr noundef nonnull align 8 dereferenceable(148) %0, i64 noundef %.1)
  %.old1.not = icmp eq i64 %29, -1
  br i1 %.old1.not, label %.thread, label %.preheader

.thread:                                          ; preds = %15, %35, %.preheader, %7, %19
  %44 = getelementptr inbounds i8, ptr %0, i64 128
  %45 = load i64, ptr %44, align 8, !tbaa !54
  %.not = icmp eq i64 %45, 0
  br i1 %.not, label %55, label %46

46:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN14HighsNodeQueue20SuboptimalNodeRbTreeC2EPS_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull %0)
  %47 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue20SuboptimalNodeRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %48 = getelementptr inbounds i8, ptr %0, i64 8
  %.not2834 = icmp eq i64 %47, -1
  br i1 %.not2834, label %._crit_edge, label %.lr.ph36

.lr.ph36:                                         ; preds = %46, %53
  %.235 = phi i64 [ %54, %53 ], [ %47, %46 ]
  %49 = call noundef nonnull align 8 dereferenceable(144) ptr @_ZNSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %.235) #5
  %50 = getelementptr inbounds i8, ptr %49, i64 72
  %51 = load double, ptr %50, align 8, !tbaa !5
  %52 = fcmp olt double %51, %1
  br i1 %52, label %._crit_edge, label %53

53:                                               ; preds = %.lr.ph36
  %54 = call noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue20SuboptimalNodeRbTreeEE11predecessorEl(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %.235)
  call void @_ZN14HighsNodeQueue6unlinkEl(ptr noundef nonnull align 8 dereferenceable(148) %0, i64 noundef %.235)
  %.not28 = icmp eq i64 %54, -1
  br i1 %.not28, label %._crit_edge, label %.lr.ph36, !llvm.loop !55

._crit_edge:                                      ; preds = %53, %.lr.ph36, %46
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %55

55:                                               ; preds = %._crit_edge, %.thread
  %56 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %57

57:                                               ; preds = %2, %55
  %.0 = phi double [ %56, %55 ], [ 0.000000e+00, %2 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  ret double %.0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue15NodeLowerRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK5highs6RbTreeIN14HighsNodeQueue20SuboptimalNodeRbTreeEE4lastEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !22, i64 72}
!6 = !{!"_ZTSN14HighsNodeQueue8OpenNodeE", !7, i64 0, !14, i64 24, !18, i64 48, !22, i64 72, !22, i64 80, !23, i64 88, !24, i64 96, !24, i64 120}
!7 = !{!"_ZTSSt6vectorI17HighsDomainChangeSaIS0_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseI17HighsDomainChangeSaIS0_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseI17HighsDomainChangeSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!18 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIdlEESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!22 = !{!"double", !12, i64 0}
!23 = !{!"int", !12, i64 0}
!24 = !{!"_ZTSN5highs11RbTreeLinksIlEE", !12, i64 0, !25, i64 16}
!25 = !{!"long", !12, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!29, !22, i64 136}
!29 = !{!"_ZTS14HighsNodeQueue", !30, i64 0, !36, i64 8, !40, i64 32, !46, i64 64, !46, i64 72, !25, i64 80, !25, i64 88, !25, i64 96, !25, i64 104, !25, i64 112, !25, i64 120, !25, i64 128, !22, i64 136, !23, i64 144}
!30 = !{!"_ZTSSt10unique_ptrIN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_dataIN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_ELb1ELb1EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_implIN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt5tupleIJPN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EEE", !34, i64 0}
!34 = !{!"_ZTSSt11_Tuple_implILm0EJPN14HighsNodeQueue14AllocatorStateESt14default_deleteIS1_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EPN14HighsNodeQueue14AllocatorStateELb0EE", !11, i64 0}
!36 = !{!"_ZTSSt6vectorIN14HighsNodeQueue8OpenNodeESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIN14HighsNodeQueue8OpenNodeESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIN14HighsNodeQueue8OpenNodeESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN14HighsNodeQueue8OpenNodeESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!40 = !{!"_ZTSSt14priority_queueIlSt6vectorIlSaIlEESt7greaterIlEE", !41, i64 0, !45, i64 24}
!41 = !{!"_ZTSSt6vectorIlSaIlEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIlSaIlEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIlSaIlEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!45 = !{!"_ZTSSt7greaterIlE"}
!46 = !{!"_ZTSSt10unique_ptrISt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEE", !47, i64 0}
!47 = !{!"_ZTSSt15__uniq_ptr_dataISt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteELb1ELb1EE", !48, i64 0}
!48 = !{!"_ZTSSt15__uniq_ptr_implISt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEE", !49, i64 0}
!49 = !{!"_ZTSSt5tupleIJPSt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEEE", !50, i64 0}
!50 = !{!"_ZTSSt11_Tuple_implILm0EJPSt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEENS5_20GlobalOperatorDeleteEEE", !51, i64 0}
!51 = !{!"_ZTSSt10_Head_baseILm0EPSt3setISt4pairIdlESt4lessIS2_EN14HighsNodeQueue16NodesetAllocatorIS2_EEELb0EE", !11, i64 0}
!52 = !{!6, !22, i64 80}
!53 = !{!6, !23, i64 88}
!54 = !{!29, !25, i64 128}
!55 = distinct !{!55, !27}


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