; LLVM IR from ERGO-Code/HiGHS :: src/ipm/ipx/lp_solver.ll (ZN3ipx8LpSolver5SolveEv)

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

%"class.std::__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::allocator" = type { i8 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.ipx::LpSolver" = type { %"class.ipx::Control", %"struct.ipx::Info", %"class.ipx::Model", %"class.std::unique_ptr", %"class.std::unique_ptr.18", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::vector.4", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray" }
%"class.ipx::Control" = type { %"struct.ipx::Parameters", ptr, %"class.std::basic_ofstream", %"class.ipx::Timer", %"class.ipx::Timer", %"class.ipx::Multistream", %"class.ipx::Multistream" }
%"struct.ipx::Parameters" = type { %struct.ipx_parameters }
%struct.ipx_parameters = type { i32, ptr, double, double, i8, i32, i32, i32, double, double, double, double, double, i32, double, double, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i8, i8, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.ipx::Timer" = type { %"class.std::chrono::time_point" }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.ipx::Multistream" = type { %"class.std::basic_ostream.base", %"struct.ipx::Multistream::multibuffer", %"class.std::basic_ios" }
%"struct.ipx::Multistream::multibuffer" = type { %"class.std::basic_streambuf", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::basic_streambuf<char> *, std::allocator<std::basic_streambuf<char> *>>::_Vector_impl" }
%"struct.std::_Vector_base<std::basic_streambuf<char> *, std::allocator<std::basic_streambuf<char> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::basic_streambuf<char> *, std::allocator<std::basic_streambuf<char> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::basic_streambuf<char> *, std::allocator<std::basic_streambuf<char> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.ipx::Info" = type { %struct.ipx_info }
%struct.ipx_info = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, double, double, double, double }
%"class.ipx::Model" = type { i8, i32, i32, i32, i32, %"class.ipx::SparseMatrix", %"class.ipx::SparseMatrix", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", double, double, i32, i32, i32, i32, i32, %"class.std::vector.4", %"class.std::vector.14", double, double, double, %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.std::valarray", %"class.ipx::SparseMatrix", %"class.std::vector.4", %"class.std::valarray", %"class.std::valarray" }
%"class.std::vector.14" = type { %"struct.std::_Vector_base.15" }
%"struct.std::_Vector_base.15" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.ipx::SparseMatrix" = type { i32, %"class.std::vector.4", %"class.std::vector.4", %"class.std::vector.9", %"class.std::vector.4", %"class.std::vector.9" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = 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::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }
%"class.std::unique_ptr.18" = type { %"struct.std::__uniq_ptr_data.19" }
%"struct.std::__uniq_ptr_data.19" = type { %"class.std::__uniq_ptr_impl.20" }
%"class.std::__uniq_ptr_impl.20" = type { %"class.std::tuple.21" }
%"class.std::tuple.21" = type { %"struct.std::_Tuple_impl.22" }
%"struct.std::_Tuple_impl.22" = type { %"struct.std::_Head_base.25" }
%"struct.std::_Head_base.25" = type { ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = 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::valarray" = type { i64, ptr }

@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt9bad_alloc = external constant ptr
@_ZTISt9exception = external constant ptr
@.str.12 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx8LpSolver5SolveEv = external hidden unnamed_addr constant [27 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ipx8LpSolver5SolveEv(ptr noundef nonnull align 8 dereferenceable(2864) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  %23 = load ptr, ptr %3, align 8
  %24 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 2
  %25 = call noundef zeroext i1 @_ZNK3ipx5Model5emptyEv(ptr noundef nonnull align 8 dereferenceable(704) %24)
  br i1 %25, label %26, label %29

26:                                               ; preds = %1
  %27 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %28 = getelementptr inbounds %struct.ipx_info, ptr %27, i32 0, i32 0
  store i32 1006, ptr %28, align 8, !tbaa !9
  store i32 1006, ptr %2, align 4
  br label %342

29:                                               ; preds = %1
  call void @_ZN3ipx8LpSolver13ClearSolutionEv(ptr noundef nonnull align 8 dereferenceable(2864) %23)
  %30 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @_ZN3ipx7Control10ResetTimerEv(ptr noundef nonnull align 8 dereferenceable(1496) %30)
  %31 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @_ZN3ipx7Control11OpenLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496) %31)
  %32 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %33 unwind label %83

33:                                               ; preds = %29
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %32, ptr noundef %4)
          to label %34 unwind label %87

34:                                               ; preds = %33
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #8
  invoke void @_ZN3ipx8LpSolver18InteriorPointSolveEv(ptr noundef nonnull align 8 dereferenceable(2864) %23)
          to label %35 unwind label %92

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #8
  %36 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  %37 = invoke noundef i32 @_ZNK3ipx7Control13run_crossoverEv(ptr noundef nonnull align 8 dereferenceable(1496) %36)
          to label %38 unwind label %96

38:                                               ; preds = %35
  %39 = icmp eq i32 %37, 1
  %40 = zext i1 %39 to i8
  store i8 %40, ptr %8, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  %41 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  %42 = invoke noundef i32 @_ZNK3ipx7Control13run_crossoverEv(ptr noundef nonnull align 8 dereferenceable(1496) %41)
          to label %43 unwind label %100

43:                                               ; preds = %38
  %44 = icmp eq i32 %42, -1
  %45 = zext i1 %44 to i8
  store i8 %45, ptr %9, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  %46 = load i8, ptr %9, align 1, !tbaa !13, !range !15, !noundef !16
  %47 = trunc i8 %46 to i1
  br i1 %47, label %51, label %48

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

51:                                               ; preds = %48, %43
  %52 = phi i1 [ true, %43 ], [ %50, %48 ]
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %10, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  %54 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %55 = getelementptr inbounds %struct.ipx_info, ptr %54, i32 0, i32 1
  %56 = load i32, ptr %55, align 4, !tbaa !17
  %57 = icmp eq i32 %56, 1
  br i1 %57, label %58, label %61

58:                                               ; preds = %51
  %59 = load i8, ptr %8, align 1, !tbaa !13, !range !15, !noundef !16
  %60 = trunc i8 %59 to i1
  br i1 %60, label %71, label %61

61:                                               ; preds = %58, %51
  %62 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %63 = getelementptr inbounds %struct.ipx_info, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !17
  %65 = icmp eq i32 %64, 2
  br i1 %65, label %66, label %69

66:                                               ; preds = %61
  %67 = load i8, ptr %10, align 1, !tbaa !13, !range !15, !noundef !16
  %68 = trunc i8 %67 to i1
  br label %69

69:                                               ; preds = %66, %61
  %70 = phi i1 [ false, %61 ], [ %68, %66 ]
  br label %71

71:                                               ; preds = %69, %58
  %72 = phi i1 [ true, %58 ], [ %70, %69 ]
  %73 = zext i1 %72 to i8
  store i8 %73, ptr %11, align 1, !tbaa !13
  %74 = load i8, ptr %11, align 1, !tbaa !13, !range !15, !noundef !16
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %157

76:                                               ; preds = %71
  %77 = load i8, ptr %8, align 1, !tbaa !13, !range !15, !noundef !16
  %78 = trunc i8 %77 to i1
  br i1 %78, label %79, label %113

79:                                               ; preds = %76
  %80 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %81 unwind label %104

81:                                               ; preds = %79
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %80, ptr noundef %12)
          to label %82 unwind label %108

82:                                               ; preds = %81
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %150

83:                                               ; preds = %29
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %6, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %7, align 4
  br label %91

87:                                               ; preds = %33
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %6, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  br label %91

91:                                               ; preds = %87, %83
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #8
  br label %344

92:                                               ; preds = %34
  %93 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %6, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %7, align 4
  br label %262

96:                                               ; preds = %35
  %97 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %6, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %7, align 4
  br label %261

100:                                              ; preds = %38
  %101 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %6, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %7, align 4
  br label %260

104:                                              ; preds = %79
  %105 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %6, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %7, align 4
  br label %112

108:                                              ; preds = %81
  %109 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %6, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br label %112

112:                                              ; preds = %108, %104
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %259

113:                                              ; preds = %76
  %114 = load i8, ptr %9, align 1, !tbaa !13, !range !15, !noundef !16
  %115 = trunc i8 %114 to i1
  br i1 %115, label %116, label %137

116:                                              ; preds = %113
  %117 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %118 = getelementptr inbounds %struct.ipx_info, ptr %117, i32 0, i32 1
  %119 = load i32, ptr %118, align 4, !tbaa !17
  %120 = icmp eq i32 %119, 2
  br i1 %120, label %121, label %122

121:                                              ; preds = %116
  br label %124

122:                                              ; preds = %116
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.14, i32 noundef 72, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx8LpSolver5SolveEv) #9
  unreachable

123:                                              ; No predecessors!
  br label %124

124:                                              ; preds = %123, %121
  %125 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %126 unwind label %128

126:                                              ; preds = %124
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %125, ptr noundef %14)
          to label %127 unwind label %132

127:                                              ; preds = %126
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  br label %149

128:                                              ; preds = %124
  %129 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %6, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %7, align 4
  br label %136

132:                                              ; preds = %126
  %133 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %6, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %136

136:                                              ; preds = %132, %128
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  br label %259

137:                                              ; preds = %113
  %138 = load i8, ptr %8, align 1, !tbaa !13, !range !15, !noundef !16
  %139 = trunc i8 %138 to i1
  br i1 %139, label %143, label %140

140:                                              ; preds = %137
  %141 = load i8, ptr %9, align 1, !tbaa !13, !range !15, !noundef !16
  %142 = trunc i8 %141 to i1
  br label %143

143:                                              ; preds = %140, %137
  %144 = phi i1 [ true, %137 ], [ %142, %140 ]
  br i1 %144, label %145, label %146

145:                                              ; preds = %143
  br label %148

146:                                              ; preds = %143
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.14, i32 noundef 75, ptr noundef @__PRETTY_FUNCTION__._ZN3ipx8LpSolver5SolveEv) #9
  unreachable

147:                                              ; No predecessors!
  br label %148

148:                                              ; preds = %147, %145
  br label %149

149:                                              ; preds = %148, %127
  br label %150

150:                                              ; preds = %149, %82
  invoke void @_ZN3ipx8LpSolver27BuildCrossoverStartingPointEv(ptr noundef nonnull align 8 dereferenceable(2864) %23)
          to label %151 unwind label %153

151:                                              ; preds = %150
  invoke void @_ZN3ipx8LpSolver12RunCrossoverEv(ptr noundef nonnull align 8 dereferenceable(2864) %23)
          to label %152 unwind label %153

152:                                              ; preds = %151
  br label %157

153:                                              ; preds = %257, %200, %194, %188, %182, %176, %170, %164, %160, %151, %150
  %154 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %6, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %7, align 4
  br label %259

157:                                              ; preds = %152, %71
  %158 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %159 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %158) #8
  br i1 %159, label %160, label %209

160:                                              ; preds = %157
  %161 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %162 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %161) #8
  %163 = invoke noundef double @_ZNK3ipx5Basis17frac_ftran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176) %162)
          to label %164 unwind label %153

164:                                              ; preds = %160
  %165 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %166 = getelementptr inbounds %struct.ipx_info, ptr %165, i32 0, i32 56
  store double %163, ptr %166, align 8, !tbaa !18
  %167 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %168 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %167) #8
  %169 = invoke noundef double @_ZNK3ipx5Basis17frac_btran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176) %168)
          to label %170 unwind label %153

170:                                              ; preds = %164
  %171 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %172 = getelementptr inbounds %struct.ipx_info, ptr %171, i32 0, i32 57
  store double %169, ptr %172, align 8, !tbaa !19
  %173 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %174 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %173) #8
  %175 = invoke noundef double @_ZNK3ipx5Basis14time_factorizeEv(ptr noundef nonnull align 8 dereferenceable(176) %174)
          to label %176 unwind label %153

176:                                              ; preds = %170
  %177 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %178 = getelementptr inbounds %struct.ipx_info, ptr %177, i32 0, i32 60
  store double %175, ptr %178, align 8, !tbaa !20
  %179 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %180 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %179) #8
  %181 = invoke noundef double @_ZNK3ipx5Basis11time_updateEv(ptr noundef nonnull align 8 dereferenceable(176) %180)
          to label %182 unwind label %153

182:                                              ; preds = %176
  %183 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %184 = getelementptr inbounds %struct.ipx_info, ptr %183, i32 0, i32 61
  store double %181, ptr %184, align 8, !tbaa !21
  %185 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %186 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %185) #8
  %187 = invoke noundef double @_ZNK3ipx5Basis10time_ftranEv(ptr noundef nonnull align 8 dereferenceable(176) %186)
          to label %188 unwind label %153

188:                                              ; preds = %182
  %189 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %190 = getelementptr inbounds %struct.ipx_info, ptr %189, i32 0, i32 58
  store double %187, ptr %190, align 8, !tbaa !22
  %191 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %192 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %191) #8
  %193 = invoke noundef double @_ZNK3ipx5Basis10time_btranEv(ptr noundef nonnull align 8 dereferenceable(176) %192)
          to label %194 unwind label %153

194:                                              ; preds = %188
  %195 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %196 = getelementptr inbounds %struct.ipx_info, ptr %195, i32 0, i32 59
  store double %193, ptr %196, align 8, !tbaa !23
  %197 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %198 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %197) #8
  %199 = invoke noundef double @_ZNK3ipx5Basis9mean_fillEv(ptr noundef nonnull align 8 dereferenceable(176) %198)
          to label %200 unwind label %153

200:                                              ; preds = %194
  %201 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %202 = getelementptr inbounds %struct.ipx_info, ptr %201, i32 0, i32 62
  store double %199, ptr %202, align 8, !tbaa !24
  %203 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %204 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %203) #8
  %205 = invoke noundef double @_ZNK3ipx5Basis8max_fillEv(ptr noundef nonnull align 8 dereferenceable(176) %204)
          to label %206 unwind label %153

206:                                              ; preds = %200
  %207 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %208 = getelementptr inbounds %struct.ipx_info, ptr %207, i32 0, i32 63
  store double %205, ptr %208, align 8, !tbaa !25
  br label %209

209:                                              ; preds = %206, %157
  %210 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %211 = getelementptr inbounds %struct.ipx_info, ptr %210, i32 0, i32 1
  %212 = load i32, ptr %211, align 4, !tbaa !17
  %213 = icmp eq i32 %212, 3
  br i1 %213, label %229, label %214

214:                                              ; preds = %209
  %215 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %216 = getelementptr inbounds %struct.ipx_info, ptr %215, i32 0, i32 1
  %217 = load i32, ptr %216, align 4, !tbaa !17
  %218 = icmp eq i32 %217, 4
  br i1 %218, label %229, label %219

219:                                              ; preds = %214
  %220 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %221 = getelementptr inbounds %struct.ipx_info, ptr %220, i32 0, i32 2
  %222 = load i32, ptr %221, align 8, !tbaa !26
  %223 = icmp eq i32 %222, 3
  br i1 %223, label %229, label %224

224:                                              ; preds = %219
  %225 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %226 = getelementptr inbounds %struct.ipx_info, ptr %225, i32 0, i32 2
  %227 = load i32, ptr %226, align 8, !tbaa !26
  %228 = icmp eq i32 %227, 4
  br i1 %228, label %229, label %232

229:                                              ; preds = %224, %219, %214, %209
  %230 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %231 = getelementptr inbounds %struct.ipx_info, ptr %230, i32 0, i32 0
  store i32 1000, ptr %231, align 8, !tbaa !9
  br label %257

232:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %233 = load i8, ptr %11, align 1, !tbaa !13, !range !15, !noundef !16
  %234 = trunc i8 %233 to i1
  br i1 %234, label %235, label %239

235:                                              ; preds = %232
  %236 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %237 = getelementptr inbounds %struct.ipx_info, ptr %236, i32 0, i32 2
  %238 = load i32, ptr %237, align 8, !tbaa !26
  br label %243

239:                                              ; preds = %232
  %240 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %241 = getelementptr inbounds %struct.ipx_info, ptr %240, i32 0, i32 1
  %242 = load i32, ptr %241, align 4, !tbaa !17
  br label %243

243:                                              ; preds = %239, %235
  %244 = phi i32 [ %238, %235 ], [ %242, %239 ]
  store i32 %244, ptr %16, align 4, !tbaa !27
  %245 = load i32, ptr %16, align 4, !tbaa !27
  %246 = icmp eq i32 %245, 1
  br i1 %246, label %250, label %247

247:                                              ; preds = %243
  %248 = load i32, ptr %16, align 4, !tbaa !27
  %249 = icmp eq i32 %248, 2
  br i1 %249, label %250, label %253

250:                                              ; preds = %247, %243
  %251 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %252 = getelementptr inbounds %struct.ipx_info, ptr %251, i32 0, i32 0
  store i32 1000, ptr %252, align 8, !tbaa !9
  br label %256

253:                                              ; preds = %247
  %254 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %255 = getelementptr inbounds %struct.ipx_info, ptr %254, i32 0, i32 0
  store i32 1005, ptr %255, align 8, !tbaa !9
  br label %256

256:                                              ; preds = %253, %250
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %257

257:                                              ; preds = %256, %229
  invoke void @_ZN3ipx8LpSolver12PrintSummaryEv(ptr noundef nonnull align 8 dereferenceable(2864) %23)
          to label %258 unwind label %153

258:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  br label %274

259:                                              ; preds = %153, %136, %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  br label %260

260:                                              ; preds = %259, %100
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %261

261:                                              ; preds = %260, %96
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  br label %262

262:                                              ; preds = %261, %92
  %263 = load i32, ptr %7, align 4
  %264 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9bad_alloc) #8
  %265 = icmp eq i32 %263, %264
  br i1 %265, label %266, label %289

266:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %267 = load ptr, ptr %6, align 8
  %268 = call ptr @__cxa_begin_catch(ptr %267) #8
  store ptr %268, ptr %20, align 8
  %269 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %270 unwind label %328

270:                                              ; preds = %266
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %269, ptr noundef %21)
          to label %271 unwind label %332

271:                                              ; preds = %270
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  %272 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %273 = getelementptr inbounds %struct.ipx_info, ptr %272, i32 0, i32 0
  store i32 1003, ptr %273, align 8, !tbaa !9
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %274

274:                                              ; preds = %310, %271, %258
  %275 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  %276 = call noundef double @_ZNK3ipx7Control7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(1496) %275)
  %277 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %278 = getelementptr inbounds %struct.ipx_info, ptr %277, i32 0, i32 41
  store double %276, ptr %278, align 8, !tbaa !28
  %279 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  %280 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %279, i32 noundef 2)
  %281 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipxlsERSoRKNS_4InfoE(ptr noundef nonnull align 8 dereferenceable(8) %280, ptr noundef nonnull align 8 dereferenceable(464) %281)
  %283 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  call void @_ZN3ipx7Control12CloseLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496) %283)
  %284 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  %285 = call noundef zeroext i1 @_ZNK3ipx7Control15reportBasisDataEv(ptr noundef nonnull align 8 dereferenceable(1496) %284)
  br i1 %285, label %286, label %338

286:                                              ; preds = %274
  %287 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 4
  %288 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %287) #8
  call void @_ZNK3ipx5Basis15reportBasisDataEv(ptr noundef nonnull align 8 dereferenceable(176) %288)
  br label %338

289:                                              ; preds = %262
  %290 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %291 = icmp eq i32 %263, %290
  br i1 %291, label %292, label %344

292:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %293 = load ptr, ptr %6, align 8
  %294 = call ptr @__cxa_begin_catch(ptr %293) #8
  store ptr %294, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 392, ptr %18) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18)
          to label %295 unwind label %313

295:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %296 unwind label %317

296:                                              ; preds = %295
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  %297 = getelementptr inbounds i8, ptr %18, i64 16
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef @.str.17)
          to label %299 unwind label %321

299:                                              ; preds = %296
  %300 = load ptr, ptr %17, align 8, !tbaa !5
  %301 = load ptr, ptr %300, align 8, !tbaa !29
  %302 = getelementptr inbounds ptr, ptr %301, i64 2
  %303 = load ptr, ptr %302, align 8
  %304 = call noundef ptr %303(ptr noundef nonnull align 8 dereferenceable(8) %300) #8
  %305 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %298, ptr noundef %304)
          to label %306 unwind label %321

306:                                              ; preds = %299
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %305, i8 noundef signext 10)
          to label %308 unwind label %321

308:                                              ; preds = %306
  %309 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 0
  invoke void @_ZNK3ipx7Control4hLogERNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %309, ptr noundef nonnull align 8 dereferenceable(128) %18)
          to label %310 unwind label %321

310:                                              ; preds = %308
  %311 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %312 = getelementptr inbounds %struct.ipx_info, ptr %311, i32 0, i32 0
  store i32 1004, ptr %312, align 8, !tbaa !9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %18) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %274

313:                                              ; preds = %292
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %6, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %7, align 4
  br label %326

317:                                              ; preds = %295
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %6, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %325

321:                                              ; preds = %308, %306, %299, %296
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %6, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %7, align 4
  br label %325

325:                                              ; preds = %321, %317
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  br label %326

326:                                              ; preds = %325, %313
  call void @llvm.lifetime.end.p0(i64 392, ptr %18) #8
  invoke void @__cxa_end_catch()
          to label %327 unwind label %349

327:                                              ; preds = %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %344

328:                                              ; preds = %266
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %6, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %7, align 4
  br label %336

332:                                              ; preds = %270
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %6, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %7, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %336

336:                                              ; preds = %332, %328
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  invoke void @__cxa_end_catch()
          to label %337 unwind label %349

337:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %344

338:                                              ; preds = %286, %274
  %339 = getelementptr inbounds %"class.ipx::LpSolver", ptr %23, i32 0, i32 1
  %340 = getelementptr inbounds %struct.ipx_info, ptr %339, i32 0, i32 0
  %341 = load i32, ptr %340, align 8, !tbaa !9
  store i32 %341, ptr %2, align 4
  br label %342

342:                                              ; preds = %338, %26
  %343 = load i32, ptr %2, align 4
  ret i32 %343

344:                                              ; preds = %337, %327, %289, %91
  %345 = load ptr, ptr %6, align 8
  %346 = load i32, ptr %7, align 4
  %347 = insertvalue { ptr, i32 } poison, ptr %345, 0
  %348 = insertvalue { ptr, i32 } %347, i32 %346, 1
  resume { ptr, i32 } %348

349:                                              ; preds = %336, %326
  %350 = landingpad { ptr, i32 }
          catch ptr null
  %351 = extractvalue { ptr, i32 } %350, 0
  call void @__clang_call_terminate(ptr %351) #9
  unreachable
}

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

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

declare void @_ZN3ipx7Control10ResetTimerEv(ptr noundef nonnull align 8 dereferenceable(1496)) #3

declare void @_ZN3ipx7Control11OpenLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496)) #3

declare void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496), ptr noundef) #3

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

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

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

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

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

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

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

declare noundef double @_ZNK3ipx5Basis17frac_ftran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis17frac_btran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis14time_factorizeEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis11time_updateEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis10time_ftranEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis10time_btranEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis9mean_fillEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

declare noundef double @_ZNK3ipx5Basis8max_fillEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #5

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

declare void @_ZNK3ipx7Control4hLogERNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496), ptr noundef nonnull align 8 dereferenceable(128)) #3

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

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #7

declare noundef double @_ZNK3ipx7Control7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(1496)) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipxlsERSoRKNS_4InfoE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(464)) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) #3

declare void @_ZN3ipx7Control12CloseLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496)) #3

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

declare void @_ZNK3ipx5Basis15reportBasisDataEv(ptr noundef nonnull align 8 dereferenceable(176)) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS8ipx_info", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !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, !12, i64 336, !12, i64 344, !12, i64 352, !12, i64 360, !12, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !12, i64 408, !11, i64 416, !11, i64 420, !11, i64 424, !11, i64 428, !12, i64 432, !12, i64 440, !12, i64 448, !12, i64 456}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!10, !11, i64 4}
!18 = !{!10, !12, i64 344}
!19 = !{!10, !12, i64 352}
!20 = !{!10, !12, i64 376}
!21 = !{!10, !12, i64 384}
!22 = !{!10, !12, i64 360}
!23 = !{!10, !12, i64 368}
!24 = !{!10, !12, i64 392}
!25 = !{!10, !12, i64 400}
!26 = !{!10, !11, i64 8}
!27 = !{!11, !11, i64 0}
!28 = !{!10, !12, i64 224}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !8, i64 0}


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

%"class.std::__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::allocator" = type { i8 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt9bad_alloc = external constant ptr
@_ZTISt9exception = external constant ptr
@.str.12 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [74 x i8], align 1
@__PRETTY_FUNCTION__._ZN3ipx8LpSolver5SolveEv = external hidden unnamed_addr constant [27 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ipx8LpSolver5SolveEv(ptr noundef nonnull align 8 dereferenceable(2864) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca %"class.std::allocator", align 1
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator", align 1
  %12 = getelementptr inbounds i8, ptr %0, i64 1960
  %13 = tail call noundef zeroext i1 @_ZNK3ipx5Model5emptyEv(ptr noundef nonnull align 8 dereferenceable(704) %12)
  br i1 %13, label %14, label %16

14:                                               ; preds = %1
  %15 = getelementptr inbounds i8, ptr %0, i64 1496
  store i32 1006, ptr %15, align 8, !tbaa !5
  br label %159

16:                                               ; preds = %1
  tail call void @_ZN3ipx8LpSolver13ClearSolutionEv(ptr noundef nonnull align 8 dereferenceable(2864) %0)
  tail call void @_ZN3ipx7Control10ResetTimerEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  tail call void @_ZN3ipx7Control11OpenLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %17 unwind label %35

17:                                               ; preds = %16
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %0, ptr noundef nonnull %2)
          to label %18 unwind label %37

18:                                               ; preds = %17
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  invoke void @_ZN3ipx8LpSolver18InteriorPointSolveEv(ptr noundef nonnull align 8 dereferenceable(2864) %0)
          to label %19 unwind label %40

19:                                               ; preds = %18
  %20 = call noundef i32 @_ZNK3ipx7Control13run_crossoverEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  %21 = icmp eq i32 %20, 1
  %22 = call noundef i32 @_ZNK3ipx7Control13run_crossoverEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  %23 = icmp eq i32 %22, -1
  %24 = getelementptr inbounds i8, ptr %0, i64 1496
  %25 = getelementptr inbounds i8, ptr %0, i64 1500
  %26 = load i32, ptr %25, align 4, !tbaa !11
  %27 = icmp eq i32 %26, 1
  %brmerge.not = and i1 %21, %27
  br i1 %brmerge.not, label %.thread51, label %28

28:                                               ; preds = %19
  %29 = or i1 %21, %23
  %30 = icmp eq i32 %26, 2
  %31 = and i1 %30, %29
  br i1 %31, label %32, label %61

32:                                               ; preds = %28
  br i1 %21, label %.thread51, label %47

.thread51:                                        ; preds = %19, %32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %33 unwind label %42

33:                                               ; preds = %.thread51
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %0, ptr noundef nonnull %4)
          to label %34 unwind label %44

34:                                               ; preds = %33
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  br label %57

35:                                               ; preds = %16
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %17
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #8
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  br label %160

40:                                               ; preds = %18
  %41 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  br label %106

42:                                               ; preds = %.thread51
  %43 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  br label %46

44:                                               ; preds = %33
  %45 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  br label %46

46:                                               ; preds = %44, %42
  %.pn37 = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  br label %106

47:                                               ; preds = %32
  br i1 %23, label %48, label %56

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %49 unwind label %51

49:                                               ; preds = %48
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %0, ptr noundef nonnull %6)
          to label %50 unwind label %53

50:                                               ; preds = %49
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  br label %57

51:                                               ; preds = %48
  %52 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  br label %55

53:                                               ; preds = %49
  %54 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %55

55:                                               ; preds = %53, %51
  %.pn35 = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  br label %106

56:                                               ; preds = %47
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.14, i32 noundef 75, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3ipx8LpSolver5SolveEv) #9
  unreachable

57:                                               ; preds = %50, %34
  invoke void @_ZN3ipx8LpSolver27BuildCrossoverStartingPointEv(ptr noundef nonnull align 8 dereferenceable(2864) %0)
          to label %58 unwind label %59

58:                                               ; preds = %57
  invoke void @_ZN3ipx8LpSolver12RunCrossoverEv(ptr noundef nonnull align 8 dereferenceable(2864) %0)
          to label %61 unwind label %59

59:                                               ; preds = %105, %92, %88, %84, %80, %76, %72, %68, %65, %58, %57
  %60 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9bad_alloc
          catch ptr @_ZTISt9exception
  br label %106

61:                                               ; preds = %58, %28
  %62 = phi i1 [ true, %58 ], [ false, %28 ]
  %63 = getelementptr inbounds i8, ptr %0, i64 2672
  %64 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  br i1 %64, label %65, label %98

65:                                               ; preds = %61
  %66 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %67 = invoke noundef double @_ZNK3ipx5Basis17frac_ftran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176) %66)
          to label %68 unwind label %59

68:                                               ; preds = %65
  %69 = getelementptr inbounds i8, ptr %0, i64 1840
  store double %67, ptr %69, align 8, !tbaa !12
  %70 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %71 = invoke noundef double @_ZNK3ipx5Basis17frac_btran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176) %70)
          to label %72 unwind label %59

72:                                               ; preds = %68
  %73 = getelementptr inbounds i8, ptr %0, i64 1848
  store double %71, ptr %73, align 8, !tbaa !13
  %74 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %75 = invoke noundef double @_ZNK3ipx5Basis14time_factorizeEv(ptr noundef nonnull align 8 dereferenceable(176) %74)
          to label %76 unwind label %59

76:                                               ; preds = %72
  %77 = getelementptr inbounds i8, ptr %0, i64 1872
  store double %75, ptr %77, align 8, !tbaa !14
  %78 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %79 = invoke noundef double @_ZNK3ipx5Basis11time_updateEv(ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %80 unwind label %59

80:                                               ; preds = %76
  %81 = getelementptr inbounds i8, ptr %0, i64 1880
  store double %79, ptr %81, align 8, !tbaa !15
  %82 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %83 = invoke noundef double @_ZNK3ipx5Basis10time_ftranEv(ptr noundef nonnull align 8 dereferenceable(176) %82)
          to label %84 unwind label %59

84:                                               ; preds = %80
  %85 = getelementptr inbounds i8, ptr %0, i64 1856
  store double %83, ptr %85, align 8, !tbaa !16
  %86 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %87 = invoke noundef double @_ZNK3ipx5Basis10time_btranEv(ptr noundef nonnull align 8 dereferenceable(176) %86)
          to label %88 unwind label %59

88:                                               ; preds = %84
  %89 = getelementptr inbounds i8, ptr %0, i64 1864
  store double %87, ptr %89, align 8, !tbaa !17
  %90 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %91 = invoke noundef double @_ZNK3ipx5Basis9mean_fillEv(ptr noundef nonnull align 8 dereferenceable(176) %90)
          to label %92 unwind label %59

92:                                               ; preds = %88
  %93 = getelementptr inbounds i8, ptr %0, i64 1888
  store double %91, ptr %93, align 8, !tbaa !18
  %94 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  %95 = invoke noundef double @_ZNK3ipx5Basis8max_fillEv(ptr noundef nonnull align 8 dereferenceable(176) %94)
          to label %96 unwind label %59

96:                                               ; preds = %92
  %97 = getelementptr inbounds i8, ptr %0, i64 1896
  store double %95, ptr %97, align 8, !tbaa !19
  br label %98

98:                                               ; preds = %96, %61
  %99 = load i32, ptr %25, align 4, !tbaa !11
  %.off = add i32 %99, -3
  %switch = icmp ult i32 %.off, 2
  br i1 %switch, label %105, label %100

100:                                              ; preds = %98
  %101 = getelementptr inbounds i8, ptr %0, i64 1504
  %102 = load i32, ptr %101, align 8, !tbaa !20
  %.off49 = add i32 %102, -3
  %switch50 = icmp ult i32 %.off49, 2
  br i1 %switch50, label %105, label %103

103:                                              ; preds = %100
  %. = select i1 %62, i32 %102, i32 %99
  %104 = add i32 %., -1
  %or.cond = icmp ult i32 %104, 2
  %storemerge = select i1 %or.cond, i32 1000, i32 1005
  br label %105

105:                                              ; preds = %100, %98, %103
  %storemerge39 = phi i32 [ %storemerge, %103 ], [ 1000, %100 ], [ 1000, %98 ]
  store i32 %storemerge39, ptr %24, align 8, !tbaa !5
  invoke void @_ZN3ipx8LpSolver12PrintSummaryEv(ptr noundef nonnull align 8 dereferenceable(2864) %0)
          to label %114 unwind label %59

106:                                              ; preds = %46, %55, %59, %40
  %.pn40.pn = phi { ptr, i32 } [ %41, %40 ], [ %60, %59 ], [ %.pn37, %46 ], [ %.pn35, %55 ]
  %.4 = extractvalue { ptr, i32 } %.pn40.pn, 0
  %.425 = extractvalue { ptr, i32 } %.pn40.pn, 1
  %107 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9bad_alloc) #8
  %108 = icmp eq i32 %.425, %107
  br i1 %108, label %109, label %124

109:                                              ; preds = %106
  %110 = call ptr @__cxa_begin_catch(ptr %.4) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %111 unwind label %152

111:                                              ; preds = %109
  invoke void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %0, ptr noundef nonnull %10)
          to label %112 unwind label %154

112:                                              ; preds = %111
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  %113 = getelementptr inbounds i8, ptr %0, i64 1496
  store i32 1003, ptr %113, align 8, !tbaa !5
  br label %.sink.split

.sink.split:                                      ; preds = %112, %142
  call void @__cxa_end_catch()
  br label %114

114:                                              ; preds = %.sink.split, %105
  %115 = call noundef double @_ZNK3ipx7Control7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  %116 = getelementptr inbounds i8, ptr %0, i64 1496
  %117 = getelementptr inbounds i8, ptr %0, i64 1720
  store double %115, ptr %117, align 8, !tbaa !21
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496) %0, i32 noundef 2)
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipxlsERSoRKNS_4InfoE(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull align 8 dereferenceable(464) %116)
  call void @_ZN3ipx7Control12CloseLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  %120 = call noundef zeroext i1 @_ZNK3ipx7Control15reportBasisDataEv(ptr noundef nonnull align 8 dereferenceable(1496) %0)
  br i1 %120, label %121, label %157

121:                                              ; preds = %114
  %122 = getelementptr inbounds i8, ptr %0, i64 2672
  %123 = call noundef ptr @_ZNKSt10unique_ptrIN3ipx5BasisESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %122) #8
  call void @_ZNK3ipx5Basis15reportBasisDataEv(ptr noundef nonnull align 8 dereferenceable(176) %123)
  br label %157

124:                                              ; preds = %106
  %125 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %126 = icmp eq i32 %.425, %125
  br i1 %126, label %127, label %160

127:                                              ; preds = %124
  %128 = call ptr @__cxa_begin_catch(ptr %.4) #8
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %8) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %129 unwind label %144

129:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128) %8, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %130 unwind label %146

130:                                              ; preds = %129
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  %131 = getelementptr inbounds i8, ptr %8, i64 16
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @.str.17)
          to label %133 unwind label %148

133:                                              ; preds = %130
  %134 = load ptr, ptr %128, align 8, !tbaa !22
  %135 = getelementptr inbounds i8, ptr %134, i64 16
  %136 = load ptr, ptr %135, align 8
  %137 = call noundef ptr %136(ptr noundef nonnull align 8 dereferenceable(8) %128) #8
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef %137)
          to label %139 unwind label %148

139:                                              ; preds = %133
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %138, i8 noundef signext 10)
          to label %141 unwind label %148

141:                                              ; preds = %139
  invoke void @_ZNK3ipx7Control4hLogERNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496) %0, ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %142 unwind label %148

142:                                              ; preds = %141
  %143 = getelementptr inbounds i8, ptr %0, i64 1496
  store i32 1004, ptr %143, align 8, !tbaa !5
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #8
  br label %.sink.split

144:                                              ; preds = %127
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %151

146:                                              ; preds = %129
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %150

148:                                              ; preds = %141, %139, %133, %130
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %150

150:                                              ; preds = %148, %146
  %.pn43 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #8
  br label %151

151:                                              ; preds = %150, %144
  %.pn43.pn = phi { ptr, i32 } [ %.pn43, %150 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #8
  invoke void @__cxa_end_catch()
          to label %160 unwind label %161

152:                                              ; preds = %109
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %156

154:                                              ; preds = %111
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %156

156:                                              ; preds = %154, %152
  %.pn46 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  invoke void @__cxa_end_catch()
          to label %160 unwind label %161

157:                                              ; preds = %121, %114
  %158 = load i32, ptr %116, align 8, !tbaa !5
  br label %159

159:                                              ; preds = %157, %14
  %.0 = phi i32 [ 1006, %14 ], [ %158, %157 ]
  ret i32 %.0

160:                                              ; preds = %156, %151, %124, %39
  %.merged = phi { ptr, i32 } [ %.pn40.pn, %124 ], [ %.pn, %39 ], [ %.pn43.pn, %151 ], [ %.pn46, %156 ]
  resume { ptr, i32 } %.merged

161:                                              ; preds = %156, %151
  %162 = landingpad { ptr, i32 }
          catch ptr null
  %163 = extractvalue { ptr, i32 } %162, 0
  call void @__clang_call_terminate(ptr %163) #9
  unreachable
}

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

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

declare void @_ZN3ipx7Control10ResetTimerEv(ptr noundef nonnull align 8 dereferenceable(1496)) local_unnamed_addr #3

declare void @_ZN3ipx7Control11OpenLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496)) local_unnamed_addr #3

declare void @_ZNK3ipx7Control4hLogENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496), ptr noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

declare noundef double @_ZNK3ipx5Basis17frac_ftran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis17frac_btran_sparseEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis14time_factorizeEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis11time_updateEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis10time_ftranEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis10time_btranEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis9mean_fillEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

declare noundef double @_ZNK3ipx5Basis8max_fillEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #5

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strERKNS_12basic_stringIcS2_S3_EE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6

declare void @_ZNK3ipx7Control4hLogERNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(1496), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #7

declare noundef double @_ZNK3ipx7Control7ElapsedEv(ptr noundef nonnull align 8 dereferenceable(1496)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ipxlsERSoRKNS_4InfoE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(464)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3ipx7Control5DebugEi(ptr noundef nonnull align 8 dereferenceable(1496), i32 noundef) local_unnamed_addr #3

declare void @_ZN3ipx7Control12CloseLogfileEv(ptr noundef nonnull align 8 dereferenceable(1496)) local_unnamed_addr #3

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

declare void @_ZNK3ipx5Basis15reportBasisDataEv(ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS8ipx_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 344}
!13 = !{!6, !10, i64 352}
!14 = !{!6, !10, i64 376}
!15 = !{!6, !10, i64 384}
!16 = !{!6, !10, i64 360}
!17 = !{!6, !10, i64 368}
!18 = !{!6, !10, i64 392}
!19 = !{!6, !10, i64 400}
!20 = !{!6, !7, i64 8}
!21 = !{!6, !10, i64 224}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !9, i64 0}


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