; LLVM IR from ERGO-Code/HiGHS :: src/util/HighsSparseMatrix.ll (ZN17HighsSparseMatrix13ensureColwiseEv)

; 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 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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.3" }

@.str.52 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv = external hidden unnamed_addr constant [40 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [45 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 @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #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 noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112)) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK17HighsSparseMatrix5numNzEv(ptr noundef nonnull align 8 dereferenceable(112)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17HighsSparseMatrix13ensureColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.3", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %22 = load ptr, ptr %2, align 8
  %23 = call noundef zeroext i1 @_ZNK17HighsSparseMatrix8formatOkEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  br i1 %23, label %24, label %25

24:                                               ; preds = %1
  br label %27

25:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.53, ptr noundef @.str.52, i32 noundef 108, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  %28 = call noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  br i1 %28, label %29, label %30

29:                                               ; preds = %27
  br label %288

30:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %31 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 1
  %32 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %32, ptr %3, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %33 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 2
  %34 = load i32, ptr %33, align 8, !tbaa !22
  store i32 %34, ptr %4, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %35 = call noundef i32 @_ZNK17HighsSparseMatrix5numNzEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  store i32 %35, ptr %5, align 4, !tbaa !21
  %36 = load i32, ptr %5, align 4, !tbaa !21
  %37 = icmp sge i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %30
  br label %41

39:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.52, i32 noundef 113, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  %42 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 5
  %43 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %44 = trunc i64 %43 to i32
  %45 = load i32, ptr %5, align 4, !tbaa !21
  %46 = icmp sge i32 %44, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %41
  br label %50

48:                                               ; preds = %41
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str.52, i32 noundef 114, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49, %47
  %51 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 6
  %52 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  %53 = trunc i64 %52 to i32
  %54 = load i32, ptr %5, align 4, !tbaa !21
  %55 = icmp sge i32 %53, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %50
  br label %59

57:                                               ; preds = %50
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.52, i32 noundef 115, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

58:                                               ; No predecessors!
  br label %59

59:                                               ; preds = %58, %56
  %60 = load i32, ptr %5, align 4, !tbaa !21
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %62, label %69

62:                                               ; preds = %59
  %63 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %64 = load i32, ptr %3, align 4, !tbaa !21
  %65 = add nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !21
  call void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %66, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %67 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 5
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #5
  %68 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 6
  call void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #5
  br label %251

69:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %70 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  call void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %70)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  %71 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 5
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %72 unwind label %98

72:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  %73 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 6
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %73)
          to label %74 unwind label %102

74:                                               ; preds = %72
  %75 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %76 = load i32, ptr %3, align 4, !tbaa !21
  %77 = add nsw i32 %76, 1
  %78 = sext i32 %77 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %78)
          to label %79 unwind label %106

79:                                               ; preds = %74
  %80 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 5
  %81 = load i32, ptr %5, align 4, !tbaa !21
  %82 = sext i32 %81 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %82)
          to label %83 unwind label %106

83:                                               ; preds = %79
  %84 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 6
  %85 = load i32, ptr %5, align 4, !tbaa !21
  %86 = sext i32 %85 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86)
          to label %87 unwind label %106

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %88 = load i32, ptr %3, align 4, !tbaa !21
  %89 = sext i32 %88 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !21
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %89, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %90 unwind label %110

90:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #5
  %92 = load i32, ptr %91, align 4, !tbaa !21
  store i32 %92, ptr %14, align 4, !tbaa !21
  br label %93

93:                                               ; preds = %123, %90
  %94 = load i32, ptr %14, align 4, !tbaa !21
  %95 = load i32, ptr %5, align 4, !tbaa !21
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %114, label %97

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

98:                                               ; preds = %69
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  br label %250

102:                                              ; preds = %72
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %9, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %10, align 4
  br label %249

106:                                              ; preds = %83, %79, %74
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %9, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %10, align 4
  br label %248

110:                                              ; preds = %87
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %9, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  br label %248

114:                                              ; preds = %93
  %115 = load i32, ptr %14, align 4, !tbaa !21
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %116) #5
  %118 = load i32, ptr %117, align 4, !tbaa !21
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %119) #5
  %121 = load i32, ptr %120, align 4, !tbaa !21
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %120, align 4, !tbaa !21
  br label %123

123:                                              ; preds = %114
  %124 = load i32, ptr %14, align 4, !tbaa !21
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %14, align 4, !tbaa !21
  br label %93, !llvm.loop !23

126:                                              ; preds = %97
  %127 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef 0) #5
  store i32 0, ptr %128, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !21
  br label %129

129:                                              ; preds = %150, %126
  %130 = load i32, ptr %15, align 4, !tbaa !21
  %131 = load i32, ptr %3, align 4, !tbaa !21
  %132 = icmp slt i32 %130, %131
  br i1 %132, label %134, label %133

133:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %153

134:                                              ; preds = %129
  %135 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %136 = load i32, ptr %15, align 4, !tbaa !21
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %137) #5
  %139 = load i32, ptr %138, align 4, !tbaa !21
  %140 = load i32, ptr %15, align 4, !tbaa !21
  %141 = sext i32 %140 to i64
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %141) #5
  %143 = load i32, ptr %142, align 4, !tbaa !21
  %144 = add nsw i32 %139, %143
  %145 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %146 = load i32, ptr %15, align 4, !tbaa !21
  %147 = add nsw i32 %146, 1
  %148 = sext i32 %147 to i64
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %145, i64 noundef %148) #5
  store i32 %144, ptr %149, align 4, !tbaa !21
  br label %150

150:                                              ; preds = %134
  %151 = load i32, ptr %15, align 4, !tbaa !21
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %15, align 4, !tbaa !21
  br label %129, !llvm.loop !25

153:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !21
  br label %154

154:                                              ; preds = %206, %153
  %155 = load i32, ptr %16, align 4, !tbaa !21
  %156 = load i32, ptr %4, align 4, !tbaa !21
  %157 = icmp slt i32 %155, %156
  br i1 %157, label %159, label %158

158:                                              ; preds = %154
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %209

159:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %160 = load i32, ptr %16, align 4, !tbaa !21
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %161) #5
  %163 = load i32, ptr %162, align 4, !tbaa !21
  store i32 %163, ptr %18, align 4, !tbaa !21
  br label %164

164:                                              ; preds = %202, %159
  %165 = load i32, ptr %18, align 4, !tbaa !21
  %166 = load i32, ptr %16, align 4, !tbaa !21
  %167 = add nsw i32 %166, 1
  %168 = sext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %168) #5
  %170 = load i32, ptr %169, align 4, !tbaa !21
  %171 = icmp slt i32 %165, %170
  br i1 %171, label %173, label %172

172:                                              ; preds = %164
  store i32 11, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %205

173:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %174 = load i32, ptr %18, align 4, !tbaa !21
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %175) #5
  %177 = load i32, ptr %176, align 4, !tbaa !21
  store i32 %177, ptr %19, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %178 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %179 = load i32, ptr %19, align 4, !tbaa !21
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %178, i64 noundef %180) #5
  %182 = load i32, ptr %181, align 4, !tbaa !21
  store i32 %182, ptr %20, align 4, !tbaa !21
  %183 = load i32, ptr %16, align 4, !tbaa !21
  %184 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 5
  %185 = load i32, ptr %20, align 4, !tbaa !21
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %186) #5
  store i32 %183, ptr %187, align 4, !tbaa !21
  %188 = load i32, ptr %18, align 4, !tbaa !21
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %189) #5
  %191 = load double, ptr %190, align 8, !tbaa !26
  %192 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 6
  %193 = load i32, ptr %20, align 4, !tbaa !21
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %192, i64 noundef %194) #5
  store double %191, ptr %195, align 8, !tbaa !26
  %196 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %197 = load i32, ptr %19, align 4, !tbaa !21
  %198 = sext i32 %197 to i64
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %198) #5
  %200 = load i32, ptr %199, align 4, !tbaa !21
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %199, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %202

202:                                              ; preds = %173
  %203 = load i32, ptr %18, align 4, !tbaa !21
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %18, align 4, !tbaa !21
  br label %164, !llvm.loop !28

205:                                              ; preds = %172
  br label %206

206:                                              ; preds = %205
  %207 = load i32, ptr %16, align 4, !tbaa !21
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %16, align 4, !tbaa !21
  br label %154, !llvm.loop !29

209:                                              ; preds = %158
  %210 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %211 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef 0) #5
  store i32 0, ptr %211, align 4, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !21
  br label %212

212:                                              ; preds = %233, %209
  %213 = load i32, ptr %21, align 4, !tbaa !21
  %214 = load i32, ptr %3, align 4, !tbaa !21
  %215 = icmp slt i32 %213, %214
  br i1 %215, label %217, label %216

216:                                              ; preds = %212
  store i32 14, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %236

217:                                              ; preds = %212
  %218 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %219 = load i32, ptr %21, align 4, !tbaa !21
  %220 = sext i32 %219 to i64
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %218, i64 noundef %220) #5
  %222 = load i32, ptr %221, align 4, !tbaa !21
  %223 = load i32, ptr %21, align 4, !tbaa !21
  %224 = sext i32 %223 to i64
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %224) #5
  %226 = load i32, ptr %225, align 4, !tbaa !21
  %227 = add nsw i32 %222, %226
  %228 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %229 = load i32, ptr %21, align 4, !tbaa !21
  %230 = add nsw i32 %229, 1
  %231 = sext i32 %230 to i64
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %228, i64 noundef %231) #5
  store i32 %227, ptr %232, align 4, !tbaa !21
  br label %233

233:                                              ; preds = %217
  %234 = load i32, ptr %21, align 4, !tbaa !21
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %21, align 4, !tbaa !21
  br label %212, !llvm.loop !30

236:                                              ; preds = %216
  %237 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %238 = load i32, ptr %3, align 4, !tbaa !21
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef %239) #5
  %241 = load i32, ptr %240, align 4, !tbaa !21
  %242 = load i32, ptr %5, align 4, !tbaa !21
  %243 = icmp eq i32 %241, %242
  br i1 %243, label %244, label %245

244:                                              ; preds = %236
  br label %247

245:                                              ; preds = %236
  call void @__assert_fail(ptr noundef @.str.60, ptr noundef @.str.52, i32 noundef 152, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

246:                                              ; No predecessors!
  br label %247

247:                                              ; preds = %246, %244
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %251

248:                                              ; preds = %110, %106
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %249

249:                                              ; preds = %248, %102
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %250

250:                                              ; preds = %249, %98
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %289

251:                                              ; preds = %247, %62
  %252 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 0
  store i32 1, ptr %252, align 8, !tbaa !31
  %253 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 3
  %254 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %253) #5
  %255 = trunc i64 %254 to i32
  %256 = load i32, ptr %3, align 4, !tbaa !21
  %257 = add nsw i32 %256, 1
  %258 = icmp sge i32 %255, %257
  br i1 %258, label %259, label %260

259:                                              ; preds = %251
  br label %262

260:                                              ; preds = %251
  call void @__assert_fail(ptr noundef @.str.61, ptr noundef @.str.52, i32 noundef 155, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

261:                                              ; No predecessors!
  br label %262

262:                                              ; preds = %261, %259
  %263 = call noundef i32 @_ZNK17HighsSparseMatrix5numNzEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  store i32 %263, ptr %5, align 4, !tbaa !21
  %264 = load i32, ptr %5, align 4, !tbaa !21
  %265 = icmp sge i32 %264, 0
  br i1 %265, label %266, label %267

266:                                              ; preds = %262
  br label %269

267:                                              ; preds = %262
  call void @__assert_fail(ptr noundef @.str.57, ptr noundef @.str.52, i32 noundef 157, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

268:                                              ; No predecessors!
  br label %269

269:                                              ; preds = %268, %266
  %270 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 5
  %271 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %270) #5
  %272 = trunc i64 %271 to i32
  %273 = load i32, ptr %5, align 4, !tbaa !21
  %274 = icmp sge i32 %272, %273
  br i1 %274, label %275, label %276

275:                                              ; preds = %269
  br label %278

276:                                              ; preds = %269
  call void @__assert_fail(ptr noundef @.str.58, ptr noundef @.str.52, i32 noundef 158, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

277:                                              ; No predecessors!
  br label %278

278:                                              ; preds = %277, %275
  %279 = getelementptr inbounds %class.HighsSparseMatrix, ptr %22, i32 0, i32 6
  %280 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %279) #5
  %281 = trunc i64 %280 to i32
  %282 = load i32, ptr %5, align 4, !tbaa !21
  %283 = icmp sge i32 %281, %282
  br i1 %283, label %284, label %285

284:                                              ; preds = %278
  br label %287

285:                                              ; preds = %278
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.52, i32 noundef 159, ptr noundef @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

286:                                              ; No predecessors!
  br label %287

287:                                              ; preds = %286, %284
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %288

288:                                              ; preds = %287, %29
  ret void

289:                                              ; preds = %250
  %290 = load ptr, ptr %9, align 8
  %291 = load i32, ptr %10, align 4
  %292 = insertvalue { ptr, i32 } poison, ptr %290, 0
  %293 = insertvalue { ptr, i32 } %292, i32 %291, 1
  resume { ptr, i32 } %293
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(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 = { noreturn nounwind }
attributes #5 = { 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, !12, i64 4}
!10 = !{!"_ZTS17HighsSparseMatrix", !11, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !13, i64 40, !13, i64 64, !17, i64 88}
!11 = !{!"_ZTS12MatrixFormat", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!12, !12, i64 0}
!22 = !{!10, !12, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !7, i64 0}
!28 = distinct !{!28, !24}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}
!31 = !{!10, !11, i64 0}


; 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 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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 }

@.str.52 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv = external hidden unnamed_addr constant [40 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [45 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 @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_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 noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) 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 #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17HighsSparseMatrix13ensureColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector.3", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca i32, align 4
  %8 = tail call noundef zeroext i1 @_ZNK17HighsSparseMatrix8formatOkEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  br i1 %8, label %10, label %9

9:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.53, ptr noundef nonnull @.str.52, i32 noundef 108, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

10:                                               ; preds = %1
  %11 = tail call noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  br i1 %11, label %131, label %12

12:                                               ; preds = %10
  %13 = getelementptr inbounds i8, ptr %0, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load i32, ptr %15, align 8, !tbaa !20
  %17 = tail call noundef i32 @_ZNK17HighsSparseMatrix5numNzEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %18 = icmp sgt i32 %17, -1
  br i1 %18, label %20, label %19

19:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.52, i32 noundef 113, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

20:                                               ; preds = %12
  %21 = getelementptr inbounds i8, ptr %0, i64 64
  %22 = tail call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %23 = trunc i64 %22 to i32
  %.not = icmp sgt i32 %17, %23
  br i1 %.not, label %24, label %25

24:                                               ; preds = %20
  tail call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.52, i32 noundef 114, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

25:                                               ; preds = %20
  %26 = getelementptr inbounds i8, ptr %0, i64 88
  %27 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %28 = trunc i64 %27 to i32
  %.not58 = icmp sgt i32 %17, %28
  br i1 %.not58, label %29, label %30

29:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.52, i32 noundef 115, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

30:                                               ; preds = %25
  %31 = icmp eq i32 %17, 0
  br i1 %31, label %32, label %36

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  %34 = add nsw i32 %14, 1
  %35 = sext i32 %34 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  store i32 0, ptr %2, align 4, !tbaa !21
  call void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %35, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @_ZNSt6vectorIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  br label %114

36:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  call void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %37)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  invoke void @_ZNSt6vectorIiSaIiEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %38 unwind label %54

38:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  invoke void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %39 unwind label %56

39:                                               ; preds = %38
  %40 = add nsw i32 %14, 1
  %41 = sext i32 %40 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %41)
          to label %42 unwind label %58

42:                                               ; preds = %39
  %43 = zext nneg i32 %17 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %43)
          to label %44 unwind label %58

44:                                               ; preds = %42
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %43)
          to label %45 unwind label %58

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %46 = sext i32 %14 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 0, ptr %7, align 4, !tbaa !21
  invoke void @_ZNSt6vectorIiSaIiEE6assignEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %46, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %47 unwind label %60

47:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #5
  %49 = load i32, ptr %48, align 4, !tbaa !21
  %50 = icmp slt i32 %49, %17
  br i1 %50, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %47
  %51 = sext i32 %49 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %47
  %52 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef 0) #5
  store i32 0, ptr %52, align 4, !tbaa !21
  %53 = icmp sgt i32 %14, 0
  br i1 %53, label %.lr.ph68.preheader, label %.preheader

.lr.ph68.preheader:                               ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %14 to i64
  br label %.lr.ph68

54:                                               ; preds = %36
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %113

56:                                               ; preds = %38
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %112

58:                                               ; preds = %44, %42, %39
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %111

60:                                               ; preds = %45
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  br label %111

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %51, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv) #5
  %63 = load i32, ptr %62, align 4, !tbaa !21
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %64) #5
  %66 = load i32, ptr %65, align 4, !tbaa !21
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !21
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %17, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !22

.preheader:                                       ; preds = %.lr.ph68, %._crit_edge
  %68 = icmp sgt i32 %16, 0
  br i1 %68, label %.lr.ph73.preheader, label %._crit_edge74

.lr.ph73.preheader:                               ; preds = %.preheader
  %wide.trip.count90 = zext nneg i32 %16 to i64
  br label %.lr.ph73

.lr.ph68:                                         ; preds = %.lr.ph68.preheader, %.lr.ph68
  %indvars.iv80 = phi i64 [ 0, %.lr.ph68.preheader ], [ %indvars.iv.next81, %.lr.ph68 ]
  %69 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv80) #5
  %70 = load i32, ptr %69, align 4, !tbaa !21
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv80) #5
  %72 = load i32, ptr %71, align 4, !tbaa !21
  %73 = add nsw i32 %72, %70
  %indvars.iv.next81 = add nuw nsw i64 %indvars.iv80, 1
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv.next81) #5
  store i32 %73, ptr %74, align 4, !tbaa !21
  %exitcond83.not = icmp eq i64 %indvars.iv.next81, %wide.trip.count
  br i1 %exitcond83.not, label %.preheader, label %.lr.ph68, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph71, %.lr.ph73
  %exitcond91.not = icmp eq i64 %indvars.iv.next88, %wide.trip.count90
  br i1 %exitcond91.not, label %._crit_edge74, label %.lr.ph73, !llvm.loop !25

._crit_edge74:                                    ; preds = %.loopexit, %.preheader
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef 0) #5
  store i32 0, ptr %75, align 4, !tbaa !21
  br i1 %53, label %.lr.ph77.preheader, label %._crit_edge78

.lr.ph77.preheader:                               ; preds = %._crit_edge74
  %wide.trip.count95 = zext nneg i32 %14 to i64
  br label %.lr.ph77

.lr.ph73:                                         ; preds = %.lr.ph73.preheader, %.loopexit
  %indvars.iv87 = phi i64 [ 0, %.lr.ph73.preheader ], [ %indvars.iv.next88, %.loopexit ]
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv87) #5
  %77 = load i32, ptr %76, align 4, !tbaa !21
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next88) #5
  %79 = load i32, ptr %78, align 4, !tbaa !21
  %80 = icmp slt i32 %77, %79
  br i1 %80, label %.lr.ph71.preheader, label %.loopexit

.lr.ph71.preheader:                               ; preds = %.lr.ph73
  %81 = sext i32 %77 to i64
  %82 = trunc nuw nsw i64 %indvars.iv87 to i32
  br label %.lr.ph71

.lr.ph71:                                         ; preds = %.lr.ph71.preheader, %.lr.ph71
  %indvars.iv84 = phi i64 [ %81, %.lr.ph71.preheader ], [ %indvars.iv.next85, %.lr.ph71 ]
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv84) #5
  %84 = load i32, ptr %83, align 4, !tbaa !21
  %85 = sext i32 %84 to i64
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %85) #5
  %87 = load i32, ptr %86, align 4, !tbaa !21
  %88 = sext i32 %87 to i64
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %88) #5
  store i32 %82, ptr %89, align 4, !tbaa !21
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv84) #5
  %91 = load double, ptr %90, align 8, !tbaa !26
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %88) #5
  store double %91, ptr %92, align 8, !tbaa !26
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %85) #5
  %94 = load i32, ptr %93, align 4, !tbaa !21
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %93, align 4, !tbaa !21
  %indvars.iv.next85 = add nsw i64 %indvars.iv84, 1
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next88) #5
  %97 = load i32, ptr %96, align 4, !tbaa !21
  %98 = sext i32 %97 to i64
  %99 = icmp slt i64 %indvars.iv.next85, %98
  br i1 %99, label %.lr.ph71, label %.loopexit, !llvm.loop !28

._crit_edge78:                                    ; preds = %.lr.ph77, %._crit_edge74
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %46) #5
  %101 = load i32, ptr %100, align 4, !tbaa !21
  %102 = icmp eq i32 %101, %17
  br i1 %102, label %110, label %109

.lr.ph77:                                         ; preds = %.lr.ph77.preheader, %.lr.ph77
  %indvars.iv92 = phi i64 [ 0, %.lr.ph77.preheader ], [ %indvars.iv.next93, %.lr.ph77 ]
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv92) #5
  %104 = load i32, ptr %103, align 4, !tbaa !21
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv92) #5
  %106 = load i32, ptr %105, align 4, !tbaa !21
  %107 = add nsw i32 %106, %104
  %indvars.iv.next93 = add nuw nsw i64 %indvars.iv92, 1
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %indvars.iv.next93) #5
  store i32 %107, ptr %108, align 4, !tbaa !21
  %exitcond96.not = icmp eq i64 %indvars.iv.next93, %wide.trip.count95
  br i1 %exitcond96.not, label %._crit_edge78, label %.lr.ph77, !llvm.loop !29

109:                                              ; preds = %._crit_edge78
  call void @__assert_fail(ptr noundef nonnull @.str.60, ptr noundef nonnull @.str.52, i32 noundef 152, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

110:                                              ; preds = %._crit_edge78
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  br label %114

111:                                              ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %112

112:                                              ; preds = %111, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %111 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %113

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

114:                                              ; preds = %110, %32
  store i32 1, ptr %0, align 8, !tbaa !30
  %115 = getelementptr inbounds i8, ptr %0, i64 16
  %116 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #5
  %117 = trunc i64 %116 to i32
  %.not62.not = icmp slt i32 %14, %117
  br i1 %.not62.not, label %119, label %118

118:                                              ; preds = %114
  call void @__assert_fail(ptr noundef nonnull @.str.61, ptr noundef nonnull @.str.52, i32 noundef 155, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

119:                                              ; preds = %114
  %120 = call noundef i32 @_ZNK17HighsSparseMatrix5numNzEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %121 = icmp sgt i32 %120, -1
  br i1 %121, label %123, label %122

122:                                              ; preds = %119
  call void @__assert_fail(ptr noundef nonnull @.str.57, ptr noundef nonnull @.str.52, i32 noundef 157, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

123:                                              ; preds = %119
  %124 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %125 = trunc i64 %124 to i32
  %.not63 = icmp sgt i32 %120, %125
  br i1 %.not63, label %126, label %127

126:                                              ; preds = %123
  call void @__assert_fail(ptr noundef nonnull @.str.58, ptr noundef nonnull @.str.52, i32 noundef 158, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

127:                                              ; preds = %123
  %128 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %129 = trunc i64 %128 to i32
  %.not64 = icmp sgt i32 %120, %129
  br i1 %.not64, label %130, label %131

130:                                              ; preds = %127
  call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.52, i32 noundef 159, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN17HighsSparseMatrix13ensureColwiseEv) #4
  unreachable

131:                                              ; preds = %127, %10
  ret void
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(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 = { noreturn nounwind }
attributes #5 = { 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, !10, i64 4}
!6 = !{!"_ZTS17HighsSparseMatrix", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 16, !11, i64 40, !11, i64 64, !16, i64 88}
!7 = !{!"_ZTS12MatrixFormat", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTSSt6vectorIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!20 = !{!6, !10, i64 8}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !8, i64 0}
!28 = distinct !{!28, !23}
!29 = distinct !{!29, !23}
!30 = !{!6, !7, i64 0}


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