; LLVM IR from ERGO-Code/HiGHS :: src/mip (HighsDomain)

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

%struct.HighsDomainChange = type { double, i32, i32 }
%"struct.HighsDomain::ConflictSet::LocalDomChg" = type { i32, %struct.HighsDomainChange }
%"class.HighsDomain::ConflictSet" = type { ptr, ptr, %"class.std::set.374", %"class.std::set.374", %"class.std::vector.380", %"class.std::vector.385", %"class.std::vector.390" }
%"class.std::set.374" = type { %"class.std::_Rb_tree.375" }
%"class.std::_Rb_tree.375" = type { %"struct.std::_Rb_tree<HighsDomain::ConflictSet::LocalDomChg, HighsDomain::ConflictSet::LocalDomChg, std::_Identity<HighsDomain::ConflictSet::LocalDomChg>, std::less<HighsDomain::ConflictSet::LocalDomChg>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HighsDomain::ConflictSet::LocalDomChg, HighsDomain::ConflictSet::LocalDomChg, std::_Identity<HighsDomain::ConflictSet::LocalDomChg>, std::less<HighsDomain::ConflictSet::LocalDomChg>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.380" = type { %"struct.std::_Vector_base.381" }
%"struct.std::_Vector_base.381" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>, std::allocator<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>, std::allocator<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>, std::allocator<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>, std::allocator<std::_Rb_tree_const_iterator<HighsDomain::ConflictSet::LocalDomChg>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.385" = type { %"struct.std::_Vector_base.386" }
%"struct.std::_Vector_base.386" = type { %"struct.std::_Vector_base<HighsDomain::ConflictSet::LocalDomChg, std::allocator<HighsDomain::ConflictSet::LocalDomChg>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ConflictSet::LocalDomChg, std::allocator<HighsDomain::ConflictSet::LocalDomChg>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ConflictSet::LocalDomChg, std::allocator<HighsDomain::ConflictSet::LocalDomChg>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ConflictSet::LocalDomChg, std::allocator<HighsDomain::ConflictSet::LocalDomChg>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.390" = type { %"struct.std::_Vector_base.391" }
%"struct.std::_Vector_base.391" = type { %"struct.std::_Vector_base<HighsDomain::ConflictSet::ResolveCandidate, std::allocator<HighsDomain::ConflictSet::ResolveCandidate>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ConflictSet::ResolveCandidate, std::allocator<HighsDomain::ConflictSet::ResolveCandidate>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ConflictSet::ResolveCandidate, std::allocator<HighsDomain::ConflictSet::ResolveCandidate>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ConflictSet::ResolveCandidate, std::allocator<HighsDomain::ConflictSet::ResolveCandidate>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsDomain = type { %"class.std::vector", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.13", %"class.std::vector.18", %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.28", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.33", %"class.std::vector", %"class.std::vector.3", %"struct.HighsDomain::ObjectivePropagation", ptr, %"class.std::deque", %"class.std::deque.51", i8, %"struct.HighsDomain::Reason", i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %class.HighsHashTable, i8, %"class.std::vector.33", %"class.std::vector.33" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::Reason, std::allocator<HighsDomain::Reason>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_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<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HighsDomain::ObjectivePropagation" = type { ptr, ptr, ptr, %class.HighsCDouble, i32, double, i8, %"class.std::vector.38", %"class.std::vector.8", %"class.std::vector.33", %"class.std::vector.43" }
%class.HighsCDouble = type { double, double }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::ObjectiveContribution, std::allocator<HighsDomain::ObjectivePropagation::ObjectiveContribution>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsDomain::ObjectivePropagation::PartitionCliqueData, std::allocator<HighsDomain::ObjectivePropagation::PartitionCliqueData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl" }
%"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl" = type { %"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl_data" }
%"struct.std::_Deque_base<HighsDomain::CutpoolPropagation, std::allocator<HighsDomain::CutpoolPropagation>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::deque.51" = type { %"class.std::_Deque_base.52" }
%"class.std::_Deque_base.52" = type { %"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl" }
%"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl" = type { %"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl_data" }
%"struct.std::_Deque_base<HighsDomain::ConflictPoolPropagation, std::allocator<HighsDomain::ConflictPoolPropagation>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.56", %"struct.std::_Deque_iterator.56" }
%"struct.std::_Deque_iterator.56" = type { ptr, ptr, ptr, ptr }
%"struct.HighsDomain::Reason" = type { i32, i32 }
%"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.HighsHashTable = type { %"class.std::unique_ptr", %"class.std::unique_ptr.59", i64, i64, i64 }
%"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.58" }
%"struct.std::_Head_base.58" = type { ptr }
%"class.std::unique_ptr.59" = type { %"struct.std::__uniq_ptr_data.60" }
%"struct.std::__uniq_ptr_data.60" = type { %"class.std::__uniq_ptr_impl.61" }
%"class.std::__uniq_ptr_impl.61" = type { %"class.std::tuple.62" }
%"class.std::tuple.62" = type { %"struct.std::_Tuple_impl.63" }
%"struct.std::_Tuple_impl.63" = type { %"struct.std::_Head_base.66" }
%"struct.std::_Head_base.66" = type { ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = 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 }
%"struct.std::pair.358" = type <{ double, i32, [4 x i8] }>

@.str.52 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei = external hidden unnamed_addr constant [116 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: 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) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, i64 } @_ZNK11HighsDomain4flipERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK11HighsDomain14getColLowerPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK11HighsDomain14getColUpperPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, i32 noundef %3) #4 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %struct.HighsDomainChange, align 8
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca %"struct.HighsDomain::ConflictSet::LocalDomChg", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  %18 = load ptr, ptr %6, align 8
  %19 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 5
  call void @_ZNSt6vectorIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %20 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.HighsDomain::ConflictSet::LocalDomChg", ptr %22, i32 0, i32 1
  %24 = call { double, i64 } @_ZNK11HighsDomain4flipERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %21, ptr noundef nonnull align 8 dereferenceable(16) %23)
  %25 = getelementptr inbounds { double, i64 }, ptr %10, i32 0, i32 0
  %26 = extractvalue { double, i64 } %24, 0
  store double %26, ptr %25, align 8
  %27 = getelementptr inbounds { double, i64 }, ptr %10, i32 0, i32 1
  %28 = extractvalue { double, i64 } %24, 1
  store i64 %28, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 0, ptr %11, align 1, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %245, %4
  %30 = load i32, ptr %12, align 4, !tbaa !9
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  store i32 2, ptr %13, align 4
  br label %248

34:                                               ; preds = %29
  %35 = load i8, ptr %11, align 1, !tbaa !34, !range !36, !noundef !37
  %36 = trunc i8 %35 to i1
  br i1 %36, label %90, label %37

37:                                               ; preds = %34
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds %struct.HighsDomainChange, ptr %38, i64 %40
  %42 = getelementptr inbounds %struct.HighsDomainChange, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !38
  %44 = getelementptr inbounds %struct.HighsDomainChange, ptr %10, i32 0, i32 1
  %45 = load i32, ptr %44, align 8, !tbaa !38
  %46 = icmp eq i32 %43, %45
  br i1 %46, label %47, label %90

47:                                               ; preds = %37
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds %struct.HighsDomainChange, ptr %48, i64 %50
  %52 = getelementptr inbounds %struct.HighsDomainChange, ptr %51, i32 0, i32 2
  %53 = load i32, ptr %52, align 4, !tbaa !42
  %54 = getelementptr inbounds %struct.HighsDomainChange, ptr %10, i32 0, i32 2
  %55 = load i32, ptr %54, align 4, !tbaa !42
  %56 = icmp eq i32 %53, %55
  br i1 %56, label %57, label %90

57:                                               ; preds = %47
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds %struct.HighsDomainChange, ptr %58, i64 %60
  %62 = getelementptr inbounds %struct.HighsDomainChange, ptr %61, i32 0, i32 2
  %63 = load i32, ptr %62, align 4, !tbaa !42
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %77

65:                                               ; preds = %57
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = load i32, ptr %12, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds %struct.HighsDomainChange, ptr %66, i64 %68
  %70 = getelementptr inbounds %struct.HighsDomainChange, ptr %69, i32 0, i32 0
  %71 = load double, ptr %70, align 8, !tbaa !43
  %72 = getelementptr inbounds %struct.HighsDomainChange, ptr %10, i32 0, i32 0
  %73 = load double, ptr %72, align 8, !tbaa !43
  %74 = fcmp ole double %71, %73
  br i1 %74, label %75, label %76

75:                                               ; preds = %65
  store i8 1, ptr %11, align 1, !tbaa !34
  br label %245

76:                                               ; preds = %65
  br label %89

77:                                               ; preds = %57
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds %struct.HighsDomainChange, ptr %78, i64 %80
  %82 = getelementptr inbounds %struct.HighsDomainChange, ptr %81, i32 0, i32 0
  %83 = load double, ptr %82, align 8, !tbaa !43
  %84 = getelementptr inbounds %struct.HighsDomainChange, ptr %10, i32 0, i32 0
  %85 = load double, ptr %84, align 8, !tbaa !43
  %86 = fcmp oge double %83, %85
  br i1 %86, label %87, label %88

87:                                               ; preds = %77
  store i8 1, ptr %11, align 1, !tbaa !34
  br label %245

88:                                               ; preds = %77
  br label %89

89:                                               ; preds = %88, %76
  br label %90

90:                                               ; preds = %89, %47, %37, %34
  %91 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !44
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = load i32, ptr %12, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds %struct.HighsDomainChange, ptr %93, i64 %95
  %97 = call noundef zeroext i1 @_ZNK11HighsDomain8isActiveERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %92, ptr noundef nonnull align 8 dereferenceable(16) %96)
  br i1 %97, label %98, label %99

98:                                               ; preds = %90
  br label %245

99:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds %struct.HighsDomainChange, ptr %100, i64 %102
  %104 = getelementptr inbounds %struct.HighsDomainChange, ptr %103, i32 0, i32 2
  %105 = load i32, ptr %104, align 4, !tbaa !42
  %106 = icmp eq i32 %105, 0
  br i1 %106, label %107, label %169

107:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %108 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !11
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds %struct.HighsDomainChange, ptr %110, i64 %112
  %114 = getelementptr inbounds %struct.HighsDomainChange, ptr %113, i32 0, i32 1
  %115 = load i32, ptr %114, align 8, !tbaa !38
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %"struct.HighsDomain::ConflictSet::LocalDomChg", ptr %116, i32 0, i32 0
  %118 = load i32, ptr %117, align 8, !tbaa !45
  %119 = sub nsw i32 %118, 1
  %120 = call noundef double @_ZNK11HighsDomain14getColLowerPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824) %109, i32 noundef %115, i32 noundef %119, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store double %120, ptr %15, align 8, !tbaa !47
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = icmp eq i32 %121, -1
  br i1 %122, label %132, label %123

123:                                              ; preds = %107
  %124 = load double, ptr %15, align 8, !tbaa !47
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds %struct.HighsDomainChange, ptr %125, i64 %127
  %129 = getelementptr inbounds %struct.HighsDomainChange, ptr %128, i32 0, i32 0
  %130 = load double, ptr %129, align 8, !tbaa !43
  %131 = fcmp olt double %124, %130
  br i1 %131, label %132, label %133

132:                                              ; preds = %123, %107
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %166

133:                                              ; preds = %123
  br label %134

134:                                              ; preds = %164, %133
  %135 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !11
  %137 = getelementptr inbounds %class.HighsDomain, ptr %136, i32 0, i32 5
  %138 = load i32, ptr %14, align 4, !tbaa !9
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %137, i64 noundef %139) #5
  %141 = getelementptr inbounds %"struct.std::pair.358", ptr %140, i32 0, i32 0
  %142 = load double, ptr %141, align 8, !tbaa !48
  %143 = load ptr, ptr %8, align 8, !tbaa !5
  %144 = load i32, ptr %12, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds %struct.HighsDomainChange, ptr %143, i64 %145
  %147 = getelementptr inbounds %struct.HighsDomainChange, ptr %146, i32 0, i32 0
  %148 = load double, ptr %147, align 8, !tbaa !43
  %149 = fcmp oge double %142, %148
  br i1 %149, label %150, label %165

150:                                              ; preds = %134
  %151 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8, !tbaa !11
  %153 = getelementptr inbounds %class.HighsDomain, ptr %152, i32 0, i32 5
  %154 = load i32, ptr %14, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %153, i64 noundef %155) #5
  %157 = getelementptr inbounds %"struct.std::pair.358", ptr %156, i32 0, i32 1
  %158 = load i32, ptr %157, align 8, !tbaa !50
  store i32 %158, ptr %14, align 4, !tbaa !9
  %159 = load i32, ptr %14, align 4, !tbaa !9
  %160 = icmp ne i32 %159, -1
  br i1 %160, label %161, label %162

161:                                              ; preds = %150
  br label %164

162:                                              ; preds = %150
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.52, i32 noundef 3575, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei) #6
  unreachable

163:                                              ; No predecessors!
  br label %164

164:                                              ; preds = %163, %161
  br label %134, !llvm.loop !51

165:                                              ; preds = %134
  store i32 0, ptr %13, align 4
  br label %166

166:                                              ; preds = %165, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  %167 = load i32, ptr %13, align 4
  switch i32 %167, label %242 [
    i32 0, label %168
  ]

168:                                              ; preds = %166
  br label %231

169:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %170 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !11
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = load i32, ptr %12, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds %struct.HighsDomainChange, ptr %172, i64 %174
  %176 = getelementptr inbounds %struct.HighsDomainChange, ptr %175, i32 0, i32 1
  %177 = load i32, ptr %176, align 8, !tbaa !38
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.HighsDomain::ConflictSet::LocalDomChg", ptr %178, i32 0, i32 0
  %180 = load i32, ptr %179, align 8, !tbaa !45
  %181 = sub nsw i32 %180, 1
  %182 = call noundef double @_ZNK11HighsDomain14getColUpperPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824) %171, i32 noundef %177, i32 noundef %181, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store double %182, ptr %16, align 8, !tbaa !47
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = icmp eq i32 %183, -1
  br i1 %184, label %194, label %185

185:                                              ; preds = %169
  %186 = load double, ptr %16, align 8, !tbaa !47
  %187 = load ptr, ptr %8, align 8, !tbaa !5
  %188 = load i32, ptr %12, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds %struct.HighsDomainChange, ptr %187, i64 %189
  %191 = getelementptr inbounds %struct.HighsDomainChange, ptr %190, i32 0, i32 0
  %192 = load double, ptr %191, align 8, !tbaa !43
  %193 = fcmp ogt double %186, %192
  br i1 %193, label %194, label %195

194:                                              ; preds = %185, %169
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %228

195:                                              ; preds = %185
  br label %196

196:                                              ; preds = %226, %195
  %197 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8, !tbaa !11
  %199 = getelementptr inbounds %class.HighsDomain, ptr %198, i32 0, i32 5
  %200 = load i32, ptr %14, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #5
  %203 = getelementptr inbounds %"struct.std::pair.358", ptr %202, i32 0, i32 0
  %204 = load double, ptr %203, align 8, !tbaa !48
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  %206 = load i32, ptr %12, align 4, !tbaa !9
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds %struct.HighsDomainChange, ptr %205, i64 %207
  %209 = getelementptr inbounds %struct.HighsDomainChange, ptr %208, i32 0, i32 0
  %210 = load double, ptr %209, align 8, !tbaa !43
  %211 = fcmp ole double %204, %210
  br i1 %211, label %212, label %227

212:                                              ; preds = %196
  %213 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %214 = load ptr, ptr %213, align 8, !tbaa !11
  %215 = getelementptr inbounds %class.HighsDomain, ptr %214, i32 0, i32 5
  %216 = load i32, ptr %14, align 4, !tbaa !9
  %217 = sext i32 %216 to i64
  %218 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %215, i64 noundef %217) #5
  %219 = getelementptr inbounds %"struct.std::pair.358", ptr %218, i32 0, i32 1
  %220 = load i32, ptr %219, align 8, !tbaa !50
  store i32 %220, ptr %14, align 4, !tbaa !9
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = icmp ne i32 %221, -1
  br i1 %222, label %223, label %224

223:                                              ; preds = %212
  br label %226

224:                                              ; preds = %212
  call void @__assert_fail(ptr noundef @.str.98, ptr noundef @.str.52, i32 noundef 3588, ptr noundef @__PRETTY_FUNCTION__._ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei) #6
  unreachable

225:                                              ; No predecessors!
  br label %226

226:                                              ; preds = %225, %223
  br label %196, !llvm.loop !53

227:                                              ; preds = %196
  store i32 0, ptr %13, align 4
  br label %228

228:                                              ; preds = %227, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %229 = load i32, ptr %13, align 4
  switch i32 %229, label %242 [
    i32 0, label %230
  ]

230:                                              ; preds = %228
  br label %231

231:                                              ; preds = %230, %168
  %232 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #5
  %233 = getelementptr inbounds %"struct.HighsDomain::ConflictSet::LocalDomChg", ptr %17, i32 0, i32 0
  %234 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %234, ptr %233, align 8, !tbaa !45
  %235 = getelementptr inbounds %"struct.HighsDomain::ConflictSet::LocalDomChg", ptr %17, i32 0, i32 1
  %236 = getelementptr inbounds %"class.HighsDomain::ConflictSet", ptr %18, i32 0, i32 0
  %237 = load ptr, ptr %236, align 8, !tbaa !11
  %238 = getelementptr inbounds %class.HighsDomain, ptr %237, i32 0, i32 3
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %235, ptr align 8 %241, i64 16, i1 false), !tbaa.struct !54
  call void @_ZNSt6vectorIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %232, ptr noundef nonnull align 8 dereferenceable(24) %17)
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #5
  store i32 0, ptr %13, align 4
  br label %242

242:                                              ; preds = %231, %228, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %243 = load i32, ptr %13, align 4
  switch i32 %243, label %248 [
    i32 0, label %244
  ]

244:                                              ; preds = %242
  br label %245

245:                                              ; preds = %244, %98, %87, %75
  %246 = load i32, ptr %12, align 4, !tbaa !9
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %12, align 4, !tbaa !9
  br label %29, !llvm.loop !56

248:                                              ; preds = %242, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %249 = load i32, ptr %13, align 4
  switch i32 %249, label %253 [
    i32 2, label %250
  ]

250:                                              ; preds = %248
  %251 = load i8, ptr %11, align 1, !tbaa !34, !range !36, !noundef !37
  %252 = trunc i8 %251 to i1
  store i1 %252, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %253

253:                                              ; preds = %250, %248
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  %254 = load i1, ptr %5, align 1
  ret i1 %254
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN11HighsDomain11ConflictSetE", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 64, !22, i64 112, !26, i64 136, !30, i64 160}
!13 = !{!"_ZTSSt3setIN11HighsDomain11ConflictSet11LocalDomChgESt4lessIS2_ESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIN11HighsDomain11ConflictSet11LocalDomChgES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIN11HighsDomain11ConflictSet11LocalDomChgES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11HighsDomain11ConflictSet11LocalDomChgEEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIN11HighsDomain11ConflictSet11LocalDomChgEE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"_ZTSSt6vectorIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSSt6vectorIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!35, !35, i64 0}
!35 = !{!"bool", !7, i64 0}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!39, !10, i64 8}
!39 = !{!"_ZTS17HighsDomainChange", !40, i64 0, !10, i64 8, !41, i64 12}
!40 = !{!"double", !7, i64 0}
!41 = !{!"_ZTS14HighsBoundType", !7, i64 0}
!42 = !{!39, !41, i64 12}
!43 = !{!39, !40, i64 0}
!44 = !{!12, !6, i64 8}
!45 = !{!46, !10, i64 0}
!46 = !{!"_ZTSN11HighsDomain11ConflictSet11LocalDomChgE", !10, i64 0, !39, i64 8}
!47 = !{!40, !40, i64 0}
!48 = !{!49, !40, i64 0}
!49 = !{!"_ZTSSt4pairIdiE", !40, i64 0, !10, i64 8}
!50 = !{!49, !10, i64 8}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = distinct !{!53, !52}
!54 = !{i64 0, i64 8, !47, i64 8, i64 4, !9, i64 12, i64 4, !55}
!55 = !{!41, !41, i64 0}
!56 = distinct !{!56, !52}


; 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.HighsDomain::ConflictSet::LocalDomChg" = type { i32, %struct.HighsDomainChange }
%struct.HighsDomainChange = type { double, i32, i32 }

@.str.52 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei = external hidden unnamed_addr constant [116 x i8], align 1

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

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

; Function Attrs: mustprogress 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) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, i64 } @_ZNK11HighsDomain4flipERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK11HighsDomain14getColLowerPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK11HighsDomain14getColUpperPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824), i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei(ptr noundef nonnull align 8 dereferenceable(184) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #4 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca %"struct.HighsDomain::ConflictSet::LocalDomChg", align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNSt6vectorIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %8 = load ptr, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = tail call { double, i64 } @_ZNK11HighsDomain4flipERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %11 = extractvalue { double, i64 } %10, 0
  %.not5468 = icmp slt i32 %3, 1
  br i1 %.not5468, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %12 = extractvalue { double, i64 } %10, 1
  %.sroa.5.8.extract.trunc = trunc i64 %12 to i32
  %.sroa.5.12.extract.shift = lshr i64 %12, 32
  %.sroa.5.12.extract.trunc = trunc nuw i64 %.sroa.5.12.extract.shift to i32
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = getelementptr inbounds i8, ptr %6, i64 8
  %15 = zext nneg i32 %3 to i64
  %wide.trip.count = zext nneg i32 %3 to i64
  %16 = icmp ult i64 %12, 4294967296
  br label %17

17:                                               ; preds = %.lr.ph, %100
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %100 ]
  %.not5471 = phi i1 [ false, %.lr.ph ], [ %.not54, %100 ]
  %.04570 = phi i8 [ 0, %.lr.ph ], [ %.146, %100 ]
  %18 = trunc nuw i8 %.04570 to i1
  br i1 %18, label %34, label %19

19:                                               ; preds = %17
  %20 = getelementptr inbounds %struct.HighsDomainChange, ptr %2, i64 %indvars.iv
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load i32, ptr %21, align 8, !tbaa !31
  %23 = icmp eq i32 %22, %.sroa.5.8.extract.trunc
  br i1 %23, label %24, label %34

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %20, i64 12
  %26 = load i32, ptr %25, align 4, !tbaa !36
  %27 = icmp eq i32 %26, %.sroa.5.12.extract.trunc
  br i1 %27, label %28, label %34

28:                                               ; preds = %24
  %29 = load double, ptr %20, align 8, !tbaa !37
  br i1 %16, label %30, label %32

30:                                               ; preds = %28
  %31 = fcmp ugt double %29, %11
  br i1 %31, label %34, label %100

32:                                               ; preds = %28
  %33 = fcmp ult double %29, %11
  br i1 %33, label %34, label %100

34:                                               ; preds = %30, %32, %24, %19, %17
  %35 = load ptr, ptr %13, align 8, !tbaa !38
  %36 = getelementptr inbounds %struct.HighsDomainChange, ptr %2, i64 %indvars.iv
  %37 = call noundef zeroext i1 @_ZNK11HighsDomain8isActiveERK17HighsDomainChange(ptr noundef nonnull align 8 dereferenceable(824) %35, ptr noundef nonnull align 8 dereferenceable(16) %36)
  br i1 %37, label %100, label %38

38:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %39 = getelementptr inbounds i8, ptr %36, i64 12
  %40 = load i32, ptr %39, align 4, !tbaa !36
  %41 = icmp eq i32 %40, 0
  %42 = load ptr, ptr %0, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %36, i64 8
  %44 = load i32, ptr %43, align 8, !tbaa !31
  %45 = load i32, ptr %1, align 8, !tbaa !39
  %46 = add nsw i32 %45, -1
  br i1 %41, label %47, label %71

47:                                               ; preds = %38
  %48 = call noundef double @_ZNK11HighsDomain14getColLowerPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824) %42, i32 noundef %44, i32 noundef %46, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %49 = load i32, ptr %5, align 4, !tbaa !41
  %50 = icmp eq i32 %49, -1
  br i1 %50, label %.critedge, label %51

51:                                               ; preds = %47
  %52 = load double, ptr %36, align 8, !tbaa !37
  %53 = fcmp olt double %48, %52
  br i1 %53, label %.critedge, label %.preheader

.preheader:                                       ; preds = %51, %62
  %54 = phi i32 [ %69, %62 ], [ %49, %51 ]
  %55 = load ptr, ptr %0, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 120
  %57 = sext i32 %54 to i64
  %58 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %57) #5
  %59 = load double, ptr %58, align 8, !tbaa !42
  %60 = load double, ptr %36, align 8, !tbaa !37
  %61 = fcmp ult double %59, %60
  br i1 %61, label %.critedge57, label %62

62:                                               ; preds = %.preheader
  %63 = load ptr, ptr %0, align 8, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %63, i64 120
  %65 = load i32, ptr %5, align 4, !tbaa !41
  %66 = sext i32 %65 to i64
  %67 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %66) #5
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = load i32, ptr %68, align 8, !tbaa !44
  store i32 %69, ptr %5, align 4, !tbaa !41
  %.not53 = icmp eq i32 %69, -1
  br i1 %.not53, label %70, label %.preheader, !llvm.loop !45

70:                                               ; preds = %62
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.52, i32 noundef 3575, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei) #6
  unreachable

71:                                               ; preds = %38
  %72 = call noundef double @_ZNK11HighsDomain14getColUpperPosEiiRi(ptr noundef nonnull align 8 dereferenceable(824) %42, i32 noundef %44, i32 noundef %46, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %73 = load i32, ptr %5, align 4, !tbaa !41
  %74 = icmp eq i32 %73, -1
  br i1 %74, label %.critedge, label %75

75:                                               ; preds = %71
  %76 = load double, ptr %36, align 8, !tbaa !37
  %77 = fcmp ogt double %72, %76
  br i1 %77, label %.critedge, label %.preheader58

.preheader58:                                     ; preds = %75, %86
  %78 = phi i32 [ %93, %86 ], [ %73, %75 ]
  %79 = load ptr, ptr %0, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %79, i64 120
  %81 = sext i32 %78 to i64
  %82 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %81) #5
  %83 = load double, ptr %82, align 8, !tbaa !42
  %84 = load double, ptr %36, align 8, !tbaa !37
  %85 = fcmp ugt double %83, %84
  br i1 %85, label %.critedge57, label %86

86:                                               ; preds = %.preheader58
  %87 = load ptr, ptr %0, align 8, !tbaa !5
  %88 = getelementptr inbounds i8, ptr %87, i64 120
  %89 = load i32, ptr %5, align 4, !tbaa !41
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorISt4pairIdiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef %90) #5
  %92 = getelementptr inbounds i8, ptr %91, i64 8
  %93 = load i32, ptr %92, align 8, !tbaa !44
  store i32 %93, ptr %5, align 4, !tbaa !41
  %.not = icmp eq i32 %93, -1
  br i1 %.not, label %94, label %.preheader58, !llvm.loop !47

94:                                               ; preds = %86
  call void @__assert_fail(ptr noundef nonnull @.str.98, ptr noundef nonnull @.str.52, i32 noundef 3588, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11HighsDomain11ConflictSet26explainBoundChangeConflictERKNS0_11LocalDomChgEPK17HighsDomainChangei) #6
  unreachable

.critedge57:                                      ; preds = %.preheader58, %.preheader
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %95 = load i32, ptr %5, align 4, !tbaa !41
  store i32 %95, ptr %6, align 8, !tbaa !39
  %96 = load ptr, ptr %0, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 72
  %98 = sext i32 %95 to i64
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI17HighsDomainChangeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %98) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %99, i64 16, i1 false), !tbaa.struct !48
  call void @_ZNSt6vectorIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %100

.critedge:                                        ; preds = %75, %71, %51, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %.loopexit

100:                                              ; preds = %.critedge57, %32, %30, %34
  %.146 = phi i8 [ %.04570, %34 ], [ 1, %30 ], [ 1, %32 ], [ %.04570, %.critedge57 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not54 = icmp uge i64 %indvars.iv.next, %15
  %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond, label %.loopexit, label %17, !llvm.loop !51

.loopexit:                                        ; preds = %100, %4, %.critedge
  %.04567 = phi i8 [ %.04570, %.critedge ], [ 0, %4 ], [ %.146, %100 ]
  %.not5463 = phi i1 [ %.not5471, %.critedge ], [ true, %4 ], [ %.not54, %100 ]
  %101 = trunc nuw i8 %.04567 to i1
  %spec.select = select i1 %.not5463, i1 %101, i1 false
  ret i1 %spec.select
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN11HighsDomain11ConflictSetE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 64, !19, i64 112, !23, i64 136, !27, i64 160}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt3setIN11HighsDomain11ConflictSet11LocalDomChgESt4lessIS2_ESaIS2_EE", !11, i64 0}
!11 = !{!"_ZTSSt8_Rb_treeIN11HighsDomain11ConflictSet11LocalDomChgES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE", !12, i64 0}
!12 = !{!"_ZTSNSt8_Rb_treeIN11HighsDomain11ConflictSet11LocalDomChgES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE13_Rb_tree_implIS6_Lb1EEE", !13, i64 0, !15, i64 8}
!13 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN11HighsDomain11ConflictSet11LocalDomChgEEE", !14, i64 0}
!14 = !{!"_ZTSSt4lessIN11HighsDomain11ConflictSet11LocalDomChgEE"}
!15 = !{!"_ZTSSt15_Rb_tree_header", !16, i64 0, !18, i64 32}
!16 = !{!"_ZTSSt18_Rb_tree_node_base", !17, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!17 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorIN11HighsDomain11ConflictSet11LocalDomChgEESaIS4_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!23 = !{!"_ZTSSt6vectorIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet11LocalDomChgESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!27 = !{!"_ZTSSt6vectorIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN11HighsDomain11ConflictSet16ResolveCandidateESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!31 = !{!32, !34, i64 8}
!32 = !{!"_ZTS17HighsDomainChange", !33, i64 0, !34, i64 8, !35, i64 12}
!33 = !{!"double", !8, i64 0}
!34 = !{!"int", !8, i64 0}
!35 = !{!"_ZTS14HighsBoundType", !8, i64 0}
!36 = !{!32, !35, i64 12}
!37 = !{!32, !33, i64 0}
!38 = !{!6, !7, i64 8}
!39 = !{!40, !34, i64 0}
!40 = !{!"_ZTSN11HighsDomain11ConflictSet11LocalDomChgE", !34, i64 0, !32, i64 8}
!41 = !{!34, !34, i64 0}
!42 = !{!43, !33, i64 0}
!43 = !{!"_ZTSSt4pairIdiE", !33, i64 0, !34, i64 8}
!44 = !{!43, !34, i64 8}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = distinct !{!47, !46}
!48 = !{i64 0, i64 8, !49, i64 8, i64 4, !41, i64 12, i64 4, !50}
!49 = !{!33, !33, i64 0}
!50 = !{!35, !35, i64 0}
!51 = distinct !{!51, !46}


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