; LLVM IR from ERGO-Code/HiGHS :: src/presolve/HPresolveAnalysis.ll (ZN17HPresolveAnalysis22analysePresolveRuleLogEb)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%class.HPresolveAnalysis = type { ptr, ptr, ptr, ptr, ptr, i32, i32, %"class.std::vector", i8, i8, i32, i32, i32, %struct.HighsPresolveLog }
%"class.std::vector" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%struct.HighsPresolveLog = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsOptionsStruct = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i8, i8, i32, i32, double, i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, double, double, double, double, double, double, double, double, double, double, double, i8, i8, i8, i8, i32, double, i8, i8, %"class.std::__cxx11::basic_string", double, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, i8, i8, %"class.std::__cxx11::basic_string", i8, i32, %struct.HighsLogOptions }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%struct.HighsPresolveRuleLog = type { i32, i32, i32 }
%class.HighsLp = type { i32, i32, %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.22", %"class.std::vector.22", %"class.std::vector.27", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector.17", %"class.std::vector.17", %"class.std::vector.17", %"class.std::vector.12" }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = 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.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsNameHash = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.12", %"class.std::vector.12" }
%struct.HighsLpMods = type { %"class.std::vector.17", %"class.std::vector.17", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.27", %"class.std::vector.17", %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.12", %"class.std::vector.12", %"class.std::vector.12" }

@.str.55 = external hidden unnamed_addr constant [84 x i8], align 1
@stdout = external global ptr, align 8
@.str.68 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [35 x i8], align 1
@__PRETTY_FUNCTION__._ZN17HPresolveAnalysis22analysePresolveRuleLogEb = external hidden unnamed_addr constant [59 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_Z28utilPresolveRuleTypeToStringB5cxx11i(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #3

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

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

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

declare i32 @fflush(ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN17HPresolveAnalysis22analysePresolveRuleLogEb(ptr noundef nonnull align 8 dereferenceable(128) %0, i1 noundef zeroext %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %17 = zext i1 %1 to i8
  store i8 %17, ptr %5, align 1, !tbaa !9
  %18 = load ptr, ptr %4, align 8
  %19 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 8
  %20 = load i8, ptr %19, align 8, !tbaa !11, !range !25, !noundef !26
  %21 = trunc i8 %20 to i1
  br i1 %21, label %23, label %22

22:                                               ; preds = %2
  store i1 true, ptr %3, align 1
  br label %247

23:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %24 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !27
  %26 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %25, i32 0, i32 130
  store ptr %26, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !28
  br label %27

27:                                               ; preds = %50, %23
  %28 = load i32, ptr %9, align 4, !tbaa !28
  %29 = icmp slt i32 %28, 14
  br i1 %29, label %31, label %30

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

31:                                               ; preds = %27
  %32 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %33 = getelementptr inbounds %struct.HighsPresolveLog, ptr %32, i32 0, i32 0
  %34 = load i32, ptr %9, align 4, !tbaa !28
  %35 = sext i32 %34 to i64
  %36 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35) #5
  %37 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %36, i32 0, i32 2
  %38 = load i32, ptr %37, align 4, !tbaa !29
  %39 = load i32, ptr %7, align 4, !tbaa !28
  %40 = add nsw i32 %39, %38
  store i32 %40, ptr %7, align 4, !tbaa !28
  %41 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %42 = getelementptr inbounds %struct.HighsPresolveLog, ptr %41, i32 0, i32 0
  %43 = load i32, ptr %9, align 4, !tbaa !28
  %44 = sext i32 %43 to i64
  %45 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %44) #5
  %46 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 4, !tbaa !31
  %48 = load i32, ptr %8, align 4, !tbaa !28
  %49 = add nsw i32 %48, %47
  store i32 %49, ptr %8, align 4, !tbaa !28
  br label %50

50:                                               ; preds = %31
  %51 = load i32, ptr %9, align 4, !tbaa !28
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %9, align 4, !tbaa !28
  br label %27, !llvm.loop !32

53:                                               ; preds = %30
  %54 = load i8, ptr %5, align 1, !tbaa !9, !range !25, !noundef !26
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %182

56:                                               ; preds = %53
  %57 = load i32, ptr %7, align 4, !tbaa !28
  %58 = load i32, ptr %8, align 4, !tbaa !28
  %59 = add nsw i32 %57, %58
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %182

61:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.68, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %62 unwind label %75

62:                                               ; preds = %61
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %63, i32 noundef 1, ptr noundef @.str.69, ptr noundef %64)
          to label %65 unwind label %79

65:                                               ; preds = %62
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %66, i32 noundef 1, ptr noundef @.str.70, ptr noundef @.str.71)
          to label %67 unwind label %79

67:                                               ; preds = %65
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %68, i32 noundef 1, ptr noundef @.str.69, ptr noundef %69)
          to label %70 unwind label %79

70:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !28
  br label %71

71:                                               ; preds = %147, %70
  %72 = load i32, ptr %14, align 4, !tbaa !28
  %73 = icmp slt i32 %72, 14
  br i1 %73, label %83, label %74

74:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %150

75:                                               ; preds = %61
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %12, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %181

79:                                               ; preds = %176, %166, %160, %157, %153, %150, %67, %65, %62
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %12, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %13, align 4
  br label %180

83:                                               ; preds = %71
  %84 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %85 = getelementptr inbounds %struct.HighsPresolveLog, ptr %84, i32 0, i32 0
  %86 = load i32, ptr %14, align 4, !tbaa !28
  %87 = sext i32 %86 to i64
  %88 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %87) #5
  %89 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %88, i32 0, i32 0
  %90 = load i32, ptr %89, align 4, !tbaa !34
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %110, label %92

92:                                               ; preds = %83
  %93 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %94 = getelementptr inbounds %struct.HighsPresolveLog, ptr %93, i32 0, i32 0
  %95 = load i32, ptr %14, align 4, !tbaa !28
  %96 = sext i32 %95 to i64
  %97 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %96) #5
  %98 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %97, i32 0, i32 2
  %99 = load i32, ptr %98, align 4, !tbaa !29
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %110, label %101

101:                                              ; preds = %92
  %102 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %103 = getelementptr inbounds %struct.HighsPresolveLog, ptr %102, i32 0, i32 0
  %104 = load i32, ptr %14, align 4, !tbaa !28
  %105 = sext i32 %104 to i64
  %106 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %105) #5
  %107 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %106, i32 0, i32 1
  %108 = load i32, ptr %107, align 4, !tbaa !31
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %146

110:                                              ; preds = %101, %92, %83
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #5
  %112 = load i32, ptr %14, align 4, !tbaa !28
  invoke void @_Z28utilPresolveRuleTypeToStringB5cxx11i(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, i32 noundef %112)
          to label %113 unwind label %137

113:                                              ; preds = %110
  %114 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  %115 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %116 = getelementptr inbounds %struct.HighsPresolveLog, ptr %115, i32 0, i32 0
  %117 = load i32, ptr %14, align 4, !tbaa !28
  %118 = sext i32 %117 to i64
  %119 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118) #5
  %120 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %119, i32 0, i32 2
  %121 = load i32, ptr %120, align 4, !tbaa !29
  %122 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %123 = getelementptr inbounds %struct.HighsPresolveLog, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %14, align 4, !tbaa !28
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %123, i64 noundef %125) #5
  %127 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %126, i32 0, i32 1
  %128 = load i32, ptr %127, align 4, !tbaa !31
  %129 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 13
  %130 = getelementptr inbounds %struct.HighsPresolveLog, ptr %129, i32 0, i32 0
  %131 = load i32, ptr %14, align 4, !tbaa !28
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %130, i64 noundef %132) #5
  %134 = getelementptr inbounds %struct.HighsPresolveRuleLog, ptr %133, i32 0, i32 0
  %135 = load i32, ptr %134, align 4, !tbaa !34
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %111, i32 noundef 1, ptr noundef @.str.72, ptr noundef %114, i32 noundef %121, i32 noundef %128, i32 noundef %135)
          to label %136 unwind label %141

136:                                              ; preds = %113
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  br label %146

137:                                              ; preds = %110
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %12, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %13, align 4
  br label %145

141:                                              ; preds = %113
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %12, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %145

145:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %180

146:                                              ; preds = %136, %101
  br label %147

147:                                              ; preds = %146
  %148 = load i32, ptr %14, align 4, !tbaa !28
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %14, align 4, !tbaa !28
  br label %71, !llvm.loop !35

150:                                              ; preds = %74
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %151, i32 noundef 1, ptr noundef @.str.69, ptr noundef %152)
          to label %153 unwind label %79

153:                                              ; preds = %150
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !28
  %156 = load i32, ptr %8, align 4, !tbaa !28
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %154, i32 noundef 1, ptr noundef @.str.73, ptr noundef @.str.74, i32 noundef %155, i32 noundef %156)
          to label %157 unwind label %79

157:                                              ; preds = %153
  %158 = load ptr, ptr %6, align 8, !tbaa !5
  %159 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %158, i32 noundef 1, ptr noundef @.str.69, ptr noundef %159)
          to label %160 unwind label %79

160:                                              ; preds = %157
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 6
  %163 = load i32, ptr %162, align 4, !tbaa !36
  %164 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 5
  %165 = load i32, ptr %164, align 8, !tbaa !37
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %161, i32 noundef 1, ptr noundef @.str.73, ptr noundef @.str.75, i32 noundef %163, i32 noundef %165)
          to label %166 unwind label %79

166:                                              ; preds = %160
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 6
  %169 = load i32, ptr %168, align 4, !tbaa !36
  %170 = load i32, ptr %7, align 4, !tbaa !28
  %171 = sub nsw i32 %169, %170
  %172 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 5
  %173 = load i32, ptr %172, align 8, !tbaa !37
  %174 = load i32, ptr %8, align 4, !tbaa !28
  %175 = sub nsw i32 %173, %174
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %167, i32 noundef 1, ptr noundef @.str.73, ptr noundef @.str.76, i32 noundef %171, i32 noundef %175)
          to label %176 unwind label %79

176:                                              ; preds = %166
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %177, i32 noundef 1, ptr noundef @.str.69, ptr noundef %178)
          to label %179 unwind label %79

179:                                              ; preds = %176
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  br label %182

180:                                              ; preds = %145, %79
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  br label %181

181:                                              ; preds = %180, %75
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %249

182:                                              ; preds = %179, %56, %53
  %183 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 6
  %184 = load i32, ptr %183, align 4, !tbaa !36
  %185 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 0
  %186 = load ptr, ptr %185, align 8, !tbaa !38
  %187 = getelementptr inbounds %class.HighsLp, ptr %186, i32 0, i32 1
  %188 = load i32, ptr %187, align 4, !tbaa !39
  %189 = icmp eq i32 %184, %188
  br i1 %189, label %190, label %245

190:                                              ; preds = %182
  %191 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 5
  %192 = load i32, ptr %191, align 8, !tbaa !37
  %193 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 0
  %194 = load ptr, ptr %193, align 8, !tbaa !38
  %195 = getelementptr inbounds %class.HighsLp, ptr %194, i32 0, i32 0
  %196 = load i32, ptr %195, align 8, !tbaa !72
  %197 = icmp eq i32 %192, %196
  br i1 %197, label %198, label %245

198:                                              ; preds = %190
  %199 = load i32, ptr %7, align 4, !tbaa !28
  %200 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 3
  %201 = load ptr, ptr %200, align 8, !tbaa !73
  %202 = load i32, ptr %201, align 4, !tbaa !28
  %203 = icmp ne i32 %199, %202
  br i1 %203, label %204, label %221

204:                                              ; preds = %198
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = load i32, ptr %7, align 4, !tbaa !28
  %207 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 3
  %208 = load ptr, ptr %207, align 8, !tbaa !73
  %209 = load i32, ptr %208, align 4, !tbaa !28
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %205, i32 noundef 5, ptr noundef @.str.77, i32 noundef %206, i32 noundef %209)
  %210 = load ptr, ptr @stdout, align 8, !tbaa !5
  %211 = call i32 @fflush(ptr noundef %210)
  %212 = load i32, ptr %7, align 4, !tbaa !28
  %213 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 3
  %214 = load ptr, ptr %213, align 8, !tbaa !73
  %215 = load i32, ptr %214, align 4, !tbaa !28
  %216 = icmp eq i32 %212, %215
  br i1 %216, label %217, label %218

217:                                              ; preds = %204
  br label %220

218:                                              ; preds = %204
  call void @__assert_fail(ptr noundef @.str.78, ptr noundef @.str.55, i32 noundef 212, ptr noundef @__PRETTY_FUNCTION__._ZN17HPresolveAnalysis22analysePresolveRuleLogEb) #6
  unreachable

219:                                              ; No predecessors!
  br label %220

220:                                              ; preds = %219, %217
  store i1 false, ptr %3, align 1
  store i32 1, ptr %16, align 4
  br label %246

221:                                              ; preds = %198
  %222 = load i32, ptr %8, align 4, !tbaa !28
  %223 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 4
  %224 = load ptr, ptr %223, align 8, !tbaa !74
  %225 = load i32, ptr %224, align 4, !tbaa !28
  %226 = icmp ne i32 %222, %225
  br i1 %226, label %227, label %244

227:                                              ; preds = %221
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = load i32, ptr %8, align 4, !tbaa !28
  %230 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 4
  %231 = load ptr, ptr %230, align 8, !tbaa !74
  %232 = load i32, ptr %231, align 4, !tbaa !28
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %228, i32 noundef 5, ptr noundef @.str.79, i32 noundef %229, i32 noundef %232)
  %233 = load ptr, ptr @stdout, align 8, !tbaa !5
  %234 = call i32 @fflush(ptr noundef %233)
  %235 = load i32, ptr %8, align 4, !tbaa !28
  %236 = getelementptr inbounds %class.HPresolveAnalysis, ptr %18, i32 0, i32 4
  %237 = load ptr, ptr %236, align 8, !tbaa !74
  %238 = load i32, ptr %237, align 4, !tbaa !28
  %239 = icmp eq i32 %235, %238
  br i1 %239, label %240, label %241

240:                                              ; preds = %227
  br label %243

241:                                              ; preds = %227
  call void @__assert_fail(ptr noundef @.str.80, ptr noundef @.str.55, i32 noundef 220, ptr noundef @__PRETTY_FUNCTION__._ZN17HPresolveAnalysis22analysePresolveRuleLogEb) #6
  unreachable

242:                                              ; No predecessors!
  br label %243

243:                                              ; preds = %242, %240
  store i1 false, ptr %3, align 1
  store i32 1, ptr %16, align 4
  br label %246

244:                                              ; preds = %221
  br label %245

245:                                              ; preds = %244, %190, %182
  store i1 true, ptr %3, align 1
  store i32 1, ptr %16, align 4
  br label %246

246:                                              ; preds = %245, %243, %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %247

247:                                              ; preds = %246, %22
  %248 = load i1, ptr %3, align 1
  ret i1 %248

249:                                              ; preds = %181
  %250 = load ptr, ptr %12, align 8
  %251 = load i32, ptr %13, align 4
  %252 = insertvalue { ptr, i32 } poison, ptr %250, 0
  %253 = insertvalue { ptr, i32 } %252, i32 %251, 1
  resume { ptr, i32 } %253
}

declare void @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr noundef, ...) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "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 = !{!"bool", !7, i64 0}
!11 = !{!12, !10, i64 88}
!12 = !{!"_ZTS17HPresolveAnalysis", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !14, i64 48, !10, i64 88, !10, i64 89, !13, i64 92, !13, i64 96, !13, i64 100, !20, i64 104}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIbSaIbEE", !15, i64 0}
!15 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !16, i64 0}
!16 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !18, i64 0, !18, i64 16, !6, i64 32}
!18 = !{!"_ZTSSt13_Bit_iterator", !19, i64 0}
!19 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !13, i64 8}
!20 = !{!"_ZTS16HighsPresolveLog", !21, i64 0}
!21 = !{!"_ZTSSt6vectorI20HighsPresolveRuleLogSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!12, !6, i64 8}
!28 = !{!13, !13, i64 0}
!29 = !{!30, !13, i64 8}
!30 = !{!"_ZTS20HighsPresolveRuleLog", !13, i64 0, !13, i64 4, !13, i64 8}
!31 = !{!30, !13, i64 4}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!30, !13, i64 0}
!35 = distinct !{!35, !33}
!36 = !{!12, !13, i64 44}
!37 = !{!12, !13, i64 40}
!38 = !{!12, !6, i64 0}
!39 = !{!40, !13, i64 4}
!40 = !{!"_ZTS7HighsLp", !13, i64 0, !13, i64 4, !41, i64 8, !41, i64 32, !41, i64 56, !41, i64 80, !41, i64 104, !45, i64 128, !51, i64 240, !52, i64 248, !53, i64 256, !53, i64 288, !13, i64 320, !13, i64 324, !56, i64 328, !56, i64 352, !60, i64 376, !64, i64 400, !64, i64 456, !13, i64 512, !13, i64 516, !70, i64 520, !10, i64 592, !10, i64 593, !13, i64 596, !10, i64 600, !71, i64 608}
!41 = !{!"_ZTSSt6vectorIdSaIdEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTS17HighsSparseMatrix", !46, i64 0, !13, i64 4, !13, i64 8, !47, i64 16, !47, i64 40, !47, i64 64, !41, i64 88}
!46 = !{!"_ZTS12MatrixFormat", !7, i64 0}
!47 = !{!"_ZTSSt6vectorIiSaIiEE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!51 = !{!"_ZTS8ObjSense", !7, i64 0}
!52 = !{!"double", !7, i64 0}
!53 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !54, i64 0, !55, i64 8, !7, i64 16}
!54 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!55 = !{!"long", !7, i64 0}
!56 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!60 = !{!"_ZTSSt6vectorI12HighsVarTypeSaIS0_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseI12HighsVarTypeSaIS0_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!64 = !{!"_ZTS13HighsNameHash", !65, i64 0}
!65 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !66, i64 0}
!66 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !55, i64 8, !67, i64 16, !55, i64 24, !68, i64 32, !6, i64 48}
!67 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!68 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !69, i64 0, !55, i64 8}
!69 = !{!"float", !7, i64 0}
!70 = !{!"_ZTS10HighsScale", !13, i64 0, !10, i64 4, !13, i64 8, !13, i64 12, !52, i64 16, !41, i64 24, !41, i64 48}
!71 = !{!"_ZTS11HighsLpMods", !47, i64 0, !47, i64 24, !41, i64 48, !41, i64 72, !60, i64 96, !47, i64 120, !41, i64 144, !47, i64 168, !41, i64 192, !47, i64 216, !41, i64 240, !41, i64 264, !41, i64 288}
!72 = !{!40, !13, i64 0}
!73 = !{!12, !6, i64 24}
!74 = !{!12, !6, i64 32}


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

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

@.str.55 = external hidden unnamed_addr constant [84 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.68 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.71 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [35 x i8], align 1
@__PRETTY_FUNCTION__._ZN17HPresolveAnalysis22analysePresolveRuleLogEb = external hidden unnamed_addr constant [59 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [35 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_Z28utilPresolveRuleTypeToStringB5cxx11i(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN17HPresolveAnalysis22analysePresolveRuleLogEb(ptr noundef nonnull align 8 dereferenceable(128) %0, i1 noundef zeroext %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 88
  %7 = load i8, ptr %6, align 8, !tbaa !5, !range !23, !noundef !24
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %9, label %218

9:                                                ; preds = %2
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !25
  %12 = getelementptr inbounds i8, ptr %0, i64 104
  %13 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #6
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  %15 = load i32, ptr %14, align 4, !tbaa !26
  %16 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #6
  %17 = getelementptr inbounds i8, ptr %16, i64 4
  %18 = load i32, ptr %17, align 4, !tbaa !28
  %19 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #6
  %20 = getelementptr inbounds i8, ptr %19, i64 8
  %21 = load i32, ptr %20, align 4, !tbaa !26
  %22 = add nsw i32 %21, %15
  %23 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 1) #6
  %24 = getelementptr inbounds i8, ptr %23, i64 4
  %25 = load i32, ptr %24, align 4, !tbaa !28
  %26 = add nsw i32 %25, %18
  %27 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 2) #6
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  %29 = load i32, ptr %28, align 4, !tbaa !26
  %30 = add nsw i32 %29, %22
  %31 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 2) #6
  %32 = getelementptr inbounds i8, ptr %31, i64 4
  %33 = load i32, ptr %32, align 4, !tbaa !28
  %34 = add nsw i32 %33, %26
  %35 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 3) #6
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = load i32, ptr %36, align 4, !tbaa !26
  %38 = add nsw i32 %37, %30
  %39 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 3) #6
  %40 = getelementptr inbounds i8, ptr %39, i64 4
  %41 = load i32, ptr %40, align 4, !tbaa !28
  %42 = add nsw i32 %41, %34
  %43 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 4) #6
  %44 = getelementptr inbounds i8, ptr %43, i64 8
  %45 = load i32, ptr %44, align 4, !tbaa !26
  %46 = add nsw i32 %45, %38
  %47 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 4) #6
  %48 = getelementptr inbounds i8, ptr %47, i64 4
  %49 = load i32, ptr %48, align 4, !tbaa !28
  %50 = add nsw i32 %49, %42
  %51 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 5) #6
  %52 = getelementptr inbounds i8, ptr %51, i64 8
  %53 = load i32, ptr %52, align 4, !tbaa !26
  %54 = add nsw i32 %53, %46
  %55 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 5) #6
  %56 = getelementptr inbounds i8, ptr %55, i64 4
  %57 = load i32, ptr %56, align 4, !tbaa !28
  %58 = add nsw i32 %57, %50
  %59 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 6) #6
  %60 = getelementptr inbounds i8, ptr %59, i64 8
  %61 = load i32, ptr %60, align 4, !tbaa !26
  %62 = add nsw i32 %61, %54
  %63 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 6) #6
  %64 = getelementptr inbounds i8, ptr %63, i64 4
  %65 = load i32, ptr %64, align 4, !tbaa !28
  %66 = add nsw i32 %65, %58
  %67 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 7) #6
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = load i32, ptr %68, align 4, !tbaa !26
  %70 = add nsw i32 %69, %62
  %71 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 7) #6
  %72 = getelementptr inbounds i8, ptr %71, i64 4
  %73 = load i32, ptr %72, align 4, !tbaa !28
  %74 = add nsw i32 %73, %66
  %75 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 8) #6
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = load i32, ptr %76, align 4, !tbaa !26
  %78 = add nsw i32 %77, %70
  %79 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 8) #6
  %80 = getelementptr inbounds i8, ptr %79, i64 4
  %81 = load i32, ptr %80, align 4, !tbaa !28
  %82 = add nsw i32 %81, %74
  %83 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 9) #6
  %84 = getelementptr inbounds i8, ptr %83, i64 8
  %85 = load i32, ptr %84, align 4, !tbaa !26
  %86 = add nsw i32 %85, %78
  %87 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 9) #6
  %88 = getelementptr inbounds i8, ptr %87, i64 4
  %89 = load i32, ptr %88, align 4, !tbaa !28
  %90 = add nsw i32 %89, %82
  %91 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 10) #6
  %92 = getelementptr inbounds i8, ptr %91, i64 8
  %93 = load i32, ptr %92, align 4, !tbaa !26
  %94 = add nsw i32 %93, %86
  %95 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 10) #6
  %96 = getelementptr inbounds i8, ptr %95, i64 4
  %97 = load i32, ptr %96, align 4, !tbaa !28
  %98 = add nsw i32 %97, %90
  %99 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 11) #6
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load i32, ptr %100, align 4, !tbaa !26
  %102 = add nsw i32 %101, %94
  %103 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 11) #6
  %104 = getelementptr inbounds i8, ptr %103, i64 4
  %105 = load i32, ptr %104, align 4, !tbaa !28
  %106 = add nsw i32 %105, %98
  %107 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 12) #6
  %108 = getelementptr inbounds i8, ptr %107, i64 8
  %109 = load i32, ptr %108, align 4, !tbaa !26
  %110 = add nsw i32 %109, %102
  %111 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 12) #6
  %112 = getelementptr inbounds i8, ptr %111, i64 4
  %113 = load i32, ptr %112, align 4, !tbaa !28
  %114 = add nsw i32 %113, %106
  %115 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 13) #6
  %116 = getelementptr inbounds i8, ptr %115, i64 8
  %117 = load i32, ptr %116, align 4, !tbaa !26
  %118 = add nsw i32 %117, %110
  %119 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 13) #6
  %120 = getelementptr inbounds i8, ptr %119, i64 4
  %121 = load i32, ptr %120, align 4, !tbaa !28
  %122 = add nsw i32 %121, %114
  %123 = getelementptr inbounds i8, ptr %11, i64 896
  %124 = sub i32 0, %122
  %.not = icmp ne i32 %118, %124
  %or.cond.not = select i1 %1, i1 %.not, i1 false
  br i1 %or.cond.not, label %125, label %184

125:                                              ; preds = %9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.68, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %126 unwind label %133

126:                                              ; preds = %125
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  %127 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.69, ptr noundef %127)
          to label %128 unwind label %135

128:                                              ; preds = %126
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.70, ptr noundef nonnull @.str.71)
          to label %129 unwind label %135

129:                                              ; preds = %128
  %130 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.69, ptr noundef %130)
          to label %.preheader unwind label %135

131:                                              ; preds = %165
  %132 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.69, ptr noundef %132)
          to label %166 unwind label %135

133:                                              ; preds = %125
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %183

135:                                              ; preds = %179, %174, %169, %167, %166, %131, %129, %128, %126
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %182

.preheader:                                       ; preds = %129, %165
  %indvars.iv = phi i64 [ %indvars.iv.next, %165 ], [ 0, %129 ]
  %137 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  %138 = load i32, ptr %137, align 4, !tbaa !29
  %.not56 = icmp eq i32 %138, 0
  br i1 %.not56, label %139, label %147

139:                                              ; preds = %.preheader
  %140 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  %141 = getelementptr inbounds i8, ptr %140, i64 8
  %142 = load i32, ptr %141, align 4, !tbaa !26
  %.not57 = icmp eq i32 %142, 0
  br i1 %.not57, label %143, label %147

143:                                              ; preds = %139
  %144 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  %145 = getelementptr inbounds i8, ptr %144, i64 4
  %146 = load i32, ptr %145, align 4, !tbaa !28
  %.not58 = icmp eq i32 %146, 0
  br i1 %.not58, label %165, label %147

147:                                              ; preds = %143, %139, %.preheader
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  %148 = trunc nuw nsw i64 %indvars.iv to i32
  invoke void @_Z28utilPresolveRuleTypeToStringB5cxx11i(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, i32 noundef %148)
          to label %149 unwind label %160

149:                                              ; preds = %147
  %150 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  %151 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  %152 = getelementptr inbounds i8, ptr %151, i64 8
  %153 = load i32, ptr %152, align 4, !tbaa !26
  %154 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  %155 = getelementptr inbounds i8, ptr %154, i64 4
  %156 = load i32, ptr %155, align 4, !tbaa !28
  %157 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI20HighsPresolveRuleLogSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %indvars.iv) #6
  %158 = load i32, ptr %157, align 4, !tbaa !29
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.72, ptr noundef %150, i32 noundef %153, i32 noundef %156, i32 noundef %158)
          to label %159 unwind label %162

159:                                              ; preds = %149
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %165

160:                                              ; preds = %147
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %149
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %164

164:                                              ; preds = %162, %160
  %.pn = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %182

165:                                              ; preds = %143, %159
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 14
  br i1 %exitcond.not, label %131, label %.preheader, !llvm.loop !30

166:                                              ; preds = %131
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.74, i32 noundef %118, i32 noundef %122)
          to label %167 unwind label %135

167:                                              ; preds = %166
  %168 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.69, ptr noundef %168)
          to label %169 unwind label %135

169:                                              ; preds = %167
  %170 = getelementptr inbounds i8, ptr %0, i64 44
  %171 = load i32, ptr %170, align 4, !tbaa !32
  %172 = getelementptr inbounds i8, ptr %0, i64 40
  %173 = load i32, ptr %172, align 8, !tbaa !33
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.75, i32 noundef %171, i32 noundef %173)
          to label %174 unwind label %135

174:                                              ; preds = %169
  %175 = load i32, ptr %170, align 4, !tbaa !32
  %176 = sub nsw i32 %175, %118
  %177 = load i32, ptr %172, align 8, !tbaa !33
  %178 = sub nsw i32 %177, %122
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.76, i32 noundef %176, i32 noundef %178)
          to label %179 unwind label %135

179:                                              ; preds = %174
  %180 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  invoke void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 1, ptr noundef nonnull @.str.69, ptr noundef %180)
          to label %181 unwind label %135

181:                                              ; preds = %179
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %184

182:                                              ; preds = %164, %135
  %.pn.pn = phi { ptr, i32 } [ %.pn, %164 ], [ %136, %135 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %183

183:                                              ; preds = %182, %133
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %182 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn.pn.pn

184:                                              ; preds = %181, %9
  %185 = getelementptr inbounds i8, ptr %0, i64 44
  %186 = load i32, ptr %185, align 4, !tbaa !32
  %187 = load ptr, ptr %0, align 8, !tbaa !34
  %188 = getelementptr inbounds i8, ptr %187, i64 4
  %189 = load i32, ptr %188, align 4, !tbaa !35
  %190 = icmp eq i32 %186, %189
  br i1 %190, label %191, label %218

191:                                              ; preds = %184
  %192 = getelementptr inbounds i8, ptr %0, i64 40
  %193 = load i32, ptr %192, align 8, !tbaa !33
  %194 = load i32, ptr %187, align 8, !tbaa !68
  %195 = icmp eq i32 %193, %194
  br i1 %195, label %196, label %218

196:                                              ; preds = %191
  %197 = getelementptr inbounds i8, ptr %0, i64 24
  %198 = load ptr, ptr %197, align 8, !tbaa !69
  %199 = load i32, ptr %198, align 4, !tbaa !70
  %.not54 = icmp eq i32 %118, %199
  br i1 %.not54, label %207, label %200

200:                                              ; preds = %196
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 5, ptr noundef nonnull @.str.77, i32 noundef %118, i32 noundef %199)
  %201 = load ptr, ptr @stdout, align 8, !tbaa !71
  %202 = call i32 @fflush(ptr noundef %201)
  %203 = load ptr, ptr %197, align 8, !tbaa !69
  %204 = load i32, ptr %203, align 4, !tbaa !70
  %205 = icmp eq i32 %118, %204
  br i1 %205, label %218, label %206

206:                                              ; preds = %200
  call void @__assert_fail(ptr noundef nonnull @.str.78, ptr noundef nonnull @.str.55, i32 noundef 212, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HPresolveAnalysis22analysePresolveRuleLogEb) #7
  unreachable

207:                                              ; preds = %196
  %208 = getelementptr inbounds i8, ptr %0, i64 32
  %209 = load ptr, ptr %208, align 8, !tbaa !72
  %210 = load i32, ptr %209, align 4, !tbaa !70
  %.not55 = icmp eq i32 %122, %210
  br i1 %.not55, label %218, label %211

211:                                              ; preds = %207
  call void (ptr, i32, ptr, ...) @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %123, i32 noundef 5, ptr noundef nonnull @.str.79, i32 noundef %122, i32 noundef %210)
  %212 = load ptr, ptr @stdout, align 8, !tbaa !71
  %213 = call i32 @fflush(ptr noundef %212)
  %214 = load ptr, ptr %208, align 8, !tbaa !72
  %215 = load i32, ptr %214, align 4, !tbaa !70
  %216 = icmp eq i32 %122, %215
  br i1 %216, label %218, label %217

217:                                              ; preds = %211
  call void @__assert_fail(ptr noundef nonnull @.str.80, ptr noundef nonnull @.str.55, i32 noundef 220, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HPresolveAnalysis22analysePresolveRuleLogEb) #7
  unreachable

218:                                              ; preds = %200, %211, %207, %191, %184, %2
  %.151 = phi i1 [ true, %2 ], [ false, %200 ], [ false, %211 ], [ true, %207 ], [ true, %191 ], [ true, %184 ]
  ret i1 %.151
}

declare void @_Z11highsLogDevRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89), i32 noundef, ptr noundef, ...) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !17, i64 88}
!6 = !{!"_ZTS17HPresolveAnalysis", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !11, i64 48, !17, i64 88, !17, i64 89, !10, i64 92, !10, i64 96, !10, i64 100, !18, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIbSaIbEE", !12, i64 0}
!12 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !13, i64 0}
!13 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !15, i64 0, !15, i64 16, !7, i64 32}
!15 = !{!"_ZTSSt13_Bit_iterator", !16, i64 0}
!16 = !{!"_ZTSSt18_Bit_iterator_base", !7, i64 0, !10, i64 8}
!17 = !{!"bool", !8, i64 0}
!18 = !{!"_ZTS16HighsPresolveLog", !19, i64 0}
!19 = !{!"_ZTSSt6vectorI20HighsPresolveRuleLogSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!6, !7, i64 8}
!26 = !{!27, !10, i64 8}
!27 = !{!"_ZTS20HighsPresolveRuleLog", !10, i64 0, !10, i64 4, !10, i64 8}
!28 = !{!27, !10, i64 4}
!29 = !{!27, !10, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!6, !10, i64 44}
!33 = !{!6, !10, i64 40}
!34 = !{!6, !7, i64 0}
!35 = !{!36, !10, i64 4}
!36 = !{!"_ZTS7HighsLp", !10, i64 0, !10, i64 4, !37, i64 8, !37, i64 32, !37, i64 56, !37, i64 80, !37, i64 104, !41, i64 128, !47, i64 240, !48, i64 248, !49, i64 256, !49, i64 288, !10, i64 320, !10, i64 324, !52, i64 328, !52, i64 352, !56, i64 376, !60, i64 400, !60, i64 456, !10, i64 512, !10, i64 516, !66, i64 520, !17, i64 592, !17, i64 593, !10, i64 596, !17, i64 600, !67, i64 608}
!37 = !{!"_ZTSSt6vectorIdSaIdEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!41 = !{!"_ZTS17HighsSparseMatrix", !42, i64 0, !10, i64 4, !10, i64 8, !43, i64 16, !43, i64 40, !43, i64 64, !37, i64 88}
!42 = !{!"_ZTS12MatrixFormat", !8, i64 0}
!43 = !{!"_ZTSSt6vectorIiSaIiEE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!47 = !{!"_ZTS8ObjSense", !8, i64 0}
!48 = !{!"double", !8, i64 0}
!49 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !50, i64 0, !51, i64 8, !8, i64 16}
!50 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!51 = !{!"long", !8, i64 0}
!52 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!56 = !{!"_ZTSSt6vectorI12HighsVarTypeSaIS0_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseI12HighsVarTypeSaIS0_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!60 = !{!"_ZTS13HighsNameHash", !61, i64 0}
!61 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !62, i64 0}
!62 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !7, i64 0, !51, i64 8, !63, i64 16, !51, i64 24, !64, i64 32, !7, i64 48}
!63 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!64 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !65, i64 0, !51, i64 8}
!65 = !{!"float", !8, i64 0}
!66 = !{!"_ZTS10HighsScale", !10, i64 0, !17, i64 4, !10, i64 8, !10, i64 12, !48, i64 16, !37, i64 24, !37, i64 48}
!67 = !{!"_ZTS11HighsLpMods", !43, i64 0, !43, i64 24, !37, i64 48, !37, i64 72, !56, i64 96, !43, i64 120, !37, i64 144, !43, i64 168, !37, i64 192, !43, i64 216, !37, i64 240, !37, i64 264, !37, i64 288}
!68 = !{!36, !10, i64 0}
!69 = !{!6, !7, i64 24}
!70 = !{!10, !10, i64 0}
!71 = !{!7, !7, i64 0}
!72 = !{!6, !7, i64 32}


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