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

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 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_38CacheSet13findFilterInfERNSt7__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 %"struct.std::_List_iterator", 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
  %51 = load ptr, ptr %8, align 8
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #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
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  %54 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %56 = load ptr, ptr %15, align 8, !tbaa !5
  %57 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  br label %59

59:                                               ; preds = %71, %6
  %60 = 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 %60, label %62, label %61

61:                                               ; preds = %59
  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 %73

62:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %63 = 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
  %64 = load i32, ptr %63, align 4, !tbaa !15
  store i32 %64, ptr %19, align 4, !tbaa !15
  %65 = load i32, ptr %19, align 4, !tbaa !15
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %70

67:                                               ; preds = %62
  %68 = load i64, ptr %14, align 8, !tbaa !13
  %69 = add i64 %68, 1
  store i64 %69, ptr %14, align 8, !tbaa !13
  br label %70

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

71:                                               ; preds = %70
  %72 = 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 %59

73:                                               ; preds = %61
  %74 = load i32, ptr %13, align 4, !tbaa !11
  %75 = icmp eq i32 %74, 1
  br i1 %75, label %82, label %76

76:                                               ; preds = %73
  %77 = load i32, ptr %13, align 4, !tbaa !11
  %78 = icmp eq i32 %77, 3
  br i1 %78, label %82, label %79

79:                                               ; preds = %76
  %80 = load i32, ptr %13, align 4, !tbaa !11
  %81 = icmp eq i32 %80, 2
  br i1 %81, label %82, label %115

82:                                               ; preds = %79, %76, %73
  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
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %11, align 8, !tbaa !5
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = load i32, ptr %13, align 4, !tbaa !11
  %87 = load ptr, ptr %51, align 8, !tbaa !17
  %88 = getelementptr inbounds ptr, ptr %87, i64 13
  %89 = load ptr, ptr %88, align 8
  %90 = invoke noundef i64 %89(ptr noundef nonnull align 8 dereferenceable(128) %51, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(17) %83, ptr noundef nonnull align 8 dereferenceable(24) %84, i32 noundef %85, i32 noundef %86, ptr noundef null)
          to label %91 unwind label %111

91:                                               ; preds = %82
  %92 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %23, i32 0, i32 0
  store ptr %92, ptr %93, align 8
  %94 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  %95 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %24, i32 0, i32 0
  store ptr %94, ptr %95, align 8
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = invoke ptr @_ZSt13back_inserterINSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS3_EEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(24) %96)
          to label %98 unwind label %111

98:                                               ; preds = %91
  %99 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %25, i32 0, i32 0
  store ptr %97, ptr %99, align 8
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %23, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.66", ptr %24, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %25, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8
  %106 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_39EvalPointESt6vectorIS3_SaIS3_EEEESt20back_insert_iteratorINSt7__cxx114listIS3_S6_EEEET0_T_SF_SE_(ptr %101, ptr %103, ptr %105)
          to label %107 unwind label %111

107:                                              ; preds = %98
  %108 = getelementptr inbounds %"class.std::back_insert_iterator", ptr %26, i32 0, i32 0
  store ptr %106, ptr %108, align 8
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #8
  store i64 %110, 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 %307

111:                                              ; preds = %98, %91, %82
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %21, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, 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 %309

115:                                              ; preds = %79
  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
  %116 = getelementptr inbounds %"class.NOMAD_4_3::CacheSet", ptr %51, i32 0, i32 1
  %117 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %116) #8
  %118 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %117, ptr %118, 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 %119

119:                                              ; preds = %298, %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %120 = getelementptr inbounds %"class.NOMAD_4_3::CacheSet", ptr %51, i32 0, i32 1
  %121 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %120) #8
  %122 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %30, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  %123 = 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 %123, label %124, label %304

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 160, ptr %31) #8
  %125 = 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) %125)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %31, i32 noundef %126)
          to label %128 unwind label %137

128:                                              ; preds = %124
  store ptr %127, ptr %32, align 8, !tbaa !5
  %129 = load ptr, ptr %32, align 8, !tbaa !5
  %130 = icmp eq ptr null, %129
  br i1 %130, label %136, label %131

131:                                              ; preds = %128
  %132 = load ptr, ptr %32, align 8, !tbaa !5
  %133 = invoke noundef i32 @_ZNK9NOMAD_4_34Eval13getEvalStatusEv(ptr noundef nonnull align 8 dereferenceable(105) %132)
          to label %134 unwind label %137

134:                                              ; preds = %131
  %135 = icmp ne i32 4, %133
  br i1 %135, label %136, label %141

136:                                              ; preds = %134, %128
  store i32 6, ptr %27, align 4
  br label %295

137:                                              ; preds = %141, %131, %124
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %21, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %22, align 4
  br label %303

141:                                              ; preds = %134
  %142 = load ptr, ptr %32, align 8, !tbaa !5
  %143 = load i32, ptr %13, align 4, !tbaa !11
  %144 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %142, i32 noundef %143)
          to label %145 unwind label %137

145:                                              ; preds = %141
  br i1 %144, label %146, label %147

146:                                              ; preds = %145
  store i32 6, ptr %27, align 4
  br label %295

147:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #8
  %148 = load ptr, ptr %32, align 8, !tbaa !5
  %149 = 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) %148, i32 noundef %149)
          to label %150 unwind label %170

150:                                              ; preds = %147
  store i1 false, ptr %35, align 1
  store i1 false, ptr %36, align 1
  %151 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %33)
          to label %152 unwind label %174

152:                                              ; preds = %150
  br i1 %151, label %153, label %161

153:                                              ; preds = %152
  %154 = load ptr, ptr %10, align 8, !tbaa !5
  %155 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %33, ptr noundef nonnull align 8 dereferenceable(17) %154)
          to label %156 unwind label %174

156:                                              ; preds = %153
  br i1 %155, label %161, label %157

157:                                              ; preds = %156
  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 %158 unwind label %178

158:                                              ; preds = %157
  store i1 true, ptr %36, align 1
  %159 = 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 %160 unwind label %182

160:                                              ; preds = %158
  br label %161

161:                                              ; preds = %160, %156, %152
  %162 = phi i1 [ true, %156 ], [ true, %152 ], [ %159, %160 ]
  %163 = load i1, ptr %36, align 1
  br i1 %163, label %164, label %165

164:                                              ; preds = %161
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %34) #8
  br label %165

165:                                              ; preds = %164, %161
  %166 = load i1, ptr %35, align 1
  br i1 %166, label %167, label %168

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

168:                                              ; preds = %167, %165
  br i1 %162, label %169, label %193

169:                                              ; preds = %168
  store i32 6, ptr %27, align 4
  br label %294

170:                                              ; preds = %147
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %21, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %22, align 4
  br label %302

174:                                              ; preds = %193, %153, %150
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %21, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %22, align 4
  br label %301

178:                                              ; preds = %157
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %21, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %22, align 4
  br label %189

182:                                              ; preds = %158
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %21, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %22, align 4
  %186 = load i1, ptr %36, align 1
  br i1 %186, label %187, label %188

187:                                              ; preds = %182
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %34) #8
  br label %188

188:                                              ; preds = %187, %182
  br label %189

189:                                              ; preds = %188, %178
  %190 = load i1, ptr %35, align 1
  br i1 %190, label %191, label %192

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

192:                                              ; preds = %191, %189
  br label %301

193:                                              ; preds = %168
  %194 = load ptr, ptr %11, align 8, !tbaa !5
  %195 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %194)
          to label %196 unwind label %174

196:                                              ; preds = %193
  br i1 %195, label %198, label %197

197:                                              ; preds = %196
  store i32 6, ptr %27, align 4
  br label %294

198:                                              ; preds = %196
  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
  %199 = 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) %199)
          to label %200 unwind label %210

200:                                              ; preds = %198
  store ptr %39, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %201 = load ptr, ptr %38, align 8, !tbaa !5
  %202 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %201) #8
  %203 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %202, ptr %203, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %204 = load ptr, ptr %38, align 8, !tbaa !5
  %205 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %204) #8
  %206 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %205, ptr %206, align 8
  br label %207

207:                                              ; preds = %223, %200
  %208 = 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 %208, label %214, label %209

209:                                              ; preds = %207
  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 %225

210:                                              ; preds = %198
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %21, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %300

214:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %215 = 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
  %216 = load i32, ptr %215, align 4, !tbaa !15
  store i32 %216, ptr %42, align 4, !tbaa !15
  %217 = load i32, ptr %42, align 4, !tbaa !15
  %218 = icmp eq i32 %217, 0
  br i1 %218, label %219, label %222

219:                                              ; preds = %214
  %220 = load i64, ptr %37, align 8, !tbaa !13
  %221 = add i64 %220, 1
  store i64 %221, ptr %37, align 8, !tbaa !13
  br label %222

222:                                              ; preds = %219, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %223

223:                                              ; preds = %222
  %224 = 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 %207

225:                                              ; preds = %209
  %226 = load i64, ptr %37, align 8, !tbaa !13
  %227 = load i64, ptr %14, align 8, !tbaa !13
  %228 = icmp ne i64 %226, %227
  br i1 %228, label %229, label %230

229:                                              ; preds = %225
  store i32 6, ptr %27, align 4
  br label %293

230:                                              ; preds = %225
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %231) #8
  %233 = icmp eq i64 %232, 0
  br i1 %233, label %234, label %241

234:                                              ; preds = %230
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %235, ptr noundef nonnull align 8 dereferenceable(160) %31)
          to label %236 unwind label %237

236:                                              ; preds = %234
  br label %292

237:                                              ; preds = %234
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %21, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %22, align 4
  br label %300

241:                                              ; preds = %230
  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
  %242 = load ptr, ptr %9, align 8, !tbaa !5
  %243 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %242) #8
  %244 = getelementptr inbounds %"struct.std::_List_iterator", ptr %44, i32 0, i32 0
  store ptr %243, ptr %244, align 8
  br label %245

245:                                              ; preds = %279, %277, %241
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  %247 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %246) #8
  %248 = getelementptr inbounds %"struct.std::_List_iterator", ptr %45, i32 0, i32 0
  store ptr %247, ptr %248, align 8
  %249 = 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 %249, label %250, label %280

250:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %251 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %252 = load i32, ptr %12, align 4, !tbaa !9
  %253 = invoke noundef i32 @_ZNK9NOMAD_4_39EvalPoint6compMOERKS0_NS_8EvalTypeEbNS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %31, ptr noundef nonnull align 8 dereferenceable(160) %251, i32 noundef %252, i1 noundef zeroext false, i32 noundef 0)
          to label %254 unwind label %258

254:                                              ; preds = %250
  store i32 %253, ptr %46, align 4, !tbaa !22
  %255 = load i32, ptr %46, align 4, !tbaa !22
  %256 = icmp eq i32 %255, 2
  br i1 %256, label %257, label %262

257:                                              ; preds = %254
  store i8 0, ptr %43, align 1, !tbaa !20
  store i32 10, ptr %27, align 4
  br label %277

258:                                              ; preds = %250
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %21, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %291

262:                                              ; preds = %254
  %263 = load i32, ptr %46, align 4, !tbaa !22
  %264 = icmp eq i32 %263, 3
  br i1 %264, label %265, label %273

265:                                              ; preds = %262
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %267 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 0) #8
  %268 = getelementptr inbounds %"struct.std::_List_iterator", ptr %48, i32 0, i32 0
  store ptr %267, ptr %268, 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
  %269 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %47, i32 0, i32 0
  %270 = load ptr, ptr %269, align 8
  %271 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %266, ptr %270) #8
  %272 = getelementptr inbounds %"struct.std::_List_iterator", ptr %49, i32 0, i32 0
  store ptr %271, ptr %272, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  store i32 9, ptr %27, align 4
  br label %277, !llvm.loop !24

273:                                              ; preds = %262
  br label %274

274:                                              ; preds = %273
  %275 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 noundef 0) #8
  %276 = getelementptr inbounds %"struct.std::_List_iterator", ptr %50, i32 0, i32 0
  store ptr %275, ptr %276, align 8
  store i32 0, ptr %27, align 4
  br label %277

277:                                              ; preds = %274, %265, %257
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  %278 = load i32, ptr %27, align 4
  switch i32 %278, label %315 [
    i32 0, label %279
    i32 10, label %280
    i32 9, label %245
  ]

279:                                              ; preds = %277
  br label %245, !llvm.loop !24

280:                                              ; preds = %277, %245
  %281 = load i8, ptr %43, align 1, !tbaa !20, !range !26, !noundef !27
  %282 = trunc i8 %281 to i1
  br i1 %282, label %283, label %290

283:                                              ; preds = %280
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE10push_frontERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %284, ptr noundef nonnull align 8 dereferenceable(160) %31)
          to label %285 unwind label %286

285:                                              ; preds = %283
  br label %290

286:                                              ; preds = %283
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %21, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %22, align 4
  br label %291

290:                                              ; preds = %285, %280
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %292

291:                                              ; preds = %286, %258
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  br label %300

292:                                              ; preds = %290, %236
  store i32 0, ptr %27, align 4
  br label %293

293:                                              ; preds = %292, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %294

294:                                              ; preds = %293, %197, %169
  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 %295

295:                                              ; preds = %294, %146, %136
  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
  %296 = load i32, ptr %27, align 4
  switch i32 %296, label %315 [
    i32 0, label %297
    i32 6, label %298
  ]

297:                                              ; preds = %295
  br label %298

298:                                              ; preds = %297, %295
  %299 = 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 %119, !llvm.loop !28

300:                                              ; preds = %291, %237, %210
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %301

301:                                              ; preds = %300, %192, %174
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %33) #8
  br label %302

302:                                              ; preds = %301, %170
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #8
  br label %303

303:                                              ; preds = %302, %137
  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 %309

304:                                              ; preds = %119
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %305) #8
  store i64 %306, ptr %7, align 8
  store i32 1, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %307

307:                                              ; preds = %304, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %308 = load i64, ptr %7, align 8
  ret i64 %308

309:                                              ; preds = %303, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %310

310:                                              ; preds = %309
  %311 = load ptr, ptr %21, align 8
  %312 = load i32, ptr %22, align 4
  %313 = insertvalue { ptr, i32 } poison, ptr %311, 0
  %314 = insertvalue { ptr, i32 } %313, i32 %312, 1
  resume { ptr, i32 } %314

315:                                              ; preds = %295, %277
  unreachable
}

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

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 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_38CacheSet13findFilterInfERNSt7__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 %"class.std::vector", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.std::vector.51", align 8
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %14 = alloca %"class.NOMAD_4_3::Double", align 8
  %15 = alloca %"class.NOMAD_4_3::Double", 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 %"struct.std::_List_iterator", align 8
  %20 = alloca %"struct.std::_List_iterator", align 8
  %21 = alloca %"struct.std::_List_const_iterator", align 8
  %22 = alloca %"struct.std::_List_iterator", align 8
  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 %7) #7
  call void @_ZN9NOMAD_4_38CacheSet15getBbOutputTypeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %23 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  store ptr %23, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %24 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  store ptr %24, ptr %9, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %25, label %.lr.ph, label %._crit_edge

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

.lr.ph:                                           ; preds = %6, %.lr.ph
  %.058100 = phi i64 [ %spec.select, %.lr.ph ], [ 0, %6 ]
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = icmp eq i32 %27, 0
  %29 = zext i1 %28 to i64
  %spec.select = add i64 %.058100, %29
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN9NOMAD_4_312BBOutputTypeESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %31, label %.lr.ph, label %._crit_edge

32:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %33 = load ptr, ptr %0, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %33, i64 104
  %35 = load ptr, ptr %34, align 8
  %36 = invoke noundef i64 %35(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(24) %10, 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 %37 unwind label %45

37:                                               ; preds = %32
  %38 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %39 = call ptr @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %40 = invoke ptr @_ZSt13back_inserterINSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS3_EEEESt20back_insert_iteratorIT_ERS7_(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %41 unwind label %45

41:                                               ; preds = %37
  %42 = invoke ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPN9NOMAD_4_39EvalPointESt6vectorIS3_SaIS3_EEEESt20back_insert_iteratorINSt7__cxx114listIS3_S6_EEEET0_T_SF_SE_(ptr %38, ptr %39, ptr %40)
          to label %43 unwind label %45

43:                                               ; preds = %41
  %44 = 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) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %132

45:                                               ; preds = %41, %37, %32
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %133

47:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %48 = getelementptr inbounds i8, ptr %0, i64 80
  %49 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %48) #7
  store ptr %49, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %50 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %48) #7
  store ptr %50, ptr %12, align 8
  %51 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br i1 %51, label %.lr.ph110, label %._crit_edge111

.lr.ph110:                                        ; preds = %47, %124
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %13) #7
  %52 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160) %13, ptr noundef nonnull align 8 dereferenceable(160) %52)
  %53 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %13, i32 noundef %4)
          to label %54 unwind label %58

54:                                               ; preds = %.lr.ph110
  %55 = icmp eq ptr %53, null
  br i1 %55, label %124, label %56

56:                                               ; preds = %54
  %57 = call noundef i32 @_ZNK9NOMAD_4_34Eval13getEvalStatusEv(ptr noundef nonnull align 8 dereferenceable(105) %53)
  %.not = icmp eq i32 %57, 4
  br i1 %.not, label %60, label %124

58:                                               ; preds = %60, %.lr.ph110
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %130

60:                                               ; preds = %56
  %61 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %53, i32 noundef %5)
          to label %62 unwind label %58

62:                                               ; preds = %60
  br i1 %61, label %124, label %63

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

64:                                               ; preds = %63
  %65 = call noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %14)
  br i1 %65, label %66, label %.critedge.thread

66:                                               ; preds = %64
  %67 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef nonnull align 8 dereferenceable(17) %2)
          to label %68 unwind label %74

68:                                               ; preds = %66
  br i1 %67, label %.critedge.thread, label %69

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %70 unwind label %76

70:                                               ; preds = %69
  %71 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef nonnull align 8 dereferenceable(17) %15)
          to label %.critedge unwind label %78

.critedge:                                        ; preds = %70
  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 i1 %71, label %.critedge.thread, label %81

72:                                               ; preds = %63
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %129

74:                                               ; preds = %81, %66
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %128

76:                                               ; preds = %69
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %70
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #7
  br label %80

80:                                               ; preds = %76, %78
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %128

81:                                               ; preds = %.critedge
  %82 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %83 unwind label %74

83:                                               ; preds = %81
  br i1 %82, label %84, label %.critedge.thread

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  invoke void @_ZNK9NOMAD_4_34Eval19getBBOutputTypeListEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %16, ptr noundef nonnull align 8 dereferenceable(105) %53)
          to label %85 unwind label %89

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  %86 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  store ptr %86, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %87 = call ptr @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  store ptr %87, ptr %18, align 8
  %88 = 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) #7
  br i1 %88, label %.lr.ph103, label %._crit_edge104

._crit_edge104:                                   ; preds = %.lr.ph103, %85
  %.072.lcssa = phi i64 [ 0, %85 ], [ %spec.select90, %.lr.ph103 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @_ZNSt6vectorIN9NOMAD_4_312BBOutputTypeESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  %.not80 = icmp eq i64 %.072.lcssa, %.058.lcssa
  br i1 %.not80, label %97, label %.critedge.thread

89:                                               ; preds = %84
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %128

.lr.ph103:                                        ; preds = %85, %.lr.ph103
  %.072101 = phi i64 [ %spec.select90, %.lr.ph103 ], [ 0, %85 ]
  %91 = 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) #7
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = icmp eq i32 %92, 0
  %94 = zext i1 %93 to i64
  %spec.select90 = add i64 %.072101, %94
  %95 = 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) #7
  %96 = 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) #7
  br i1 %96, label %.lr.ph103, label %._crit_edge104

97:                                               ; preds = %._crit_edge104
  %98 = call noundef i64 @_ZNKSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %99 = icmp eq i64 %98, 0
  br i1 %99, label %100, label %103

100:                                              ; preds = %97
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(160) %13)
          to label %.critedge.thread unwind label %101

101:                                              ; preds = %100
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %128

103:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %104 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %104, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %105 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %105, ptr %20, align 8
  %106 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br i1 %106, label %.lr.ph107, label %._crit_edge108

.lr.ph107:                                        ; preds = %103, %118
  %107 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  %108 = invoke noundef i32 @_ZNK9NOMAD_4_39EvalPoint6compMOERKS0_NS_8EvalTypeEbNS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(160) %13, ptr noundef nonnull align 8 dereferenceable(160) %107, i32 noundef %4, i1 noundef zeroext false, i32 noundef 0)
          to label %109 unwind label %110

109:                                              ; preds = %.lr.ph107
  switch i32 %108, label %116 [
    i32 2, label %.thread98
    i32 3, label %112
  ]

110:                                              ; preds = %.lr.ph107
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %123

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %113 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 0) #7
  store ptr %113, ptr %22, align 8
  call void @_ZNSt20_List_const_iteratorIN9NOMAD_4_39EvalPointEEC2ERKSt14_List_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  %114 = load ptr, ptr %21, align 8
  %115 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5eraseESt20_List_const_iteratorIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %114) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  br label %118, !llvm.loop !13

116:                                              ; preds = %109
  %117 = call ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 0) #7
  br label %118

118:                                              ; preds = %116, %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %119 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %119, ptr %20, align 8
  %120 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br i1 %120, label %.lr.ph107, label %._crit_edge108

._crit_edge108:                                   ; preds = %118, %103
  invoke void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE10push_frontERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(160) %13)
          to label %.thread98 unwind label %121

121:                                              ; preds = %._crit_edge108
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %123

.thread98:                                        ; preds = %109, %._crit_edge108
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %.critedge.thread

123:                                              ; preds = %121, %110
  %.pn81 = phi { ptr, i32 } [ %122, %121 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %128

.critedge.thread:                                 ; preds = %68, %64, %._crit_edge104, %100, %.thread98, %83, %.critedge
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %124

124:                                              ; preds = %62, %54, %56, %.critedge.thread
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %13) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %13) #7
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %126 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %48) #7
  store ptr %126, ptr %12, align 8
  %127 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br i1 %127, label %.lr.ph110, label %._crit_edge111, !llvm.loop !15

128:                                              ; preds = %89, %101, %123, %80, %74
  %.pn83.pn = phi { ptr, i32 } [ %75, %74 ], [ %.pn, %80 ], [ %102, %101 ], [ %.pn81, %123 ], [ %90, %89 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #7
  br label %129

129:                                              ; preds = %128, %72
  %.pn83.pn.pn = phi { ptr, i32 } [ %.pn83.pn, %128 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %130

130:                                              ; preds = %129, %58
  %.pn83.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn, %129 ], [ %59, %58 ]
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %13) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %133

._crit_edge111:                                   ; preds = %124, %47
  %131 = 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 %11) #7
  br label %132

132:                                              ; preds = %._crit_edge111, %43
  %.0 = phi i64 [ %44, %43 ], [ %131, %._crit_edge111 ]
  ret i64 %.0

133:                                              ; preds = %130, %45
  %.pn88 = phi { ptr, i32 } [ %46, %45 ], [ %.pn83.pn.pn.pn, %130 ]
  resume { ptr, i32 } %.pn88
}

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_312BBOutputTypeE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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