; 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.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.3" }
%"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.101 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b = external hidden unnamed_addr constant [126 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [77 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #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
define dso_local void @_ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b(ptr noundef nonnull align 8 dereferenceable(112) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i1 noundef zeroext %4) #1 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %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
  store ptr %0, ptr %6, align 8, !tbaa !5
  store double %1, ptr %7, align 8, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %20 = zext i1 %4 to i8
  store i8 %20, ptr %10, align 1, !tbaa !11
  %21 = load ptr, ptr %6, align 8
  %22 = load ptr, ptr %8, align 8, !tbaa !5
  %23 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  %24 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %25 = trunc i8 %24 to i1
  %26 = zext i1 %25 to i64
  %27 = icmp uge i64 %23, %26
  br i1 %27, label %28, label %31

28:                                               ; preds = %5
  %29 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 2
  %30 = load i32, ptr %29, align 8, !tbaa !15
  br label %34

31:                                               ; preds = %5
  %32 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 1
  %33 = load i32, ptr %32, align 4, !tbaa !27
  br label %34

34:                                               ; preds = %31, %28
  %35 = phi i32 [ %30, %28 ], [ %33, %31 ]
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %38

37:                                               ; preds = %34
  br label %40

38:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.52, i32 noundef 1141, ptr noundef @__PRETTY_FUNCTION__._ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b) #5
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #4
  %43 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %44 = trunc i8 %43 to i1
  %45 = zext i1 %44 to i64
  %46 = icmp uge i64 %42, %45
  br i1 %46, label %47, label %50

47:                                               ; preds = %40
  %48 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !27
  br label %53

50:                                               ; preds = %40
  %51 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 2
  %52 = load i32, ptr %51, align 8, !tbaa !15
  br label %53

53:                                               ; preds = %50, %47
  %54 = phi i32 [ %49, %47 ], [ %52, %50 ]
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %57

56:                                               ; preds = %53
  br label %59

57:                                               ; preds = %53
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str.52, i32 noundef 1143, ptr noundef @__PRETTY_FUNCTION__._ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b) #5
  unreachable

58:                                               ; No predecessors!
  br label %59

59:                                               ; preds = %58, %56
  %60 = call noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %21)
  br i1 %60, label %61, label %173

61:                                               ; preds = %59
  %62 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %118

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !28
  br label %65

65:                                               ; preds = %114, %64
  %66 = load i32, ptr %11, align 4, !tbaa !28
  %67 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !27
  %69 = icmp slt i32 %66, %68
  br i1 %69, label %71, label %70

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

71:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %72 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %73 = load i32, ptr %11, align 4, !tbaa !28
  %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) #4
  %76 = load i32, ptr %75, align 4, !tbaa !28
  store i32 %76, ptr %13, align 4, !tbaa !28
  br label %77

77:                                               ; preds = %110, %71
  %78 = load i32, ptr %13, align 4, !tbaa !28
  %79 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %80 = load i32, ptr %11, align 4, !tbaa !28
  %81 = add nsw i32 %80, 1
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %82) #4
  %84 = load i32, ptr %83, align 4, !tbaa !28
  %85 = icmp slt i32 %78, %84
  br i1 %85, label %87, label %86

86:                                               ; preds = %77
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %113

87:                                               ; preds = %77
  %88 = load double, ptr %7, align 8, !tbaa !9
  %89 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 6
  %90 = load i32, ptr %13, align 4, !tbaa !28
  %91 = sext i32 %90 to i64
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %91) #4
  %93 = load double, ptr %92, align 8, !tbaa !9
  %94 = fmul double %88, %93
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  %96 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 5
  %97 = load i32, ptr %13, align 4, !tbaa !28
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %98) #4
  %100 = load i32, ptr %99, align 4, !tbaa !28
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %101) #4
  %103 = load double, ptr %102, align 8, !tbaa !9
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = load i32, ptr %11, align 4, !tbaa !28
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %106) #4
  %108 = load double, ptr %107, align 8, !tbaa !9
  %109 = call double @llvm.fmuladd.f64(double %94, double %103, double %108)
  store double %109, ptr %107, align 8, !tbaa !9
  br label %110

110:                                              ; preds = %87
  %111 = load i32, ptr %13, align 4, !tbaa !28
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %13, align 4, !tbaa !28
  br label %77, !llvm.loop !29

113:                                              ; preds = %86
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %11, align 4, !tbaa !28
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %11, align 4, !tbaa !28
  br label %65, !llvm.loop !31

117:                                              ; preds = %70
  br label %172

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

119:                                              ; preds = %168, %118
  %120 = load i32, ptr %14, align 4, !tbaa !28
  %121 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 1
  %122 = load i32, ptr %121, align 4, !tbaa !27
  %123 = icmp slt i32 %120, %122
  br i1 %123, label %125, label %124

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

125:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %126 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %127 = load i32, ptr %14, align 4, !tbaa !28
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #4
  %130 = load i32, ptr %129, align 4, !tbaa !28
  store i32 %130, ptr %15, align 4, !tbaa !28
  br label %131

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

140:                                              ; preds = %131
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %167

141:                                              ; preds = %131
  %142 = load double, ptr %7, align 8, !tbaa !9
  %143 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 6
  %144 = load i32, ptr %15, align 4, !tbaa !28
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #4
  %147 = load double, ptr %146, align 8, !tbaa !9
  %148 = fmul double %142, %147
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = load i32, ptr %14, align 4, !tbaa !28
  %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) #4
  %153 = load double, ptr %152, align 8, !tbaa !9
  %154 = load ptr, ptr %9, align 8, !tbaa !5
  %155 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 5
  %156 = load i32, ptr %15, align 4, !tbaa !28
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %157) #4
  %159 = load i32, ptr %158, align 4, !tbaa !28
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %160) #4
  %162 = load double, ptr %161, align 8, !tbaa !9
  %163 = call double @llvm.fmuladd.f64(double %148, double %153, double %162)
  store double %163, ptr %161, align 8, !tbaa !9
  br label %164

164:                                              ; preds = %141
  %165 = load i32, ptr %15, align 4, !tbaa !28
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %15, align 4, !tbaa !28
  br label %131, !llvm.loop !32

167:                                              ; preds = %140
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %14, align 4, !tbaa !28
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %14, align 4, !tbaa !28
  br label %119, !llvm.loop !33

171:                                              ; preds = %124
  br label %172

172:                                              ; preds = %171, %117
  br label %285

173:                                              ; preds = %59
  %174 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %175 = trunc i8 %174 to i1
  br i1 %175, label %176, label %230

176:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !28
  br label %177

177:                                              ; preds = %226, %176
  %178 = load i32, ptr %16, align 4, !tbaa !28
  %179 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 2
  %180 = load i32, ptr %179, align 8, !tbaa !15
  %181 = icmp slt i32 %178, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %177
  store i32 14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %229

183:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %184 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %185 = load i32, ptr %16, align 4, !tbaa !28
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %184, i64 noundef %186) #4
  %188 = load i32, ptr %187, align 4, !tbaa !28
  store i32 %188, ptr %17, align 4, !tbaa !28
  br label %189

189:                                              ; preds = %222, %183
  %190 = load i32, ptr %17, align 4, !tbaa !28
  %191 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %192 = load i32, ptr %16, align 4, !tbaa !28
  %193 = add nsw i32 %192, 1
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %191, i64 noundef %194) #4
  %196 = load i32, ptr %195, align 4, !tbaa !28
  %197 = icmp slt i32 %190, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %189
  store i32 17, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %225

199:                                              ; preds = %189
  %200 = load double, ptr %7, align 8, !tbaa !9
  %201 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 6
  %202 = load i32, ptr %17, align 4, !tbaa !28
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %201, i64 noundef %203) #4
  %205 = load double, ptr %204, align 8, !tbaa !9
  %206 = fmul double %200, %205
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = load i32, ptr %16, align 4, !tbaa !28
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %209) #4
  %211 = load double, ptr %210, align 8, !tbaa !9
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 5
  %214 = load i32, ptr %17, align 4, !tbaa !28
  %215 = sext i32 %214 to i64
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %213, i64 noundef %215) #4
  %217 = load i32, ptr %216, align 4, !tbaa !28
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %212, i64 noundef %218) #4
  %220 = load double, ptr %219, align 8, !tbaa !9
  %221 = call double @llvm.fmuladd.f64(double %206, double %211, double %220)
  store double %221, ptr %219, align 8, !tbaa !9
  br label %222

222:                                              ; preds = %199
  %223 = load i32, ptr %17, align 4, !tbaa !28
  %224 = add nsw i32 %223, 1
  store i32 %224, ptr %17, align 4, !tbaa !28
  br label %189, !llvm.loop !34

225:                                              ; preds = %198
  br label %226

226:                                              ; preds = %225
  %227 = load i32, ptr %16, align 4, !tbaa !28
  %228 = add nsw i32 %227, 1
  store i32 %228, ptr %16, align 4, !tbaa !28
  br label %177, !llvm.loop !35

229:                                              ; preds = %182
  br label %284

230:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !28
  br label %231

231:                                              ; preds = %280, %230
  %232 = load i32, ptr %18, align 4, !tbaa !28
  %233 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 2
  %234 = load i32, ptr %233, align 8, !tbaa !15
  %235 = icmp slt i32 %232, %234
  br i1 %235, label %237, label %236

236:                                              ; preds = %231
  store i32 20, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %283

237:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %238 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %239 = load i32, ptr %18, align 4, !tbaa !28
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #4
  %242 = load i32, ptr %241, align 4, !tbaa !28
  store i32 %242, ptr %19, align 4, !tbaa !28
  br label %243

243:                                              ; preds = %276, %237
  %244 = load i32, ptr %19, align 4, !tbaa !28
  %245 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 3
  %246 = load i32, ptr %18, align 4, !tbaa !28
  %247 = add nsw i32 %246, 1
  %248 = sext i32 %247 to i64
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %245, i64 noundef %248) #4
  %250 = load i32, ptr %249, align 4, !tbaa !28
  %251 = icmp slt i32 %244, %250
  br i1 %251, label %253, label %252

252:                                              ; preds = %243
  store i32 23, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %279

253:                                              ; preds = %243
  %254 = load double, ptr %7, align 8, !tbaa !9
  %255 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 6
  %256 = load i32, ptr %19, align 4, !tbaa !28
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %257) #4
  %259 = load double, ptr %258, align 8, !tbaa !9
  %260 = fmul double %254, %259
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = getelementptr inbounds %class.HighsSparseMatrix, ptr %21, i32 0, i32 5
  %263 = load i32, ptr %19, align 4, !tbaa !28
  %264 = sext i32 %263 to i64
  %265 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %262, i64 noundef %264) #4
  %266 = load i32, ptr %265, align 4, !tbaa !28
  %267 = sext i32 %266 to i64
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %261, i64 noundef %267) #4
  %269 = load double, ptr %268, align 8, !tbaa !9
  %270 = load ptr, ptr %9, align 8, !tbaa !5
  %271 = load i32, ptr %18, align 4, !tbaa !28
  %272 = sext i32 %271 to i64
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %270, i64 noundef %272) #4
  %274 = load double, ptr %273, align 8, !tbaa !9
  %275 = call double @llvm.fmuladd.f64(double %260, double %269, double %274)
  store double %275, ptr %273, align 8, !tbaa !9
  br label %276

276:                                              ; preds = %253
  %277 = load i32, ptr %19, align 4, !tbaa !28
  %278 = add nsw i32 %277, 1
  store i32 %278, ptr %19, align 4, !tbaa !28
  br label %243, !llvm.loop !36

279:                                              ; preds = %252
  br label %280

280:                                              ; preds = %279
  %281 = load i32, ptr %18, align 4, !tbaa !28
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %18, align 4, !tbaa !28
  br label %231, !llvm.loop !37

283:                                              ; preds = %236
  br label %284

284:                                              ; preds = %283, %229
  br label %285

285:                                              ; preds = %284, %172
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !18, i64 8}
!16 = !{!"_ZTS17HighsSparseMatrix", !17, i64 0, !18, i64 4, !18, i64 8, !19, i64 16, !19, i64 40, !19, i64 64, !23, i64 88}
!17 = !{!"_ZTS12MatrixFormat", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIdSaIdEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!16, !18, i64 4}
!28 = !{!18, !18, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !30}
!34 = distinct !{!34, !30}
!35 = distinct !{!35, !30}
!36 = distinct !{!36, !30}
!37 = distinct !{!37, !30}


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

@.str.52 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b = external hidden unnamed_addr constant [126 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [77 x i8], align 1

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

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

; 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 #0 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 #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b(ptr noundef nonnull align 8 dereferenceable(112) %0, double noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i1 noundef zeroext %4) local_unnamed_addr #0 align 2 {
  %6 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %7 = zext i1 %4 to i64
  %.not = icmp ult i64 %6, %7
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  %9 = getelementptr inbounds i8, ptr %0, i64 4
  %.val = load i32, ptr %9, align 4
  %.val65 = load i32, ptr %8, align 8
  %10 = select i1 %.not, i32 %.val, i32 %.val65
  %.not61 = icmp eq i32 %10, 0
  br i1 %.not61, label %11, label %12

11:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.52, i32 noundef 1141, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b) #4
  unreachable

12:                                               ; preds = %5
  %13 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #3
  %.not62 = icmp ult i64 %13, %7
  %.val66 = load i32, ptr %8, align 8
  %.val67 = load i32, ptr %9, align 4
  %14 = select i1 %.not62, i32 %.val66, i32 %.val67
  %.not64 = icmp eq i32 %14, 0
  br i1 %.not64, label %15, label %16

15:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str.52, i32 noundef 1143, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK17HighsSparseMatrix17alphaProductPlusYEdRKSt6vectorIdSaIdEERS2_b) #4
  unreachable

16:                                               ; preds = %12
  %17 = tail call noundef zeroext i1 @_ZNK17HighsSparseMatrix9isColwiseEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  br i1 %17, label %18, label %77

18:                                               ; preds = %16
  %19 = load i32, ptr %9, align 4, !tbaa !5
  %20 = icmp sgt i32 %19, 0
  br i1 %4, label %.preheader, label %.preheader70

.preheader70:                                     ; preds = %18
  br i1 %20, label %.lr.ph91, label %.loopexit68

.lr.ph91:                                         ; preds = %.preheader70
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  %22 = getelementptr inbounds i8, ptr %0, i64 88
  %23 = getelementptr inbounds i8, ptr %0, i64 64
  br label %55

.preheader:                                       ; preds = %18
  br i1 %20, label %.lr.ph95, label %.loopexit68

.lr.ph95:                                         ; preds = %.preheader
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  %25 = getelementptr inbounds i8, ptr %0, i64 88
  %26 = getelementptr inbounds i8, ptr %0, i64 64
  br label %30

.loopexit:                                        ; preds = %.lr.ph93, %30
  %27 = load i32, ptr %9, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = icmp slt i64 %indvars.iv.next119, %28
  br i1 %29, label %30, label %.loopexit68, !llvm.loop !20

30:                                               ; preds = %.lr.ph95, %.loopexit
  %indvars.iv118 = phi i64 [ 0, %.lr.ph95 ], [ %indvars.iv.next119, %.loopexit ]
  %31 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv118) #3
  %32 = load i32, ptr %31, align 4, !tbaa !22
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %33 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next119) #3
  %34 = load i32, ptr %33, align 4, !tbaa !22
  %35 = icmp slt i32 %32, %34
  br i1 %35, label %.lr.ph93.preheader, label %.loopexit

.lr.ph93.preheader:                               ; preds = %30
  %36 = sext i32 %32 to i64
  br label %.lr.ph93

.lr.ph93:                                         ; preds = %.lr.ph93.preheader, %.lr.ph93
  %indvars.iv115 = phi i64 [ %36, %.lr.ph93.preheader ], [ %indvars.iv.next116, %.lr.ph93 ]
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv115) #3
  %38 = load double, ptr %37, align 8, !tbaa !23
  %39 = fmul double %38, %1
  %40 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %indvars.iv115) #3
  %41 = load i32, ptr %40, align 4, !tbaa !22
  %42 = sext i32 %41 to i64
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %42) #3
  %44 = load double, ptr %43, align 8, !tbaa !23
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv118) #3
  %46 = load double, ptr %45, align 8, !tbaa !23
  %47 = tail call double @llvm.fmuladd.f64(double %39, double %44, double %46)
  store double %47, ptr %45, align 8, !tbaa !23
  %indvars.iv.next116 = add nsw i64 %indvars.iv115, 1
  %48 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv.next119) #3
  %49 = load i32, ptr %48, align 4, !tbaa !22
  %50 = sext i32 %49 to i64
  %51 = icmp slt i64 %indvars.iv.next116, %50
  br i1 %51, label %.lr.ph93, label %.loopexit, !llvm.loop !25

.loopexit69:                                      ; preds = %.lr.ph89, %55
  %52 = load i32, ptr %9, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = icmp slt i64 %indvars.iv.next113, %53
  br i1 %54, label %55, label %.loopexit68, !llvm.loop !26

55:                                               ; preds = %.lr.ph91, %.loopexit69
  %indvars.iv112 = phi i64 [ 0, %.lr.ph91 ], [ %indvars.iv.next113, %.loopexit69 ]
  %56 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv112) #3
  %57 = load i32, ptr %56, align 4, !tbaa !22
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %58 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv.next113) #3
  %59 = load i32, ptr %58, align 4, !tbaa !22
  %60 = icmp slt i32 %57, %59
  br i1 %60, label %.lr.ph89.preheader, label %.loopexit69

.lr.ph89.preheader:                               ; preds = %55
  %61 = sext i32 %57 to i64
  br label %.lr.ph89

.lr.ph89:                                         ; preds = %.lr.ph89.preheader, %.lr.ph89
  %indvars.iv109 = phi i64 [ %61, %.lr.ph89.preheader ], [ %indvars.iv.next110, %.lr.ph89 ]
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %indvars.iv109) #3
  %63 = load double, ptr %62, align 8, !tbaa !23
  %64 = fmul double %63, %1
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv112) #3
  %66 = load double, ptr %65, align 8, !tbaa !23
  %67 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv109) #3
  %68 = load i32, ptr %67, align 4, !tbaa !22
  %69 = sext i32 %68 to i64
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %69) #3
  %71 = load double, ptr %70, align 8, !tbaa !23
  %72 = tail call double @llvm.fmuladd.f64(double %64, double %66, double %71)
  store double %72, ptr %70, align 8, !tbaa !23
  %indvars.iv.next110 = add nsw i64 %indvars.iv109, 1
  %73 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %indvars.iv.next113) #3
  %74 = load i32, ptr %73, align 4, !tbaa !22
  %75 = sext i32 %74 to i64
  %76 = icmp slt i64 %indvars.iv.next110, %75
  br i1 %76, label %.lr.ph89, label %.loopexit69, !llvm.loop !27

77:                                               ; preds = %16
  %78 = load i32, ptr %8, align 8, !tbaa !28
  %79 = icmp sgt i32 %78, 0
  br i1 %4, label %.preheader73, label %.preheader76

.preheader76:                                     ; preds = %77
  br i1 %79, label %.lr.ph83, label %.loopexit68

.lr.ph83:                                         ; preds = %.preheader76
  %80 = getelementptr inbounds i8, ptr %0, i64 16
  %81 = getelementptr inbounds i8, ptr %0, i64 88
  %82 = getelementptr inbounds i8, ptr %0, i64 64
  br label %114

.preheader73:                                     ; preds = %77
  br i1 %79, label %.lr.ph87, label %.loopexit68

.lr.ph87:                                         ; preds = %.preheader73
  %83 = getelementptr inbounds i8, ptr %0, i64 16
  %84 = getelementptr inbounds i8, ptr %0, i64 88
  %85 = getelementptr inbounds i8, ptr %0, i64 64
  br label %89

.loopexit72:                                      ; preds = %.lr.ph85, %89
  %86 = load i32, ptr %8, align 8, !tbaa !28
  %87 = sext i32 %86 to i64
  %88 = icmp slt i64 %indvars.iv.next107, %87
  br i1 %88, label %89, label %.loopexit68, !llvm.loop !29

89:                                               ; preds = %.lr.ph87, %.loopexit72
  %indvars.iv106 = phi i64 [ 0, %.lr.ph87 ], [ %indvars.iv.next107, %.loopexit72 ]
  %90 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %indvars.iv106) #3
  %91 = load i32, ptr %90, align 4, !tbaa !22
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %92 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %indvars.iv.next107) #3
  %93 = load i32, ptr %92, align 4, !tbaa !22
  %94 = icmp slt i32 %91, %93
  br i1 %94, label %.lr.ph85.preheader, label %.loopexit72

.lr.ph85.preheader:                               ; preds = %89
  %95 = sext i32 %91 to i64
  br label %.lr.ph85

.lr.ph85:                                         ; preds = %.lr.ph85.preheader, %.lr.ph85
  %indvars.iv103 = phi i64 [ %95, %.lr.ph85.preheader ], [ %indvars.iv.next104, %.lr.ph85 ]
  %96 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %indvars.iv103) #3
  %97 = load double, ptr %96, align 8, !tbaa !23
  %98 = fmul double %97, %1
  %99 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv106) #3
  %100 = load double, ptr %99, align 8, !tbaa !23
  %101 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %indvars.iv103) #3
  %102 = load i32, ptr %101, align 4, !tbaa !22
  %103 = sext i32 %102 to i64
  %104 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %103) #3
  %105 = load double, ptr %104, align 8, !tbaa !23
  %106 = tail call double @llvm.fmuladd.f64(double %98, double %100, double %105)
  store double %106, ptr %104, align 8, !tbaa !23
  %indvars.iv.next104 = add nsw i64 %indvars.iv103, 1
  %107 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %indvars.iv.next107) #3
  %108 = load i32, ptr %107, align 4, !tbaa !22
  %109 = sext i32 %108 to i64
  %110 = icmp slt i64 %indvars.iv.next104, %109
  br i1 %110, label %.lr.ph85, label %.loopexit72, !llvm.loop !30

.loopexit75:                                      ; preds = %.lr.ph, %114
  %111 = load i32, ptr %8, align 8, !tbaa !28
  %112 = sext i32 %111 to i64
  %113 = icmp slt i64 %indvars.iv.next101, %112
  br i1 %113, label %114, label %.loopexit68, !llvm.loop !31

114:                                              ; preds = %.lr.ph83, %.loopexit75
  %indvars.iv100 = phi i64 [ 0, %.lr.ph83 ], [ %indvars.iv.next101, %.loopexit75 ]
  %115 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %indvars.iv100) #3
  %116 = load i32, ptr %115, align 4, !tbaa !22
  %indvars.iv.next101 = add nuw nsw i64 %indvars.iv100, 1
  %117 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %indvars.iv.next101) #3
  %118 = load i32, ptr %117, align 4, !tbaa !22
  %119 = icmp slt i32 %116, %118
  br i1 %119, label %.lr.ph.preheader, label %.loopexit75

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

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %120, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %121 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %indvars.iv) #3
  %122 = load double, ptr %121, align 8, !tbaa !23
  %123 = fmul double %122, %1
  %124 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %indvars.iv) #3
  %125 = load i32, ptr %124, align 4, !tbaa !22
  %126 = sext i32 %125 to i64
  %127 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %126) #3
  %128 = load double, ptr %127, align 8, !tbaa !23
  %129 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv100) #3
  %130 = load double, ptr %129, align 8, !tbaa !23
  %131 = tail call double @llvm.fmuladd.f64(double %123, double %128, double %130)
  store double %131, ptr %129, align 8, !tbaa !23
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %132 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %indvars.iv.next101) #3
  %133 = load i32, ptr %132, align 4, !tbaa !22
  %134 = sext i32 %133 to i64
  %135 = icmp slt i64 %indvars.iv.next, %134
  br i1 %135, label %.lr.ph, label %.loopexit75, !llvm.loop !32

.loopexit68:                                      ; preds = %.loopexit75, %.loopexit72, %.loopexit69, %.loopexit, %.preheader76, %.preheader73, %.preheader70, %.preheader
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
attributes #4 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!10, !10, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !8, i64 0}
!25 = distinct !{!25, !21}
!26 = distinct !{!26, !21}
!27 = distinct !{!27, !21}
!28 = !{!6, !10, i64 8}
!29 = distinct !{!29, !21}
!30 = distinct !{!30, !21}
!31 = distinct !{!31, !21}
!32 = distinct !{!32, !21}


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