; LLVM IR from ERGO-Code/HiGHS :: src/lp_data/HighsIis.ll (ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%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 }
%"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] }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.HighsLp = type { i32, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.13", %"class.std::vector.13", %"class.std::vector.18", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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", %"class.std::vector", %"class.std::vector", %"class.std::vector.8" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = 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.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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.8", %"class.std::vector.8" }
%struct.HighsLpMods = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.18", %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector.8", %"class.std::vector", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8" }
%class.HighsIis = type { i8, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<HighsIisInfo, std::allocator<HighsIisInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsIisInfo, std::allocator<HighsIisInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsIisInfo, std::allocator<HighsIisInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsIisInfo, std::allocator<HighsIisInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.70 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [72 x i8], align 1
@__PRETTY_FUNCTION__._ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions = external hidden unnamed_addr constant [62 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [29 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8HighsIis6addColEii(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(920) %1, ptr noundef nonnull align 8 dereferenceable(1020) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %5, align 8
  call void @_ZN8HighsIis10invalidateEv(ptr noundef nonnull align 8 dereferenceable(128) %22)
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %23, i32 0, i32 53
  %25 = load i32, ptr %24, align 8, !tbaa !9
  %26 = icmp eq i32 %25, 1
  %27 = zext i1 %26 to i8
  store i8 %27, ptr %8, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !21
  br label %28

28:                                               ; preds = %125, %3
  %29 = load i32, ptr %9, align 4, !tbaa !21
  %30 = icmp slt i32 %29, 2
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  store i32 2, ptr %10, align 4
  br label %128

32:                                               ; preds = %28
  %33 = load i8, ptr %8, align 1, !tbaa !20, !range !22, !noundef !23
  %34 = trunc i8 %33 to i1
  br i1 %34, label %35, label %38

35:                                               ; preds = %32
  %36 = load i32, ptr %9, align 4, !tbaa !21
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %44, label %38

38:                                               ; preds = %35, %32
  %39 = load i8, ptr %8, align 1, !tbaa !20, !range !22, !noundef !23
  %40 = trunc i8 %39 to i1
  br i1 %40, label %84, label %41

41:                                               ; preds = %38
  %42 = load i32, ptr %9, align 4, !tbaa !21
  %43 = icmp eq i32 %42, 1
  br i1 %43, label %44, label %84

44:                                               ; preds = %41, %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !21
  br label %45

45:                                               ; preds = %74, %44
  %46 = load i32, ptr %11, align 4, !tbaa !21
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %class.HighsLp, ptr %47, i32 0, i32 0
  %49 = load i32, ptr %48, align 8, !tbaa !24
  %50 = icmp slt i32 %46, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %45
  store i32 5, ptr %10, align 4
  br label %77

52:                                               ; preds = %45
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %class.HighsLp, ptr %53, i32 0, i32 3
  %55 = load i32, ptr %11, align 4, !tbaa !21
  %56 = sext i32 %55 to i64
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %56) #4
  %58 = load double, ptr %57, align 8, !tbaa !53
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.HighsLp, ptr %59, i32 0, i32 4
  %61 = load i32, ptr %11, align 4, !tbaa !21
  %62 = sext i32 %61 to i64
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %62) #4
  %64 = load double, ptr %63, align 8, !tbaa !53
  %65 = fsub double %58, %64
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %66, i32 0, i32 14
  %68 = load double, ptr %67, align 8, !tbaa !54
  %69 = fmul double 2.000000e+00, %68
  %70 = fcmp ogt double %65, %69
  br i1 %70, label %71, label %73

71:                                               ; preds = %52
  %72 = load i32, ptr %11, align 4, !tbaa !21
  call void @_ZN8HighsIis6addColEii(ptr noundef nonnull align 8 dereferenceable(128) %22, i32 noundef %72, i32 noundef 4)
  store i32 5, ptr %10, align 4
  br label %77

73:                                               ; preds = %52
  br label %74

74:                                               ; preds = %73
  %75 = load i32, ptr %11, align 4, !tbaa !21
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %11, align 4, !tbaa !21
  br label %45, !llvm.loop !55

77:                                               ; preds = %71, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %78

78:                                               ; preds = %77
  %79 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 2
  %80 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  %81 = icmp ugt i64 %80, 0
  br i1 %81, label %82, label %83

82:                                               ; preds = %78
  store i32 2, ptr %10, align 4
  br label %128

83:                                               ; preds = %78
  br label %124

84:                                               ; preds = %41, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !21
  br label %85

85:                                               ; preds = %114, %84
  %86 = load i32, ptr %12, align 4, !tbaa !21
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.HighsLp, ptr %87, i32 0, i32 1
  %89 = load i32, ptr %88, align 4, !tbaa !57
  %90 = icmp slt i32 %86, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %85
  store i32 8, ptr %10, align 4
  br label %117

92:                                               ; preds = %85
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %class.HighsLp, ptr %93, i32 0, i32 5
  %95 = load i32, ptr %12, align 4, !tbaa !21
  %96 = sext i32 %95 to i64
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %96) #4
  %98 = load double, ptr %97, align 8, !tbaa !53
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %class.HighsLp, ptr %99, i32 0, i32 6
  %101 = load i32, ptr %12, align 4, !tbaa !21
  %102 = sext i32 %101 to i64
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %102) #4
  %104 = load double, ptr %103, align 8, !tbaa !53
  %105 = fsub double %98, %104
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %106, i32 0, i32 14
  %108 = load double, ptr %107, align 8, !tbaa !54
  %109 = fmul double 2.000000e+00, %108
  %110 = fcmp ogt double %105, %109
  br i1 %110, label %111, label %113

111:                                              ; preds = %92
  %112 = load i32, ptr %12, align 4, !tbaa !21
  call void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128) %22, i32 noundef %112, i32 noundef 4)
  store i32 8, ptr %10, align 4
  br label %117

113:                                              ; preds = %92
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %12, align 4, !tbaa !21
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %12, align 4, !tbaa !21
  br label %85, !llvm.loop !58

117:                                              ; preds = %111, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %118

118:                                              ; preds = %117
  %119 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 3
  %120 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #4
  %121 = icmp ugt i64 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %118
  store i32 2, ptr %10, align 4
  br label %128

123:                                              ; preds = %118
  br label %124

124:                                              ; preds = %123, %83
  br label %125

125:                                              ; preds = %124
  %126 = load i32, ptr %9, align 4, !tbaa !21
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %9, align 4, !tbaa !21
  br label %28, !llvm.loop !59

128:                                              ; preds = %122, %82, %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %129

129:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %130 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 2
  %131 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #4
  %132 = trunc i64 %131 to i32
  store i32 %132, ptr %13, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %133 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 3
  %134 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #4
  %135 = trunc i64 %134 to i32
  store i32 %135, ptr %14, align 4, !tbaa !21
  %136 = load i32, ptr %13, align 4, !tbaa !21
  %137 = load i32, ptr %14, align 4, !tbaa !21
  %138 = add nsw i32 %136, %137
  %139 = icmp sgt i32 %138, 0
  br i1 %139, label %140, label %162

140:                                              ; preds = %129
  %141 = load i32, ptr %13, align 4, !tbaa !21
  %142 = icmp eq i32 %141, 1
  br i1 %142, label %146, label %143

143:                                              ; preds = %140
  %144 = load i32, ptr %14, align 4, !tbaa !21
  %145 = icmp eq i32 %144, 1
  br i1 %145, label %146, label %151

146:                                              ; preds = %143, %140
  %147 = load i32, ptr %13, align 4, !tbaa !21
  %148 = load i32, ptr %14, align 4, !tbaa !21
  %149 = add nsw i32 %147, %148
  %150 = icmp slt i32 %149, 2
  br label %151

151:                                              ; preds = %146, %143
  %152 = phi i1 [ false, %143 ], [ %150, %146 ]
  br i1 %152, label %153, label %154

153:                                              ; preds = %151
  br label %156

154:                                              ; preds = %151
  call void @__assert_fail(ptr noundef @.str.72, ptr noundef @.str.70, i32 noundef 117, ptr noundef @__PRETTY_FUNCTION__._ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions) #5
  unreachable

155:                                              ; No predecessors!
  br label %156

156:                                              ; preds = %155, %153
  %157 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 0
  store i8 1, ptr %157, align 8, !tbaa !60
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %158, i32 0, i32 53
  %160 = load i32, ptr %159, align 8, !tbaa !9
  %161 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 1
  store i32 %160, ptr %161, align 4, !tbaa !66
  store i1 true, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %293

162:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #4
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = getelementptr inbounds %class.HighsLp, ptr %163, i32 0, i32 1
  %165 = load i32, ptr %164, align 4, !tbaa !57
  %166 = sext i32 %165 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !21
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %166, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %167 unwind label %175

167:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !21
  br label %168

168:                                              ; preds = %215, %167
  %169 = load i32, ptr %19, align 4, !tbaa !21
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %class.HighsLp, ptr %170, i32 0, i32 0
  %172 = load i32, ptr %171, align 8, !tbaa !24
  %173 = icmp slt i32 %169, %172
  br i1 %173, label %179, label %174

174:                                              ; preds = %168
  store i32 11, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %218

175:                                              ; preds = %162
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %17, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %292

179:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = getelementptr inbounds %class.HighsLp, ptr %180, i32 0, i32 7
  %182 = getelementptr inbounds %class.HighsSparseMatrix, ptr %181, i32 0, i32 3
  %183 = load i32, ptr %19, align 4, !tbaa !21
  %184 = sext i32 %183 to i64
  %185 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %184) #4
  %186 = load i32, ptr %185, align 4, !tbaa !21
  store i32 %186, ptr %20, align 4, !tbaa !21
  br label %187

187:                                              ; preds = %211, %179
  %188 = load i32, ptr %20, align 4, !tbaa !21
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %class.HighsLp, ptr %189, i32 0, i32 7
  %191 = getelementptr inbounds %class.HighsSparseMatrix, ptr %190, i32 0, i32 3
  %192 = load i32, ptr %19, align 4, !tbaa !21
  %193 = add nsw i32 %192, 1
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %194) #4
  %196 = load i32, ptr %195, align 4, !tbaa !21
  %197 = icmp slt i32 %188, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %187
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %214

199:                                              ; preds = %187
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %class.HighsLp, ptr %200, i32 0, i32 7
  %202 = getelementptr inbounds %class.HighsSparseMatrix, ptr %201, i32 0, i32 5
  %203 = load i32, ptr %20, align 4, !tbaa !21
  %204 = sext i32 %203 to i64
  %205 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %202, i64 noundef %204) #4
  %206 = load i32, ptr %205, align 4, !tbaa !21
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %207) #4
  %209 = load i32, ptr %208, align 4, !tbaa !21
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %208, align 4, !tbaa !21
  br label %211

211:                                              ; preds = %199
  %212 = load i32, ptr %20, align 4, !tbaa !21
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %20, align 4, !tbaa !21
  br label %187, !llvm.loop !67

214:                                              ; preds = %198
  br label %215

215:                                              ; preds = %214
  %216 = load i32, ptr %19, align 4, !tbaa !21
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %19, align 4, !tbaa !21
  br label %168, !llvm.loop !68

218:                                              ; preds = %174
  %219 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 3
  %220 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #4
  %221 = icmp eq i64 %220, 0
  br i1 %221, label %222, label %223

222:                                              ; preds = %218
  br label %225

223:                                              ; preds = %218
  call void @__assert_fail(ptr noundef @.str.73, ptr noundef @.str.70, i32 noundef 130, ptr noundef @__PRETTY_FUNCTION__._ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions) #5
  unreachable

224:                                              ; No predecessors!
  br label %225

225:                                              ; preds = %224, %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !21
  br label %226

226:                                              ; preds = %285, %225
  %227 = load i32, ptr %21, align 4, !tbaa !21
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %class.HighsLp, ptr %228, i32 0, i32 1
  %230 = load i32, ptr %229, align 4, !tbaa !57
  %231 = icmp slt i32 %227, %230
  br i1 %231, label %233, label %232

232:                                              ; preds = %226
  store i32 17, ptr %10, align 4
  br label %288

233:                                              ; preds = %226
  %234 = load i32, ptr %21, align 4, !tbaa !21
  %235 = sext i32 %234 to i64
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %235) #4
  %237 = load i32, ptr %236, align 4, !tbaa !21
  %238 = icmp sgt i32 %237, 0
  br i1 %238, label %239, label %240

239:                                              ; preds = %233
  br label %285

240:                                              ; preds = %233
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %class.HighsLp, ptr %241, i32 0, i32 5
  %243 = load i32, ptr %21, align 4, !tbaa !21
  %244 = sext i32 %243 to i64
  %245 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef %244) #4
  %246 = load double, ptr %245, align 8, !tbaa !53
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %247, i32 0, i32 14
  %249 = load double, ptr %248, align 8, !tbaa !54
  %250 = fcmp ogt double %246, %249
  br i1 %250, label %251, label %258

251:                                              ; preds = %240
  %252 = load i32, ptr %21, align 4, !tbaa !21
  invoke void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128) %22, i32 noundef %252, i32 noundef 2)
          to label %253 unwind label %254

253:                                              ; preds = %251
  br label %274

254:                                              ; preds = %270, %251
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %17, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %292

258:                                              ; preds = %240
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  %260 = getelementptr inbounds %class.HighsLp, ptr %259, i32 0, i32 6
  %261 = load i32, ptr %21, align 4, !tbaa !21
  %262 = sext i32 %261 to i64
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %260, i64 noundef %262) #4
  %264 = load double, ptr %263, align 8, !tbaa !53
  %265 = load ptr, ptr %7, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %265, i32 0, i32 14
  %267 = load double, ptr %266, align 8, !tbaa !54
  %268 = fneg double %267
  %269 = fcmp olt double %264, %268
  br i1 %269, label %270, label %273

270:                                              ; preds = %258
  %271 = load i32, ptr %21, align 4, !tbaa !21
  invoke void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128) %22, i32 noundef %271, i32 noundef 3)
          to label %272 unwind label %254

272:                                              ; preds = %270
  br label %273

273:                                              ; preds = %272, %258
  br label %274

274:                                              ; preds = %273, %253
  %275 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 3
  %276 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %275) #4
  %277 = icmp ugt i64 %276, 0
  br i1 %277, label %278, label %284

278:                                              ; preds = %274
  %279 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 0
  store i8 1, ptr %279, align 8, !tbaa !60
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %280, i32 0, i32 53
  %282 = load i32, ptr %281, align 8, !tbaa !9
  %283 = getelementptr inbounds %class.HighsIis, ptr %22, i32 0, i32 1
  store i32 %282, ptr %283, align 4, !tbaa !66
  store i1 true, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %288

284:                                              ; preds = %274
  br label %285

285:                                              ; preds = %284, %239
  %286 = load i32, ptr %21, align 4, !tbaa !21
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %21, align 4, !tbaa !21
  br label %226, !llvm.loop !69

288:                                              ; preds = %278, %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  %289 = load i32, ptr %10, align 4
  switch i32 %289, label %291 [
    i32 17, label %290
  ]

290:                                              ; preds = %288
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %291

291:                                              ; preds = %290, %288
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #4
  br label %293

292:                                              ; preds = %254, %175
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  br label %295

293:                                              ; preds = %291, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  %294 = load i1, ptr %4, align 1
  ret i1 %294

295:                                              ; preds = %292
  %296 = load ptr, ptr %17, align 8
  %297 = load i32, ptr %18, align 4
  %298 = insertvalue { ptr, i32 } poison, ptr %296, 0
  %299 = insertvalue { ptr, i32 } %298, i32 %297, 1
  resume { ptr, i32 } %299
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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 #4 = { nounwind }
attributes #5 = { 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, !15, i64 512}
!10 = !{!"_ZTS18HighsOptionsStruct", !11, i64 8, !11, i64 40, !11, i64 72, !11, i64 104, !14, i64 136, !11, i64 144, !11, i64 176, !15, i64 208, !11, i64 216, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272, !14, i64 280, !14, i64 288, !14, i64 296, !14, i64 304, !14, i64 312, !14, i64 320, !14, i64 328, !15, i64 336, !15, i64 340, !15, i64 344, !15, i64 348, !15, i64 352, !15, i64 356, !15, i64 360, !15, i64 364, !15, i64 368, !15, i64 372, !15, i64 376, !15, i64 380, !15, i64 384, !15, i64 388, !11, i64 392, !16, i64 424, !16, i64 425, !16, i64 426, !15, i64 428, !15, i64 432, !11, i64 440, !16, i64 472, !16, i64 473, !16, i64 474, !15, i64 476, !16, i64 480, !16, i64 481, !15, i64 484, !15, i64 488, !14, i64 496, !15, i64 504, !15, i64 508, !15, i64 512, !16, i64 516, !15, i64 520, !16, i64 524, !16, i64 525, !16, i64 526, !16, i64 527, !16, i64 528, !16, i64 529, !16, i64 530, !15, i64 532, !15, i64 536, !15, i64 540, !15, i64 544, !15, i64 548, !15, i64 552, !15, i64 556, !15, i64 560, !15, i64 564, !15, i64 568, !15, i64 572, !15, i64 576, !15, i64 580, !15, i64 584, !15, i64 588, !16, i64 592, !16, i64 593, !16, i64 594, !16, i64 595, !14, i64 600, !14, i64 608, !14, i64 616, !14, i64 624, !14, i64 632, !14, i64 640, !14, i64 648, !14, i64 656, !14, i64 664, !14, i64 672, !14, i64 680, !16, i64 688, !16, i64 689, !16, i64 690, !16, i64 691, !15, i64 692, !14, i64 696, !16, i64 704, !16, i64 705, !11, i64 712, !14, i64 744, !15, i64 752, !15, i64 756, !16, i64 760, !16, i64 761, !16, i64 762, !16, i64 763, !15, i64 764, !15, i64 768, !15, i64 772, !15, i64 776, !15, i64 780, !15, i64 784, !15, i64 788, !15, i64 792, !15, i64 796, !15, i64 800, !15, i64 804, !14, i64 808, !14, i64 816, !14, i64 824, !14, i64 832, !14, i64 840, !16, i64 848, !16, i64 849, !11, i64 856, !16, i64 888, !15, i64 892, !17, i64 896}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !18, i64 48, !6, i64 80, !16, i64 88}
!18 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !19, i64 0, !6, i64 24}
!19 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!20 = !{!16, !16, i64 0}
!21 = !{!15, !15, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = !{!25, !15, i64 0}
!25 = !{!"_ZTS7HighsLp", !15, i64 0, !15, i64 4, !26, i64 8, !26, i64 32, !26, i64 56, !26, i64 80, !26, i64 104, !30, i64 128, !36, i64 240, !14, i64 248, !11, i64 256, !11, i64 288, !15, i64 320, !15, i64 324, !37, i64 328, !37, i64 352, !41, i64 376, !45, i64 400, !45, i64 456, !15, i64 512, !15, i64 516, !51, i64 520, !16, i64 592, !16, i64 593, !15, i64 596, !16, i64 600, !52, i64 608}
!26 = !{!"_ZTSSt6vectorIdSaIdEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTS17HighsSparseMatrix", !31, i64 0, !15, i64 4, !15, i64 8, !32, i64 16, !32, i64 40, !32, i64 64, !26, i64 88}
!31 = !{!"_ZTS12MatrixFormat", !7, i64 0}
!32 = !{!"_ZTSSt6vectorIiSaIiEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTS8ObjSense", !7, i64 0}
!37 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorI12HighsVarTypeSaIS0_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseI12HighsVarTypeSaIS0_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTS13HighsNameHash", !46, i64 0}
!46 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !47, i64 0}
!47 = !{!"_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, !13, i64 8, !48, i64 16, !13, i64 24, !49, i64 32, !6, i64 48}
!48 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!49 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !50, i64 0, !13, i64 8}
!50 = !{!"float", !7, i64 0}
!51 = !{!"_ZTS10HighsScale", !15, i64 0, !16, i64 4, !15, i64 8, !15, i64 12, !14, i64 16, !26, i64 24, !26, i64 48}
!52 = !{!"_ZTS11HighsLpMods", !32, i64 0, !32, i64 24, !26, i64 48, !26, i64 72, !41, i64 96, !32, i64 120, !26, i64 144, !32, i64 168, !26, i64 192, !32, i64 216, !26, i64 240, !26, i64 264, !26, i64 288}
!53 = !{!14, !14, i64 0}
!54 = !{!10, !14, i64 280}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}
!57 = !{!25, !15, i64 4}
!58 = distinct !{!58, !56}
!59 = distinct !{!59, !56}
!60 = !{!61, !16, i64 0}
!61 = !{!"_ZTS8HighsIis", !16, i64 0, !15, i64 4, !32, i64 8, !32, i64 32, !32, i64 56, !32, i64 80, !62, i64 104}
!62 = !{!"_ZTSSt6vectorI12HighsIisInfoSaIS0_EE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseI12HighsIisInfoSaIS0_EE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseI12HighsIisInfoSaIS0_EE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseI12HighsIisInfoSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!66 = !{!61, !15, i64 4}
!67 = distinct !{!67, !56}
!68 = distinct !{!68, !56}
!69 = distinct !{!69, !56}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.70 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.72 = external hidden unnamed_addr constant [72 x i8], align 1
@__PRETTY_FUNCTION__._ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions = external hidden unnamed_addr constant [62 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [29 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8HighsIis10invalidateEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8HighsIis6addColEii(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128), i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(920) %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(1020) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  tail call void @_ZN8HighsIis10invalidateEv(ptr noundef nonnull align 8 dereferenceable(128) %0)
  %6 = getelementptr inbounds i8, ptr %2, i64 512
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %.not122 = icmp eq i32 %7, 1
  %8 = getelementptr inbounds i8, ptr %1, i64 4
  %9 = getelementptr inbounds i8, ptr %1, i64 80
  %10 = getelementptr inbounds i8, ptr %1, i64 104
  %11 = getelementptr inbounds i8, ptr %2, i64 280
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  %13 = getelementptr inbounds i8, ptr %1, i64 32
  %14 = getelementptr inbounds i8, ptr %1, i64 56
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  br i1 %.not122, label %.preheader85, label %.preheader87

.preheader87:                                     ; preds = %3
  %16 = load i32, ptr %8, align 4, !tbaa !19
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %.loopexit88

.preheader85:                                     ; preds = %3
  %18 = load i32, ptr %1, align 8, !tbaa !48
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph96, label %.loopexit86

.lr.ph96:                                         ; preds = %.preheader85, %30
  %indvars.iv111 = phi i64 [ %indvars.iv.next112, %30 ], [ 0, %.preheader85 ]
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv111) #4
  %21 = load double, ptr %20, align 8, !tbaa !49
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv111) #4
  %23 = load double, ptr %22, align 8, !tbaa !49
  %24 = fsub double %21, %23
  %25 = load double, ptr %11, align 8, !tbaa !50
  %26 = fmul double %25, 2.000000e+00
  %27 = fcmp ogt double %24, %26
  br i1 %27, label %28, label %30

28:                                               ; preds = %.lr.ph96
  %29 = trunc nuw nsw i64 %indvars.iv111 to i32
  tail call void @_ZN8HighsIis6addColEii(ptr noundef nonnull align 8 dereferenceable(128) %0, i32 noundef %29, i32 noundef 4)
  br label %.loopexit86

30:                                               ; preds = %.lr.ph96
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %31 = load i32, ptr %1, align 8, !tbaa !48
  %32 = sext i32 %31 to i64
  %33 = icmp slt i64 %indvars.iv.next112, %32
  br i1 %33, label %.lr.ph96, label %.loopexit86, !llvm.loop !51

.loopexit86:                                      ; preds = %30, %.preheader85, %28
  %34 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %.not77 = icmp eq i64 %34, 0
  br i1 %.not77, label %50, label %84

.lr.ph:                                           ; preds = %.preheader87, %45
  %indvars.iv = phi i64 [ %indvars.iv.next, %45 ], [ 0, %.preheader87 ]
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv) #4
  %36 = load double, ptr %35, align 8, !tbaa !49
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #4
  %38 = load double, ptr %37, align 8, !tbaa !49
  %39 = fsub double %36, %38
  %40 = load double, ptr %11, align 8, !tbaa !50
  %41 = fmul double %40, 2.000000e+00
  %42 = fcmp ogt double %39, %41
  br i1 %42, label %43, label %45

43:                                               ; preds = %.lr.ph
  %44 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128) %0, i32 noundef %44, i32 noundef 4)
  br label %.loopexit88

45:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %46 = load i32, ptr %8, align 4, !tbaa !19
  %47 = sext i32 %46 to i64
  %48 = icmp slt i64 %indvars.iv.next, %47
  br i1 %48, label %.lr.ph, label %.loopexit88, !llvm.loop !53

.loopexit88:                                      ; preds = %45, %.preheader87, %43
  %49 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %.not = icmp eq i64 %49, 0
  br i1 %.not, label %50, label %84

50:                                               ; preds = %.loopexit86, %.loopexit88
  br i1 %.not122, label %.preheader87.1, label %.preheader85.1

.preheader87.1:                                   ; preds = %50
  %51 = load i32, ptr %8, align 4, !tbaa !19
  %52 = icmp sgt i32 %51, 0
  br i1 %52, label %.lr.ph.1, label %.sink.split

.lr.ph.1:                                         ; preds = %.preheader87.1, %61
  %indvars.iv.1 = phi i64 [ %indvars.iv.next.1, %61 ], [ 0, %.preheader87.1 ]
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv.1) #4
  %54 = load double, ptr %53, align 8, !tbaa !49
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv.1) #4
  %56 = load double, ptr %55, align 8, !tbaa !49
  %57 = fsub double %54, %56
  %58 = load double, ptr %11, align 8, !tbaa !50
  %59 = fmul double %58, 2.000000e+00
  %60 = fcmp ogt double %57, %59
  br i1 %60, label %65, label %61

61:                                               ; preds = %.lr.ph.1
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %62 = load i32, ptr %8, align 4, !tbaa !19
  %63 = sext i32 %62 to i64
  %64 = icmp slt i64 %indvars.iv.next.1, %63
  br i1 %64, label %.lr.ph.1, label %.sink.split, !llvm.loop !53

65:                                               ; preds = %.lr.ph.1
  %66 = trunc nuw nsw i64 %indvars.iv.1 to i32
  tail call void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128) %0, i32 noundef %66, i32 noundef 4)
  br label %.sink.split

.preheader85.1:                                   ; preds = %50
  %67 = load i32, ptr %1, align 8, !tbaa !48
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %.lr.ph96.1, label %.sink.split

.lr.ph96.1:                                       ; preds = %.preheader85.1, %77
  %indvars.iv111.1 = phi i64 [ %indvars.iv.next112.1, %77 ], [ 0, %.preheader85.1 ]
  %69 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv111.1) #4
  %70 = load double, ptr %69, align 8, !tbaa !49
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %indvars.iv111.1) #4
  %72 = load double, ptr %71, align 8, !tbaa !49
  %73 = fsub double %70, %72
  %74 = load double, ptr %11, align 8, !tbaa !50
  %75 = fmul double %74, 2.000000e+00
  %76 = fcmp ogt double %73, %75
  br i1 %76, label %81, label %77

77:                                               ; preds = %.lr.ph96.1
  %indvars.iv.next112.1 = add nuw nsw i64 %indvars.iv111.1, 1
  %78 = load i32, ptr %1, align 8, !tbaa !48
  %79 = sext i32 %78 to i64
  %80 = icmp slt i64 %indvars.iv.next112.1, %79
  br i1 %80, label %.lr.ph96.1, label %.sink.split, !llvm.loop !51

81:                                               ; preds = %.lr.ph96.1
  %82 = trunc nuw nsw i64 %indvars.iv111.1 to i32
  tail call void @_ZN8HighsIis6addColEii(ptr noundef nonnull align 8 dereferenceable(128) %0, i32 noundef %82, i32 noundef 4)
  br label %.sink.split

.sink.split:                                      ; preds = %77, %61, %.preheader85.1, %81, %.preheader87.1, %65
  %.sink = phi ptr [ %12, %65 ], [ %12, %.preheader87.1 ], [ %15, %81 ], [ %15, %.preheader85.1 ], [ %12, %61 ], [ %15, %77 ]
  %83 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %.sink) #4
  br label %84

84:                                               ; preds = %.sink.split, %.loopexit88, %.loopexit86
  %85 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %86 = trunc i64 %85 to i32
  %87 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %88 = trunc i64 %87 to i32
  %89 = add nsw i32 %88, %86
  %90 = icmp sgt i32 %89, 0
  br i1 %90, label %91, label %98

91:                                               ; preds = %84
  %92 = icmp eq i32 %86, 1
  %93 = icmp eq i32 %88, 1
  %or.cond5 = or i1 %92, %93
  %94 = icmp eq i32 %89, 1
  %or.cond82 = and i1 %or.cond5, %94
  br i1 %or.cond82, label %95, label %.critedge

.critedge:                                        ; preds = %91
  tail call void @__assert_fail(ptr noundef nonnull @.str.72, ptr noundef nonnull @.str.70, i32 noundef 117, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions) #5
  unreachable

95:                                               ; preds = %91
  store i8 1, ptr %0, align 8, !tbaa !54
  %96 = load i32, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 %96, ptr %97, align 4, !tbaa !60
  br label %159

98:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #4
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  %99 = load i32, ptr %8, align 4, !tbaa !19
  %100 = sext i32 %99 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  store i32 0, ptr %5, align 4, !tbaa !61
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %100, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %101 unwind label %112

101:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  %102 = load i32, ptr %1, align 8, !tbaa !48
  %103 = icmp sgt i32 %102, 0
  br i1 %103, label %.lr.ph101, label %._crit_edge

.lr.ph101:                                        ; preds = %101
  %104 = getelementptr inbounds i8, ptr %1, i64 144
  %105 = getelementptr inbounds i8, ptr %1, i64 192
  br label %114

.loopexit:                                        ; preds = %.lr.ph99, %114
  %106 = load i32, ptr %1, align 8, !tbaa !48
  %107 = sext i32 %106 to i64
  %108 = icmp slt i64 %indvars.iv.next118, %107
  br i1 %108, label %114, label %._crit_edge, !llvm.loop !62

._crit_edge:                                      ; preds = %.loopexit, %101
  %109 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %110 = icmp eq i64 %109, 0
  br i1 %110, label %.preheader, label %131

.preheader:                                       ; preds = %._crit_edge
  %111 = load i32, ptr %8, align 4, !tbaa !19
  %.not80102 = icmp sgt i32 %111, 0
  br i1 %.not80102, label %.lr.ph105, label %.critedge84

112:                                              ; preds = %98
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %158

114:                                              ; preds = %.lr.ph101, %.loopexit
  %indvars.iv117 = phi i64 [ 0, %.lr.ph101 ], [ %indvars.iv.next118, %.loopexit ]
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %indvars.iv117) #4
  %116 = load i32, ptr %115, align 4, !tbaa !61
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %indvars.iv.next118) #4
  %118 = load i32, ptr %117, align 4, !tbaa !61
  %119 = icmp slt i32 %116, %118
  br i1 %119, label %.lr.ph99.preheader, label %.loopexit

.lr.ph99.preheader:                               ; preds = %114
  %120 = sext i32 %116 to i64
  br label %.lr.ph99

.lr.ph99:                                         ; preds = %.lr.ph99.preheader, %.lr.ph99
  %indvars.iv114 = phi i64 [ %120, %.lr.ph99.preheader ], [ %indvars.iv.next115, %.lr.ph99 ]
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %indvars.iv114) #4
  %122 = load i32, ptr %121, align 4, !tbaa !61
  %123 = sext i32 %122 to i64
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %123) #4
  %125 = load i32, ptr %124, align 4, !tbaa !61
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 4, !tbaa !61
  %indvars.iv.next115 = add nsw i64 %indvars.iv114, 1
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %indvars.iv.next118) #4
  %128 = load i32, ptr %127, align 4, !tbaa !61
  %129 = sext i32 %128 to i64
  %130 = icmp slt i64 %indvars.iv.next115, %129
  br i1 %130, label %.lr.ph99, label %.loopexit, !llvm.loop !63

131:                                              ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.70, i32 noundef 130, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8HighsIis7trivialERK7HighsLpRK12HighsOptions) #5
  unreachable

.lr.ph105:                                        ; preds = %.preheader, %155
  %indvars.iv120 = phi i64 [ %indvars.iv.next121, %155 ], [ 0, %.preheader ]
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv120) #4
  %133 = load i32, ptr %132, align 4, !tbaa !61
  %134 = icmp sgt i32 %133, 0
  br i1 %134, label %155, label %135

135:                                              ; preds = %.lr.ph105
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %indvars.iv120) #4
  %137 = load double, ptr %136, align 8, !tbaa !49
  %138 = load double, ptr %11, align 8, !tbaa !50
  %139 = fcmp ogt double %137, %138
  br i1 %139, label %.invoke, label %142

140:                                              ; preds = %.invoke
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %158

142:                                              ; preds = %135
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv120) #4
  %144 = load double, ptr %143, align 8, !tbaa !49
  %145 = load double, ptr %11, align 8, !tbaa !50
  %146 = fneg double %145
  %147 = fcmp olt double %144, %146
  br i1 %147, label %.invoke, label %150

.invoke:                                          ; preds = %142, %135
  %148 = phi i32 [ 2, %135 ], [ 3, %142 ]
  %149 = trunc nuw nsw i64 %indvars.iv120 to i32
  invoke void @_ZN8HighsIis6addRowEii(ptr noundef nonnull align 8 dereferenceable(128) %0, i32 noundef %149, i32 noundef %148)
          to label %150 unwind label %140

150:                                              ; preds = %.invoke, %142
  %151 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %.not79 = icmp eq i64 %151, 0
  br i1 %.not79, label %155, label %152

152:                                              ; preds = %150
  store i8 1, ptr %0, align 8, !tbaa !54
  %153 = load i32, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %0, i64 4
  store i32 %153, ptr %154, align 4, !tbaa !60
  br label %.critedge84

155:                                              ; preds = %150, %.lr.ph105
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %156 = load i32, ptr %8, align 4, !tbaa !19
  %157 = sext i32 %156 to i64
  %.not80 = icmp slt i64 %indvars.iv.next121, %157
  br i1 %.not80, label %.lr.ph105, label %.critedge84, !llvm.loop !64

.critedge84:                                      ; preds = %155, %.preheader, %152
  %.not8091 = phi i1 [ true, %152 ], [ false, %.preheader ], [ false, %155 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  br label %159

158:                                              ; preds = %140, %112
  %.pn = phi { ptr, i32 } [ %141, %140 ], [ %113, %112 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #4
  resume { ptr, i32 } %.pn

159:                                              ; preds = %.critedge84, %95
  %.2 = phi i1 [ true, %95 ], [ %.not8091, %.critedge84 ]
  ret i1 %.2
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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 #4 = { nounwind }
attributes #5 = { 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, !14, i64 512}
!6 = !{!"_ZTS18HighsOptionsStruct", !7, i64 8, !7, i64 40, !7, i64 72, !7, i64 104, !13, i64 136, !7, i64 144, !7, i64 176, !14, i64 208, !7, i64 216, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !14, i64 336, !14, i64 340, !14, i64 344, !14, i64 348, !14, i64 352, !14, i64 356, !14, i64 360, !14, i64 364, !14, i64 368, !14, i64 372, !14, i64 376, !14, i64 380, !14, i64 384, !14, i64 388, !7, i64 392, !15, i64 424, !15, i64 425, !15, i64 426, !14, i64 428, !14, i64 432, !7, i64 440, !15, i64 472, !15, i64 473, !15, i64 474, !14, i64 476, !15, i64 480, !15, i64 481, !14, i64 484, !14, i64 488, !13, i64 496, !14, i64 504, !14, i64 508, !14, i64 512, !15, i64 516, !14, i64 520, !15, i64 524, !15, i64 525, !15, i64 526, !15, i64 527, !15, i64 528, !15, i64 529, !15, i64 530, !14, i64 532, !14, i64 536, !14, i64 540, !14, i64 544, !14, i64 548, !14, i64 552, !14, i64 556, !14, i64 560, !14, i64 564, !14, i64 568, !14, i64 572, !14, i64 576, !14, i64 580, !14, i64 584, !14, i64 588, !15, i64 592, !15, i64 593, !15, i64 594, !15, i64 595, !13, i64 600, !13, i64 608, !13, i64 616, !13, i64 624, !13, i64 632, !13, i64 640, !13, i64 648, !13, i64 656, !13, i64 664, !13, i64 672, !13, i64 680, !15, i64 688, !15, i64 689, !15, i64 690, !15, i64 691, !14, i64 692, !13, i64 696, !15, i64 704, !15, i64 705, !7, i64 712, !13, i64 744, !14, i64 752, !14, i64 756, !15, i64 760, !15, i64 761, !15, i64 762, !15, i64 763, !14, i64 764, !14, i64 768, !14, i64 772, !14, i64 776, !14, i64 780, !14, i64 784, !14, i64 788, !14, i64 792, !14, i64 796, !14, i64 800, !14, i64 804, !13, i64 808, !13, i64 816, !13, i64 824, !13, i64 832, !13, i64 840, !15, i64 848, !15, i64 849, !7, i64 856, !15, i64 888, !14, i64 892, !16, i64 896}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"double", !10, i64 0}
!14 = !{!"int", !10, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!"_ZTS15HighsLogOptions", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !17, i64 48, !9, i64 80, !15, i64 88}
!17 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !18, i64 0, !9, i64 24}
!18 = !{!"_ZTSSt14_Function_base", !10, i64 0, !9, i64 16}
!19 = !{!20, !14, i64 4}
!20 = !{!"_ZTS7HighsLp", !14, i64 0, !14, i64 4, !21, i64 8, !21, i64 32, !21, i64 56, !21, i64 80, !21, i64 104, !25, i64 128, !31, i64 240, !13, i64 248, !7, i64 256, !7, i64 288, !14, i64 320, !14, i64 324, !32, i64 328, !32, i64 352, !36, i64 376, !40, i64 400, !40, i64 456, !14, i64 512, !14, i64 516, !46, i64 520, !15, i64 592, !15, i64 593, !14, i64 596, !15, i64 600, !47, i64 608}
!21 = !{!"_ZTSSt6vectorIdSaIdEE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!25 = !{!"_ZTS17HighsSparseMatrix", !26, i64 0, !14, i64 4, !14, i64 8, !27, i64 16, !27, i64 40, !27, i64 64, !21, i64 88}
!26 = !{!"_ZTS12MatrixFormat", !10, i64 0}
!27 = !{!"_ZTSSt6vectorIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!31 = !{!"_ZTS8ObjSense", !10, i64 0}
!32 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!36 = !{!"_ZTSSt6vectorI12HighsVarTypeSaIS0_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseI12HighsVarTypeSaIS0_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseI12HighsVarTypeSaIS0_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!40 = !{!"_ZTS13HighsNameHash", !41, i64 0}
!41 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_iEEE", !42, i64 0}
!42 = !{!"_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", !9, i64 0, !12, i64 8, !43, i64 16, !12, i64 24, !44, i64 32, !9, i64 48}
!43 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !9, i64 0}
!44 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !45, i64 0, !12, i64 8}
!45 = !{!"float", !10, i64 0}
!46 = !{!"_ZTS10HighsScale", !14, i64 0, !15, i64 4, !14, i64 8, !14, i64 12, !13, i64 16, !21, i64 24, !21, i64 48}
!47 = !{!"_ZTS11HighsLpMods", !27, i64 0, !27, i64 24, !21, i64 48, !21, i64 72, !36, i64 96, !27, i64 120, !21, i64 144, !27, i64 168, !21, i64 192, !27, i64 216, !21, i64 240, !21, i64 264, !21, i64 288}
!48 = !{!20, !14, i64 0}
!49 = !{!13, !13, i64 0}
!50 = !{!6, !13, i64 280}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.mustprogress"}
!53 = distinct !{!53, !52}
!54 = !{!55, !15, i64 0}
!55 = !{!"_ZTS8HighsIis", !15, i64 0, !14, i64 4, !27, i64 8, !27, i64 32, !27, i64 56, !27, i64 80, !56, i64 104}
!56 = !{!"_ZTSSt6vectorI12HighsIisInfoSaIS0_EE", !57, i64 0}
!57 = !{!"_ZTSSt12_Vector_baseI12HighsIisInfoSaIS0_EE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseI12HighsIisInfoSaIS0_EE12_Vector_implE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseI12HighsIisInfoSaIS0_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!60 = !{!55, !14, i64 4}
!61 = !{!14, !14, i64 0}
!62 = distinct !{!62, !52}
!63 = distinct !{!63, !52}
!64 = distinct !{!64, !52}


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