; LLVM IR from buresjan/optim_lbm :: nomad/src/Cache (CacheSet)

; 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.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.66" = type { ptr }
%"class.std::back_insert_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.NOMAD_4_3::EvalPoint" = type { %"class.NOMAD_4_3::Point", [3 x %"class.std::unique_ptr.29"], i32, i32, i16, %"class.std::shared_ptr.37", %"class.std::vector.40", %"class.std::shared_ptr.45", %"class.NOMAD_4_3::Double", %"class.std::shared_ptr.48" }
%"class.NOMAD_4_3::Point" = type { %"class.NOMAD_4_3::ArrayOfDouble" }
%"class.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%"class.std::shared_ptr.37" = type { %"class.std::__shared_ptr.38" }
%"class.std::__shared_ptr.38" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.45" = type { %"class.std::__shared_ptr.46" }
%"class.std::__shared_ptr.46" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.48" = type { %"class.std::__shared_ptr.49" }
%"class.std::__shared_ptr.49" = type { ptr, %"class.std::__shared_count" }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }
%class.anon.68 = type { ptr }
%"class.NOMAD_4_3::CacheSet" = type { %"class.NOMAD_4_3::CacheBase.base", %"class.std::set" }
%"class.NOMAD_4_3::CacheBase.base" = type <{ ptr, %"class.std::__cxx11::basic_string", i64, %"class.std::shared_ptr", i64, %"struct.std::atomic.8" }>
%"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::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"struct.std::atomic.8" = type { %"struct.std::__atomic_base.9" }
%"struct.std::__atomic_base.9" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<NOMAD_4_3::EvalPoint, NOMAD_4_3::EvalPoint, std::_Identity<NOMAD_4_3::EvalPoint>, NOMAD_4_3::EvalPointCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::EvalPoint, NOMAD_4_3::EvalPoint, std::_Identity<NOMAD_4_3::EvalPoint>, NOMAD_4_3::EvalPointCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@_ZN9NOMAD_4_3L3INFE = external hidden constant double, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

declare noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160), i32 noundef) #4

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

declare void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #4

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

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

declare noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #4

declare void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) #5

declare void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) #5

declare noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NOMAD_4_38CacheSet15getBbOutputTypeEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8) #6 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_39EvalPointESt6vectorIS3_SaIS3_EEEESt20back_insert_iteratorINSt7__cxx114listIS3_S6_EEEET0_T_SF_SE_(ptr, ptr, ptr) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt13back_inserterINSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS3_EEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(24)) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9NOMAD_4_34Eval19getBBOutputTypeListEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(105)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(160)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) #5

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

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

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

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

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

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

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

declare noundef i32 @_ZNK9NOMAD_4_39EvalPoint6compMOERKS0_NS_8EvalTypeEbNS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(160), i32 noundef, i1 noundef zeroext, i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE10push_frontERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(160)) #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZNK9NOMAD_4_38CacheSet11findBestInfERNSt7__cxx114listINS_9EvalPointESaIS3_EEERKNS_6DoubleERKNS_5PointENS_8EvalTypeENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(17) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %4, i32 noundef %5) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::vector.51", align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.66", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.66", align 8
  %25 = alloca %"class.std::back_insert_iterator", align 8
  %26 = alloca %"class.std::back_insert_iterator", align 8
  %27 = alloca i32, align 4
  %28 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %31 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.NOMAD_4_3::Double", align 8
  %34 = alloca %"class.NOMAD_4_3::Double", align 8
  %35 = alloca i1, align 1
  %36 = alloca i1, align 1
  %37 = alloca i64, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.std::vector", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca i32, align 4
  %43 = alloca i8, align 1
  %44 = alloca %"struct.std::_List_iterator", align 8
  %45 = alloca %"struct.std::_List_iterator", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"struct.std::_List_const_iterator", align 8
  %48 = alloca %"struct.std::_List_iterator", align 8
  %49 = alloca %"struct.std::_List_iterator", align 8
  %50 = alloca ptr, align 8
  %51 = alloca %"class.NOMAD_4_3::Double", align 8
  %52 = alloca %"class.NOMAD_4_3::Double", align 8
  %53 = alloca %"struct.std::_List_const_iterator", align 8
  %54 = alloca %"struct.std::_List_iterator", align 8
  %55 = alloca %"struct.std::_List_iterator", align 8
  %56 = alloca %"class.NOMAD_4_3::Double", align 8
  %57 = alloca %"class.NOMAD_4_3::Double", align 8
  %58 = alloca %"struct.std::_List_iterator", align 8
  %59 = alloca %class.anon.68, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !11
  %60 = load ptr, ptr %8, align 8
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store i64 0, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  call void @_ZN9NOMAD_4_38CacheSet15getBbOutputTypeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %16)
  store ptr %16, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %80, %6
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br i1 %69, label %71, label %70

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %82

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %73 = load i32, ptr %72, align 4, !tbaa !15
  store i32 %73, ptr %19, align 4, !tbaa !15
  %74 = load i32, ptr %19, align 4, !tbaa !15
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %79

76:                                               ; preds = %71
  %77 = load i64, ptr %14, align 8, !tbaa !13
  %78 = add i64 %77, 1
  store i64 %78, ptr %14, align 8, !tbaa !13
  br label %79

79:                                               ; preds = %76, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %80

80:                                               ; preds = %79
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %68

82:                                               ; preds = %70
  %83 = load i32, ptr %13, align 4, !tbaa !11
  %84 = icmp eq i32 %83, 1
  br i1 %84, label %97, label %85

85:                                               ; preds = %82
  %86 = load i32, ptr %13, align 4, !tbaa !11
  %87 = icmp eq i32 %86, 3
  br i1 %87, label %97, label %88

88:                                               ; preds = %85
  %89 = load i32, ptr %13, align 4, !tbaa !11
  %90 = icmp eq i32 %89, 2
  br i1 %90, label %97, label %91

91:                                               ; preds = %88
  %92 = load i32, ptr %13, align 4, !tbaa !11
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %130

94:                                               ; preds = %91
  %95 = load i64, ptr %14, align 8, !tbaa !13
  %96 = icmp eq i64 %95, 1
  br i1 %96, label %97, label %130

97:                                               ; preds = %94, %88, %85, %82
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = load ptr, ptr %11, align 8, !tbaa !5
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = load i32, ptr %13, align 4, !tbaa !11
  %102 = load ptr, ptr %60, align 8, !tbaa !17
  %103 = getelementptr inbounds ptr, ptr %102, i64 13
  %104 = load ptr, ptr %103, align 8
  %105 = invoke noundef i64 %104(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(17) %98, ptr noundef nonnull align 8 dereferenceable(24) %99, i32 noundef %100, i32 noundef %101, ptr noundef null)
          to label %106 unwind label %126

106:                                              ; preds = %97
  %107 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %23, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  %109 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %24, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  %112 = invoke ptr @_ZSt13back_inserterINSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS3_EEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %113 unwind label %126

113:                                              ; preds = %106
  %114 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %25, i32 0, i32 0
  store ptr %112, ptr %114, align 8
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %23, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %24, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %25, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  %121 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_39EvalPointESt6vectorIS3_SaIS3_EEEESt20back_insert_iteratorINSt7__cxx114listIS3_S6_EEEET0_T_SF_SE_(ptr %116, ptr %118, ptr %120)
          to label %122 unwind label %126

122:                                              ; preds = %113
  %123 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %26, i32 0, i32 0
  store ptr %121, ptr %123, align 8
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %124) #8
  store i64 %125, ptr %7, align 8
  store i32 1, ptr %27, align 4
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br label %396

126:                                              ; preds = %113, %106, %97
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %21, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %22, align 4
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br label %398

130:                                              ; preds = %94, %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  call void @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %131 = getelementptr inbounds %"class.NOMAD_4_3::CacheSet", ptr %60, i32 0, i32 1
  %132 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %131) #8
  %133 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 8 %29, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %134

134:                                              ; preds = %383, %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %135 = getelementptr inbounds %"class.NOMAD_4_3::CacheSet", ptr %60, i32 0, i32 1
  %136 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %135) #8
  %137 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %30, i32 0, i32 0
  store ptr %136, ptr %137, align 8
  %138 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br i1 %138, label %139, label %389

139:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 160, ptr %31) #8
  %140 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160) %31, ptr noundef nonnull align 8 dereferenceable(160) %140)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %31, i32 noundef %141)
          to label %143 unwind label %152

143:                                              ; preds = %139
  store ptr %142, ptr %32, align 8, !tbaa !5
  %144 = load ptr, ptr %32, align 8, !tbaa !5
  %145 = icmp eq ptr null, %144
  br i1 %145, label %151, label %146

146:                                              ; preds = %143
  %147 = load ptr, ptr %32, align 8, !tbaa !5
  %148 = invoke noundef i32 @_ZNK9NOMAD_4_34Eval13getEvalStatusEv(ptr noundef nonnull align 8 dereferenceable(105) %147)
          to label %149 unwind label %152

149:                                              ; preds = %146
  %150 = icmp ne i32 4, %148
  br i1 %150, label %151, label %156

151:                                              ; preds = %149, %143
  store i32 6, ptr %27, align 4
  br label %380

152:                                              ; preds = %156, %146, %139
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %21, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %22, align 4
  br label %388

156:                                              ; preds = %149
  %157 = load ptr, ptr %32, align 8, !tbaa !5
  %158 = load i32, ptr %13, align 4, !tbaa !11
  %159 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %157, i32 noundef %158)
          to label %160 unwind label %152

160:                                              ; preds = %156
  br i1 %159, label %161, label %162

161:                                              ; preds = %160
  store i32 6, ptr %27, align 4
  br label %380

162:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #8
  %163 = load ptr, ptr %32, align 8, !tbaa !5
  %164 = load i32, ptr %13, align 4, !tbaa !11
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %33, ptr noundef nonnull align 8 dereferenceable(105) %163, i32 noundef %164)
          to label %165 unwind label %185

165:                                              ; preds = %162
  store i1 false, ptr %35, align 1
  store i1 false, ptr %36, align 1
  %166 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %33)
          to label %167 unwind label %189

167:                                              ; preds = %165
  br i1 %166, label %168, label %176

168:                                              ; preds = %167
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %33, ptr noundef nonnull align 8 dereferenceable(17) %169)
          to label %171 unwind label %189

171:                                              ; preds = %168
  br i1 %170, label %176, label %172

172:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #8
  store i1 true, ptr %35, align 1
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %34, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %173 unwind label %193

173:                                              ; preds = %172
  store i1 true, ptr %36, align 1
  %174 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %33, ptr noundef nonnull align 8 dereferenceable(17) %34)
          to label %175 unwind label %197

175:                                              ; preds = %173
  br label %176

176:                                              ; preds = %175, %171, %167
  %177 = phi i1 [ true, %171 ], [ true, %167 ], [ %174, %175 ]
  %178 = load i1, ptr %36, align 1
  br i1 %178, label %179, label %180

179:                                              ; preds = %176
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %34) #8
  br label %180

180:                                              ; preds = %179, %176
  %181 = load i1, ptr %35, align 1
  br i1 %181, label %182, label %183

182:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  br label %183

183:                                              ; preds = %182, %180
  br i1 %177, label %184, label %208

184:                                              ; preds = %183
  store i32 6, ptr %27, align 4
  br label %379

185:                                              ; preds = %162
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %21, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %22, align 4
  br label %387

189:                                              ; preds = %208, %168, %165
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %21, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %22, align 4
  br label %386

193:                                              ; preds = %172
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %21, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %22, align 4
  br label %204

197:                                              ; preds = %173
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %21, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %22, align 4
  %201 = load i1, ptr %36, align 1
  br i1 %201, label %202, label %203

202:                                              ; preds = %197
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %34) #8
  br label %203

203:                                              ; preds = %202, %197
  br label %204

204:                                              ; preds = %203, %193
  %205 = load i1, ptr %35, align 1
  br i1 %205, label %206, label %207

206:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #8
  br label %207

207:                                              ; preds = %206, %204
  br label %386

208:                                              ; preds = %183
  %209 = load ptr, ptr %11, align 8, !tbaa !5
  %210 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %209)
          to label %211 unwind label %189

211:                                              ; preds = %208
  br i1 %210, label %213, label %212

212:                                              ; preds = %211
  store i32 6, ptr %27, align 4
  br label %379

213:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  store i64 0, ptr %37, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #8
  %214 = load ptr, ptr %32, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_34Eval19getBBOutputTypeListEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %39, ptr noundef nonnull align 8 dereferenceable(105) %214)
          to label %215 unwind label %225

215:                                              ; preds = %213
  store ptr %39, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %216 = load ptr, ptr %38, align 8, !tbaa !5
  %217 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %216) #8
  %218 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %217, ptr %218, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %219 = load ptr, ptr %38, align 8, !tbaa !5
  %220 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #8
  %221 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %220, ptr %221, align 8
  br label %222

222:                                              ; preds = %238, %215
  %223 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  br i1 %223, label %229, label %224

224:                                              ; preds = %222
  store i32 7, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %240

225:                                              ; preds = %213
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %21, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %385

229:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %230 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  %231 = load i32, ptr %230, align 4, !tbaa !15
  store i32 %231, ptr %42, align 4, !tbaa !15
  %232 = load i32, ptr %42, align 4, !tbaa !15
  %233 = icmp eq i32 %232, 0
  br i1 %233, label %234, label %237

234:                                              ; preds = %229
  %235 = load i64, ptr %37, align 8, !tbaa !13
  %236 = add i64 %235, 1
  store i64 %236, ptr %37, align 8, !tbaa !13
  br label %237

237:                                              ; preds = %234, %229
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %238

238:                                              ; preds = %237
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  br label %222

240:                                              ; preds = %224
  %241 = load i64, ptr %37, align 8, !tbaa !13
  %242 = load i64, ptr %14, align 8, !tbaa !13
  %243 = icmp ne i64 %241, %242
  br i1 %243, label %244, label %245

244:                                              ; preds = %240
  store i32 6, ptr %27, align 4
  br label %378

245:                                              ; preds = %240
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  %247 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %246) #8
  %248 = icmp eq i64 %247, 0
  br i1 %248, label %249, label %256

249:                                              ; preds = %245
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %250, ptr noundef nonnull align 8 dereferenceable(160) %31)
          to label %251 unwind label %252

251:                                              ; preds = %249
  br label %377

252:                                              ; preds = %249
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %21, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %22, align 4
  br label %385

256:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #8
  store i8 1, ptr %43, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %257 = load ptr, ptr %9, align 8, !tbaa !5
  %258 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #8
  %259 = getelementptr inbounds %"struct.std::_List_iterator", ptr %44, i32 0, i32 0
  store ptr %258, ptr %259, align 8
  br label %260

260:                                              ; preds = %363, %361, %256
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %261 = load ptr, ptr %9, align 8, !tbaa !5
  %262 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %261) #8
  %263 = getelementptr inbounds %"struct.std::_List_iterator", ptr %45, i32 0, i32 0
  store ptr %262, ptr %263, align 8
  %264 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br i1 %264, label %265, label %365

265:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %266 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %267 = load i32, ptr %12, align 4, !tbaa !9
  %268 = invoke noundef i32 @_ZNK9NOMAD_4_39EvalPoint6compMOERKS0_NS_8EvalTypeEbNS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %31, ptr noundef nonnull align 8 dereferenceable(160) %266, i32 noundef %267, i1 noundef zeroext true, i32 noundef 0)
          to label %269 unwind label %273

269:                                              ; preds = %265
  store i32 %268, ptr %46, align 4, !tbaa !22
  %270 = load i32, ptr %46, align 4, !tbaa !22
  %271 = icmp eq i32 %270, 2
  br i1 %271, label %272, label %277

272:                                              ; preds = %269
  store i8 0, ptr %43, align 1, !tbaa !20
  store i32 10, ptr %27, align 4
  br label %361

273:                                              ; preds = %265
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %21, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %22, align 4
  br label %364

277:                                              ; preds = %269
  %278 = load i32, ptr %46, align 4, !tbaa !22
  %279 = icmp eq i32 %278, 3
  br i1 %279, label %280, label %288

280:                                              ; preds = %277
  %281 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %282 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 0) #8
  %283 = getelementptr inbounds %"struct.std::_List_iterator", ptr %48, i32 0, i32 0
  store ptr %282, ptr %283, align 8
  call void @_ZNSt20_List_const_iteratorIN9NOMAD_4_39EvalPointEEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  %284 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %47, i32 0, i32 0
  %285 = load ptr, ptr %284, align 8
  %286 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %281, ptr %285) #8
  %287 = getelementptr inbounds %"struct.std::_List_iterator", ptr %49, i32 0, i32 0
  store ptr %286, ptr %287, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  store i32 9, ptr %27, align 4
  br label %361, !llvm.loop !24

288:                                              ; preds = %277
  %289 = load i32, ptr %46, align 4, !tbaa !22
  %290 = icmp eq i32 %289, 0
  br i1 %290, label %291, label %356

291:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %292 = call noundef ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %293 = load i32, ptr %12, align 4, !tbaa !9
  %294 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %292, i32 noundef %293)
          to label %295 unwind label %310

295:                                              ; preds = %291
  store ptr %294, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #8
  %296 = load ptr, ptr %32, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %51, ptr noundef nonnull align 8 dereferenceable(105) %296, i32 noundef 0)
          to label %297 unwind label %314

297:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #8
  %298 = load ptr, ptr %50, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %52, ptr noundef nonnull align 8 dereferenceable(105) %298, i32 noundef 0)
          to label %299 unwind label %318

299:                                              ; preds = %297
  %300 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %51, ptr noundef nonnull align 8 dereferenceable(17) %52)
          to label %301 unwind label %322

301:                                              ; preds = %299
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %52) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #8
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %51) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #8
  br i1 %300, label %302, label %328

302:                                              ; preds = %301
  %303 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  %304 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 0) #8
  %305 = getelementptr inbounds %"struct.std::_List_iterator", ptr %54, i32 0, i32 0
  store ptr %304, ptr %305, align 8
  call void @_ZNSt20_List_const_iteratorIN9NOMAD_4_39EvalPointEEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #8
  %306 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %53, i32 0, i32 0
  %307 = load ptr, ptr %306, align 8
  %308 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %303, ptr %307) #8
  %309 = getelementptr inbounds %"struct.std::_List_iterator", ptr %55, i32 0, i32 0
  store ptr %308, ptr %309, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  store i32 9, ptr %27, align 4
  br label %352, !llvm.loop !24

310:                                              ; preds = %291
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %21, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %22, align 4
  br label %355

314:                                              ; preds = %295
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %21, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %22, align 4
  br label %327

318:                                              ; preds = %297
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %21, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %22, align 4
  br label %326

322:                                              ; preds = %299
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %21, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %22, align 4
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %52) #8
  br label %326

326:                                              ; preds = %322, %318
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #8
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %51) #8
  br label %327

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

328:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 24, ptr %56) #8
  %329 = load ptr, ptr %32, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %56, ptr noundef nonnull align 8 dereferenceable(105) %329, i32 noundef 0)
          to label %330 unwind label %336

330:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 24, ptr %57) #8
  %331 = load ptr, ptr %50, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %57, ptr noundef nonnull align 8 dereferenceable(105) %331, i32 noundef 0)
          to label %332 unwind label %340

332:                                              ; preds = %330
  %333 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %56, ptr noundef nonnull align 8 dereferenceable(17) %57)
          to label %334 unwind label %344

334:                                              ; preds = %332
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %57) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #8
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %56) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #8
  br i1 %333, label %335, label %350

335:                                              ; preds = %334
  store i8 0, ptr %43, align 1, !tbaa !20
  store i32 10, ptr %27, align 4
  br label %352

336:                                              ; preds = %328
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %21, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %22, align 4
  br label %349

340:                                              ; preds = %330
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %21, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %22, align 4
  br label %348

344:                                              ; preds = %332
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %21, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %22, align 4
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %57) #8
  br label %348

348:                                              ; preds = %344, %340
  call void @llvm.lifetime.end.p0(i64 24, ptr %57) #8
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %56) #8
  br label %349

349:                                              ; preds = %348, %336
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #8
  br label %355

350:                                              ; preds = %334
  br label %351

351:                                              ; preds = %350
  store i32 0, ptr %27, align 4
  br label %352

352:                                              ; preds = %351, %335, %302
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  %353 = load i32, ptr %27, align 4
  switch i32 %353, label %361 [
    i32 0, label %354
  ]

354:                                              ; preds = %352
  br label %356

355:                                              ; preds = %349, %327, %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %364

356:                                              ; preds = %354, %288
  br label %357

357:                                              ; preds = %356
  br label %358

358:                                              ; preds = %357
  %359 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 0) #8
  %360 = getelementptr inbounds %"struct.std::_List_iterator", ptr %58, i32 0, i32 0
  store ptr %359, ptr %360, align 8
  store i32 0, ptr %27, align 4
  br label %361

361:                                              ; preds = %358, %352, %280, %272
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  %362 = load i32, ptr %27, align 4
  switch i32 %362, label %404 [
    i32 0, label %363
    i32 10, label %365
    i32 9, label %260
  ]

363:                                              ; preds = %361
  br label %260, !llvm.loop !24

364:                                              ; preds = %355, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %376

365:                                              ; preds = %361, %260
  %366 = load i8, ptr %43, align 1, !tbaa !20, !range !26, !noundef !27
  %367 = trunc i8 %366 to i1
  br i1 %367, label %368, label %375

368:                                              ; preds = %365
  %369 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE10push_frontERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %369, ptr noundef nonnull align 8 dereferenceable(160) %31)
          to label %370 unwind label %371

370:                                              ; preds = %368
  br label %375

371:                                              ; preds = %368
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %21, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %22, align 4
  br label %376

375:                                              ; preds = %370, %365
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %377

376:                                              ; preds = %371, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %385

377:                                              ; preds = %375, %251
  store i32 0, ptr %27, align 4
  br label %378

378:                                              ; preds = %377, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %379

379:                                              ; preds = %378, %212, %184
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  br label %380

380:                                              ; preds = %379, %161, %151
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %31) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %31) #8
  %381 = load i32, ptr %27, align 4
  switch i32 %381, label %404 [
    i32 0, label %382
    i32 6, label %383
  ]

382:                                              ; preds = %380
  br label %383

383:                                              ; preds = %382, %380
  %384 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br label %134, !llvm.loop !28

385:                                              ; preds = %376, %252, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %386

386:                                              ; preds = %385, %207, %189
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %33) #8
  br label %387

387:                                              ; preds = %386, %185
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  br label %388

388:                                              ; preds = %387, %152
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %31) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %398

389:                                              ; preds = %134
  %390 = load ptr, ptr %9, align 8, !tbaa !5
  %391 = getelementptr inbounds %class.anon.68, ptr %59, i32 0, i32 0
  store ptr %12, ptr %391, align 8, !tbaa !5
  %392 = getelementptr inbounds %class.anon.68, ptr %59, i32 0, i32 0
  %393 = load ptr, ptr %392, align 8
  call void @"_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sortIZNKS1_8CacheSet11findBestInfERS4_RKNS1_6DoubleERKNS1_5PointENS1_8EvalTypeENS1_11ComputeTypeEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(24) %390, ptr %393)
  %394 = load ptr, ptr %9, align 8, !tbaa !5
  %395 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %394) #8
  store i64 %395, ptr %7, align 8
  store i32 1, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %396

396:                                              ; preds = %389, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %397 = load i64, ptr %7, align 8
  ret i64 %397

398:                                              ; preds = %388, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %399

399:                                              ; preds = %398
  %400 = load ptr, ptr %21, align 8
  %401 = load i32, ptr %22, align 4
  %402 = insertvalue { ptr, i32 } poison, ptr %400, 0
  %403 = insertvalue { ptr, i32 } %402, i32 %401, 1
  resume { ptr, i32 } %403

404:                                              ; preds = %380, %361
  unreachable
}

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sortIZNKS1_8CacheSet11findBestInfERS4_RKNS1_6DoubleERKNS1_5PointENS1_8EvalTypeENS1_11ComputeTypeEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr) #6 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!"_ZTSN9NOMAD_4_38EvalTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN9NOMAD_4_311ComputeTypeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN9NOMAD_4_312BBOutputTypeE", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}
!19 = !{i64 0, i64 8, !5}
!20 = !{!21, !21, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTSN9NOMAD_4_311CompareTypeE", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = distinct !{!28, !25}


; 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.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::BBOutputType, std::allocator<NOMAD_4_3::BBOutputType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.NOMAD_4_3::EvalPoint" = type { %"class.NOMAD_4_3::Point", [3 x %"class.std::unique_ptr.29"], i32, i32, i16, %"class.std::shared_ptr.37", %"class.std::vector.40", %"class.std::shared_ptr.45", %"class.NOMAD_4_3::Double", %"class.std::shared_ptr.48" }
%"class.NOMAD_4_3::Point" = type { %"class.NOMAD_4_3::ArrayOfDouble" }
%"class.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%"class.std::shared_ptr.37" = type { %"class.std::__shared_ptr.38" }
%"class.std::__shared_ptr.38" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.45" = type { %"class.std::__shared_ptr.46" }
%"class.std::__shared_ptr.46" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.48" = type { %"class.std::__shared_ptr.49" }
%"class.std::__shared_ptr.49" = type { ptr, %"class.std::__shared_count" }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }

@_ZN9NOMAD_4_3L3INFE = external hidden constant double, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #2

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

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

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

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

declare noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160), i32 noundef) local_unnamed_addr #3

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

declare void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #3

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

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

declare noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #3

declare void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NOMAD_4_38CacheSet15getBbOutputTypeEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8) local_unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_39EvalPointESt6vectorIS3_SaIS3_EEEESt20back_insert_iteratorINSt7__cxx114listIS3_S6_EEEET0_T_SF_SE_(ptr, ptr, ptr) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9NOMAD_4_34Eval19getBBOutputTypeListEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(105)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

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

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

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

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

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

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

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

declare noundef i32 @_ZNK9NOMAD_4_39EvalPoint6compMOERKS0_NS_8EvalTypeEbNS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(160), i32 noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE10push_frontERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZNK9NOMAD_4_38CacheSet11findBestInfERNSt7__cxx114listINS_9EvalPointESaIS3_EEERKNS_6DoubleERKNS_5PointENS_8EvalTypeENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(17) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %4, i32 noundef %5) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.std::vector.51", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %15 = alloca %"class.NOMAD_4_3::Double", align 8
  %16 = alloca %"class.NOMAD_4_3::Double", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"struct.std::_List_iterator", align 8
  %21 = alloca %"struct.std::_List_iterator", align 8
  %22 = alloca %"struct.std::_List_const_iterator", align 8
  %23 = alloca %"struct.std::_List_iterator", align 8
  %24 = alloca %"class.NOMAD_4_3::Double", align 8
  %25 = alloca %"class.NOMAD_4_3::Double", align 8
  %26 = alloca %"struct.std::_List_const_iterator", align 8
  %27 = alloca %"struct.std::_List_iterator", align 8
  %28 = alloca %"class.NOMAD_4_3::Double", align 8
  %29 = alloca %"class.NOMAD_4_3::Double", align 8
  store i32 %4, ptr %7, align 4, !tbaa !5
  tail call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZN9NOMAD_4_38CacheSet15getBbOutputTypeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %30 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  store ptr %30, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %31 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  store ptr %31, ptr %10, align 8
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %32, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %6
  %.069.lcssa = phi i64 [ 0, %6 ], [ %spec.select, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  %.off = add i32 %5, -1
  %switch120 = icmp ult i32 %.off, 3
  br i1 %switch120, label %42, label %39

.lr.ph:                                           ; preds = %6, %.lr.ph
  %.069133 = phi i64 [ %spec.select, %.lr.ph ], [ 0, %6 ]
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = icmp eq i32 %34, 0
  %36 = zext i1 %35 to i64
  %spec.select = add i64 %.069133, %36
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %38, label %.lr.ph, label %._crit_edge

39:                                               ; preds = %._crit_edge
  %40 = icmp eq i32 %5, 0
  %41 = icmp eq i64 %.069.lcssa, 1
  %or.cond5 = select i1 %40, i1 %41, i1 false
  br i1 %or.cond5, label %42, label %57

42:                                               ; preds = %._crit_edge, %39
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %43 = load ptr, ptr %0, align 8, !tbaa !11
  %44 = getelementptr inbounds i8, ptr %43, i64 104
  %45 = load ptr, ptr %44, align 8
  %46 = invoke noundef i64 %45(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(17) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %4, i32 noundef %5, ptr noundef null)
          to label %47 unwind label %55

47:                                               ; preds = %42
  %48 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %49 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %50 = invoke ptr @_ZSt13back_inserterINSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS3_EEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %51 unwind label %55

51:                                               ; preds = %47
  %52 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_39EvalPointESt6vectorIS3_SaIS3_EEEESt20back_insert_iteratorINSt7__cxx114listIS3_S6_EEEET0_T_SF_SE_(ptr %48, ptr %49, ptr %50)
          to label %53 unwind label %55

53:                                               ; preds = %51
  %54 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %176

55:                                               ; preds = %51, %47, %42
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %177

57:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  call void @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  %58 = getelementptr inbounds i8, ptr %0, i64 80
  %59 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %58) #7
  store ptr %59, ptr %12, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %60 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %58) #7
  store ptr %60, ptr %13, align 8
  %61 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %61, label %.lr.ph140, label %._crit_edge141

.lr.ph140:                                        ; preds = %57, %168
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %14) #7
  %62 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160) %14, ptr noundef nonnull align 8 dereferenceable(160) %62)
  %63 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %14, i32 noundef %4)
          to label %64 unwind label %68

64:                                               ; preds = %.lr.ph140
  %65 = icmp eq ptr %63, null
  br i1 %65, label %168, label %66

66:                                               ; preds = %64
  %67 = call noundef i32 @_ZNK9NOMAD_4_34Eval13getEvalStatusEv(ptr noundef nonnull align 8 dereferenceable(105) %63)
  %.not = icmp eq i32 %67, 4
  br i1 %.not, label %70, label %168

68:                                               ; preds = %70, %.lr.ph140
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %174

70:                                               ; preds = %66
  %71 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %63, i32 noundef %5)
          to label %72 unwind label %68

72:                                               ; preds = %70
  br i1 %71, label %168, label %73

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %15, ptr noundef nonnull align 8 dereferenceable(105) %63, i32 noundef %5)
          to label %74 unwind label %82

74:                                               ; preds = %73
  %75 = call noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %15)
  br i1 %75, label %76, label %.critedge.thread

76:                                               ; preds = %74
  %77 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(17) %2)
          to label %78 unwind label %84

78:                                               ; preds = %76
  br i1 %77, label %.critedge.thread, label %79

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %16, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %80 unwind label %86

80:                                               ; preds = %79
  %81 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(17) %16)
          to label %.critedge unwind label %88

.critedge:                                        ; preds = %80
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br i1 %81, label %.critedge.thread, label %91

82:                                               ; preds = %73
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %173

84:                                               ; preds = %91, %76
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %172

86:                                               ; preds = %79
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %90

88:                                               ; preds = %80
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #7
  br label %90

90:                                               ; preds = %86, %88
  %.pn = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %172

91:                                               ; preds = %.critedge
  %92 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %93 unwind label %84

93:                                               ; preds = %91
  br i1 %92, label %94, label %.critedge.thread

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  invoke void @_ZNK9NOMAD_4_34Eval19getBBOutputTypeListEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(105) %63)
          to label %95 unwind label %99

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %96 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  store ptr %96, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %97 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  store ptr %97, ptr %19, align 8
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br i1 %98, label %.lr.ph136, label %._crit_edge137

._crit_edge137:                                   ; preds = %.lr.ph136, %95
  %.094.lcssa = phi i64 [ 0, %95 ], [ %spec.select118, %.lr.ph136 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  %.not100 = icmp eq i64 %.094.lcssa, %.069.lcssa
  br i1 %.not100, label %107, label %.critedge.thread

99:                                               ; preds = %94
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %172

.lr.ph136:                                        ; preds = %95, %.lr.ph136
  %.094134 = phi i64 [ %spec.select118, %.lr.ph136 ], [ 0, %95 ]
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %102 = load i32, ptr %101, align 4, !tbaa !9
  %103 = icmp eq i32 %102, 0
  %104 = zext i1 %103 to i64
  %spec.select118 = add i64 %.094134, %104
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %106 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br i1 %106, label %.lr.ph136, label %._crit_edge137

107:                                              ; preds = %._crit_edge137
  %108 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %109 = icmp eq i64 %108, 0
  br i1 %109, label %110, label %113

110:                                              ; preds = %107
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(160) %14)
          to label %.critedge.thread unwind label %111

111:                                              ; preds = %110
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %172

113:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %114 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %114, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %115 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %115, ptr %21, align 8
  %116 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br i1 %116, label %.lr.ph145, label %._crit_edge146

.lr.ph145:                                        ; preds = %113, %162
  %117 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %118 = invoke noundef i32 @_ZNK9NOMAD_4_39EvalPoint6compMOERKS0_NS_8EvalTypeEbNS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %14, ptr noundef nonnull align 8 dereferenceable(160) %117, i32 noundef %4, i1 noundef zeroext true, i32 noundef 0)
          to label %119 unwind label %120

119:                                              ; preds = %.lr.ph145
  switch i32 %118, label %160 [
    i32 2, label %.thread131
    i32 3, label %122
    i32 0, label %126
  ]

120:                                              ; preds = %.lr.ph145
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %167

122:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #7
  %123 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0) #7
  store ptr %123, ptr %23, align 8
  call void @_ZNSt20_List_const_iteratorIN9NOMAD_4_39EvalPointEEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  %124 = load ptr, ptr %22, align 8
  %125 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %124) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #7
  br label %162, !llvm.loop !15

126:                                              ; preds = %119
  %127 = call noundef ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %128 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %127, i32 noundef %4)
          to label %129 unwind label %137

129:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #7
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %24, ptr noundef nonnull align 8 dereferenceable(105) %63, i32 noundef 0)
          to label %130 unwind label %139

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #7
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %25, ptr noundef nonnull align 8 dereferenceable(105) %128, i32 noundef 0)
          to label %131 unwind label %141

131:                                              ; preds = %130
  %132 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %24, ptr noundef nonnull align 8 dereferenceable(17) %25)
          to label %133 unwind label %143

133:                                              ; preds = %131
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  br i1 %132, label %.thread122, label %147

.thread122:                                       ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %134 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0) #7
  store ptr %134, ptr %27, align 8
  call void @_ZNSt20_List_const_iteratorIN9NOMAD_4_39EvalPointEEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %135 = load ptr, ptr %26, align 8
  %136 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %135) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %162

137:                                              ; preds = %126
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %167

139:                                              ; preds = %129
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %146

141:                                              ; preds = %130
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %145

143:                                              ; preds = %131
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %25) #7
  br label %145

145:                                              ; preds = %143, %141
  %.pn101 = phi { ptr, i32 } [ %144, %143 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %24) #7
  br label %146

146:                                              ; preds = %145, %139
  %.pn101.pn = phi { ptr, i32 } [ %.pn101, %145 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #7
  br label %167

147:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %28) #7
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %28, ptr noundef nonnull align 8 dereferenceable(105) %63, i32 noundef 0)
          to label %148 unwind label %151

148:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #7
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %29, ptr noundef nonnull align 8 dereferenceable(105) %128, i32 noundef 0)
          to label %149 unwind label %153

149:                                              ; preds = %148
  %150 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %28, ptr noundef nonnull align 8 dereferenceable(17) %29)
          to label %159 unwind label %155

151:                                              ; preds = %147
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %158

153:                                              ; preds = %148
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %157

155:                                              ; preds = %149
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %29) #7
  br label %157

157:                                              ; preds = %155, %153
  %.pn104 = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %28) #7
  br label %158

158:                                              ; preds = %157, %151
  %.pn104.pn = phi { ptr, i32 } [ %.pn104, %157 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  br label %167

159:                                              ; preds = %149
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %28) #7
  br i1 %150, label %.thread131, label %160

160:                                              ; preds = %119, %159
  %161 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0) #7
  br label %162

162:                                              ; preds = %.thread122, %160, %122
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %163 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %163, ptr %21, align 8
  %164 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br i1 %164, label %.lr.ph145, label %._crit_edge146

._crit_edge146:                                   ; preds = %162, %113
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE10push_frontERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(160) %14)
          to label %.thread131 unwind label %165

165:                                              ; preds = %._crit_edge146
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %167

.thread131:                                       ; preds = %159, %119, %._crit_edge146
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %.critedge.thread

167:                                              ; preds = %120, %158, %146, %137, %165
  %.pn109 = phi { ptr, i32 } [ %166, %165 ], [ %121, %120 ], [ %.pn104.pn, %158 ], [ %.pn101.pn, %146 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %172

.critedge.thread:                                 ; preds = %78, %74, %._crit_edge137, %110, %.thread131, %93, %.critedge
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %168

168:                                              ; preds = %72, %64, %66, %.critedge.thread
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %14) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %14) #7
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %170 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %58) #7
  store ptr %170, ptr %13, align 8
  %171 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %171, label %.lr.ph140, label %._crit_edge141, !llvm.loop !17

172:                                              ; preds = %99, %111, %167, %90, %84
  %.pn111.pn = phi { ptr, i32 } [ %85, %84 ], [ %.pn, %90 ], [ %112, %111 ], [ %.pn109, %167 ], [ %100, %99 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #7
  br label %173

173:                                              ; preds = %172, %82
  %.pn111.pn.pn = phi { ptr, i32 } [ %.pn111.pn, %172 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %174

174:                                              ; preds = %173, %68
  %.pn111.pn.pn.pn = phi { ptr, i32 } [ %.pn111.pn.pn, %173 ], [ %69, %68 ]
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %14) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %177

._crit_edge141:                                   ; preds = %168, %57
  call void @"_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sortIZNKS1_8CacheSet11findBestInfERS4_RKNS1_6DoubleERKNS1_5PointENS1_8EvalTypeENS1_11ComputeTypeEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %7)
  %175 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %176

176:                                              ; preds = %._crit_edge141, %53
  %.0 = phi i64 [ %54, %53 ], [ %175, %._crit_edge141 ]
  ret i64 %.0

177:                                              ; preds = %174, %55
  %.pn116 = phi { ptr, i32 } [ %56, %55 ], [ %.pn111.pn.pn.pn, %174 ]
  resume { ptr, i32 } %.pn116
}

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sortIZNKS1_8CacheSet11findBestInfERS4_RKNS1_6DoubleERKNS1_5PointENS1_8EvalTypeENS1_11ComputeTypeEE3$_0EEvT_"(ptr noundef nonnull align 8 dereferenceable(24), ptr) local_unnamed_addr #5 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 #6 = { 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 #7 = { 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 = !{!"_ZTSN9NOMAD_4_38EvalTypeE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN9NOMAD_4_312BBOutputTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; Effective O3 passes: ADCEPass,AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass