; LLVM IR from ERGO-Code/HiGHS :: src/presolve/HPresolve.ll (ZN8presolve9HPresolve26updateRowDualImpliedBoundsEiid)

; 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.anon.397 = type { ptr, ptr }
%"class.presolve::HPresolve" = type { ptr, ptr, ptr, ptr, double, %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.25", %"class.std::vector.25", %class.HighsLinearSumBounds, %class.HighsLinearSumBounds, %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.35", %"class.std::unordered_map", %"class.std::set", %"class.std::vector.48", i8, i64, %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.10", %"class.std::vector.10", %"class.std::vector.53", i64, i32, i32, i32, i32, i32, i32, i8, i32, %class.HPresolveAnalysis }
%"class.std::vector.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::set<int>, std::allocator<std::set<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsLinearSumBounds = type { %"class.std::vector.30", %"class.std::vector.30", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.30", %"class.std::vector.30", %"class.std::vector.5", %"class.std::vector.5", ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsCDouble, std::allocator<HighsCDouble>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<int, int>, std::_Identity<std::pair<int, int>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::_Rb_tree_const_iterator<std::pair<int, int>>, std::allocator<std::_Rb_tree_const_iterator<std::pair<int, int>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HPresolveAnalysis = type { ptr, ptr, ptr, ptr, ptr, i32, i32, %"class.std::vector.58", i8, i8, i32, i32, i32, %struct.HighsPresolveLog }
%"class.std::vector.58" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%struct.HighsPresolveLog = type { %"class.std::vector.62" }
%"class.std::vector.62" = type { %"struct.std::_Vector_base.63" }
%"struct.std::_Vector_base.63" = type { %"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl" }
%"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl" = type { %"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HighsPresolveRuleLog, std::allocator<HighsPresolveRuleLog>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HighsLp = type { i32, i32, %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20", %class.HighsSparseMatrix, i32, double, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i32, %"class.std::vector.67", %"class.std::vector.67", %"class.std::vector.72", %struct.HighsNameHash, %struct.HighsNameHash, i32, i32, %struct.HighsScale, i8, i8, i32, i8, %struct.HighsLpMods }
%class.HighsSparseMatrix = type { i32, i32, i32, %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20" }
%"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.67" = type { %"struct.std::_Vector_base.68" }
%"struct.std::_Vector_base.68" = 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.72" = type { %"struct.std::_Vector_base.73" }
%"struct.std::_Vector_base.73" = 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.77" }
%"class.std::unordered_map.77" = type { %"class.std::_Hashtable.78" }
%"class.std::_Hashtable.78" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%struct.HighsScale = type { i32, i8, i32, i32, double, %"class.std::vector.20", %"class.std::vector.20" }
%struct.HighsLpMods = type { %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.72", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.5", %"class.std::vector.20", %"class.std::vector.20", %"class.std::vector.20" }
%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 } }

; 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 nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8presolve9HPresolve26updateRowDualImpliedBoundsEiid(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %1, i32 noundef %2, double noundef %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca %class.anon.397, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store double %3, ptr %8, align 8, !tbaa !11
  %14 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %15 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 17
  %16 = load i32, ptr %7, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %17) #5
  %19 = load i32, ptr %18, align 4, !tbaa !9
  %20 = icmp ne i32 %19, 1
  br i1 %20, label %21, label %24

21:                                               ; preds = %4
  %22 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 4
  %23 = load double, ptr %22, align 8, !tbaa !13
  br label %28

24:                                               ; preds = %4
  %25 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 4
  %26 = load double, ptr %25, align 8, !tbaa !13
  %27 = fneg double %26
  br label %28

28:                                               ; preds = %24, %21
  %29 = phi double [ %23, %21 ], [ %27, %24 ]
  store double %29, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %30 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !76
  %32 = getelementptr inbounds %class.HighsLp, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %34) #5
  %36 = load double, ptr %35, align 8, !tbaa !11
  %37 = fcmp oeq double %36, 0xFFF0000000000000
  br i1 %37, label %54, label %38

38:                                               ; preds = %28
  %39 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 20
  %40 = load i32, ptr %7, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %41) #5
  %43 = load double, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8, !tbaa !76
  %46 = getelementptr inbounds %class.HighsLp, ptr %45, i32 0, i32 3
  %47 = load i32, ptr %7, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %48) #5
  %50 = load double, ptr %49, align 8, !tbaa !11
  %51 = load double, ptr %9, align 8, !tbaa !11
  %52 = fadd double %50, %51
  %53 = fcmp ogt double %43, %52
  br i1 %53, label %54, label %62

54:                                               ; preds = %38, %28
  %55 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !76
  %57 = getelementptr inbounds %class.HighsLp, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %59) #5
  %61 = load double, ptr %60, align 8, !tbaa !11
  br label %63

62:                                               ; preds = %38
  br label %63

63:                                               ; preds = %62, %54
  %64 = phi double [ %61, %54 ], [ 0xFFF0000000000000, %62 ]
  store double %64, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %65 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !76
  %67 = getelementptr inbounds %class.HighsLp, ptr %66, i32 0, i32 4
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %69) #5
  %71 = load double, ptr %70, align 8, !tbaa !11
  %72 = fcmp oeq double %71, 0x7FF0000000000000
  br i1 %72, label %89, label %73

73:                                               ; preds = %63
  %74 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 21
  %75 = load i32, ptr %7, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %76) #5
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !76
  %81 = getelementptr inbounds %class.HighsLp, ptr %80, i32 0, i32 4
  %82 = load i32, ptr %7, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef %83) #5
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = load double, ptr %9, align 8, !tbaa !11
  %87 = fsub double %85, %86
  %88 = fcmp olt double %78, %87
  br i1 %88, label %89, label %97

89:                                               ; preds = %73, %63
  %90 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !76
  %92 = getelementptr inbounds %class.HighsLp, ptr %91, i32 0, i32 2
  %93 = load i32, ptr %7, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %94) #5
  %96 = load double, ptr %95, align 8, !tbaa !11
  br label %98

97:                                               ; preds = %73
  br label %98

98:                                               ; preds = %97, %89
  %99 = phi double [ %96, %89 ], [ 0x7FF0000000000000, %97 ]
  store double %99, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %100 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 1
  %101 = load ptr, ptr %100, align 8, !tbaa !77
  %102 = getelementptr inbounds %struct.HighsOptionsStruct, ptr %101, i32 0, i32 15
  %103 = load double, ptr %102, align 8, !tbaa !78
  %104 = fmul double 1.000000e+03, %103
  store double %104, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %105 = getelementptr inbounds %class.anon.397, ptr %13, i32 0, i32 0
  store ptr %14, ptr %105, align 8, !tbaa !85
  %106 = getelementptr inbounds %class.anon.397, ptr %13, i32 0, i32 1
  store ptr %12, ptr %106, align 8, !tbaa !5
  %107 = load double, ptr %11, align 8, !tbaa !11
  %108 = fcmp une double %107, 0x7FF0000000000000
  br i1 %108, label %109, label %119

109:                                              ; preds = %98
  %110 = load i32, ptr %6, align 4, !tbaa !9
  %111 = load i32, ptr %7, align 4, !tbaa !9
  %112 = load double, ptr %8, align 8, !tbaa !11
  %113 = load double, ptr %11, align 8, !tbaa !11
  %114 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 33
  %115 = load i32, ptr %7, align 4, !tbaa !9
  %116 = load i32, ptr %6, align 4, !tbaa !9
  %117 = load double, ptr %8, align 8, !tbaa !11
  %118 = call noundef double @_ZNK20HighsLinearSumBounds23getResidualSumLowerOrigEiid(ptr noundef nonnull align 8 dereferenceable(240) %114, i32 noundef %115, i32 noundef %116, double noundef %117)
  call void @"_ZZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidENK3$_0clEiidddi"(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %110, i32 noundef %111, double noundef %112, double noundef %113, double noundef %118, i32 noundef 1)
  br label %119

119:                                              ; preds = %109, %98
  %120 = load double, ptr %10, align 8, !tbaa !11
  %121 = fcmp une double %120, 0xFFF0000000000000
  br i1 %121, label %122, label %132

122:                                              ; preds = %119
  %123 = load i32, ptr %6, align 4, !tbaa !9
  %124 = load i32, ptr %7, align 4, !tbaa !9
  %125 = load double, ptr %8, align 8, !tbaa !11
  %126 = load double, ptr %10, align 8, !tbaa !11
  %127 = getelementptr inbounds %"class.presolve::HPresolve", ptr %14, i32 0, i32 33
  %128 = load i32, ptr %7, align 4, !tbaa !9
  %129 = load i32, ptr %6, align 4, !tbaa !9
  %130 = load double, ptr %8, align 8, !tbaa !11
  %131 = call noundef double @_ZNK20HighsLinearSumBounds23getResidualSumUpperOrigEiid(ptr noundef nonnull align 8 dereferenceable(240) %127, i32 noundef %128, i32 noundef %129, double noundef %130)
  call void @"_ZZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidENK3$_0clEiidddi"(ptr noundef nonnull align 8 dereferenceable(16) %13, i32 noundef %123, i32 noundef %124, double noundef %125, double noundef %126, double noundef %131, i32 noundef -1)
  br label %132

132:                                              ; preds = %122, %119
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidENK3$_0clEiidddi"(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef) #3 align 2

declare noundef double @_ZNK20HighsLinearSumBounds23getResidualSumLowerOrigEiid(ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, i32 noundef, double noundef) #4

declare noundef double @_ZNK20HighsLinearSumBounds23getResidualSumUpperOrigEiid(ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, i32 noundef, double noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !12, i64 32}
!14 = !{!"_ZTSN8presolve9HPresolveE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !12, i64 32, !15, i64 40, !19, i64 64, !19, i64 88, !19, i64 112, !19, i64 136, !19, i64 160, !19, i64 184, !19, i64 208, !19, i64 232, !19, i64 256, !19, i64 280, !19, i64 304, !19, i64 328, !19, i64 352, !19, i64 376, !15, i64 400, !15, i64 424, !19, i64 448, !19, i64 472, !15, i64 496, !15, i64 520, !15, i64 544, !15, i64 568, !19, i64 592, !19, i64 616, !23, i64 640, !23, i64 664, !27, i64 688, !27, i64 928, !19, i64 1168, !32, i64 1192, !19, i64 1216, !32, i64 1240, !36, i64 1264, !40, i64 1288, !46, i64 1344, !54, i64 1392, !58, i64 1416, !42, i64 1424, !19, i64 1432, !19, i64 1456, !32, i64 1480, !32, i64 1504, !59, i64 1528, !42, i64 1552, !10, i64 1560, !10, i64 1564, !10, i64 1568, !10, i64 1572, !10, i64 1576, !10, i64 1580, !58, i64 1584, !63, i64 1588, !64, i64 1592}
!15 = !{!"_ZTSSt6vectorIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!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 = !{!"_ZTSSt6vectorISt3setIiSt4lessIiESaIiEESaIS4_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTS20HighsLinearSumBounds", !28, i64 0, !28, i64 24, !19, i64 48, !19, i64 72, !28, i64 96, !28, i64 120, !19, i64 144, !19, i64 168, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232}
!28 = !{!"_ZTSSt6vectorI12HighsCDoubleSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseI12HighsCDoubleSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt6vectorIhSaIhEE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!"_ZTSSt13unordered_mapIi13HighsHashTreeISt4pairIiiEdESt4hashIiESt8equal_toIiESaIS1_IKiS3_EEE", !41, i64 0}
!41 = !{!"_ZTSSt10_HashtableIiSt4pairIKi13HighsHashTreeIS0_IiiEdEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !42, i64 8, !43, i64 16, !42, i64 24, !44, i64 32, !6, i64 48}
!42 = !{!"long", !7, i64 0}
!43 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!44 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !45, i64 0, !42, i64 8}
!45 = !{!"float", !7, i64 0}
!46 = !{!"_ZTSSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !48, i64 0}
!48 = !{!"_ZTSNSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !49, i64 0, !51, i64 8}
!49 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt4pairIiiEEE", !50, i64 0}
!50 = !{!"_ZTSSt4lessISt4pairIiiEE"}
!51 = !{!"_ZTSSt15_Rb_tree_header", !52, i64 0, !42, i64 32}
!52 = !{!"_ZTSSt18_Rb_tree_node_base", !53, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!53 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!54 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"bool", !7, i64 0}
!59 = !{!"_ZTSSt6vectorItSaItEE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseItSaItEE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!63 = !{!"_ZTS19HighsPresolveStatus", !7, i64 0}
!64 = !{!"_ZTS17HPresolveAnalysis", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 44, !65, i64 48, !58, i64 88, !58, i64 89, !10, i64 92, !10, i64 96, !10, i64 100, !71, i64 104}
!65 = !{!"_ZTSSt6vectorIbSaIbEE", !66, i64 0}
!66 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !67, i64 0}
!67 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !68, i64 0}
!68 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !69, i64 0, !69, i64 16, !6, i64 32}
!69 = !{!"_ZTSSt13_Bit_iterator", !70, i64 0}
!70 = !{!"_ZTSSt18_Bit_iterator_base", !6, i64 0, !10, i64 8}
!71 = !{!"_ZTS16HighsPresolveLog", !72, i64 0}
!72 = !{!"_ZTSSt6vectorI20HighsPresolveRuleLogSaIS0_EE", !73, i64 0}
!73 = !{!"_ZTSSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE12_Vector_implE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!76 = !{!14, !6, i64 0}
!77 = !{!14, !6, i64 8}
!78 = !{!79, !12, i64 288}
!79 = !{!"_ZTS18HighsOptionsStruct", !80, i64 8, !80, i64 40, !80, i64 72, !80, i64 104, !12, i64 136, !80, i64 144, !80, i64 176, !10, i64 208, !80, i64 216, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !12, i64 328, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !80, i64 392, !58, i64 424, !58, i64 425, !58, i64 426, !10, i64 428, !10, i64 432, !80, i64 440, !58, i64 472, !58, i64 473, !58, i64 474, !10, i64 476, !58, i64 480, !58, i64 481, !10, i64 484, !10, i64 488, !12, i64 496, !10, i64 504, !10, i64 508, !10, i64 512, !58, i64 516, !10, i64 520, !58, i64 524, !58, i64 525, !58, i64 526, !58, i64 527, !58, i64 528, !58, i64 529, !58, i64 530, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !58, i64 592, !58, i64 593, !58, i64 594, !58, i64 595, !12, i64 600, !12, i64 608, !12, i64 616, !12, i64 624, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !12, i64 672, !12, i64 680, !58, i64 688, !58, i64 689, !58, i64 690, !58, i64 691, !10, i64 692, !12, i64 696, !58, i64 704, !58, i64 705, !80, i64 712, !12, i64 744, !10, i64 752, !10, i64 756, !58, i64 760, !58, i64 761, !58, i64 762, !58, i64 763, !10, i64 764, !10, i64 768, !10, i64 772, !10, i64 776, !10, i64 780, !10, i64 784, !10, i64 788, !10, i64 792, !10, i64 796, !10, i64 800, !10, i64 804, !12, i64 808, !12, i64 816, !12, i64 824, !12, i64 832, !12, i64 840, !58, i64 848, !58, i64 849, !80, i64 856, !58, i64 888, !10, i64 892, !82, i64 896}
!80 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !81, i64 0, !42, i64 8, !7, i64 16}
!81 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!82 = !{!"_ZTS15HighsLogOptions", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !83, i64 48, !6, i64 80, !58, i64 88}
!83 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !84, i64 0, !6, i64 24}
!84 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!85 = !{!86, !6, i64 0}
!86 = !{!"_ZTSZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidE3$_0", !6, i64 0, !6, i64 8}


; 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.anon.397 = type { ptr, ptr }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8presolve9HPresolve26updateRowDualImpliedBoundsEiid(ptr noundef nonnull align 8 dereferenceable(1720) %0, i32 noundef %1, i32 noundef %2, double noundef %3) local_unnamed_addr #2 align 2 {
  %5 = alloca double, align 8
  %6 = alloca %class.anon.397, align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 328
  %8 = sext i32 %2 to i64
  %9 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %8) #5
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %.not = icmp eq i32 %10, 1
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = load double, ptr %11, align 8
  %13 = fneg double %12
  %14 = select i1 %.not, double %13, double %12
  %15 = load ptr, ptr %0, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %15, i64 32
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %8) #5
  %18 = load double, ptr %17, align 8, !tbaa !74
  %19 = fcmp oeq double %18, 0xFFF0000000000000
  br i1 %19, label %30, label %20

20:                                               ; preds = %4
  %21 = getelementptr inbounds i8, ptr %0, i64 400
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %8) #5
  %23 = load double, ptr %22, align 8, !tbaa !74
  %24 = load ptr, ptr %0, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %24, i64 32
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %8) #5
  %27 = load double, ptr %26, align 8, !tbaa !74
  %28 = fadd double %14, %27
  %29 = fcmp ogt double %23, %28
  br i1 %29, label %30, label %35

30:                                               ; preds = %20, %4
  %31 = load ptr, ptr %0, align 8, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %8) #5
  %34 = load double, ptr %33, align 8, !tbaa !74
  br label %35

35:                                               ; preds = %20, %30
  %36 = phi double [ %34, %30 ], [ 0xFFF0000000000000, %20 ]
  %37 = load ptr, ptr %0, align 8, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %37, i64 56
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %8) #5
  %40 = load double, ptr %39, align 8, !tbaa !74
  %41 = fcmp oeq double %40, 0x7FF0000000000000
  br i1 %41, label %52, label %42

42:                                               ; preds = %35
  %43 = getelementptr inbounds i8, ptr %0, i64 424
  %44 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %8) #5
  %45 = load double, ptr %44, align 8, !tbaa !74
  %46 = load ptr, ptr %0, align 8, !tbaa !9
  %47 = getelementptr inbounds i8, ptr %46, i64 56
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %8) #5
  %49 = load double, ptr %48, align 8, !tbaa !74
  %50 = fsub double %49, %14
  %51 = fcmp olt double %45, %50
  br i1 %51, label %52, label %57

52:                                               ; preds = %42, %35
  %53 = load ptr, ptr %0, align 8, !tbaa !9
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %8) #5
  %56 = load double, ptr %55, align 8, !tbaa !74
  br label %57

57:                                               ; preds = %42, %52
  %58 = phi double [ %56, %52 ], [ 0x7FF0000000000000, %42 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %59 = getelementptr inbounds i8, ptr %0, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !75
  %61 = getelementptr inbounds i8, ptr %60, i64 288
  %62 = load double, ptr %61, align 8, !tbaa !76
  %63 = fmul double %62, 1.000000e+03
  store double %63, ptr %5, align 8, !tbaa !74
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  store ptr %0, ptr %6, align 8, !tbaa !83
  %64 = getelementptr inbounds i8, ptr %6, i64 8
  store ptr %5, ptr %64, align 8, !tbaa !85
  %65 = fcmp une double %58, 0x7FF0000000000000
  br i1 %65, label %66, label %69

66:                                               ; preds = %57
  %67 = getelementptr inbounds i8, ptr %0, i64 928
  %68 = call noundef double @_ZNK20HighsLinearSumBounds23getResidualSumLowerOrigEiid(ptr noundef nonnull align 8 dereferenceable(240) %67, i32 noundef %2, i32 noundef %1, double noundef %3)
  call void @"_ZZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidENK3$_0clEiidddi"(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %58, double noundef %68, i32 noundef 1)
  br label %69

69:                                               ; preds = %66, %57
  %70 = fcmp une double %36, 0xFFF0000000000000
  br i1 %70, label %71, label %74

71:                                               ; preds = %69
  %72 = getelementptr inbounds i8, ptr %0, i64 928
  %73 = call noundef double @_ZNK20HighsLinearSumBounds23getResidualSumUpperOrigEiid(ptr noundef nonnull align 8 dereferenceable(240) %72, i32 noundef %2, i32 noundef %1, double noundef %3)
  call void @"_ZZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidENK3$_0clEiidddi"(ptr noundef nonnull align 8 dereferenceable(16) %6, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %36, double noundef %73, i32 noundef -1)
  br label %74

74:                                               ; preds = %71, %69
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidENK3$_0clEiidddi"(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #3 align 2

declare noundef double @_ZNK20HighsLinearSumBounds23getResidualSumLowerOrigEiid(ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, i32 noundef, double noundef) local_unnamed_addr #4

declare noundef double @_ZNK20HighsLinearSumBounds23getResidualSumUpperOrigEiid(ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, i32 noundef, double noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN8presolve9HPresolveE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !13, i64 40, !17, i64 64, !17, i64 88, !17, i64 112, !17, i64 136, !17, i64 160, !17, i64 184, !17, i64 208, !17, i64 232, !17, i64 256, !17, i64 280, !17, i64 304, !17, i64 328, !17, i64 352, !17, i64 376, !13, i64 400, !13, i64 424, !17, i64 448, !17, i64 472, !13, i64 496, !13, i64 520, !13, i64 544, !13, i64 568, !17, i64 592, !17, i64 616, !21, i64 640, !21, i64 664, !25, i64 688, !25, i64 928, !17, i64 1168, !30, i64 1192, !17, i64 1216, !30, i64 1240, !34, i64 1264, !38, i64 1288, !44, i64 1344, !52, i64 1392, !56, i64 1416, !40, i64 1424, !17, i64 1432, !17, i64 1456, !30, i64 1480, !30, i64 1504, !57, i64 1528, !40, i64 1552, !6, i64 1560, !6, i64 1564, !6, i64 1568, !6, i64 1572, !6, i64 1576, !6, i64 1580, !56, i64 1584, !61, i64 1588, !62, i64 1592}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!21 = !{!"_ZTSSt6vectorISt3setIiSt4lessIiESaIiEESaIS4_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseISt3setIiSt4lessIiESaIiEESaIS4_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!25 = !{!"_ZTS20HighsLinearSumBounds", !26, i64 0, !26, i64 24, !17, i64 48, !17, i64 72, !26, i64 96, !26, i64 120, !17, i64 144, !17, i64 168, !11, i64 192, !11, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232}
!26 = !{!"_ZTSSt6vectorI12HighsCDoubleSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI12HighsCDoubleSaIS0_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI12HighsCDoubleSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!30 = !{!"_ZTSSt6vectorIhSaIhEE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!34 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!38 = !{!"_ZTSSt13unordered_mapIi13HighsHashTreeISt4pairIiiEdESt4hashIiESt8equal_toIiESaIS1_IKiS3_EEE", !39, i64 0}
!39 = !{!"_ZTSSt10_HashtableIiSt4pairIKi13HighsHashTreeIS0_IiiEdEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !11, i64 0, !40, i64 8, !41, i64 16, !40, i64 24, !42, i64 32, !11, i64 48}
!40 = !{!"long", !7, i64 0}
!41 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !11, i64 0}
!42 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !43, i64 0, !40, i64 8}
!43 = !{!"float", !7, i64 0}
!44 = !{!"_ZTSSt3setISt4pairIiiESt4lessIS1_ESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt8_Rb_treeISt4pairIiiES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !47, i64 0, !49, i64 8}
!47 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt4pairIiiEEE", !48, i64 0}
!48 = !{!"_ZTSSt4lessISt4pairIiiEE"}
!49 = !{!"_ZTSSt15_Rb_tree_header", !50, i64 0, !40, i64 32}
!50 = !{!"_ZTSSt18_Rb_tree_node_base", !51, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!51 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!52 = !{!"_ZTSSt6vectorISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseISt23_Rb_tree_const_iteratorISt4pairIiiEESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!56 = !{!"bool", !7, i64 0}
!57 = !{!"_ZTSSt6vectorItSaItEE", !58, i64 0}
!58 = !{!"_ZTSSt12_Vector_baseItSaItEE", !59, i64 0}
!59 = !{!"_ZTSNSt12_Vector_baseItSaItEE12_Vector_implE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseItSaItEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!61 = !{!"_ZTS19HighsPresolveStatus", !7, i64 0}
!62 = !{!"_ZTS17HPresolveAnalysis", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !6, i64 40, !6, i64 44, !63, i64 48, !56, i64 88, !56, i64 89, !6, i64 92, !6, i64 96, !6, i64 100, !69, i64 104}
!63 = !{!"_ZTSSt6vectorIbSaIbEE", !64, i64 0}
!64 = !{!"_ZTSSt13_Bvector_baseISaIbEE", !65, i64 0}
!65 = !{!"_ZTSNSt13_Bvector_baseISaIbEE13_Bvector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt13_Bvector_baseISaIbEE18_Bvector_impl_dataE", !67, i64 0, !67, i64 16, !11, i64 32}
!67 = !{!"_ZTSSt13_Bit_iterator", !68, i64 0}
!68 = !{!"_ZTSSt18_Bit_iterator_base", !11, i64 0, !6, i64 8}
!69 = !{!"_ZTS16HighsPresolveLog", !70, i64 0}
!70 = !{!"_ZTSSt6vectorI20HighsPresolveRuleLogSaIS0_EE", !71, i64 0}
!71 = !{!"_ZTSSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE", !72, i64 0}
!72 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE12_Vector_implE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseI20HighsPresolveRuleLogSaIS0_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!74 = !{!12, !12, i64 0}
!75 = !{!10, !11, i64 8}
!76 = !{!77, !12, i64 288}
!77 = !{!"_ZTS18HighsOptionsStruct", !78, i64 8, !78, i64 40, !78, i64 72, !78, i64 104, !12, i64 136, !78, i64 144, !78, i64 176, !6, i64 208, !78, i64 216, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !12, i64 288, !12, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !12, i64 328, !6, i64 336, !6, i64 340, !6, i64 344, !6, i64 348, !6, i64 352, !6, i64 356, !6, i64 360, !6, i64 364, !6, i64 368, !6, i64 372, !6, i64 376, !6, i64 380, !6, i64 384, !6, i64 388, !78, i64 392, !56, i64 424, !56, i64 425, !56, i64 426, !6, i64 428, !6, i64 432, !78, i64 440, !56, i64 472, !56, i64 473, !56, i64 474, !6, i64 476, !56, i64 480, !56, i64 481, !6, i64 484, !6, i64 488, !12, i64 496, !6, i64 504, !6, i64 508, !6, i64 512, !56, i64 516, !6, i64 520, !56, i64 524, !56, i64 525, !56, i64 526, !56, i64 527, !56, i64 528, !56, i64 529, !56, i64 530, !6, i64 532, !6, i64 536, !6, i64 540, !6, i64 544, !6, i64 548, !6, i64 552, !6, i64 556, !6, i64 560, !6, i64 564, !6, i64 568, !6, i64 572, !6, i64 576, !6, i64 580, !6, i64 584, !6, i64 588, !56, i64 592, !56, i64 593, !56, i64 594, !56, i64 595, !12, i64 600, !12, i64 608, !12, i64 616, !12, i64 624, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !12, i64 672, !12, i64 680, !56, i64 688, !56, i64 689, !56, i64 690, !56, i64 691, !6, i64 692, !12, i64 696, !56, i64 704, !56, i64 705, !78, i64 712, !12, i64 744, !6, i64 752, !6, i64 756, !56, i64 760, !56, i64 761, !56, i64 762, !56, i64 763, !6, i64 764, !6, i64 768, !6, i64 772, !6, i64 776, !6, i64 780, !6, i64 784, !6, i64 788, !6, i64 792, !6, i64 796, !6, i64 800, !6, i64 804, !12, i64 808, !12, i64 816, !12, i64 824, !12, i64 832, !12, i64 840, !56, i64 848, !56, i64 849, !78, i64 856, !56, i64 888, !6, i64 892, !80, i64 896}
!78 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !79, i64 0, !40, i64 8, !7, i64 16}
!79 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!80 = !{!"_ZTS15HighsLogOptions", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !81, i64 48, !11, i64 80, !56, i64 88}
!81 = !{!"_ZTSSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20HighsCallbackDataOutP19HighsCallbackDataInPvEE", !82, i64 0, !11, i64 24}
!82 = !{!"_ZTSSt14_Function_base", !7, i64 0, !11, i64 16}
!83 = !{!84, !11, i64 0}
!84 = !{!"_ZTSZN8presolve9HPresolve26updateRowDualImpliedBoundsEiidE3$_0", !11, i64 0, !11, i64 8}
!85 = !{!11, !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass