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

; 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.HighsCDouble = type { double, double }
%class.HighsSparseVectorSum = type { %"class.std::vector.8", %"class.std::vector" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<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.anon = type { i8 }
%class.HighsSparseMatrix = type { i32, i32, i32, %"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<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.HVectorBase = type { i32, i32, %"class.std::vector", %"class.std::vector.3", double, %"class.std::vector.13", %"class.std::vector", ptr, i8, i32, %"class.std::vector", %"class.std::vector.3" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.106 = external hidden unnamed_addr constant [39 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 noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112)) #1 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: 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 @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERS0_IiSaIiEERK11HVectorBaseIdEi(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(176) %3, i32 noundef %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %class.HighsCDouble, align 8
  %14 = alloca i32, align 4
  %15 = alloca %class.HighsCDouble, align 8
  %16 = alloca %class.HighsCDouble, align 8
  %17 = alloca double, align 8
  %18 = alloca %class.HighsSparseVectorSum, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %class.HighsSparseVectorSum, align 8
  %25 = alloca i32, align 4
  %26 = alloca double, align 8
  %27 = alloca %class.anon, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %31 = load ptr, ptr %6, align 8
  %32 = load i32, ptr %10, align 4, !tbaa !9
  %33 = icmp sge i32 %32, -1
  br i1 %33, label %34, label %36

34:                                               ; preds = %5
  %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.106)
  br label %36

36:                                               ; preds = %34, %5
  %37 = call noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %31)
  br i1 %37, label %38, label %111

38:                                               ; preds = %36
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 1
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = sext i32 %41 to i64
  call void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %42)
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 1
  %45 = load i32, ptr %44, align 4, !tbaa !11
  %46 = sext i32 %45 to i64
  call void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %46)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %107, %38
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 1
  %50 = load i32, ptr %49, align 4, !tbaa !11
  %51 = icmp slt i32 %48, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %110

53:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %13, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %54 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 3
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %56) #5
  %58 = load i32, ptr %57, align 4, !tbaa !9
  store i32 %58, ptr %14, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %87, %53
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 3
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %64) #5
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = icmp slt i32 %60, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %59
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %90

69:                                               ; preds = %59
  %70 = load ptr, ptr %9, align 8, !tbaa !5
  %71 = getelementptr inbounds %class.HVectorBase, ptr %70, i32 0, i32 3
  %72 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 5
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %74) #5
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %77) #5
  %79 = load double, ptr %78, align 8, !tbaa !22
  %80 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 6
  %81 = load i32, ptr %14, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %82) #5
  %84 = load double, ptr %83, align 8, !tbaa !22
  %85 = fmul double %79, %84
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16) %13, double noundef %85)
  br label %87

87:                                               ; preds = %69
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %14, align 4, !tbaa !9
  br label %59, !llvm.loop !24

90:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %91 = call { double, double } @_Z3absRK12HighsCDouble(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %92 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %93 = extractvalue { double, double } %91, 0
  store double %93, ptr %92, align 8
  %94 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %95 = extractvalue { double, double } %91, 1
  store double %95, ptr %94, align 8
  %96 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %16, double noundef 0x3D06849B86A12B9B)
  %97 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %98 = extractvalue { double, double } %96, 0
  store double %98, ptr %97, align 8
  %99 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %100 = extractvalue { double, double } %96, 1
  store double %100, ptr %99, align 8
  %101 = call noundef zeroext i1 @_ZNK12HighsCDoublegtEd(ptr noundef nonnull align 8 dereferenceable(16) %15, double noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br i1 %101, label %102, label %106

102:                                              ; preds = %90
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %104 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  store double %104, ptr %17, align 8, !tbaa !22
  call void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %103, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef nonnull align 4 dereferenceable(4) %11)
  br label %106

106:                                              ; preds = %102, %90
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %11, align 4, !tbaa !9
  br label %47, !llvm.loop !26

110:                                              ; preds = %52
  br label %262

111:                                              ; preds = %36
  call void @llvm.lifetime.start.p0(i64 48, ptr %18) #5
  %112 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 1
  %113 = load i32, ptr %112, align 4, !tbaa !11
  call void @_ZN20HighsSparseVectorSumC2Ei(ptr noundef nonnull align 8 dereferenceable(48) %18, i32 noundef %113)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %164, %111
  %115 = load i32, ptr %19, align 4, !tbaa !9
  %116 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 2
  %117 = load i32, ptr %116, align 8, !tbaa !27
  %118 = icmp slt i32 %115, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %114
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %167

120:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %class.HVectorBase, ptr %121, i32 0, i32 3
  %123 = load i32, ptr %19, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %124) #5
  %126 = load double, ptr %125, align 8, !tbaa !22
  store double %126, ptr %20, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %127 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 3
  %128 = load i32, ptr %19, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %127, i64 noundef %129) #5
  %131 = load i32, ptr %130, align 4, !tbaa !9
  store i32 %131, ptr %21, align 4, !tbaa !9
  br label %132

132:                                              ; preds = %156, %120
  %133 = load i32, ptr %21, align 4, !tbaa !9
  %134 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 3
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = add nsw i32 %135, 1
  %137 = sext i32 %136 to i64
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %137) #5
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = icmp slt i32 %133, %139
  br i1 %140, label %142, label %141

141:                                              ; preds = %132
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %163

142:                                              ; preds = %132
  %143 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 5
  %144 = load i32, ptr %21, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #5
  %147 = load i32, ptr %146, align 4, !tbaa !9
  %148 = load double, ptr %20, align 8, !tbaa !22
  %149 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 6
  %150 = load i32, ptr %21, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %149, i64 noundef %151) #5
  %153 = load double, ptr %152, align 8, !tbaa !22
  %154 = fmul double %148, %153
  invoke void @_ZN20HighsSparseVectorSum3addEid(ptr noundef nonnull align 8 dereferenceable(48) %18, i32 noundef %147, double noundef %154)
          to label %155 unwind label %159

155:                                              ; preds = %142
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %21, align 4, !tbaa !9
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %21, align 4, !tbaa !9
  br label %132, !llvm.loop !28

159:                                              ; preds = %142
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %22, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %261

163:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %164

164:                                              ; preds = %163
  %165 = load i32, ptr %19, align 4, !tbaa !9
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %19, align 4, !tbaa !9
  br label %114, !llvm.loop !29

167:                                              ; preds = %119
  %168 = load i32, ptr %10, align 4, !tbaa !9
  %169 = icmp sge i32 %168, -1
  br i1 %169, label %170, label %217

170:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 48, ptr %24) #5
  %171 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 1
  %172 = load i32, ptr %171, align 4, !tbaa !11
  invoke void @_ZN20HighsSparseVectorSumC2Ei(ptr noundef nonnull align 8 dereferenceable(48) %24, i32 noundef %172)
          to label %173 unwind label %180

173:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %212, %173
  %175 = load i32, ptr %25, align 4, !tbaa !9
  %176 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 2
  %177 = load i32, ptr %176, align 8, !tbaa !27
  %178 = icmp slt i32 %175, %177
  br i1 %178, label %184, label %179

179:                                              ; preds = %174
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %215

180:                                              ; preds = %170
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %22, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %23, align 4
  br label %216

184:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = getelementptr inbounds %class.HVectorBase, ptr %185, i32 0, i32 3
  %187 = load i32, ptr %25, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %188) #5
  %190 = load double, ptr %189, align 8, !tbaa !22
  store double %190, ptr %26, align 8, !tbaa !22
  %191 = load i32, ptr %10, align 4, !tbaa !9
  %192 = icmp eq i32 %191, -1
  br i1 %192, label %197, label %193

193:                                              ; preds = %184
  %194 = load i32, ptr %10, align 4, !tbaa !9
  %195 = load i32, ptr %25, align 4, !tbaa !9
  %196 = icmp eq i32 %194, %195
  br i1 %196, label %197, label %211

197:                                              ; preds = %193, %184
  %198 = load i32, ptr %25, align 4, !tbaa !9
  %199 = load double, ptr %26, align 8, !tbaa !22
  %200 = getelementptr inbounds %class.HighsSparseMatrix, ptr %31, i32 0, i32 3
  %201 = load i32, ptr %25, align 4, !tbaa !9
  %202 = add nsw i32 %201, 1
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef %203) #5
  %205 = load i32, ptr %204, align 4, !tbaa !9
  invoke void @_ZNK17HighsSparseMatrix19debugReportRowPriceEidiR20HighsSparseVectorSum(ptr noundef nonnull align 8 dereferenceable(112) %31, i32 noundef %198, double noundef %199, i32 noundef %205, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %206 unwind label %207

206:                                              ; preds = %197
  br label %211

207:                                              ; preds = %197
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %22, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #5
  br label %216

211:                                              ; preds = %206, %193
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %25, align 4, !tbaa !9
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %25, align 4, !tbaa !9
  br label %174, !llvm.loop !30

215:                                              ; preds = %179
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #5
  br label %217

216:                                              ; preds = %207, %180
  call void @llvm.lifetime.end.p0(i64 48, ptr %24) #5
  br label %261

217:                                              ; preds = %215, %167
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #5
  invoke void @"_ZN20HighsSparseVectorSum7cleanupIZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERS2_IiSaIiEERK11HVectorBaseIdEiE3$_0EEvOT_"(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %218 unwind label %234

218:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  %219 = getelementptr inbounds %class.HighsSparseVectorSum, ptr %18, i32 0, i32 1
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %220, ptr noundef nonnull align 8 dereferenceable(24) %219) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %222 = load ptr, ptr %8, align 8, !tbaa !5
  %223 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %222) #5
  %224 = trunc i64 %223 to i32
  store i32 %224, ptr %28, align 4, !tbaa !9
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = load i32, ptr %28, align 4, !tbaa !9
  %227 = sext i32 %226 to i64
  invoke void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %225, i64 noundef %227)
          to label %228 unwind label %238

228:                                              ; preds = %218
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %229

229:                                              ; preds = %252, %228
  %230 = load i32, ptr %29, align 4, !tbaa !9
  %231 = load i32, ptr %28, align 4, !tbaa !9
  %232 = icmp slt i32 %230, %231
  br i1 %232, label %242, label %233

233:                                              ; preds = %229
  store i32 17, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %259

234:                                              ; preds = %217
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %22, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #5
  br label %261

238:                                              ; preds = %218
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %22, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %23, align 4
  br label %260

242:                                              ; preds = %229
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = load i32, ptr %29, align 4, !tbaa !9
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %244, i64 noundef %246) #5
  %248 = load i32, ptr %247, align 4, !tbaa !9
  %249 = invoke noundef double @_ZNK20HighsSparseVectorSum8getValueEi(ptr noundef nonnull align 8 dereferenceable(48) %18, i32 noundef %248)
          to label %250 unwind label %255

250:                                              ; preds = %242
  store double %249, ptr %30, align 8, !tbaa !22
  invoke void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %243, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %251 unwind label %255

251:                                              ; preds = %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %29, align 4, !tbaa !9
  %254 = add nsw i32 %253, 1
  store i32 %254, ptr %29, align 4, !tbaa !9
  br label %229, !llvm.loop !31

255:                                              ; preds = %250, %242
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %22, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %260

259:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #5
  br label %262

260:                                              ; preds = %255, %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %261

261:                                              ; preds = %260, %234, %216, %159
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #5
  br label %263

262:                                              ; preds = %259, %110
  ret void

263:                                              ; preds = %261
  %264 = load ptr, ptr %22, align 8
  %265 = load i32, ptr %23, align 4
  %266 = insertvalue { ptr, i32 } poison, ptr %264, 0
  %267 = insertvalue { ptr, i32 } %266, i32 %265, 1
  resume { ptr, i32 } %267
}

declare i32 @printf(ptr noundef, ...) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17HighsSparseMatrix19debugReportRowPriceEidiR20HighsSparseVectorSum(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, double noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN20HighsSparseVectorSum7cleanupIZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERS2_IiSaIiEERK11HVectorBaseIdEiE3$_0EEvOT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK20HighsSparseVectorSum8getValueEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"_ZTS17HighsSparseMatrix", !13, i64 0, !10, i64 4, !10, i64 8, !14, i64 16, !14, i64 40, !14, i64 64, !18, i64 88}
!13 = !{!"_ZTS12MatrixFormat", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorIdSaIdEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!12, !10, i64 8}
!28 = distinct !{!28, !25}
!29 = distinct !{!29, !25}
!30 = distinct !{!30, !25}
!31 = distinct !{!31, !25}


; 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.HighsCDouble = type { double, double }
%class.HighsSparseVectorSum = type { %"class.std::vector.8", %"class.std::vector" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<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.anon = type { i8 }

@.str.106 = external hidden unnamed_addr constant [39 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 noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 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: 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 @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERS0_IiSaIiEERK11HVectorBaseIdEi(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(176) %3, i32 noundef %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i32, align 4
  %7 = alloca %class.HighsCDouble, align 8
  %8 = alloca %class.HighsCDouble, align 8
  %9 = alloca %class.HighsCDouble, align 8
  %10 = alloca double, align 8
  %11 = alloca %class.HighsSparseVectorSum, align 8
  %12 = alloca %class.HighsSparseVectorSum, align 8
  %13 = alloca %class.anon, align 1
  %14 = alloca double, align 8
  %15 = icmp sgt i32 %4, -2
  br i1 %15, label %16, label %18

16:                                               ; preds = %5
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.106)
  br label %18

18:                                               ; preds = %16, %5
  %19 = tail call noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  br i1 %19, label %20, label %76

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %0, i64 4
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  tail call void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %23)
  %24 = load i32, ptr %21, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  tail call void @_ZNSt6vectorIiSaIiEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %25)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  store i32 0, ptr %6, align 4, !tbaa !20
  %26 = load i32, ptr %21, align 4, !tbaa !5
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph76, label %._crit_edge77

.lr.ph76:                                         ; preds = %20
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = getelementptr inbounds i8, ptr %3, i64 32
  %30 = getelementptr inbounds i8, ptr %0, i64 64
  %31 = getelementptr inbounds i8, ptr %0, i64 88
  %32 = getelementptr inbounds i8, ptr %9, i64 8
  %33 = getelementptr inbounds i8, ptr %8, i64 8
  br label %34

._crit_edge77:                                    ; preds = %71, %20
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  br label %163

34:                                               ; preds = %.lr.ph76, %71
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZN12HighsCDoubleC2Ed(ptr noundef nonnull align 8 dereferenceable(16) %7, double noundef 0.000000e+00)
  %35 = load i32, ptr %6, align 4, !tbaa !20
  %36 = sext i32 %35 to i64
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %36) #5
  %38 = load i32, ptr %37, align 4, !tbaa !20
  %39 = load i32, ptr %6, align 4, !tbaa !20
  %40 = add nsw i32 %39, 1
  %41 = sext i32 %40 to i64
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %41) #5
  %43 = load i32, ptr %42, align 4, !tbaa !20
  %44 = icmp slt i32 %38, %43
  br i1 %44, label %.lr.ph73.preheader, label %._crit_edge74

.lr.ph73.preheader:                               ; preds = %34
  %45 = sext i32 %38 to i64
  br label %.lr.ph73

._crit_edge74:                                    ; preds = %.lr.ph73, %34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  %46 = call { double, double } @_Z3absRK12HighsCDouble(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %47 = extractvalue { double, double } %46, 0
  store double %47, ptr %9, align 8
  %48 = extractvalue { double, double } %46, 1
  store double %48, ptr %32, align 8
  %49 = call { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef 0x3D06849B86A12B9B)
  %50 = extractvalue { double, double } %49, 0
  store double %50, ptr %8, align 8
  %51 = extractvalue { double, double } %49, 1
  store double %51, ptr %33, align 8
  %52 = call noundef zeroext i1 @_ZNK12HighsCDoublegtEd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br i1 %52, label %69, label %71

.lr.ph73:                                         ; preds = %.lr.ph73.preheader, %.lr.ph73
  %indvars.iv92 = phi i64 [ %45, %.lr.ph73.preheader ], [ %indvars.iv.next93, %.lr.ph73 ]
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %indvars.iv92) #5
  %54 = load i32, ptr %53, align 4, !tbaa !20
  %55 = sext i32 %54 to i64
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %55) #5
  %57 = load double, ptr %56, align 8, !tbaa !21
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %indvars.iv92) #5
  %59 = load double, ptr %58, align 8, !tbaa !21
  %60 = fmul double %57, %59
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN12HighsCDoublepLEd(ptr noundef nonnull align 8 dereferenceable(16) %7, double noundef %60)
  %indvars.iv.next93 = add nsw i64 %indvars.iv92, 1
  %62 = load i32, ptr %6, align 4, !tbaa !20
  %63 = add nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %64) #5
  %66 = load i32, ptr %65, align 4, !tbaa !20
  %67 = sext i32 %66 to i64
  %68 = icmp slt i64 %indvars.iv.next93, %67
  br i1 %68, label %.lr.ph73, label %._crit_edge74, !llvm.loop !23

69:                                               ; preds = %._crit_edge74
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %70 = call noundef double @_ZNK12HighsCDoublecvdEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
  store double %70, ptr %10, align 8, !tbaa !21
  call void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
  br label %71

71:                                               ; preds = %69, %._crit_edge74
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  %72 = load i32, ptr %6, align 4, !tbaa !20
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %6, align 4, !tbaa !20
  %74 = load i32, ptr %21, align 4, !tbaa !5
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %34, label %._crit_edge77, !llvm.loop !25

76:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #5
  %77 = getelementptr inbounds i8, ptr %0, i64 4
  %78 = load i32, ptr %77, align 4, !tbaa !5
  call void @_ZN20HighsSparseVectorSumC2Ei(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %78)
  %79 = getelementptr inbounds i8, ptr %0, i64 8
  %80 = load i32, ptr %79, align 8, !tbaa !26
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph64, label %._crit_edge

.lr.ph64:                                         ; preds = %76
  %82 = getelementptr inbounds i8, ptr %3, i64 32
  %83 = getelementptr inbounds i8, ptr %0, i64 16
  %84 = getelementptr inbounds i8, ptr %0, i64 64
  %85 = getelementptr inbounds i8, ptr %0, i64 88
  br label %89

.loopexit:                                        ; preds = %103, %89
  %86 = load i32, ptr %79, align 8, !tbaa !26
  %87 = sext i32 %86 to i64
  %88 = icmp slt i64 %indvars.iv.next81, %87
  br i1 %88, label %89, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %.loopexit, %76
  br i1 %15, label %110, label %144

89:                                               ; preds = %.lr.ph64, %.loopexit
  %indvars.iv80 = phi i64 [ 0, %.lr.ph64 ], [ %indvars.iv.next81, %.loopexit ]
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %indvars.iv80) #5
  %91 = load double, ptr %90, align 8, !tbaa !21
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %indvars.iv80) #5
  %93 = load i32, ptr %92, align 4, !tbaa !20
  %indvars.iv.next81 = add nuw nsw i64 %indvars.iv80, 1
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %indvars.iv.next81) #5
  %95 = load i32, ptr %94, align 4, !tbaa !20
  %96 = icmp slt i32 %93, %95
  br i1 %96, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %89
  %97 = sext i32 %93 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %103
  %indvars.iv = phi i64 [ %97, %.lr.ph.preheader ], [ %indvars.iv.next, %103 ]
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %indvars.iv) #5
  %99 = load i32, ptr %98, align 4, !tbaa !20
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %indvars.iv) #5
  %101 = load double, ptr %100, align 8, !tbaa !21
  %102 = fmul double %91, %101
  invoke void @_ZN20HighsSparseVectorSum3addEid(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %99, double noundef %102)
          to label %103 unwind label %108

103:                                              ; preds = %.lr.ph
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %indvars.iv.next81) #5
  %105 = load i32, ptr %104, align 4, !tbaa !20
  %106 = sext i32 %105 to i64
  %107 = icmp slt i64 %indvars.iv.next, %106
  br i1 %107, label %.lr.ph, label %.loopexit, !llvm.loop !28

108:                                              ; preds = %.lr.ph
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %162

110:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  %111 = load i32, ptr %77, align 4, !tbaa !5
  invoke void @_ZN20HighsSparseVectorSumC2Ei(ptr noundef nonnull align 8 dereferenceable(48) %12, i32 noundef %111)
          to label %.preheader58 unwind label %129

.preheader58:                                     ; preds = %110
  %112 = load i32, ptr %79, align 8, !tbaa !26
  %113 = icmp sgt i32 %112, 0
  br i1 %113, label %.lr.ph66, label %._crit_edge67

.lr.ph66:                                         ; preds = %.preheader58
  %114 = getelementptr inbounds i8, ptr %3, i64 32
  %115 = icmp eq i32 %4, -1
  %116 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %115, label %.lr.ph66.split.us, label %.lr.ph66.split.preheader

.lr.ph66.split.preheader:                         ; preds = %.lr.ph66
  %117 = zext nneg i32 %4 to i64
  %118 = add nuw nsw i64 %117, 1
  br label %.lr.ph66.split

.lr.ph66.split.us:                                ; preds = %.lr.ph66, %124
  %indvars.iv86 = phi i64 [ %indvars.iv.next87, %124 ], [ 0, %.lr.ph66 ]
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %indvars.iv86) #5
  %120 = load double, ptr %119, align 8, !tbaa !21
  %indvars.iv.next87 = add nuw nsw i64 %indvars.iv86, 1
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %indvars.iv.next87) #5
  %122 = load i32, ptr %121, align 4, !tbaa !20
  %123 = trunc nuw nsw i64 %indvars.iv86 to i32
  invoke void @_ZNK17HighsSparseMatrix19debugReportRowPriceEidiR20HighsSparseVectorSum(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef %123, double noundef %120, i32 noundef %122, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %124 unwind label %.split.us

124:                                              ; preds = %.lr.ph66.split.us
  %125 = load i32, ptr %79, align 8, !tbaa !26
  %126 = sext i32 %125 to i64
  %127 = icmp slt i64 %indvars.iv.next87, %126
  br i1 %127, label %.lr.ph66.split.us, label %._crit_edge67, !llvm.loop !29

.split.us:                                        ; preds = %.lr.ph66.split.us
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %138

._crit_edge67:                                    ; preds = %139, %124, %.preheader58
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %144

129:                                              ; preds = %110
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %143

.lr.ph66.split:                                   ; preds = %.lr.ph66.split.preheader, %139
  %indvars.iv83 = phi i64 [ 0, %.lr.ph66.split.preheader ], [ %indvars.iv.next84, %139 ]
  %131 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %indvars.iv83) #5
  %132 = icmp eq i64 %indvars.iv83, %117
  br i1 %132, label %133, label %139

133:                                              ; preds = %.lr.ph66.split
  %134 = load double, ptr %131, align 8, !tbaa !21
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118) #5
  %136 = load i32, ptr %135, align 4, !tbaa !20
  invoke void @_ZNK17HighsSparseMatrix19debugReportRowPriceEidiR20HighsSparseVectorSum(ptr noundef nonnull align 8 dereferenceable(112) %0, i32 noundef %4, double noundef %134, i32 noundef %136, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %139 unwind label %.split

.split:                                           ; preds = %133
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %138

138:                                              ; preds = %.split.us, %.split
  %.us-phi = phi { ptr, i32 } [ %137, %.split ], [ %128, %.split.us ]
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  br label %143

139:                                              ; preds = %.lr.ph66.split, %133
  %indvars.iv.next84 = add nuw nsw i64 %indvars.iv83, 1
  %140 = load i32, ptr %79, align 8, !tbaa !26
  %141 = sext i32 %140 to i64
  %142 = icmp slt i64 %indvars.iv.next84, %141
  br i1 %142, label %.lr.ph66.split, label %._crit_edge67, !llvm.loop !29

143:                                              ; preds = %138, %129
  %.pn54 = phi { ptr, i32 } [ %.us-phi, %138 ], [ %130, %129 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %162

144:                                              ; preds = %._crit_edge67, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  invoke void @"_ZN20HighsSparseVectorSum7cleanupIZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERS2_IiSaIiEERK11HVectorBaseIdEiE3$_0EEvOT_"(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %145 unwind label %152

145:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  %146 = getelementptr inbounds i8, ptr %11, i64 24
  %147 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIiSaIiEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %146) #5
  %148 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %sext = shl i64 %148, 32
  %149 = ashr exact i64 %sext, 32
  invoke void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %149)
          to label %.preheader unwind label %154

.preheader:                                       ; preds = %145
  %150 = trunc i64 %148 to i32
  %151 = icmp sgt i32 %150, 0
  br i1 %151, label %.lr.ph69.preheader, label %._crit_edge70

.lr.ph69.preheader:                               ; preds = %.preheader
  %wide.trip.count = and i64 %148, 2147483647
  br label %.lr.ph69

._crit_edge70:                                    ; preds = %159, %.preheader
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  br label %163

152:                                              ; preds = %144
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  br label %162

154:                                              ; preds = %145
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %162

.lr.ph69:                                         ; preds = %.lr.ph69.preheader, %159
  %indvars.iv89 = phi i64 [ 0, %.lr.ph69.preheader ], [ %indvars.iv.next90, %159 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv89) #5
  %157 = load i32, ptr %156, align 4, !tbaa !20
  %158 = call noundef double @_ZNK20HighsSparseVectorSum8getValueEi(ptr noundef nonnull align 8 dereferenceable(48) %11, i32 noundef %157)
  store double %158, ptr %14, align 8, !tbaa !21
  invoke void @_ZNSt6vectorIdSaIdEE9push_backEOd(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %159 unwind label %160

159:                                              ; preds = %.lr.ph69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next90, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge70, label %.lr.ph69, !llvm.loop !30

160:                                              ; preds = %.lr.ph69
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %162

162:                                              ; preds = %154, %160, %152, %143, %108
  %.pn56 = phi { ptr, i32 } [ %109, %108 ], [ %.pn54, %143 ], [ %153, %152 ], [ %161, %160 ], [ %155, %154 ]
  call void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  resume { ptr, i32 } %.pn56

163:                                              ; preds = %._crit_edge70, %._crit_edge77
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK12HighsCDoublemiEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK17HighsSparseMatrix19debugReportRowPriceEidiR20HighsSparseVectorSum(ptr noundef nonnull align 8 dereferenceable(112), i32 noundef, double noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN20HighsSparseVectorSumD2Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN20HighsSparseVectorSum7cleanupIZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERS2_IiSaIiEERK11HVectorBaseIdEiE3$_0EEvOT_"(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK20HighsSparseVectorSum8getValueEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 #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 = !{!10, !10, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !8, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!6, !10, i64 8}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}


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