; LLVM IR from ERGO-Code/HiGHS :: src/mip (HighsPseudocost)

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

%struct.HighsPseudocostInitialization = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", double, double, double, i64, i64 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.HighsPseudocost = type { %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector", %"class.std::vector", double, double, double, double, i64, i64, i64, i32, double }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN29HighsPseudocostInitializationC2ERK15HighsPseudocostiRKN8presolve19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(360) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(224) %3) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8
  %16 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 0
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  %17 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 1
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  %18 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 2
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %19 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 3
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  %20 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 4
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  %21 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 5
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  %22 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 6
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  %23 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  %24 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  %25 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  %26 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 10
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = getelementptr inbounds %class.HighsPseudocost, ptr %27, i32 0, i32 14
  %29 = load double, ptr %28, align 8, !tbaa !11
  store double %29, ptr %26, align 8, !tbaa !23
  %30 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 11
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %class.HighsPseudocost, ptr %31, i32 0, i32 15
  %33 = load double, ptr %32, align 8, !tbaa !25
  store double %33, ptr %30, align 8, !tbaa !26
  %34 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 12
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.HighsPseudocost, ptr %35, i32 0, i32 13
  %37 = load double, ptr %36, align 8, !tbaa !27
  store double %37, ptr %34, align 8, !tbaa !28
  %38 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 13
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 1, ptr %9, align 8, !tbaa !29
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %class.HighsPseudocost, ptr %39, i32 0, i32 16
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %42 unwind label %128

42:                                               ; preds = %4
  %43 = load i64, ptr %41, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  store i64 %43, ptr %38, align 8, !tbaa !30
  %44 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 14
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i64 1, ptr %12, align 8, !tbaa !29
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %class.HighsPseudocost, ptr %45, i32 0, i32 17
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %48 unwind label %132

48:                                               ; preds = %42
  %49 = load i64, ptr %47, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  store i64 %49, ptr %44, align 8, !tbaa !31
  %50 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 0
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %51)
          to label %53 unwind label %136

53:                                               ; preds = %48
  %54 = sext i32 %52 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %54)
          to label %55 unwind label %136

55:                                               ; preds = %53
  %56 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 1
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %57)
          to label %59 unwind label %136

59:                                               ; preds = %55
  %60 = sext i32 %58 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %60)
          to label %61 unwind label %136

61:                                               ; preds = %59
  %62 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 2
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %63)
          to label %65 unwind label %136

65:                                               ; preds = %61
  %66 = sext i32 %64 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %66)
          to label %67 unwind label %136

67:                                               ; preds = %65
  %68 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 3
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %69)
          to label %71 unwind label %136

71:                                               ; preds = %67
  %72 = sext i32 %70 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %72)
          to label %73 unwind label %136

73:                                               ; preds = %71
  %74 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 4
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %75)
          to label %77 unwind label %136

77:                                               ; preds = %73
  %78 = sext i32 %76 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %78)
          to label %79 unwind label %136

79:                                               ; preds = %77
  %80 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 5
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %81)
          to label %83 unwind label %136

83:                                               ; preds = %79
  %84 = sext i32 %82 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %80, i64 noundef %84)
          to label %85 unwind label %136

85:                                               ; preds = %83
  %86 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 6
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %87)
          to label %89 unwind label %136

89:                                               ; preds = %85
  %90 = sext i32 %88 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %90)
          to label %91 unwind label %136

91:                                               ; preds = %89
  %92 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 7
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %93)
          to label %95 unwind label %136

95:                                               ; preds = %91
  %96 = sext i32 %94 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %96)
          to label %97 unwind label %136

97:                                               ; preds = %95
  %98 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 8
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %99)
          to label %101 unwind label %136

101:                                              ; preds = %97
  %102 = sext i32 %100 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %98, i64 noundef %102)
          to label %103 unwind label %136

103:                                              ; preds = %101
  %104 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 9
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  %106 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %105)
          to label %107 unwind label %136

107:                                              ; preds = %103
  %108 = sext i32 %106 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %108)
          to label %109 unwind label %136

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  %111 = getelementptr inbounds %class.HighsPseudocost, ptr %110, i32 0, i32 0
  %112 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #4
  %113 = trunc i64 %112 to i32
  store i32 %113, ptr %13, align 4, !tbaa !9
  %114 = load i32, ptr %13, align 4, !tbaa !9
  %115 = sitofp i32 %114 to double
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %class.HighsPseudocost, ptr %116, i32 0, i32 12
  %118 = load double, ptr %117, align 8, !tbaa !32
  %119 = fmul double %115, %118
  %120 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 12
  %121 = load double, ptr %120, align 8, !tbaa !28
  %122 = fdiv double %121, %119
  store double %122, ptr %120, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %271, %109
  %124 = load i32, ptr %14, align 4, !tbaa !9
  %125 = load i32, ptr %13, align 4, !tbaa !9
  %126 = icmp ne i32 %124, %125
  br i1 %126, label %140, label %127

127:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %278

128:                                              ; preds = %4
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %10, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %279

132:                                              ; preds = %42
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %279

136:                                              ; preds = %107, %103, %101, %97, %95, %91, %89, %85, %83, %79, %77, %73, %71, %67, %65, %61, %59, %55, %53, %48
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %10, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %11, align 4
  br label %279

140:                                              ; preds = %123
  %141 = load ptr, ptr %6, align 8, !tbaa !5
  %142 = getelementptr inbounds %class.HighsPseudocost, ptr %141, i32 0, i32 0
  %143 = load i32, ptr %14, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %144) #4
  %146 = load double, ptr %145, align 8, !tbaa !33
  %147 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 0
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %148, i32 noundef %149)
          to label %151 unwind label %274

151:                                              ; preds = %140
  %152 = sext i32 %150 to i64
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %152) #4
  store double %146, ptr %153, align 8, !tbaa !33
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %class.HighsPseudocost, ptr %154, i32 0, i32 1
  %156 = load i32, ptr %14, align 4, !tbaa !9
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %157) #4
  %159 = load double, ptr %158, align 8, !tbaa !33
  %160 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 1
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = load i32, ptr %14, align 4, !tbaa !9
  %163 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %161, i32 noundef %162)
          to label %164 unwind label %274

164:                                              ; preds = %151
  %165 = sext i32 %163 to i64
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %160, i64 noundef %165) #4
  store double %159, ptr %166, align 8, !tbaa !33
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %class.HighsPseudocost, ptr %167, i32 0, i32 2
  %169 = load i32, ptr %14, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %168, i64 noundef %170) #4
  %172 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %171)
          to label %173 unwind label %274

173:                                              ; preds = %164
  %174 = load i32, ptr %172, align 4, !tbaa !9
  %175 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 2
  %176 = load ptr, ptr %8, align 8, !tbaa !5
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %176, i32 noundef %177)
          to label %179 unwind label %274

179:                                              ; preds = %173
  %180 = sext i32 %178 to i64
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %175, i64 noundef %180) #4
  store i32 %174, ptr %181, align 4, !tbaa !9
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %class.HighsPseudocost, ptr %182, i32 0, i32 3
  %184 = load i32, ptr %14, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %185) #4
  %187 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %186)
          to label %188 unwind label %274

188:                                              ; preds = %179
  %189 = load i32, ptr %187, align 4, !tbaa !9
  %190 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 3
  %191 = load ptr, ptr %8, align 8, !tbaa !5
  %192 = load i32, ptr %14, align 4, !tbaa !9
  %193 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %191, i32 noundef %192)
          to label %194 unwind label %274

194:                                              ; preds = %188
  %195 = sext i32 %193 to i64
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %195) #4
  store i32 %189, ptr %196, align 4, !tbaa !9
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds %class.HighsPseudocost, ptr %197, i32 0, i32 4
  %199 = load i32, ptr %14, align 4, !tbaa !9
  %200 = sext i32 %199 to i64
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %198, i64 noundef %200) #4
  %202 = load double, ptr %201, align 8, !tbaa !33
  %203 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 4
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = load i32, ptr %14, align 4, !tbaa !9
  %206 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %204, i32 noundef %205)
          to label %207 unwind label %274

207:                                              ; preds = %194
  %208 = sext i32 %206 to i64
  %209 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %203, i64 noundef %208) #4
  store double %202, ptr %209, align 8, !tbaa !33
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = getelementptr inbounds %class.HighsPseudocost, ptr %210, i32 0, i32 5
  %212 = load i32, ptr %14, align 4, !tbaa !9
  %213 = sext i32 %212 to i64
  %214 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %211, i64 noundef %213) #4
  %215 = load double, ptr %214, align 8, !tbaa !33
  %216 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 5
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  %218 = load i32, ptr %14, align 4, !tbaa !9
  %219 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %217, i32 noundef %218)
          to label %220 unwind label %274

220:                                              ; preds = %207
  %221 = sext i32 %219 to i64
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %216, i64 noundef %221) #4
  store double %215, ptr %222, align 8, !tbaa !33
  %223 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 6
  %224 = load ptr, ptr %8, align 8, !tbaa !5
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %224, i32 noundef %225)
          to label %227 unwind label %274

227:                                              ; preds = %220
  %228 = sext i32 %226 to i64
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %223, i64 noundef %228) #4
  store i32 1, ptr %229, align 4, !tbaa !9
  %230 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 7
  %231 = load ptr, ptr %8, align 8, !tbaa !5
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %231, i32 noundef %232)
          to label %234 unwind label %274

234:                                              ; preds = %227
  %235 = sext i32 %233 to i64
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %230, i64 noundef %235) #4
  store i32 1, ptr %236, align 4, !tbaa !9
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = getelementptr inbounds %class.HighsPseudocost, ptr %237, i32 0, i32 10
  %239 = load i32, ptr %14, align 4, !tbaa !9
  %240 = sext i32 %239 to i64
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %238, i64 noundef %240) #4
  %242 = load double, ptr %241, align 8, !tbaa !33
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %class.HighsPseudocost, ptr %243, i32 0, i32 12
  %245 = load double, ptr %244, align 8, !tbaa !32
  %246 = fdiv double %242, %245
  %247 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 8
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = load i32, ptr %14, align 4, !tbaa !9
  %250 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %248, i32 noundef %249)
          to label %251 unwind label %274

251:                                              ; preds = %234
  %252 = sext i32 %250 to i64
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %247, i64 noundef %252) #4
  store double %246, ptr %253, align 8, !tbaa !33
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = getelementptr inbounds %class.HighsPseudocost, ptr %254, i32 0, i32 11
  %256 = load i32, ptr %14, align 4, !tbaa !9
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %257) #4
  %259 = load double, ptr %258, align 8, !tbaa !33
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = getelementptr inbounds %class.HighsPseudocost, ptr %260, i32 0, i32 12
  %262 = load double, ptr %261, align 8, !tbaa !32
  %263 = fdiv double %259, %262
  %264 = getelementptr inbounds %struct.HighsPseudocostInitialization, ptr %15, i32 0, i32 9
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = load i32, ptr %14, align 4, !tbaa !9
  %267 = invoke noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %265, i32 noundef %266)
          to label %268 unwind label %274

268:                                              ; preds = %251
  %269 = sext i32 %267 to i64
  %270 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %264, i64 noundef %269) #4
  store double %263, ptr %270, align 8, !tbaa !33
  br label %271

271:                                              ; preds = %268
  %272 = load i32, ptr %14, align 4, !tbaa !9
  %273 = add nsw i32 %272, 1
  store i32 %273, ptr %14, align 4, !tbaa !9
  br label %123, !llvm.loop !34

274:                                              ; preds = %251, %234, %227, %220, %207, %194, %188, %179, %173, %164, %151, %140
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %10, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %279

278:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  ret void

279:                                              ; preds = %274, %136, %132, %128
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  br label %280

280:                                              ; preds = %279
  %281 = load ptr, ptr %10, align 8
  %282 = load i32, ptr %11, align 4
  %283 = insertvalue { ptr, i32 } poison, ptr %281, 0
  %284 = insertvalue { ptr, i32 } %283, i32 %282, 1
  resume { ptr, i32 } %284
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224)) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { 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, !21, i64 304}
!12 = !{!"_ZTS15HighsPseudocost", !13, i64 0, !13, i64 24, !17, i64 48, !17, i64 72, !13, i64 96, !13, i64 120, !17, i64 144, !17, i64 168, !17, i64 192, !17, i64 216, !13, i64 240, !13, i64 264, !21, i64 288, !21, i64 296, !21, i64 304, !21, i64 312, !22, i64 320, !22, i64 328, !22, i64 336, !10, i64 344, !21, i64 352}
!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", !6, i64 0, !6, i64 8, !6, 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", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"double", !7, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!24, !21, i64 240}
!24 = !{!"_ZTS29HighsPseudocostInitialization", !13, i64 0, !13, i64 24, !17, i64 48, !17, i64 72, !13, i64 96, !13, i64 120, !17, i64 144, !17, i64 168, !13, i64 192, !13, i64 216, !21, i64 240, !21, i64 248, !21, i64 256, !22, i64 264, !22, i64 272}
!25 = !{!12, !21, i64 312}
!26 = !{!24, !21, i64 248}
!27 = !{!12, !21, i64 296}
!28 = !{!24, !21, i64 256}
!29 = !{!22, !22, i64 0}
!30 = !{!24, !22, i64 264}
!31 = !{!24, !22, i64 272}
!32 = !{!12, !21, i64 288}
!33 = !{!21, !21, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}


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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress 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 @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN29HighsPseudocostInitializationC2ERK15HighsPseudocostiRKN8presolve19HighsPostsolveStackE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(360) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(224) %3) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  store i32 %2, ptr %5, align 4, !tbaa !5
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  %9 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %11 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %13 = getelementptr inbounds i8, ptr %0, i64 144
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  %14 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  %15 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  %16 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  %17 = getelementptr inbounds i8, ptr %0, i64 240
  %18 = getelementptr inbounds i8, ptr %1, i64 304
  %19 = load <2 x double>, ptr %18, align 8, !tbaa !9
  store <2 x double> %19, ptr %17, align 8, !tbaa !9
  %20 = getelementptr inbounds i8, ptr %0, i64 256
  %21 = getelementptr inbounds i8, ptr %1, i64 296
  %22 = load double, ptr %21, align 8, !tbaa !11
  store double %22, ptr %20, align 8, !tbaa !23
  %23 = getelementptr inbounds i8, ptr %0, i64 264
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  store i64 1, ptr %6, align 8, !tbaa !25
  %24 = getelementptr inbounds i8, ptr %1, i64 320
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %26 = load i64, ptr %25, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  store i64 %26, ptr %23, align 8, !tbaa !26
  %27 = getelementptr inbounds i8, ptr %0, i64 272
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  store i64 1, ptr %7, align 8, !tbaa !25
  %28 = getelementptr inbounds i8, ptr %1, i64 328
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIlERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %28)
  %30 = load i64, ptr %29, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  store i64 %30, ptr %27, align 8, !tbaa !27
  %31 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %32 = sext i32 %31 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %32)
          to label %33 unwind label %77

33:                                               ; preds = %4
  %34 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %35 = sext i32 %34 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %35)
          to label %36 unwind label %77

36:                                               ; preds = %33
  %37 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %38 = sext i32 %37 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %38)
          to label %39 unwind label %77

39:                                               ; preds = %36
  %40 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %41 = sext i32 %40 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %41)
          to label %42 unwind label %77

42:                                               ; preds = %39
  %43 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %44 = sext i32 %43 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %44)
          to label %45 unwind label %77

45:                                               ; preds = %42
  %46 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %47 = sext i32 %46 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %47)
          to label %48 unwind label %77

48:                                               ; preds = %45
  %49 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %50 = sext i32 %49 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %50)
          to label %51 unwind label %77

51:                                               ; preds = %48
  %52 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %53 = sext i32 %52 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %53)
          to label %54 unwind label %77

54:                                               ; preds = %51
  %55 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %56 = sext i32 %55 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %56)
          to label %57 unwind label %77

57:                                               ; preds = %54
  %58 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224) %3)
  %59 = sext i32 %58 to i64
  invoke void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %59)
          to label %60 unwind label %77

60:                                               ; preds = %57
  %61 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %62 = trunc i64 %61 to i32
  %63 = sitofp i32 %62 to double
  %64 = getelementptr inbounds i8, ptr %1, i64 288
  %65 = load double, ptr %64, align 8, !tbaa !28
  %66 = fmul double %65, %63
  %67 = load double, ptr %20, align 8, !tbaa !23
  %68 = fdiv double %67, %66
  store double %68, ptr %20, align 8, !tbaa !23
  %.not61 = icmp eq i32 %62, 0
  br i1 %.not61, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %60
  %69 = getelementptr inbounds i8, ptr %1, i64 24
  %70 = getelementptr inbounds i8, ptr %1, i64 48
  %71 = getelementptr inbounds i8, ptr %1, i64 72
  %72 = getelementptr inbounds i8, ptr %1, i64 96
  %73 = getelementptr inbounds i8, ptr %1, i64 120
  %74 = getelementptr inbounds i8, ptr %1, i64 240
  %75 = getelementptr inbounds i8, ptr %1, i64 264
  %76 = and i64 %61, 4294967295
  br label %79

._crit_edge:                                      ; preds = %79, %60
  ret void

77:                                               ; preds = %57, %54, %51, %48, %45, %42, %39, %36, %33, %4
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  resume { ptr, i32 } %78

79:                                               ; preds = %.lr.ph, %79
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %79 ]
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #4
  %81 = load double, ptr %80, align 8, !tbaa !9
  %82 = trunc nuw nsw i64 %indvars.iv to i32
  %83 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %84) #4
  store double %81, ptr %85, align 8, !tbaa !9
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %indvars.iv) #4
  %87 = load double, ptr %86, align 8, !tbaa !9
  %88 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %89 = sext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %89) #4
  store double %87, ptr %90, align 8, !tbaa !9
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %indvars.iv) #4
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %91)
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %95 = sext i32 %94 to i64
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %95) #4
  store i32 %93, ptr %96, align 4, !tbaa !5
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %indvars.iv) #4
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %97)
  %99 = load i32, ptr %98, align 4, !tbaa !5
  %100 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %101) #4
  store i32 %99, ptr %102, align 4, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %indvars.iv) #4
  %104 = load double, ptr %103, align 8, !tbaa !9
  %105 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %106 = sext i32 %105 to i64
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %106) #4
  store double %104, ptr %107, align 8, !tbaa !9
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %indvars.iv) #4
  %109 = load double, ptr %108, align 8, !tbaa !9
  %110 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %111) #4
  store double %109, ptr %112, align 8, !tbaa !9
  %113 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %114) #4
  store i32 1, ptr %115, align 4, !tbaa !5
  %116 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %117 = sext i32 %116 to i64
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %117) #4
  store i32 1, ptr %118, align 4, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %indvars.iv) #4
  %120 = load double, ptr %119, align 8, !tbaa !9
  %121 = load double, ptr %64, align 8, !tbaa !28
  %122 = fdiv double %120, %121
  %123 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %124 = sext i32 %123 to i64
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %124) #4
  store double %122, ptr %125, align 8, !tbaa !9
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %indvars.iv) #4
  %127 = load double, ptr %126, align 8, !tbaa !9
  %128 = load double, ptr %64, align 8, !tbaa !28
  %129 = fdiv double %127, %128
  %130 = call noundef i32 @_ZNK8presolve19HighsPostsolveStack15getOrigColIndexEi(ptr noundef nonnull align 8 dereferenceable(224) %3, i32 noundef %82)
  %131 = sext i32 %130 to i64
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %131) #4
  store double %129, ptr %132, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not = icmp eq i64 %indvars.iv.next, %76
  br i1 %.not, label %._crit_edge, label %79, !llvm.loop !29
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8presolve19HighsPostsolveStack13getOrigNumColEv(ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { 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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 296}
!12 = !{!"_ZTS15HighsPseudocost", !13, i64 0, !13, i64 24, !18, i64 48, !18, i64 72, !13, i64 96, !13, i64 120, !18, i64 144, !18, i64 168, !18, i64 192, !18, i64 216, !13, i64 240, !13, i64 264, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !22, i64 320, !22, i64 328, !22, i64 336, !6, i64 344, !10, i64 352}
!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", !17, i64 0, !17, i64 8, !17, i64 16}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"_ZTSSt6vectorIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!22 = !{!"long", !7, i64 0}
!23 = !{!24, !10, i64 256}
!24 = !{!"_ZTS29HighsPseudocostInitialization", !13, i64 0, !13, i64 24, !18, i64 48, !18, i64 72, !13, i64 96, !13, i64 120, !18, i64 144, !18, i64 168, !13, i64 192, !13, i64 216, !10, i64 240, !10, i64 248, !10, i64 256, !22, i64 264, !22, i64 272}
!25 = !{!22, !22, i64 0}
!26 = !{!24, !22, i64 264}
!27 = !{!24, !22, i64 272}
!28 = !{!12, !10, i64 288}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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