; LLVM IR from buresjan/optim_lbm :: nomad/src/Algos/DMultiMads (DMultiMadsBarrier)

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

%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_List_impl" }
%"struct.std::__cxx11::_List_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.std::_List_iterator" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.NOMAD_4_3::EvalPoint" = type { %"class.NOMAD_4_3::Point", [3 x %"class.std::unique_ptr.19"], i32, i32, i16, %"class.std::shared_ptr", %"class.std::vector.27", %"class.std::shared_ptr.32", %"class.NOMAD_4_3::Double", %"class.std::shared_ptr.35" }
%"class.NOMAD_4_3::Point" = type { %"class.NOMAD_4_3::ArrayOfDouble" }
%"class.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.std::unique_ptr.19" = type { %"struct.std::__uniq_ptr_data.20" }
%"struct.std::__uniq_ptr_data.20" = type { %"class.std::__uniq_ptr_impl.21" }
%"class.std::__uniq_ptr_impl.21" = type { %"class.std::tuple.22" }
%"class.std::tuple.22" = type { %"struct.std::_Tuple_impl.23" }
%"struct.std::_Tuple_impl.23" = type { %"struct.std::_Head_base.26" }
%"struct.std::_Head_base.26" = type { ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = 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.32" = type { %"class.std::__shared_ptr.33" }
%"class.std::__shared_ptr.33" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>
%"class.std::shared_ptr.35" = type { %"class.std::__shared_ptr.36" }
%"class.std::__shared_ptr.36" = type { ptr, %"class.std::__shared_count" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.NOMAD_4_3::BarrierBase" = type { ptr, %"class.std::vector", %"class.std::vector", %"class.std::shared_ptr", %"class.std::shared_ptr", %"class.NOMAD_4_3::Double", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::shared_ptr<NOMAD_4_3::EvalPoint>, std::allocator<std::shared_ptr<NOMAD_4_3::EvalPoint>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<NOMAD_4_3::EvalPoint>, std::allocator<std::shared_ptr<NOMAD_4_3::EvalPoint>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<NOMAD_4_3::EvalPoint>, std::allocator<std::shared_ptr<NOMAD_4_3::EvalPoint>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<NOMAD_4_3::EvalPoint>, std::allocator<std::shared_ptr<NOMAD_4_3::EvalPoint>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.NOMAD_4_3::DMultiMadsBarrier" = type { %"class.NOMAD_4_3::BarrierBase", %"class.std::shared_ptr", %"class.std::shared_ptr", %"class.NOMAD_4_3::ArrayOfDouble", %"class.std::vector", i64, %"class.std::vector.9", i64 }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<NOMAD_4_3::BBInputType, std::allocator<NOMAD_4_3::BBInputType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::BBInputType, std::allocator<NOMAD_4_3::BBInputType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::BBInputType, std::allocator<NOMAD_4_3::BBInputType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::BBInputType, std::allocator<NOMAD_4_3::BBInputType>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [101 x i8], align 1
@_ZTIN9NOMAD_4_39ExceptionE = external constant 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NOMAD_4_317DMultiMadsBarrier4initERKNS_5PointENS_8EvalTypeENS_11ComputeTypeEb(ptr noundef nonnull align 8 dereferenceable(240) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::__cxx11::list", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca i1, align 1
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"struct.std::_List_iterator", align 8
  %22 = alloca %"struct.std::_List_iterator", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::shared_ptr", align 8
  %25 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"struct.std::_List_iterator", align 8
  %28 = alloca %"struct.std::_List_iterator", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.NOMAD_4_3::Double", align 8
  %31 = alloca %"class.NOMAD_4_3::Double", align 8
  %32 = alloca %"class.std::shared_ptr", align 8
  %33 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.std::_List_iterator", align 8
  %36 = alloca %"struct.std::_List_iterator", align 8
  %37 = alloca ptr, align 8
  %38 = alloca %"class.std::shared_ptr", align 8
  %39 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %40 = alloca ptr, align 8
  %41 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %43 = alloca ptr, align 8
  %44 = alloca ptr, align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %47 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !11
  %48 = zext i1 %4 to i8
  store i8 %48, ptr %10, align 1, !tbaa !13
  %49 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_313ArrayOfDouble7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(24) %50)
          to label %52 unwind label %58

52:                                               ; preds = %5
  br i1 %51, label %53, label %79

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %54 unwind label %62

54:                                               ; preds = %53
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  store i1 true, ptr %18, align 1
  %55 = call ptr @__cxa_allocate_exception(i64 112) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %56 unwind label %66

56:                                               ; preds = %54
  invoke void @_ZN9NOMAD_4_39ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmS8_(ptr noundef nonnull align 8 dereferenceable(112) %55, ptr noundef nonnull align 8 dereferenceable(32) %16, i64 noundef 66, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %57 unwind label %70

57:                                               ; preds = %56
  store i1 false, ptr %18, align 1
  invoke void @__cxa_throw(ptr %55, ptr @_ZTIN9NOMAD_4_39ExceptionE, ptr @_ZN9NOMAD_4_39ExceptionD2Ev) #8
          to label %318 unwind label %70

58:                                               ; preds = %309, %264, %82, %5
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %12, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %13, align 4
  br label %312

62:                                               ; preds = %53
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %12, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %13, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %78

66:                                               ; preds = %54
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %12, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %13, align 4
  br label %74

70:                                               ; preds = %57, %56
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %12, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %74

74:                                               ; preds = %70, %66
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #7
  %75 = load i1, ptr %18, align 1
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  call void @__cxa_free_exception(ptr %55) #7
  br label %77

77:                                               ; preds = %76, %74
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  br label %78

78:                                               ; preds = %77, %62
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #7
  br label %312

79:                                               ; preds = %52
  %80 = load i8, ptr %10, align 1, !tbaa !13, !range !15, !noundef !16
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %256

82:                                               ; preds = %79
  invoke void @_ZN9NOMAD_4_311BarrierBase10checkCacheEv(ptr noundef nonnull align 8 dereferenceable(120) %49)
          to label %83 unwind label %58

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9NOMAD_4_39CacheBase11getInstanceEv()
          to label %85 unwind label %107

85:                                               ; preds = %83
  %86 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_39CacheBaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #7
  store ptr %86, ptr %19, align 8, !tbaa !5
  %87 = load ptr, ptr %19, align 8, !tbaa !5
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load i32, ptr %8, align 4, !tbaa !9
  %90 = load i32, ptr %9, align 4, !tbaa !11
  %91 = load ptr, ptr %87, align 8, !tbaa !17
  %92 = getelementptr inbounds ptr, ptr %91, i64 17
  %93 = load ptr, ptr %92, align 8
  %94 = invoke noundef i64 %93(ptr noundef nonnull align 8 dereferenceable(73) %87, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %88, i32 noundef %89, i32 noundef %90)
          to label %95 unwind label %107

95:                                               ; preds = %85
  %96 = icmp ugt i64 %94, 0
  br i1 %96, label %97, label %136

97:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store ptr %11, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #7
  %100 = getelementptr inbounds %"struct.std::_List_iterator", ptr %21, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %101 = load ptr, ptr %20, align 8, !tbaa !5
  %102 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #7
  %103 = getelementptr inbounds %"struct.std::_List_iterator", ptr %22, i32 0, i32 0
  store ptr %102, ptr %103, align 8
  br label %104

104:                                              ; preds = %119, %97
  %105 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %105, label %111, label %106

106:                                              ; preds = %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %135

107:                                              ; preds = %207, %136, %85, %83
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %12, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %13, align 4
  br label %255

111:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %112 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  store ptr %112, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr %25) #7
  %113 = load ptr, ptr %23, align 8, !tbaa !5
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::EvalPoint") align 8 %25, ptr noundef nonnull align 8 dereferenceable(160) %113, ptr noundef nonnull align 8 dereferenceable(24) %114)
          to label %115 unwind label %121

115:                                              ; preds = %111
  invoke void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %24, ptr noundef nonnull align 8 dereferenceable(160) %25)
          to label %116 unwind label %125

116:                                              ; preds = %115
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %25) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr %25) #7
  %117 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 1
  invoke void @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %117, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %118 unwind label %130

118:                                              ; preds = %116
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  br label %119

119:                                              ; preds = %118
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br label %104

121:                                              ; preds = %111
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  br label %129

125:                                              ; preds = %115
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %12, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %13, align 4
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %25) #7
  br label %129

129:                                              ; preds = %125, %121
  call void @llvm.lifetime.end.p0(i64 160, ptr %25) #7
  br label %134

130:                                              ; preds = %116
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %12, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %13, align 4
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  br label %134

134:                                              ; preds = %130, %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %255

135:                                              ; preds = %106
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %136

136:                                              ; preds = %135, %95
  %137 = load ptr, ptr %19, align 8, !tbaa !5
  %138 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 5
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = load i32, ptr %8, align 4, !tbaa !9
  %141 = load i32, ptr %9, align 4, !tbaa !11
  %142 = load ptr, ptr %137, align 8, !tbaa !17
  %143 = getelementptr inbounds ptr, ptr %142, i64 18
  %144 = load ptr, ptr %143, align 8
  %145 = invoke noundef i64 %144(ptr noundef nonnull align 8 dereferenceable(73) %137, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(17) %138, ptr noundef nonnull align 8 dereferenceable(24) %139, i32 noundef %140, i32 noundef %141)
          to label %146 unwind label %107

146:                                              ; preds = %136
  %147 = icmp ugt i64 %145, 0
  br i1 %147, label %148, label %207

148:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store ptr %11, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %149 = load ptr, ptr %26, align 8, !tbaa !5
  %150 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #7
  %151 = getelementptr inbounds %"struct.std::_List_iterator", ptr %27, i32 0, i32 0
  store ptr %150, ptr %151, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %152 = load ptr, ptr %26, align 8, !tbaa !5
  %153 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #7
  %154 = getelementptr inbounds %"struct.std::_List_iterator", ptr %28, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  br label %155

155:                                              ; preds = %203, %148
  %156 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %156, label %158, label %157

157:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %206

158:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %159 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  store ptr %159, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #7
  %160 = load ptr, ptr %29, align 8, !tbaa !5
  %161 = load i32, ptr %8, align 4, !tbaa !9
  %162 = load i32, ptr %9, align 4, !tbaa !11
  invoke void @_ZNK9NOMAD_4_39EvalPoint4getHENS_8EvalTypeENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %30, ptr noundef nonnull align 8 dereferenceable(160) %160, i32 noundef %161, i32 noundef %162)
          to label %163 unwind label %174

163:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #7
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %31, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %164 unwind label %178

164:                                              ; preds = %163
  %165 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %30, ptr noundef nonnull align 8 dereferenceable(17) %31)
          to label %166 unwind label %182

166:                                              ; preds = %164
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  br i1 %165, label %167, label %202

167:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr %33) #7
  %168 = load ptr, ptr %29, align 8, !tbaa !5
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::EvalPoint") align 8 %33, ptr noundef nonnull align 8 dereferenceable(160) %168, ptr noundef nonnull align 8 dereferenceable(24) %169)
          to label %170 unwind label %188

170:                                              ; preds = %167
  invoke void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %32, ptr noundef nonnull align 8 dereferenceable(160) %33)
          to label %171 unwind label %192

171:                                              ; preds = %170
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %33) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr %33) #7
  %172 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 2
  invoke void @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %172, ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %173 unwind label %197

173:                                              ; preds = %171
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  br label %202

174:                                              ; preds = %158
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %12, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %13, align 4
  br label %187

178:                                              ; preds = %163
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %12, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %13, align 4
  br label %186

182:                                              ; preds = %164
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %12, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %13, align 4
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %31) #7
  br label %186

186:                                              ; preds = %182, %178
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %30) #7
  br label %187

187:                                              ; preds = %186, %174
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #7
  br label %205

188:                                              ; preds = %167
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %12, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %13, align 4
  br label %196

192:                                              ; preds = %170
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %12, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %13, align 4
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %33) #7
  br label %196

196:                                              ; preds = %192, %188
  call void @llvm.lifetime.end.p0(i64 160, ptr %33) #7
  br label %201

197:                                              ; preds = %171
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %12, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %13, align 4
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #7
  br label %201

201:                                              ; preds = %197, %196
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  br label %205

202:                                              ; preds = %173, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %203

203:                                              ; preds = %202
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br label %155

205:                                              ; preds = %201, %187
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  br label %255

206:                                              ; preds = %157
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %207

207:                                              ; preds = %206, %146
  %208 = load ptr, ptr %19, align 8, !tbaa !5
  %209 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 5
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  %211 = load i32, ptr %8, align 4, !tbaa !9
  %212 = load i32, ptr %9, align 4, !tbaa !11
  %213 = load ptr, ptr %208, align 8, !tbaa !17
  %214 = getelementptr inbounds ptr, ptr %213, i64 19
  %215 = load ptr, ptr %214, align 8
  %216 = invoke noundef i64 %215(ptr noundef nonnull align 8 dereferenceable(73) %208, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(17) %209, ptr noundef nonnull align 8 dereferenceable(24) %210, i32 noundef %211, i32 noundef %212)
          to label %217 unwind label %107

217:                                              ; preds = %207
  %218 = icmp ugt i64 %216, 0
  br i1 %218, label %219, label %254

219:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #7
  store ptr %11, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %220 = load ptr, ptr %34, align 8, !tbaa !5
  %221 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %220) #7
  %222 = getelementptr inbounds %"struct.std::_List_iterator", ptr %35, i32 0, i32 0
  store ptr %221, ptr %222, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %223 = load ptr, ptr %34, align 8, !tbaa !5
  %224 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %223) #7
  %225 = getelementptr inbounds %"struct.std::_List_iterator", ptr %36, i32 0, i32 0
  store ptr %224, ptr %225, align 8
  br label %226

226:                                              ; preds = %237, %219
  %227 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  br i1 %227, label %229, label %228

228:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %253

229:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %230 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  store ptr %230, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr %39) #7
  %231 = load ptr, ptr %37, align 8, !tbaa !5
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::EvalPoint") align 8 %39, ptr noundef nonnull align 8 dereferenceable(160) %231, ptr noundef nonnull align 8 dereferenceable(24) %232)
          to label %233 unwind label %239

233:                                              ; preds = %229
  invoke void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr") align 8 %38, ptr noundef nonnull align 8 dereferenceable(160) %39)
          to label %234 unwind label %243

234:                                              ; preds = %233
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %39) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr %39) #7
  %235 = getelementptr inbounds %"class.NOMAD_4_3::DMultiMadsBarrier", ptr %49, i32 0, i32 4
  invoke void @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %235, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %236 unwind label %248

236:                                              ; preds = %234
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  br label %237

237:                                              ; preds = %236
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br label %226

239:                                              ; preds = %229
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %12, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %13, align 4
  br label %247

243:                                              ; preds = %233
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %12, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %13, align 4
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %39) #7
  br label %247

247:                                              ; preds = %243, %239
  call void @llvm.lifetime.end.p0(i64 160, ptr %39) #7
  br label %252

248:                                              ; preds = %234
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %12, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %13, align 4
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  br label %252

252:                                              ; preds = %248, %247
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #7
  br label %255

253:                                              ; preds = %228
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %254

254:                                              ; preds = %253, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %256

255:                                              ; preds = %252, %205, %134, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %312

256:                                              ; preds = %254, %79
  %257 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 1
  %258 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #7
  %259 = icmp ugt i64 %258, 0
  br i1 %259, label %264, label %260

260:                                              ; preds = %256
  %261 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 2
  %262 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %261) #7
  %263 = icmp ugt i64 %262, 0
  br i1 %263, label %264, label %311

264:                                              ; preds = %260, %256
  invoke void @_ZN9NOMAD_4_311BarrierBase4setNEv(ptr noundef nonnull align 8 dereferenceable(120) %49)
          to label %265 unwind label %58

265:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %266 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 1
  store ptr %266, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %267 = load ptr, ptr %40, align 8, !tbaa !5
  %268 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %267) #7
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %268, ptr %269, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #7
  %270 = load ptr, ptr %40, align 8, !tbaa !5
  %271 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %270) #7
  %272 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %271, ptr %272, align 8
  br label %273

273:                                              ; preds = %281, %265
  %274 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42) #7
  br i1 %274, label %276, label %275

275:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %287

276:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %277 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  store ptr %277, ptr %43, align 8, !tbaa !5
  %278 = load ptr, ptr %43, align 8, !tbaa !5
  %279 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %278) #7
  invoke void @_ZNK9NOMAD_4_317DMultiMadsBarrier19checkMeshParametersERKNS_9EvalPointE(ptr noundef nonnull align 8 dereferenceable(240) %49, ptr noundef nonnull align 8 dereferenceable(160) %279)
          to label %280 unwind label %283

280:                                              ; preds = %276
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  br label %281

281:                                              ; preds = %280
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #7
  br label %273

283:                                              ; preds = %276
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %12, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %312

287:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %288 = getelementptr inbounds %"class.NOMAD_4_3::BarrierBase", ptr %49, i32 0, i32 2
  store ptr %288, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #7
  %289 = load ptr, ptr %44, align 8, !tbaa !5
  %290 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %289) #7
  %291 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %45, i32 0, i32 0
  store ptr %290, ptr %291, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #7
  %292 = load ptr, ptr %44, align 8, !tbaa !5
  %293 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %292) #7
  %294 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %46, i32 0, i32 0
  store ptr %293, ptr %294, align 8
  br label %295

295:                                              ; preds = %303, %287
  %296 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #7
  br i1 %296, label %298, label %297

297:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %309

298:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #7
  %299 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  store ptr %299, ptr %47, align 8, !tbaa !5
  %300 = load ptr, ptr %47, align 8, !tbaa !5
  %301 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %300) #7
  invoke void @_ZNK9NOMAD_4_317DMultiMadsBarrier19checkMeshParametersERKNS_9EvalPointE(ptr noundef nonnull align 8 dereferenceable(240) %49, ptr noundef nonnull align 8 dereferenceable(160) %301)
          to label %302 unwind label %305

302:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  br label %303

303:                                              ; preds = %302
  %304 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #7
  br label %295

305:                                              ; preds = %298
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %12, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %312

309:                                              ; preds = %297
  invoke void @_ZN9NOMAD_4_317DMultiMadsBarrier23updateCurrentIncumbentsEv(ptr noundef nonnull align 8 dereferenceable(240) %49)
          to label %310 unwind label %58

310:                                              ; preds = %309
  br label %311

311:                                              ; preds = %310, %260
  call void @_ZNSt7__cxx1110_List_baseIN9NOMAD_4_39EvalPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  ret void

312:                                              ; preds = %305, %283, %255, %78, %58
  call void @_ZNSt7__cxx1110_List_baseIN9NOMAD_4_39EvalPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  br label %313

313:                                              ; preds = %312
  %314 = load ptr, ptr %12, align 8
  %315 = load i32, ptr %13, align 4
  %316 = insertvalue { ptr, i32 } poison, ptr %314, 0
  %317 = insertvalue { ptr, i32 } %316, i32 %315, 1
  resume { ptr, i32 } %317

318:                                              ; preds = %57
  unreachable
}

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

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

declare ptr @__cxa_allocate_exception(i64)

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

declare void @_ZN9NOMAD_4_311BarrierBase10checkCacheEv(ptr noundef nonnull align 8 dereferenceable(120)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_39CacheBaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(160)) #4

declare void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::EvalPoint") align 8, ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

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

; 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: 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)) #4

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

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

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

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

declare void @_ZN9NOMAD_4_311BarrierBase4setNEv(ptr noundef nonnull align 8 dereferenceable(120)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_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_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

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

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

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

!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 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}


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

%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_List_impl" }
%"struct.std::__cxx11::_List_base<NOMAD_4_3::EvalPoint, std::allocator<NOMAD_4_3::EvalPoint>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.std::_List_iterator" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.NOMAD_4_3::EvalPoint" = type { %"class.NOMAD_4_3::Point", [3 x %"class.std::unique_ptr.19"], i32, i32, i16, %"class.std::shared_ptr", %"class.std::vector.27", %"class.std::shared_ptr.32", %"class.NOMAD_4_3::Double", %"class.std::shared_ptr.35" }
%"class.NOMAD_4_3::Point" = type { %"class.NOMAD_4_3::ArrayOfDouble" }
%"class.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.std::unique_ptr.19" = type { %"struct.std::__uniq_ptr_data.20" }
%"struct.std::__uniq_ptr_data.20" = type { %"class.std::__uniq_ptr_impl.21" }
%"class.std::__uniq_ptr_impl.21" = type { %"class.std::tuple.22" }
%"class.std::tuple.22" = type { %"struct.std::_Tuple_impl.23" }
%"struct.std::_Tuple_impl.23" = type { %"struct.std::_Head_base.26" }
%"struct.std::_Head_base.26" = type { ptr }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = 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.32" = type { %"class.std::__shared_ptr.33" }
%"class.std::__shared_ptr.33" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>
%"class.std::shared_ptr.35" = type { %"class.std::__shared_ptr.36" }
%"class.std::__shared_ptr.36" = type { ptr, %"class.std::__shared_count" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [101 x i8], align 1
@_ZTIN9NOMAD_4_39ExceptionE = external constant 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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NOMAD_4_317DMultiMadsBarrier4initERKNS_5PointENS_8EvalTypeENS_11ComputeTypeEb(ptr noundef nonnull align 8 dereferenceable(240) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::__cxx11::list", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"struct.std::_List_iterator", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %15 = alloca %"struct.std::_List_iterator", align 8
  %16 = alloca %"struct.std::_List_iterator", align 8
  %17 = alloca %"class.NOMAD_4_3::Double", align 8
  %18 = alloca %"class.NOMAD_4_3::Double", align 8
  %19 = alloca %"class.std::shared_ptr", align 8
  %20 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %21 = alloca %"struct.std::_List_iterator", align 8
  %22 = alloca %"struct.std::_List_iterator", align 8
  %23 = alloca %"class.std::shared_ptr", align 8
  %24 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %29 = call noundef zeroext i1 @_ZNK9NOMAD_4_313ArrayOfDouble7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  br i1 %29, label %30, label %45

30:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %31 unwind label %37

31:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  %32 = call ptr @__cxa_allocate_exception(i64 112) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %33 unwind label %.thread

33:                                               ; preds = %31
  invoke void @_ZN9NOMAD_4_39ExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmS8_(ptr noundef nonnull align 8 dereferenceable(112) %32, ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 66, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %34 unwind label %40

34:                                               ; preds = %33
  invoke void @__cxa_throw(ptr nonnull %32, ptr nonnull @_ZTIN9NOMAD_4_39ExceptionE, ptr nonnull @_ZN9NOMAD_4_39ExceptionD2Ev) #8
          to label %177 unwind label %40

35:                                               ; preds = %._crit_edge92, %152, %46
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %176

37:                                               ; preds = %30
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  br label %44

.thread:                                          ; preds = %31
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %42

40:                                               ; preds = %33, %34
  %.051 = phi i1 [ false, %34 ], [ true, %33 ]
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br i1 %.051, label %42, label %43

42:                                               ; preds = %.thread, %40
  %.pn7380 = phi { ptr, i32 } [ %39, %.thread ], [ %41, %40 ]
  call void @__cxa_free_exception(ptr %32) #7
  br label %43

43:                                               ; preds = %42, %40
  %.pn7379 = phi { ptr, i32 } [ %.pn7380, %42 ], [ %41, %40 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #7
  br label %44

44:                                               ; preds = %43, %37
  %.pn73.pn = phi { ptr, i32 } [ %.pn7379, %43 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #7
  br label %176

45:                                               ; preds = %5
  br i1 %4, label %46, label %146

46:                                               ; preds = %45
  invoke void @_ZN9NOMAD_4_311BarrierBase10checkCacheEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %47 unwind label %35

47:                                               ; preds = %46
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9NOMAD_4_39CacheBase11getInstanceEv()
          to label %49 unwind label %61

49:                                               ; preds = %47
  %50 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_39CacheBaseESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %51, i64 136
  %53 = load ptr, ptr %52, align 8
  %54 = invoke noundef i64 %53(ptr noundef nonnull align 8 dereferenceable(73) %50, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, i32 noundef %3)
          to label %55 unwind label %61

55:                                               ; preds = %49
  %.not = icmp eq i64 %54, 0
  br i1 %.not, label %78, label %56

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %57 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %57, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %58 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %58, ptr %12, align 8
  %59 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %59, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %56
  %60 = getelementptr inbounds i8, ptr %0, i64 8
  br label %63

._crit_edge:                                      ; preds = %67, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %78

61:                                               ; preds = %120, %78, %49, %47
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %176

63:                                               ; preds = %.lr.ph, %67
  %64 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %14) #7
  invoke void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::EvalPoint") align 8 %14, ptr noundef nonnull align 8 dereferenceable(160) %64, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %65 unwind label %70

65:                                               ; preds = %63
  invoke void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %13, ptr noundef nonnull align 8 dereferenceable(160) %14)
          to label %66 unwind label %72

66:                                               ; preds = %65
  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
  invoke void @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %67 unwind label %75

67:                                               ; preds = %66
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %69 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %69, label %63, label %._crit_edge

70:                                               ; preds = %63
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %65
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %14) #7
  br label %74

74:                                               ; preds = %72, %70
  %.pn68 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %14) #7
  br label %77

75:                                               ; preds = %66
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #7
  br label %77

77:                                               ; preds = %75, %74
  %.pn70 = phi { ptr, i32 } [ %76, %75 ], [ %.pn68, %74 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %176

78:                                               ; preds = %._crit_edge, %55
  %79 = getelementptr inbounds i8, ptr %0, i64 88
  %80 = load ptr, ptr %50, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 144
  %82 = load ptr, ptr %81, align 8
  %83 = invoke noundef i64 %82(ptr noundef nonnull align 8 dereferenceable(73) %50, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(17) %79, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, i32 noundef %3)
          to label %84 unwind label %61

84:                                               ; preds = %78
  %.not53 = icmp eq i64 %83, 0
  br i1 %.not53, label %120, label %85

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %86 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %86, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  %87 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %87, ptr %16, align 8
  %88 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br i1 %88, label %.lr.ph82, label %._crit_edge83

.lr.ph82:                                         ; preds = %85
  %89 = getelementptr inbounds i8, ptr %0, i64 32
  br label %90

._crit_edge83:                                    ; preds = %116, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %120

90:                                               ; preds = %.lr.ph82, %116
  %91 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  invoke void @_ZNK9NOMAD_4_39EvalPoint4getHENS_8EvalTypeENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %17, ptr noundef nonnull align 8 dereferenceable(160) %91, i32 noundef %2, i32 noundef %3)
          to label %92 unwind label %100

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %18, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %93 unwind label %102

93:                                               ; preds = %92
  %94 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %17, ptr noundef nonnull align 8 dereferenceable(17) %18)
          to label %95 unwind label %104

95:                                               ; preds = %93
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br i1 %94, label %96, label %116

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %20) #7
  invoke void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::EvalPoint") align 8 %20, ptr noundef nonnull align 8 dereferenceable(160) %91, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %97 unwind label %108

97:                                               ; preds = %96
  invoke void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %19, ptr noundef nonnull align 8 dereferenceable(160) %20)
          to label %98 unwind label %110

98:                                               ; preds = %97
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %20) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %20) #7
  invoke void @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %99 unwind label %113

99:                                               ; preds = %98
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  br label %116

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

102:                                              ; preds = %92
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %93
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18) #7
  br label %106

106:                                              ; preds = %104, %102
  %.pn60 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #7
  br label %107

107:                                              ; preds = %106, %100
  %.pn60.pn = phi { ptr, i32 } [ %.pn60, %106 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %119

108:                                              ; preds = %96
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %97
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %20) #7
  br label %112

112:                                              ; preds = %110, %108
  %.pn63 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %20) #7
  br label %115

113:                                              ; preds = %98
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #7
  br label %115

115:                                              ; preds = %113, %112
  %.pn65 = phi { ptr, i32 } [ %114, %113 ], [ %.pn63, %112 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  br label %119

116:                                              ; preds = %99, %95
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %118 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  br i1 %118, label %90, label %._crit_edge83

119:                                              ; preds = %115, %107
  %.pn65.pn = phi { ptr, i32 } [ %.pn65, %115 ], [ %.pn60.pn, %107 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %176

120:                                              ; preds = %._crit_edge83, %84
  %121 = load ptr, ptr %50, align 8, !tbaa !5
  %122 = getelementptr inbounds i8, ptr %121, i64 152
  %123 = load ptr, ptr %122, align 8
  %124 = invoke noundef i64 %123(ptr noundef nonnull align 8 dereferenceable(73) %50, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(17) %79, ptr noundef nonnull align 8 dereferenceable(24) %1, i32 noundef %2, i32 noundef %3)
          to label %125 unwind label %61

125:                                              ; preds = %120
  %.not54 = icmp eq i64 %124, 0
  br i1 %.not54, label %146, label %126

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %127 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %127, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %128 = call ptr @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  store ptr %128, ptr %22, align 8
  %129 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %129, label %.lr.ph85, label %._crit_edge86

.lr.ph85:                                         ; preds = %126
  %130 = getelementptr inbounds i8, ptr %0, i64 176
  br label %131

._crit_edge86:                                    ; preds = %135, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @_ZNSt7__cxx114listIN9NOMAD_4_39EvalPointESaIS2_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %146

131:                                              ; preds = %.lr.ph85, %135
  %132 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt14_List_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %24) #7
  invoke void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::EvalPoint") align 8 %24, ptr noundef nonnull align 8 dereferenceable(160) %132, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %133 unwind label %138

133:                                              ; preds = %131
  invoke void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr") align 8 %23, ptr noundef nonnull align 8 dereferenceable(160) %24)
          to label %134 unwind label %140

134:                                              ; preds = %133
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %24) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %24) #7
  invoke void @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE9push_backERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %130, ptr noundef nonnull align 8 dereferenceable(16) %23)
          to label %135 unwind label %143

135:                                              ; preds = %134
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  %137 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br i1 %137, label %131, label %._crit_edge86

138:                                              ; preds = %131
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %142

140:                                              ; preds = %133
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %24) #7
  br label %142

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

143:                                              ; preds = %134
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #7
  br label %145

145:                                              ; preds = %143, %142
  %.pn58 = phi { ptr, i32 } [ %144, %143 ], [ %.pn, %142 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  br label %176

146:                                              ; preds = %125, %._crit_edge86, %45
  %147 = getelementptr inbounds i8, ptr %0, i64 8
  %148 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #7
  %.not55 = icmp eq i64 %148, 0
  br i1 %.not55, label %149, label %152

149:                                              ; preds = %146
  %150 = getelementptr inbounds i8, ptr %0, i64 32
  %151 = call noundef i64 @_ZNKSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %150) #7
  %.not56 = icmp eq i64 %151, 0
  br i1 %.not56, label %175, label %152

152:                                              ; preds = %149, %146
  invoke void @_ZN9NOMAD_4_311BarrierBase4setNEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %153 unwind label %35

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %154 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #7
  store ptr %154, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %155 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #7
  store ptr %155, ptr %26, align 8
  %156 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %156, label %.lr.ph88, label %._crit_edge89

._crit_edge89:                                    ; preds = %163, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  %157 = getelementptr inbounds i8, ptr %0, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %158 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #7
  store ptr %158, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %159 = call ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #7
  store ptr %159, ptr %28, align 8
  %160 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %160, label %.lr.ph91, label %._crit_edge92

.lr.ph88:                                         ; preds = %153, %163
  %161 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %162 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %161) #7
  invoke void @_ZNK9NOMAD_4_317DMultiMadsBarrier19checkMeshParametersERKNS_9EvalPointE(ptr noundef nonnull align 8 dereferenceable(240) %0, ptr noundef nonnull align 8 dereferenceable(160) %162)
          to label %163 unwind label %166

163:                                              ; preds = %.lr.ph88
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %165 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %165, label %.lr.ph88, label %._crit_edge89

166:                                              ; preds = %.lr.ph88
  %167 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %176

._crit_edge92:                                    ; preds = %170, %._crit_edge89
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  invoke void @_ZN9NOMAD_4_317DMultiMadsBarrier23updateCurrentIncumbentsEv(ptr noundef nonnull align 8 dereferenceable(240) %0)
          to label %175 unwind label %35

.lr.ph91:                                         ; preds = %._crit_edge89, %170
  %168 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %169 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %168) #7
  invoke void @_ZNK9NOMAD_4_317DMultiMadsBarrier19checkMeshParametersERKNS_9EvalPointE(ptr noundef nonnull align 8 dereferenceable(240) %0, ptr noundef nonnull align 8 dereferenceable(160) %169)
          to label %170 unwind label %173

170:                                              ; preds = %.lr.ph91
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %172 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %172, label %.lr.ph91, label %._crit_edge92

173:                                              ; preds = %.lr.ph91
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %176

175:                                              ; preds = %._crit_edge92, %149
  call void @_ZNSt7__cxx1110_List_baseIN9NOMAD_4_39EvalPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  ret void

176:                                              ; preds = %61, %77, %119, %145, %173, %166, %44, %35
  %.pn73.pn.pn = phi { ptr, i32 } [ %.pn73.pn, %44 ], [ %167, %166 ], [ %174, %173 ], [ %36, %35 ], [ %.pn70, %77 ], [ %.pn65.pn, %119 ], [ %.pn58, %145 ], [ %62, %61 ]
  call void @_ZNSt7__cxx1110_List_baseIN9NOMAD_4_39EvalPointESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  resume { ptr, i32 } %.pn73.pn.pn

177:                                              ; preds = %34
  unreachable
}

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

declare void @_ZN9NOMAD_4_311BarrierBase10checkCacheEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_39CacheBaseESt14default_deleteIS1_EE3getEv(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_EE5beginEv(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_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_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 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN9NOMAD_4_39EvalPointEJS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES4_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #4

declare void @_ZNK9NOMAD_4_39EvalPoint26makeSubSpacePointFromFixedERKNS_5PointE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::EvalPoint") align 8, ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

; 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: 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 @_ZNK9NOMAD_4_39EvalPoint4getHENS_8EvalTypeENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(160), i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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

declare void @_ZN9NOMAD_4_311BarrierBase4setNEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorISt10shared_ptrIN9NOMAD_4_39EvalPointEESaIS3_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_cxxneIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(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 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_39EvalPointELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) 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_iteratorIPSt10shared_ptrIN9NOMAD_4_39EvalPointEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

!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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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