; LLVM IR from buresjan/optim_lbm :: nomad/src/Algos/Mads/Mads.ll (ZN9NOMAD_4_34Mads6runImpEv)

; 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::shared_ptr.63" = type { %"class.std::__shared_ptr.64" }
%"class.std::__shared_ptr.64" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.60" = type { %"class.std::__shared_ptr.61" }
%"class.std::__shared_ptr.61" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.107" = type { %"class.std::__shared_ptr.108" }
%"class.std::__shared_ptr.108" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::MadsMegaIteration" = type { %"class.NOMAD_4_3::MegaIteration.base", %"class.std::shared_ptr.63", %"class.std::unique_ptr.69" }
%"class.NOMAD_4_3::MegaIteration.base" = type <{ %"class.NOMAD_4_3::Step.base", [4 x i8], %"class.std::shared_ptr.60", i64, i32 }>
%"class.NOMAD_4_3::Step.base" = type <{ ptr, ptr, i32, [4 x i8], %"class.std::shared_ptr", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", %"class.NOMAD_4_3::SuccessStats", i32 }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::SuccessStats" = type { %"class.std::map", i64, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree.9" }
%"class.std::_Rb_tree.9" = type { %"struct.std::_Rb_tree<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>, std::_Select1st<std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>>, std::less<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>, std::_Select1st<std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>>, std::less<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unique_ptr.69" = type { %"struct.std::__uniq_ptr_data.70" }
%"struct.std::__uniq_ptr_data.70" = type { %"class.std::__uniq_ptr_impl.71" }
%"class.std::__uniq_ptr_impl.71" = type { %"class.std::tuple.72" }
%"class.std::tuple.72" = type { %"struct.std::_Tuple_impl.73" }
%"struct.std::_Tuple_impl.73" = type { %"struct.std::_Head_base.76" }
%"struct.std::_Head_base.76" = type { ptr }
%"class.NOMAD_4_3::Algorithm" = type <{ %"class.NOMAD_4_3::Step.base", i8, [3 x i8], %"class.std::unique_ptr", %"class.std::unique_ptr.16", %"class.std::shared_ptr.24", i8, i8, [6 x i8], %"class.NOMAD_4_3::TrialPointStats", i8, [7 x i8] }>
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.15" }
%"struct.std::_Head_base.15" = type { ptr }
%"class.std::unique_ptr.16" = type { %"struct.std::__uniq_ptr_data.17" }
%"struct.std::__uniq_ptr_data.17" = type { %"class.std::__uniq_ptr_impl.18" }
%"class.std::__uniq_ptr_impl.18" = type { %"class.std::tuple.19" }
%"class.std::tuple.19" = type { %"struct.std::_Tuple_impl.20" }
%"struct.std::_Tuple_impl.20" = type { %"struct.std::_Head_base.23" }
%"struct.std::_Head_base.23" = type { ptr }
%"class.std::shared_ptr.24" = type { %"class.std::__shared_ptr.25" }
%"class.std::__shared_ptr.25" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::TrialPointStats" = type { ptr, %"class.std::vector", %"class.std::map.30", %"class.std::map.30", %"class.std::map.30", %"class.std::map.30", i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<NOMAD_4_3::EvalType, std::allocator<NOMAD_4_3::EvalType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::EvalType, std::allocator<NOMAD_4_3::EvalType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::EvalType, std::allocator<NOMAD_4_3::EvalType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::EvalType, std::allocator<NOMAD_4_3::EvalType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.30" = type { %"class.std::_Rb_tree.31" }
%"class.std::_Rb_tree.31" = type { %"struct.std::_Rb_tree<NOMAD_4_3::EvalType, std::pair<const NOMAD_4_3::EvalType, unsigned long>, std::_Select1st<std::pair<const NOMAD_4_3::EvalType, unsigned long>>, std::less<NOMAD_4_3::EvalType>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::EvalType, std::pair<const NOMAD_4_3::EvalType, unsigned long>, std::_Select1st<std::pair<const NOMAD_4_3::EvalType, unsigned long>>, std::less<NOMAD_4_3::EvalType>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.NOMAD_4_3::Step" = type <{ ptr, ptr, i32, [4 x i8], %"class.std::shared_ptr", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", %"class.NOMAD_4_3::SuccessStats", i32, [4 x i8] }>

@_ZTIN9NOMAD_4_314InitializationE = external constant ptr
@_ZTIN9NOMAD_4_318MadsInitializationE = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN9NOMAD_4_34Step5startEv(ptr noundef nonnull align 8 dereferenceable(140)) #2

declare noundef zeroext i1 @_ZN9NOMAD_4_34Step3runEv(ptr noundef nonnull align 8 dereferenceable(140)) #2

declare void @_ZN9NOMAD_4_34Step3endEv(ptr noundef nonnull align 8 dereferenceable(140)) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NOMAD_4_317MadsMegaIterationC2EPKNS_4StepEmSt10shared_ptrINS_11BarrierBaseEES4_INS_8MeshBaseEENS_11SuccessTypeE(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9NOMAD_4_34Mads6runImpEv(ptr noundef nonnull align 8 dereferenceable(417) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::shared_ptr.63", align 8
  %6 = alloca %"class.std::shared_ptr.60", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::shared_ptr.63", align 8
  %10 = alloca %"class.std::shared_ptr.107", align 8
  %11 = alloca %"class.std::shared_ptr.63", align 8
  %12 = alloca %"class.std::shared_ptr.107", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.NOMAD_4_3::MadsMegaIteration", align 8
  %15 = alloca %"class.std::shared_ptr.60", align 8
  %16 = alloca %"class.std::shared_ptr.63", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %17 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !11
  %18 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 4
  %19 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %20 = load i64, ptr %3, align 8, !tbaa !9
  %21 = load ptr, ptr %19, align 8, !tbaa !13
  %22 = getelementptr inbounds ptr, ptr %21, i64 10
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef zeroext i1 %23(ptr noundef nonnull align 8 dereferenceable(140) %19, i64 noundef %20)
  br i1 %24, label %138, label %25

25:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  call void @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  call void @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  %26 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 5
  %27 = call noundef zeroext i1 @_ZStneIN9NOMAD_4_313MegaIterationEEbDnRKSt10shared_ptrIT_E(ptr null, ptr noundef nonnull align 8 dereferenceable(16) %26) #7
  br i1 %27, label %28, label %60

28:                                               ; preds = %25
  %29 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 5
  %30 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  %31 = invoke noundef i64 @_ZNK9NOMAD_4_313MegaIteration4getKEv(ptr noundef nonnull align 8 dereferenceable(172) %30)
          to label %32 unwind label %52

32:                                               ; preds = %28
  store i64 %31, ptr %3, align 8, !tbaa !9
  %33 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 5
  %34 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  %35 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9NOMAD_4_313MegaIteration10getBarrierEv(ptr noundef nonnull align 8 dereferenceable(172) %34)
          to label %36 unwind label %52

36:                                               ; preds = %32
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %35) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %38 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 5
  call void @_ZSt20dynamic_pointer_castIN9NOMAD_4_317MadsMegaIterationENS0_13MegaIterationEESt10shared_ptrIT_ERKS3_IT0_E(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.107") align 8 %10, ptr noundef nonnull align 8 dereferenceable(16) %38) #7
  %39 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = getelementptr inbounds ptr, ptr %40, i64 10
  %42 = load ptr, ptr %41, align 8
  invoke void %42(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.63") align 8 %9, ptr noundef nonnull align 8 dereferenceable(200) %39)
          to label %43 unwind label %56

43:                                               ; preds = %36
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  %45 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 5
  %46 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  %47 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9NOMAD_4_34Step14getSuccessTypeEv(ptr noundef nonnull align 8 dereferenceable(140) %46)
          to label %48 unwind label %52

48:                                               ; preds = %43
  %49 = load i32, ptr %47, align 4, !tbaa !11
  store i32 %49, ptr %4, align 4, !tbaa !11
  %50 = load i32, ptr %4, align 4, !tbaa !11
  %51 = getelementptr inbounds %"class.NOMAD_4_3::Step", ptr %17, i32 0, i32 8
  store i32 %50, ptr %51, align 8, !tbaa !15
  br label %80

52:                                               ; preds = %69, %43, %32, %28
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  br label %137

56:                                               ; preds = %36
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %7, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %8, align 4
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %137

60:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  %61 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 3
  %62 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_314InitializationESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #7
  %63 = icmp eq ptr %62, null
  br i1 %63, label %66, label %64

64:                                               ; preds = %60
  %65 = call ptr @__dynamic_cast(ptr %62, ptr @_ZTIN9NOMAD_4_314InitializationE, ptr @_ZTIN9NOMAD_4_318MadsInitializationE, i64 0) #7
  br label %67

66:                                               ; preds = %60
  br label %67

67:                                               ; preds = %66, %64
  %68 = phi ptr [ %65, %64 ], [ null, %66 ]
  invoke void @_ZNK9NOMAD_4_318MadsInitialization7getMeshEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.63") align 8 %11, ptr noundef nonnull align 8 dereferenceable(410) %68)
          to label %69 unwind label %76

69:                                               ; preds = %67
  %70 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  %71 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 3
  %72 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_314InitializationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #7
  %73 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9NOMAD_4_314Initialization10getBarrierEv(ptr noundef nonnull align 8 dereferenceable(392) %72)
          to label %74 unwind label %52

74:                                               ; preds = %69
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %73) #7
  br label %80

76:                                               ; preds = %67
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  br label %137

80:                                               ; preds = %74, %48
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr %17, ptr %13, align 8, !tbaa !5
  invoke void @_ZSt11make_sharedIN9NOMAD_4_317MadsMegaIterationEJPNS0_4MadsERmRSt10shared_ptrINS0_11BarrierBaseEERS5_INS0_8MeshBaseEERNS0_11SuccessTypeEEES5_INSt9enable_ifIXntsr8is_arrayIT_EE5valueESF_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.107") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %81 unwind label %114

81:                                               ; preds = %80
  %82 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 5
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_313MegaIterationEEaSINS0_17MadsMegaIterationEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrIS1_LN9__gnu_cxx12_Lock_policyE2EES_IT_EEE5valueERS2_E4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 200, ptr %14) #7
  %84 = load i64, ptr %3, align 8, !tbaa !9
  call void @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  %85 = load i32, ptr %4, align 4, !tbaa !11
  invoke void @_ZN9NOMAD_4_317MadsMegaIterationC2EPKNS_4StepEmSt10shared_ptrINS_11BarrierBaseEES4_INS_8MeshBaseEENS_11SuccessTypeE(ptr noundef nonnull align 8 dereferenceable(200) %14, ptr noundef %17, i64 noundef %84, ptr noundef %15, ptr noundef %16, i32 noundef %85)
          to label %86 unwind label %118

86:                                               ; preds = %81
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %87

87:                                               ; preds = %134, %86
  %88 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 4
  %89 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #7
  %90 = load i64, ptr %3, align 8, !tbaa !9
  %91 = load ptr, ptr %89, align 8, !tbaa !13
  %92 = getelementptr inbounds ptr, ptr %91, i64 10
  %93 = load ptr, ptr %92, align 8
  %94 = invoke noundef zeroext i1 %93(ptr noundef nonnull align 8 dereferenceable(140) %89, i64 noundef %90)
          to label %95 unwind label %122

95:                                               ; preds = %87
  %96 = xor i1 %94, true
  br i1 %96, label %97, label %135

97:                                               ; preds = %95
  invoke void @_ZN9NOMAD_4_34Step5startEv(ptr noundef nonnull align 8 dereferenceable(140) %14)
          to label %98 unwind label %122

98:                                               ; preds = %97
  %99 = invoke noundef zeroext i1 @_ZN9NOMAD_4_34Step3runEv(ptr noundef nonnull align 8 dereferenceable(140) %14)
          to label %100 unwind label %122

100:                                              ; preds = %98
  invoke void @_ZN9NOMAD_4_34Step3endEv(ptr noundef nonnull align 8 dereferenceable(140) %14)
          to label %101 unwind label %122

101:                                              ; preds = %100
  %102 = invoke noundef i64 @_ZNK9NOMAD_4_313MegaIteration4getKEv(ptr noundef nonnull align 8 dereferenceable(172) %14)
          to label %103 unwind label %122

103:                                              ; preds = %101
  store i64 %102, ptr %3, align 8, !tbaa !9
  %104 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 7
  %105 = load i8, ptr %104, align 1, !tbaa !34, !range !61, !noundef !62
  %106 = trunc i8 %105 to i1
  br i1 %106, label %126, label %107

107:                                              ; preds = %103
  %108 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9NOMAD_4_34Step14getSuccessTypeEv(ptr noundef nonnull align 8 dereferenceable(140) %14)
          to label %109 unwind label %122

109:                                              ; preds = %107
  %110 = load i32, ptr %108, align 4, !tbaa !11
  %111 = icmp sge i32 %110, 4
  br i1 %111, label %112, label %126

112:                                              ; preds = %109
  %113 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 7
  store i8 1, ptr %113, align 1, !tbaa !34
  br label %126

114:                                              ; preds = %80
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %7, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  br label %137

118:                                              ; preds = %81
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %7, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %8, align 4
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %136

122:                                              ; preds = %129, %126, %107, %101, %100, %98, %97, %87
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  call void @_ZN9NOMAD_4_317MadsMegaIterationD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %14) #7
  br label %136

126:                                              ; preds = %112, %109, %103
  %127 = invoke noundef zeroext i1 @_ZN9NOMAD_4_34Step16getUserInterruptEv()
          to label %128 unwind label %122

128:                                              ; preds = %126
  br i1 %127, label %129, label %134

129:                                              ; preds = %128
  %130 = load ptr, ptr %17, align 8, !tbaa !13
  %131 = getelementptr inbounds ptr, ptr %130, i64 8
  %132 = load ptr, ptr %131, align 8
  invoke void %132(ptr noundef nonnull align 8 dereferenceable(417) %17)
          to label %133 unwind label %122

133:                                              ; preds = %129
  br label %134

134:                                              ; preds = %133, %128
  br label %87, !llvm.loop !63

135:                                              ; preds = %95
  call void @_ZN9NOMAD_4_317MadsMegaIterationD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %14) #7
  call void @llvm.lifetime.end.p0(i64 200, ptr %14) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  br label %138

136:                                              ; preds = %122, %118
  call void @llvm.lifetime.end.p0(i64 200, ptr %14) #7
  br label %137

137:                                              ; preds = %136, %114, %76, %56, %52
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %149

138:                                              ; preds = %135, %1
  %139 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 4
  %140 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %139) #7
  call void @_ZN9NOMAD_4_34Step5startEv(ptr noundef nonnull align 8 dereferenceable(140) %140)
  %141 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 4
  %142 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %141) #7
  %143 = call noundef zeroext i1 @_ZN9NOMAD_4_34Step3runEv(ptr noundef nonnull align 8 dereferenceable(140) %142)
  %144 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 4
  %145 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %144) #7
  call void @_ZN9NOMAD_4_34Step3endEv(ptr noundef nonnull align 8 dereferenceable(140) %145)
  %146 = getelementptr inbounds %"class.NOMAD_4_3::Algorithm", ptr %17, i32 0, i32 7
  %147 = load i8, ptr %146, align 1, !tbaa !34, !range !61, !noundef !62
  %148 = trunc i8 %147 to i1
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret i1 %148

149:                                              ; preds = %137
  %150 = load ptr, ptr %7, align 8
  %151 = load i32, ptr %8, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK9NOMAD_4_318MadsInitialization7getMeshEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.63") align 8, ptr noundef nonnull align 8 dereferenceable(410)) #1 align 2

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

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

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

declare noundef zeroext i1 @_ZN9NOMAD_4_34Step16getUserInterruptEv() #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind willreturn memory(read) }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN9NOMAD_4_311SuccessTypeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !12, i64 136}
!16 = !{!"_ZTSN9NOMAD_4_34StepE", !6, i64 8, !17, i64 16, !18, i64 24, !21, i64 40, !23, i64 56, !25, i64 72, !12, i64 136}
!17 = !{!"_ZTSN9NOMAD_4_38StepTypeE", !7, i64 0}
!18 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_314AllStopReasonsEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_314AllStopReasonsELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!20 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!21 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_313RunParametersEE", !22, i64 0}
!22 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_313RunParametersELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!23 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_312PbParametersEE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_312PbParametersELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!25 = !{!"_ZTSN9NOMAD_4_312SuccessStatsE", !26, i64 0, !10, i64 48, !10, i64 56}
!26 = !{!"_ZTSSt3mapISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEEmSt4lessIS4_ESaIS0_IKS4_mEEE", !27, i64 0}
!27 = !{!"_ZTSSt8_Rb_treeISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEES0_IKS4_mESt10_Select1stIS6_ESt4lessIS4_ESaIS6_EE", !28, i64 0}
!28 = !{!"_ZTSNSt8_Rb_treeISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEES0_IKS4_mESt10_Select1stIS6_ESt4lessIS4_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !29, i64 0, !31, i64 8}
!29 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt4pairIN9NOMAD_4_38StepTypeENS2_11SuccessTypeEEEE", !30, i64 0}
!30 = !{!"_ZTSSt4lessISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEEE"}
!31 = !{!"_ZTSSt15_Rb_tree_header", !32, i64 0, !10, i64 32}
!32 = !{!"_ZTSSt18_Rb_tree_node_base", !33, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!33 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!34 = !{!35, !36, i64 177}
!35 = !{!"_ZTSN9NOMAD_4_39AlgorithmE", !16, i64 0, !36, i64 140, !37, i64 144, !43, i64 152, !49, i64 160, !36, i64 176, !36, i64 177, !51, i64 184, !36, i64 416}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTSSt10unique_ptrIN9NOMAD_4_314InitializationESt14default_deleteIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt15__uniq_ptr_dataIN9NOMAD_4_314InitializationESt14default_deleteIS1_ELb1ELb1EE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_implIN9NOMAD_4_314InitializationESt14default_deleteIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt5tupleIJPN9NOMAD_4_314InitializationESt14default_deleteIS1_EEE", !41, i64 0}
!41 = !{!"_ZTSSt11_Tuple_implILm0EJPN9NOMAD_4_314InitializationESt14default_deleteIS1_EEE", !42, i64 0}
!42 = !{!"_ZTSSt10_Head_baseILm0EPN9NOMAD_4_314InitializationELb0EE", !6, i64 0}
!43 = !{!"_ZTSSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt15__uniq_ptr_dataIN9NOMAD_4_311TerminationESt14default_deleteIS1_ELb1ELb1EE", !45, i64 0}
!45 = !{!"_ZTSSt15__uniq_ptr_implIN9NOMAD_4_311TerminationESt14default_deleteIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt5tupleIJPN9NOMAD_4_311TerminationESt14default_deleteIS1_EEE", !47, i64 0}
!47 = !{!"_ZTSSt11_Tuple_implILm0EJPN9NOMAD_4_311TerminationESt14default_deleteIS1_EEE", !48, i64 0}
!48 = !{!"_ZTSSt10_Head_baseILm0EPN9NOMAD_4_311TerminationELb0EE", !6, i64 0}
!49 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_313MegaIterationEE", !50, i64 0}
!50 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !20, i64 8}
!51 = !{!"_ZTSN9NOMAD_4_315TrialPointStatsE", !6, i64 0, !52, i64 8, !56, i64 32, !56, i64 80, !56, i64 128, !56, i64 176, !10, i64 224}
!52 = !{!"_ZTSSt6vectorIN9NOMAD_4_38EvalTypeESaIS1_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseIN9NOMAD_4_38EvalTypeESaIS1_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN9NOMAD_4_38EvalTypeESaIS1_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIN9NOMAD_4_38EvalTypeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!56 = !{!"_ZTSSt3mapIN9NOMAD_4_38EvalTypeEmSt4lessIS1_ESaISt4pairIKS1_mEEE", !57, i64 0}
!57 = !{!"_ZTSSt8_Rb_treeIN9NOMAD_4_38EvalTypeESt4pairIKS1_mESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE", !58, i64 0}
!58 = !{!"_ZTSNSt8_Rb_treeIN9NOMAD_4_38EvalTypeESt4pairIKS1_mESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !59, i64 0, !31, i64 8}
!59 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN9NOMAD_4_38EvalTypeEEE", !60, i64 0}
!60 = !{!"_ZTSSt4lessIN9NOMAD_4_38EvalTypeEE"}
!61 = !{i8 0, i8 2}
!62 = !{}
!63 = distinct !{!63, !64}
!64 = !{!"llvm.loop.mustprogress"}


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

%"class.std::shared_ptr.63" = type { %"class.std::__shared_ptr.64" }
%"class.std::__shared_ptr.64" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.60" = type { %"class.std::__shared_ptr.61" }
%"class.std::__shared_ptr.61" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.107" = type { %"class.std::__shared_ptr.108" }
%"class.std::__shared_ptr.108" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::MadsMegaIteration" = type { %"class.NOMAD_4_3::MegaIteration.base", %"class.std::shared_ptr.63", %"class.std::unique_ptr.69" }
%"class.NOMAD_4_3::MegaIteration.base" = type <{ %"class.NOMAD_4_3::Step.base", [4 x i8], %"class.std::shared_ptr.60", i64, i32 }>
%"class.NOMAD_4_3::Step.base" = type <{ ptr, ptr, i32, [4 x i8], %"class.std::shared_ptr", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", %"class.NOMAD_4_3::SuccessStats", i32 }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::SuccessStats" = type { %"class.std::map", i64, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree.9" }
%"class.std::_Rb_tree.9" = type { %"struct.std::_Rb_tree<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>, std::_Select1st<std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>>, std::less<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>, std::_Select1st<std::pair<const std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>, unsigned long>>, std::less<std::pair<NOMAD_4_3::StepType, NOMAD_4_3::SuccessType>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unique_ptr.69" = type { %"struct.std::__uniq_ptr_data.70" }
%"struct.std::__uniq_ptr_data.70" = type { %"class.std::__uniq_ptr_impl.71" }
%"class.std::__uniq_ptr_impl.71" = type { %"class.std::tuple.72" }
%"class.std::tuple.72" = type { %"struct.std::_Tuple_impl.73" }
%"struct.std::_Tuple_impl.73" = type { %"struct.std::_Head_base.76" }
%"struct.std::_Head_base.76" = type { ptr }

@_ZTIN9NOMAD_4_314InitializationE = external constant ptr
@_ZTIN9NOMAD_4_318MadsInitializationE = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

declare void @_ZN9NOMAD_4_34Step5startEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN9NOMAD_4_34Step3runEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #2

declare void @_ZN9NOMAD_4_34Step3endEv(ptr noundef nonnull align 8 dereferenceable(140)) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NOMAD_4_317MadsMegaIterationC2EPKNS_4StepEmSt10shared_ptrINS_11BarrierBaseEES4_INS_8MeshBaseEENS_11SuccessTypeE(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef, i64 noundef, ptr noundef, ptr noundef, i32 noundef) unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN9NOMAD_4_34Mads6runImpEv(ptr noundef nonnull align 8 dereferenceable(417) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::shared_ptr.63", align 8
  %5 = alloca %"class.std::shared_ptr.60", align 8
  %6 = alloca %"class.std::shared_ptr.63", align 8
  %7 = alloca %"class.std::shared_ptr.107", align 8
  %8 = alloca %"class.std::shared_ptr.63", align 8
  %9 = alloca %"class.std::shared_ptr.107", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.NOMAD_4_3::MadsMegaIteration", align 8
  %12 = alloca %"class.std::shared_ptr.60", align 8
  %13 = alloca %"class.std::shared_ptr.63", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  store i64 0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 0, ptr %3, align 4, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %0, i64 152
  %15 = tail call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds i8, ptr %16, i64 80
  %18 = load ptr, ptr %17, align 8
  %19 = tail call noundef zeroext i1 %18(ptr noundef nonnull align 8 dereferenceable(140) %15, i64 noundef 0)
  br i1 %19, label %94, label %20

20:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  %21 = getelementptr inbounds i8, ptr %0, i64 160
  %22 = call noundef zeroext i1 @_ZStneIN9NOMAD_4_313MegaIterationEEbDnRKSt10shared_ptrIT_E(ptr null, ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  br i1 %22, label %23, label %41

23:                                               ; preds = %20
  %24 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  %25 = call noundef i64 @_ZNK9NOMAD_4_313MegaIteration4getKEv(ptr noundef nonnull align 8 dereferenceable(172) %24)
  store i64 %25, ptr %2, align 8, !tbaa !5
  %26 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9NOMAD_4_313MegaIteration10getBarrierEv(ptr noundef nonnull align 8 dereferenceable(172) %26)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  call void @_ZSt20dynamic_pointer_castIN9NOMAD_4_317MadsMegaIterationENS0_13MegaIterationEESt10shared_ptrIT_ERKS3_IT0_E(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.107") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  %29 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = getelementptr inbounds i8, ptr %30, i64 80
  %32 = load ptr, ptr %31, align 8
  invoke void %32(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.63") align 8 %6, ptr noundef nonnull align 8 dereferenceable(200) %29)
          to label %33 unwind label %39

33:                                               ; preds = %23
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  %35 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9NOMAD_4_34Step14getSuccessTypeEv(ptr noundef nonnull align 8 dereferenceable(140) %35)
  %37 = load i32, ptr %36, align 4, !tbaa !9
  store i32 %37, ptr %3, align 4, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %0, i64 136
  store i32 %37, ptr %38, align 8, !tbaa !13
  br label %50

39:                                               ; preds = %23
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %93

41:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %42 = getelementptr inbounds i8, ptr %0, i64 144
  %43 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_314InitializationESt14default_deleteIS1_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  %44 = icmp ne ptr %43, null
  call void @llvm.assume(i1 %44)
  %45 = call ptr @__dynamic_cast(ptr nonnull %43, ptr nonnull @_ZTIN9NOMAD_4_314InitializationE, ptr nonnull @_ZTIN9NOMAD_4_318MadsInitializationE, i64 0) #8
  call void @_ZNK9NOMAD_4_318MadsInitialization7getMeshEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.63") align 8 %8, ptr noundef nonnull align 8 dereferenceable(410) %45)
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  %47 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_314InitializationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9NOMAD_4_314Initialization10getBarrierEv(ptr noundef nonnull align 8 dereferenceable(392) %47)
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %48) #8
  br label %50

50:                                               ; preds = %41, %33
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  store ptr %0, ptr %10, align 8, !tbaa !33
  invoke void @_ZSt11make_sharedIN9NOMAD_4_317MadsMegaIterationEJPNS0_4MadsERmRSt10shared_ptrINS0_11BarrierBaseEERS5_INS0_8MeshBaseEERNS0_11SuccessTypeEEES5_INSt9enable_ifIXntsr8is_arrayIT_EE5valueESF_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.107") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %51 unwind label %78

51:                                               ; preds = %50
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_313MegaIterationEEaSINS0_17MadsMegaIterationEEENSt9enable_ifIXsr13is_assignableIRSt12__shared_ptrIS1_LN9__gnu_cxx12_Lock_policyE2EES_IT_EEE5valueERS2_E4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_317MadsMegaIterationELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 200, ptr nonnull %11) #8
  %53 = load i64, ptr %2, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN9NOMAD_4_311BarrierBaseEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @_ZNSt10shared_ptrIN9NOMAD_4_38MeshBaseEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  %54 = load i32, ptr %3, align 4, !tbaa !9
  invoke void @_ZN9NOMAD_4_317MadsMegaIterationC2EPKNS_4StepEmSt10shared_ptrINS_11BarrierBaseEES4_INS_8MeshBaseEENS_11SuccessTypeE(ptr noundef nonnull align 8 dereferenceable(200) %11, ptr noundef nonnull %0, i64 noundef %53, ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef %54)
          to label %55 unwind label %80

55:                                               ; preds = %51
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  %56 = getelementptr inbounds i8, ptr %0, i64 177
  br label %57

57:                                               ; preds = %.backedge, %55
  %58 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %59 = load i64, ptr %2, align 8, !tbaa !5
  %60 = load ptr, ptr %58, align 8, !tbaa !11
  %61 = getelementptr inbounds i8, ptr %60, i64 80
  %62 = load ptr, ptr %61, align 8
  %63 = invoke noundef zeroext i1 %62(ptr noundef nonnull align 8 dereferenceable(140) %58, i64 noundef %59)
          to label %64 unwind label %82

64:                                               ; preds = %57
  br i1 %63, label %91, label %65

65:                                               ; preds = %64
  invoke void @_ZN9NOMAD_4_34Step5startEv(ptr noundef nonnull align 8 dereferenceable(140) %11)
          to label %66 unwind label %82

66:                                               ; preds = %65
  %67 = invoke noundef zeroext i1 @_ZN9NOMAD_4_34Step3runEv(ptr noundef nonnull align 8 dereferenceable(140) %11)
          to label %68 unwind label %82

68:                                               ; preds = %66
  invoke void @_ZN9NOMAD_4_34Step3endEv(ptr noundef nonnull align 8 dereferenceable(140) %11)
          to label %69 unwind label %82

69:                                               ; preds = %68
  %70 = call noundef i64 @_ZNK9NOMAD_4_313MegaIteration4getKEv(ptr noundef nonnull align 8 dereferenceable(172) %11)
  store i64 %70, ptr %2, align 8, !tbaa !5
  %71 = load i8, ptr %56, align 1, !tbaa !34, !range !61, !noundef !62
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %84, label %73

73:                                               ; preds = %69
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9NOMAD_4_34Step14getSuccessTypeEv(ptr noundef nonnull align 8 dereferenceable(140) %11)
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = icmp sgt i32 %75, 3
  br i1 %76, label %77, label %84

77:                                               ; preds = %73
  store i8 1, ptr %56, align 1, !tbaa !34
  br label %84

78:                                               ; preds = %50
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  br label %93

80:                                               ; preds = %51
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %92

82:                                               ; preds = %87, %84, %68, %66, %65, %57
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_317MadsMegaIterationD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %11) #8
  br label %92

84:                                               ; preds = %77, %73, %69
  %85 = invoke noundef zeroext i1 @_ZN9NOMAD_4_34Step16getUserInterruptEv()
          to label %86 unwind label %82

86:                                               ; preds = %84
  br i1 %85, label %87, label %.backedge

87:                                               ; preds = %86
  %88 = load ptr, ptr %0, align 8, !tbaa !11
  %89 = getelementptr inbounds i8, ptr %88, i64 64
  %90 = load ptr, ptr %89, align 8
  invoke void %90(ptr noundef nonnull align 8 dereferenceable(417) %0)
          to label %.backedge unwind label %82

.backedge:                                        ; preds = %87, %86
  br label %57, !llvm.loop !63

91:                                               ; preds = %64
  call void @_ZN9NOMAD_4_317MadsMegaIterationD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %11) #8
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %11) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %94

92:                                               ; preds = %82, %80
  %.pn = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 200, ptr nonnull %11) #8
  br label %93

93:                                               ; preds = %92, %78, %39
  %.pn.pn = phi { ptr, i32 } [ %.pn, %92 ], [ %79, %78 ], [ %40, %39 ]
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_311BarrierBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_38MeshBaseELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn.pn

94:                                               ; preds = %91, %1
  %95 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @_ZN9NOMAD_4_34Step5startEv(ptr noundef nonnull align 8 dereferenceable(140) %95)
  %96 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %97 = call noundef zeroext i1 @_ZN9NOMAD_4_34Step3runEv(ptr noundef nonnull align 8 dereferenceable(140) %96)
  %98 = call noundef ptr @_ZNKSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @_ZN9NOMAD_4_34Step3endEv(ptr noundef nonnull align 8 dereferenceable(140) %98)
  %99 = getelementptr inbounds i8, ptr %0, i64 177
  %100 = load i8, ptr %99, align 1, !tbaa !34, !range !61, !noundef !62
  %101 = trunc nuw i8 %100 to i1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  ret i1 %101
}

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK9NOMAD_4_318MadsInitialization7getMeshEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.63") align 8, ptr noundef nonnull align 8 dereferenceable(410)) local_unnamed_addr #1 align 2

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

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

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

declare noundef zeroext i1 @_ZN9NOMAD_4_34Step16getUserInterruptEv() local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #7

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN9NOMAD_4_311SuccessTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 136}
!14 = !{!"_ZTSN9NOMAD_4_34StepE", !15, i64 8, !16, i64 16, !17, i64 24, !20, i64 40, !22, i64 56, !24, i64 72, !10, i64 136}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSN9NOMAD_4_38StepTypeE", !7, i64 0}
!17 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_314AllStopReasonsEE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_314AllStopReasonsELN9__gnu_cxx12_Lock_policyE2EE", !15, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !15, i64 0}
!20 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_313RunParametersEE", !21, i64 0}
!21 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_313RunParametersELN9__gnu_cxx12_Lock_policyE2EE", !15, i64 0, !19, i64 8}
!22 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_312PbParametersEE", !23, i64 0}
!23 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_312PbParametersELN9__gnu_cxx12_Lock_policyE2EE", !15, i64 0, !19, i64 8}
!24 = !{!"_ZTSN9NOMAD_4_312SuccessStatsE", !25, i64 0, !6, i64 48, !6, i64 56}
!25 = !{!"_ZTSSt3mapISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEEmSt4lessIS4_ESaIS0_IKS4_mEEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEES0_IKS4_mESt10_Select1stIS6_ESt4lessIS4_ESaIS6_EE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEES0_IKS4_mESt10_Select1stIS6_ESt4lessIS4_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !28, i64 0, !30, i64 8}
!28 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessISt4pairIN9NOMAD_4_38StepTypeENS2_11SuccessTypeEEEE", !29, i64 0}
!29 = !{!"_ZTSSt4lessISt4pairIN9NOMAD_4_38StepTypeENS1_11SuccessTypeEEE"}
!30 = !{!"_ZTSSt15_Rb_tree_header", !31, i64 0, !6, i64 32}
!31 = !{!"_ZTSSt18_Rb_tree_node_base", !32, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!32 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!33 = !{!15, !15, i64 0}
!34 = !{!35, !36, i64 177}
!35 = !{!"_ZTSN9NOMAD_4_39AlgorithmE", !14, i64 0, !36, i64 140, !37, i64 144, !43, i64 152, !49, i64 160, !36, i64 176, !36, i64 177, !51, i64 184, !36, i64 416}
!36 = !{!"bool", !7, i64 0}
!37 = !{!"_ZTSSt10unique_ptrIN9NOMAD_4_314InitializationESt14default_deleteIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt15__uniq_ptr_dataIN9NOMAD_4_314InitializationESt14default_deleteIS1_ELb1ELb1EE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_implIN9NOMAD_4_314InitializationESt14default_deleteIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt5tupleIJPN9NOMAD_4_314InitializationESt14default_deleteIS1_EEE", !41, i64 0}
!41 = !{!"_ZTSSt11_Tuple_implILm0EJPN9NOMAD_4_314InitializationESt14default_deleteIS1_EEE", !42, i64 0}
!42 = !{!"_ZTSSt10_Head_baseILm0EPN9NOMAD_4_314InitializationELb0EE", !15, i64 0}
!43 = !{!"_ZTSSt10unique_ptrIN9NOMAD_4_311TerminationESt14default_deleteIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt15__uniq_ptr_dataIN9NOMAD_4_311TerminationESt14default_deleteIS1_ELb1ELb1EE", !45, i64 0}
!45 = !{!"_ZTSSt15__uniq_ptr_implIN9NOMAD_4_311TerminationESt14default_deleteIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt5tupleIJPN9NOMAD_4_311TerminationESt14default_deleteIS1_EEE", !47, i64 0}
!47 = !{!"_ZTSSt11_Tuple_implILm0EJPN9NOMAD_4_311TerminationESt14default_deleteIS1_EEE", !48, i64 0}
!48 = !{!"_ZTSSt10_Head_baseILm0EPN9NOMAD_4_311TerminationELb0EE", !15, i64 0}
!49 = !{!"_ZTSSt10shared_ptrIN9NOMAD_4_313MegaIterationEE", !50, i64 0}
!50 = !{!"_ZTSSt12__shared_ptrIN9NOMAD_4_313MegaIterationELN9__gnu_cxx12_Lock_policyE2EE", !15, i64 0, !19, i64 8}
!51 = !{!"_ZTSN9NOMAD_4_315TrialPointStatsE", !15, i64 0, !52, i64 8, !56, i64 32, !56, i64 80, !56, i64 128, !56, i64 176, !6, i64 224}
!52 = !{!"_ZTSSt6vectorIN9NOMAD_4_38EvalTypeESaIS1_EE", !53, i64 0}
!53 = !{!"_ZTSSt12_Vector_baseIN9NOMAD_4_38EvalTypeESaIS1_EE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN9NOMAD_4_38EvalTypeESaIS1_EE12_Vector_implE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIN9NOMAD_4_38EvalTypeESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!56 = !{!"_ZTSSt3mapIN9NOMAD_4_38EvalTypeEmSt4lessIS1_ESaISt4pairIKS1_mEEE", !57, i64 0}
!57 = !{!"_ZTSSt8_Rb_treeIN9NOMAD_4_38EvalTypeESt4pairIKS1_mESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE", !58, i64 0}
!58 = !{!"_ZTSNSt8_Rb_treeIN9NOMAD_4_38EvalTypeESt4pairIKS1_mESt10_Select1stIS4_ESt4lessIS1_ESaIS4_EE13_Rb_tree_implIS8_Lb1EEE", !59, i64 0, !30, i64 8}
!59 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN9NOMAD_4_38EvalTypeEEE", !60, i64 0}
!60 = !{!"_ZTSSt4lessIN9NOMAD_4_38EvalTypeEE"}
!61 = !{i8 0, i8 2}
!62 = !{}
!63 = distinct !{!63, !64}
!64 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass