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

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

%"class.std::vector.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.HighsLpSolverObject = type <{ ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, [4 x i8] }>
%struct.HighsSolution = type { i8, i8, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%class.HighsLp = type { i32, i32, %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.13", %"class.std::vector.13", %"class.std::vector.18", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3" }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsVarType, std::allocator<HighsVarType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.HighsNameHash = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.3", %"class.std::vector.3" }
%struct.HighsLpMods = type { %"class.std::vector.8", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.18", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.8", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3" }
%struct.HighsOptionsStruct = type { ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.std::__cxx11::basic_string", double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i32, %"class.std::__cxx11::basic_string", i8, i8, i8, i32, i8, i8, i32, i32, double, i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, double, double, double, double, double, double, double, double, double, double, double, i8, i8, i8, i8, i32, double, i8, i8, %"class.std::__cxx11::basic_string", double, i32, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, i8, i8, %"class.std::__cxx11::basic_string", i8, i32, %struct.HighsLogOptions }
%struct.HighsLogOptions = type <{ ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::function", ptr, i8, [7 x i8] }>
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@.str.52 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject = external hidden unnamed_addr constant [45 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [113 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16correctResidualsR19HighsLpSolverObject(ptr noundef nonnull align 8 dereferenceable(68) %0) #6 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.std::vector.3", align 8
  %9 = alloca %"class.std::vector.3", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %class.HighsLpSolverObject, ptr %30, i32 0, i32 6
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  store ptr %32, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.HighsLpSolverObject, ptr %33, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !12
  store ptr %35, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.HighsSolution, ptr %36, i32 0, i32 0
  store ptr %37, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.HighsSolution, ptr %38, i32 0, i32 1
  store ptr %39, ptr %6, align 8, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = load i8, ptr %40, align 1, !tbaa !13, !range !15, !noundef !16
  %42 = trunc i8 %41 to i1
  br i1 %42, label %43, label %44

43:                                               ; preds = %1
  br label %46

44:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.115, ptr noundef @.str.52, i32 noundef 1464, ptr noundef @__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject) #8
  unreachable

45:                                               ; No predecessors!
  br label %46

46:                                               ; preds = %45, %43
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load i8, ptr %47, align 1, !tbaa !13, !range !15, !noundef !16
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %51

50:                                               ; preds = %46
  br label %53

51:                                               ; preds = %46
  call void @__assert_fail(ptr noundef @.str.116, ptr noundef @.str.52, i32 noundef 1465, ptr noundef @__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject) #8
  unreachable

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.HighsLpSolverObject, ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !17
  store ptr %56, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %class.HighsLp, ptr %57, i32 0, i32 7
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.HighsSolution, ptr %59, i32 0, i32 2
  invoke void @_ZNK17HighsSparseMatrix11productQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112) %58, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %60, i32 noundef -2)
          to label %61 unwind label %78

61:                                               ; preds = %53
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = load i8, ptr %62, align 1, !tbaa !13, !range !15, !noundef !16
  %64 = trunc i8 %63 to i1
  br i1 %64, label %65, label %98

65:                                               ; preds = %61
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %class.HighsLp, ptr %66, i32 0, i32 7
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.HighsSolution, ptr %68, i32 0, i32 5
  invoke void @_ZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112) %67, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef -2)
          to label %70 unwind label %78

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 0, ptr %12, align 4, !tbaa !18
  br label %71

71:                                               ; preds = %94, %70
  %72 = load i32, ptr %12, align 4, !tbaa !18
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %class.HighsLp, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !20
  %76 = icmp slt i32 %72, %75
  br i1 %76, label %82, label %77

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

78:                                               ; preds = %65, %53
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %10, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %11, align 4
  br label %262

82:                                               ; preds = %71
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = getelementptr inbounds %class.HighsLp, ptr %83, i32 0, i32 2
  %85 = load i32, ptr %12, align 4, !tbaa !18
  %86 = sext i32 %85 to i64
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %86) #7
  %88 = load double, ptr %87, align 8, !tbaa !53
  %89 = load i32, ptr %12, align 4, !tbaa !18
  %90 = sext i32 %89 to i64
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %90) #7
  %92 = load double, ptr %91, align 8, !tbaa !53
  %93 = fsub double %92, %88
  store double %93, ptr %91, align 8, !tbaa !53
  br label %94

94:                                               ; preds = %82
  %95 = load i32, ptr %12, align 4, !tbaa !18
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %12, align 4, !tbaa !18
  br label %71, !llvm.loop !54

97:                                               ; preds = %77
  br label %98

98:                                               ; preds = %97, %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store double 0.000000e+00, ptr %13, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  store double 0.000000e+00, ptr %15, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  store double 0.000000e+00, ptr %16, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %99, i32 0, i32 17
  %101 = load double, ptr %100, align 8, !tbaa !56
  store double %101, ptr %17, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store double 0.000000e+00, ptr %20, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store double 0.000000e+00, ptr %21, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %102, i32 0, i32 18
  %104 = load double, ptr %103, align 8, !tbaa !61
  store double %104, ptr %22, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !18
  br label %105

105:                                              ; preds = %172, %98
  %106 = load i32, ptr %23, align 4, !tbaa !18
  %107 = load ptr, ptr %7, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.HighsLp, ptr %107, i32 0, i32 1
  %109 = load i32, ptr %108, align 4, !tbaa !62
  %110 = icmp slt i32 %106, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %180

112:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %113 = load i32, ptr %23, align 4, !tbaa !18
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %114) #7
  %116 = load double, ptr %115, align 8, !tbaa !53
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.HighsSolution, ptr %117, i32 0, i32 4
  %119 = load i32, ptr %23, align 4, !tbaa !18
  %120 = sext i32 %119 to i64
  %121 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %120) #7
  %122 = load double, ptr %121, align 8, !tbaa !53
  %123 = fsub double %116, %122
  store double %123, ptr %24, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %124 = load double, ptr %24, align 8, !tbaa !53
  %125 = call double @llvm.fabs.f64(double %124)
  store double %125, ptr %25, align 8, !tbaa !53
  %126 = load double, ptr %25, align 8, !tbaa !53
  %127 = load double, ptr %17, align 8, !tbaa !53
  %128 = fcmp ogt double %126, %127
  br i1 %128, label %129, label %168

129:                                              ; preds = %112
  %130 = load double, ptr %24, align 8, !tbaa !53
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.HighsSolution, ptr %131, i32 0, i32 4
  %133 = load i32, ptr %23, align 4, !tbaa !18
  %134 = sext i32 %133 to i64
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %134) #7
  %136 = load double, ptr %135, align 8, !tbaa !53
  %137 = fadd double %136, %130
  store double %137, ptr %135, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %138 = load i32, ptr %23, align 4, !tbaa !18
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %139) #7
  %141 = load double, ptr %140, align 8, !tbaa !53
  %142 = load ptr, ptr %4, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.HighsSolution, ptr %142, i32 0, i32 4
  %144 = load i32, ptr %23, align 4, !tbaa !18
  %145 = sext i32 %144 to i64
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %145) #7
  %147 = load double, ptr %146, align 8, !tbaa !53
  %148 = fsub double %141, %147
  %149 = call double @llvm.fabs.f64(double %148)
  store double %149, ptr %26, align 8, !tbaa !53
  %150 = load double, ptr %26, align 8, !tbaa !53
  %151 = fcmp olt double %150, 1.000000e-10
  br i1 %151, label %152, label %153

152:                                              ; preds = %129
  br label %155

153:                                              ; preds = %129
  call void @__assert_fail(ptr noundef @.str.117, ptr noundef @.str.52, i32 noundef 1494, ptr noundef @__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject) #8
  unreachable

154:                                              ; No predecessors!
  br label %155

155:                                              ; preds = %154, %152
  %156 = load i32, ptr %14, align 4, !tbaa !18
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %14, align 4, !tbaa !18
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %159 unwind label %164

159:                                              ; preds = %155
  %160 = load double, ptr %158, align 8, !tbaa !53
  store double %160, ptr %15, align 8, !tbaa !53
  %161 = load double, ptr %25, align 8, !tbaa !53
  %162 = load double, ptr %16, align 8, !tbaa !53
  %163 = fadd double %162, %161
  store double %163, ptr %16, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %168

164:                                              ; preds = %155
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %10, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %179

168:                                              ; preds = %159, %112
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %170 unwind label %175

170:                                              ; preds = %168
  %171 = load double, ptr %169, align 8, !tbaa !53
  store double %171, ptr %13, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %172

172:                                              ; preds = %170
  %173 = load i32, ptr %23, align 4, !tbaa !18
  %174 = add nsw i32 %173, 1
  store i32 %174, ptr %23, align 4, !tbaa !18
  br label %105, !llvm.loop !63

175:                                              ; preds = %168
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %10, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %11, align 4
  br label %179

179:                                              ; preds = %175, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %261

180:                                              ; preds = %111
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = load i8, ptr %181, align 1, !tbaa !13, !range !15, !noundef !16
  %183 = trunc i8 %182 to i1
  br i1 %183, label %184, label %238

184:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !18
  br label %185

185:                                              ; preds = %234, %184
  %186 = load i32, ptr %27, align 4, !tbaa !18
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = getelementptr inbounds %class.HighsLp, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 8, !tbaa !20
  %190 = icmp slt i32 %186, %189
  br i1 %190, label %192, label %191

191:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %237

192:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %193 = load i32, ptr %27, align 4, !tbaa !18
  %194 = sext i32 %193 to i64
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %194) #7
  %196 = load double, ptr %195, align 8, !tbaa !53
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.HighsSolution, ptr %197, i32 0, i32 3
  %199 = load i32, ptr %27, align 4, !tbaa !18
  %200 = sext i32 %199 to i64
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef %200) #7
  %202 = load double, ptr %201, align 8, !tbaa !53
  %203 = fadd double %196, %202
  store double %203, ptr %28, align 8, !tbaa !53
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %204 = load double, ptr %28, align 8, !tbaa !53
  %205 = call double @llvm.fabs.f64(double %204)
  store double %205, ptr %29, align 8, !tbaa !53
  %206 = load double, ptr %29, align 8, !tbaa !53
  %207 = load double, ptr %22, align 8, !tbaa !53
  %208 = fcmp ogt double %206, %207
  br i1 %208, label %209, label %230

209:                                              ; preds = %192
  %210 = load double, ptr %28, align 8, !tbaa !53
  %211 = load ptr, ptr %4, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.HighsSolution, ptr %211, i32 0, i32 3
  %213 = load i32, ptr %27, align 4, !tbaa !18
  %214 = sext i32 %213 to i64
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %212, i64 noundef %214) #7
  %216 = load double, ptr %215, align 8, !tbaa !53
  %217 = fsub double %216, %210
  store double %217, ptr %215, align 8, !tbaa !53
  %218 = load i32, ptr %19, align 4, !tbaa !18
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %19, align 4, !tbaa !18
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %221 unwind label %226

221:                                              ; preds = %209
  %222 = load double, ptr %220, align 8, !tbaa !53
  store double %222, ptr %20, align 8, !tbaa !53
  %223 = load double, ptr %29, align 8, !tbaa !53
  %224 = load double, ptr %21, align 8, !tbaa !53
  %225 = fadd double %224, %223
  store double %225, ptr %21, align 8, !tbaa !53
  br label %230

226:                                              ; preds = %230, %209
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %10, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %261

230:                                              ; preds = %221, %192
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %232 unwind label %226

232:                                              ; preds = %230
  %233 = load double, ptr %231, align 8, !tbaa !53
  store double %233, ptr %18, align 8, !tbaa !53
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %234

234:                                              ; preds = %232
  %235 = load i32, ptr %27, align 4, !tbaa !18
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %27, align 4, !tbaa !18
  br label %185, !llvm.loop !64

237:                                              ; preds = %191
  br label %238

238:                                              ; preds = %237, %180
  %239 = load i32, ptr %14, align 4, !tbaa !18
  %240 = icmp sgt i32 %239, 0
  br i1 %240, label %244, label %241

241:                                              ; preds = %238
  %242 = load i32, ptr %19, align 4, !tbaa !18
  %243 = icmp sgt i32 %242, 0
  br i1 %243, label %244, label %260

244:                                              ; preds = %241, %238
  %245 = load ptr, ptr %3, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %245, i32 0, i32 130
  %247 = load double, ptr %13, align 8, !tbaa !53
  %248 = load double, ptr %18, align 8, !tbaa !53
  %249 = load i32, ptr %14, align 4, !tbaa !18
  %250 = load double, ptr %15, align 8, !tbaa !53
  %251 = load double, ptr %16, align 8, !tbaa !53
  %252 = load i32, ptr %19, align 4, !tbaa !18
  %253 = load double, ptr %20, align 8, !tbaa !53
  %254 = load double, ptr %21, align 8, !tbaa !53
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %246, i32 noundef 4, ptr noundef @.str.118, double noundef %247, double noundef %248, i32 noundef %249, double noundef %250, double noundef %251, i32 noundef %252, double noundef %253, double noundef %254)
          to label %255 unwind label %256

255:                                              ; preds = %244
  br label %260

256:                                              ; preds = %244
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %10, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %11, align 4
  br label %261

260:                                              ; preds = %255, %241
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void

261:                                              ; preds = %256, %226, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %262

262:                                              ; preds = %261, %78
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %263

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

declare void @_ZNK17HighsSparseMatrix11productQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #3

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


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

%"class.std::vector.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 [79 x i8], align 1
@.str.115 = external hidden unnamed_addr constant [21 x i8], align 1
@__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject = external hidden unnamed_addr constant [45 x i8], align 1
@.str.116 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.117 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.118 = external hidden unnamed_addr constant [113 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16correctResidualsR19HighsLpSolverObject(ptr nocapture noundef nonnull readonly align 8 dereferenceable(68) %0) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.3", align 8
  %3 = alloca %"class.std::vector.3", align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  %14 = getelementptr inbounds i8, ptr %13, i64 1
  %15 = load i8, ptr %13, align 1, !tbaa !12, !range !14, !noundef !15
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %18, label %17

17:                                               ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.115, ptr noundef nonnull @.str.52, i32 noundef 1464, ptr noundef nonnull @__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject) #7
  unreachable

18:                                               ; preds = %1
  %19 = load i8, ptr %14, align 1, !tbaa !12, !range !14, !noundef !15
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.116, ptr noundef nonnull @.str.52, i32 noundef 1465, ptr noundef nonnull @__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject) #7
  unreachable

22:                                               ; preds = %18
  %23 = load ptr, ptr %0, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %24 = getelementptr inbounds i8, ptr %23, i64 128
  %25 = getelementptr inbounds i8, ptr %13, i64 8
  invoke void @_ZNK17HighsSparseMatrix11productQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112) %24, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef -2)
          to label %26 unwind label %34

26:                                               ; preds = %22
  %27 = load i8, ptr %14, align 1, !tbaa !12, !range !14, !noundef !15
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %29, label %.loopexit74

29:                                               ; preds = %26
  %30 = getelementptr inbounds i8, ptr %13, i64 80
  invoke void @_ZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112) %24, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %30, i32 noundef -2)
          to label %.preheader73 unwind label %34

.preheader73:                                     ; preds = %29
  %31 = load i32, ptr %23, align 8, !tbaa !17
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %.lr.ph, label %.loopexit74

.lr.ph:                                           ; preds = %.preheader73
  %33 = getelementptr inbounds i8, ptr %23, i64 8
  br label %36

34:                                               ; preds = %29, %22
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %124

36:                                               ; preds = %.lr.ph, %36
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %36 ]
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %indvars.iv) #8
  %38 = load double, ptr %37, align 8, !tbaa !51
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv) #8
  %40 = load double, ptr %39, align 8, !tbaa !51
  %41 = fsub double %40, %38
  store double %41, ptr %39, align 8, !tbaa !51
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %42 = load i32, ptr %23, align 8, !tbaa !17
  %43 = sext i32 %42 to i64
  %44 = icmp slt i64 %indvars.iv.next, %43
  br i1 %44, label %36, label %.loopexit74, !llvm.loop !52

.loopexit74:                                      ; preds = %36, %.preheader73, %26
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  store double 0.000000e+00, ptr %4, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  store double 0.000000e+00, ptr %5, align 8, !tbaa !51
  %45 = getelementptr inbounds i8, ptr %11, i64 304
  %46 = load double, ptr %45, align 8, !tbaa !54
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store double 0.000000e+00, ptr %6, align 8, !tbaa !51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  store double 0.000000e+00, ptr %7, align 8, !tbaa !51
  %47 = getelementptr inbounds i8, ptr %11, i64 312
  %48 = load double, ptr %47, align 8, !tbaa !59
  %49 = getelementptr inbounds i8, ptr %23, i64 4
  %50 = load i32, ptr %49, align 4, !tbaa !60
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %.lr.ph81, label %._crit_edge

.lr.ph81:                                         ; preds = %.loopexit74
  %52 = getelementptr inbounds i8, ptr %13, i64 56
  br label %58

._crit_edge:                                      ; preds = %84, %.loopexit74
  %.070.lcssa = phi double [ 0.000000e+00, %.loopexit74 ], [ %.171, %84 ]
  %.064.lcssa = phi i32 [ 0, %.loopexit74 ], [ %.1, %84 ]
  %53 = load i8, ptr %14, align 1, !tbaa !12, !range !14, !noundef !15
  %54 = trunc nuw i8 %53 to i1
  br i1 %54, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %._crit_edge
  %55 = load i32, ptr %23, align 8, !tbaa !17
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %.lr.ph86, label %.loopexit

.lr.ph86:                                         ; preds = %.preheader
  %57 = getelementptr inbounds i8, ptr %13, i64 32
  br label %90

58:                                               ; preds = %.lr.ph81, %84
  %indvars.iv90 = phi i64 [ 0, %.lr.ph81 ], [ %indvars.iv.next91, %84 ]
  %.06479 = phi i32 [ 0, %.lr.ph81 ], [ %.1, %84 ]
  %.07078 = phi double [ 0.000000e+00, %.lr.ph81 ], [ %.171, %84 ]
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv90) #8
  %60 = load double, ptr %59, align 8, !tbaa !51
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %indvars.iv90) #8
  %62 = load double, ptr %61, align 8, !tbaa !51
  %63 = fsub double %60, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %64 = call double @llvm.fabs.f64(double %63)
  store double %64, ptr %8, align 8, !tbaa !51
  %65 = fcmp ogt double %64, %46
  br i1 %65, label %66, label %84

66:                                               ; preds = %58
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %indvars.iv90) #8
  %68 = load double, ptr %67, align 8, !tbaa !51
  %69 = fadd double %63, %68
  store double %69, ptr %67, align 8, !tbaa !51
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv90) #8
  %71 = load double, ptr %70, align 8, !tbaa !51
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %indvars.iv90) #8
  %73 = load double, ptr %72, align 8, !tbaa !51
  %74 = fsub double %71, %73
  %75 = call double @llvm.fabs.f64(double %74)
  %76 = fcmp olt double %75, 1.000000e-10
  br i1 %76, label %78, label %77

77:                                               ; preds = %66
  call void @__assert_fail(ptr noundef nonnull @.str.117, ptr noundef nonnull @.str.52, i32 noundef 1494, ptr noundef nonnull @__PRETTY_FUNCTION__._Z16correctResidualsR19HighsLpSolverObject) #7
  unreachable

78:                                               ; preds = %66
  %79 = add nsw i32 %.06479, 1
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %81 = load double, ptr %80, align 8, !tbaa !51
  store double %81, ptr %5, align 8, !tbaa !51
  %82 = load double, ptr %8, align 8, !tbaa !51
  %83 = fadd double %.07078, %82
  br label %84

84:                                               ; preds = %78, %58
  %.171 = phi double [ %83, %78 ], [ %.07078, %58 ]
  %.1 = phi i32 [ %79, %78 ], [ %.06479, %58 ]
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %86 = load double, ptr %85, align 8, !tbaa !51
  store double %86, ptr %4, align 8, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %87 = load i32, ptr %49, align 4, !tbaa !60
  %88 = sext i32 %87 to i64
  %89 = icmp slt i64 %indvars.iv.next91, %88
  br i1 %89, label %58, label %._crit_edge, !llvm.loop !61

90:                                               ; preds = %.lr.ph86, %107
  %indvars.iv93 = phi i64 [ 0, %.lr.ph86 ], [ %indvars.iv.next94, %107 ]
  %.06584 = phi double [ 0.000000e+00, %.lr.ph86 ], [ %.166, %107 ]
  %.06783 = phi i32 [ 0, %.lr.ph86 ], [ %.168, %107 ]
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv93) #8
  %92 = load double, ptr %91, align 8, !tbaa !51
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %indvars.iv93) #8
  %94 = load double, ptr %93, align 8, !tbaa !51
  %95 = fadd double %92, %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %96 = call double @llvm.fabs.f64(double %95)
  store double %96, ptr %9, align 8, !tbaa !51
  %97 = fcmp ogt double %96, %48
  br i1 %97, label %98, label %107

98:                                               ; preds = %90
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %indvars.iv93) #8
  %100 = load double, ptr %99, align 8, !tbaa !51
  %101 = fsub double %100, %95
  store double %101, ptr %99, align 8, !tbaa !51
  %102 = add nsw i32 %.06783, 1
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %104 = load double, ptr %103, align 8, !tbaa !51
  store double %104, ptr %7, align 8, !tbaa !51
  %105 = load double, ptr %9, align 8, !tbaa !51
  %106 = fadd double %.06584, %105
  br label %107

107:                                              ; preds = %98, %90
  %.168 = phi i32 [ %102, %98 ], [ %.06783, %90 ]
  %.166 = phi double [ %106, %98 ], [ %.06584, %90 ]
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %109 = load double, ptr %108, align 8, !tbaa !51
  store double %109, ptr %6, align 8, !tbaa !51
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %110 = load i32, ptr %23, align 8, !tbaa !17
  %111 = sext i32 %110 to i64
  %112 = icmp slt i64 %indvars.iv.next94, %111
  br i1 %112, label %90, label %.loopexit, !llvm.loop !62

.loopexit:                                        ; preds = %107, %.preheader, %._crit_edge
  %113 = phi double [ 0.000000e+00, %._crit_edge ], [ 0.000000e+00, %.preheader ], [ %109, %107 ]
  %.269 = phi i32 [ 0, %._crit_edge ], [ 0, %.preheader ], [ %.168, %107 ]
  %.2 = phi double [ 0.000000e+00, %._crit_edge ], [ 0.000000e+00, %.preheader ], [ %.166, %107 ]
  %114 = icmp sgt i32 %.064.lcssa, 0
  %115 = icmp sgt i32 %.269, 0
  %or.cond = select i1 %114, i1 true, i1 %115
  br i1 %or.cond, label %116, label %123

116:                                              ; preds = %.loopexit
  %117 = getelementptr inbounds i8, ptr %11, i64 896
  %118 = load double, ptr %4, align 8, !tbaa !51
  %119 = load double, ptr %5, align 8, !tbaa !51
  %120 = load double, ptr %7, align 8, !tbaa !51
  invoke void (ptr, i32, ptr, ...) @_Z12highsLogUserRK15HighsLogOptions12HighsLogTypePKcz(ptr noundef nonnull align 8 dereferenceable(89) %117, i32 noundef 4, ptr noundef nonnull @.str.118, double noundef %118, double noundef %113, i32 noundef %.064.lcssa, double noundef %119, double noundef %.070.lcssa, i32 noundef %.269, double noundef %120, double noundef %.2)
          to label %123 unwind label %121

121:                                              ; preds = %116
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %124

123:                                              ; preds = %116, %.loopexit
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  ret void

124:                                              ; preds = %121, %34
  %.pn = phi { ptr, i32 } [ %122, %121 ], [ %35, %34 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn
}

declare void @_ZNK17HighsSparseMatrix11productQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3

declare void @_ZNK17HighsSparseMatrix20productTransposeQuadERSt6vectorIdSaIdEERKS2_i(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3

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


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