; LLVM IR from optframe/optframe :: src/OptFrameLib (OptFrameLib)

; 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::function.340" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.343 = type { ptr, ptr }
%"class.std::function.344" = type { %"class.std::_Function_base", ptr }
%class.anon.347 = type { ptr, ptr }
%"class.std::function.348" = type { %"class.std::_Function_base", ptr }
%class.anon.351 = type { ptr, ptr }
%"class.std::function.171" = type { %"class.std::_Function_base", ptr }
%class.anon.352 = type { ptr, ptr, %"class.std::function.340", %"class.std::function.344", %"class.std::function.348", %"class.std::function.171" }
%"class.nnptr::NNShared.353" = type { %"class.nnptr::NotNull.354" }
%"class.nnptr::NotNull.354" = type { %"class.std::shared_ptr.355" }
%"class.std::shared_ptr.355" = type { %"class.std::__shared_ptr.356" }
%"class.std::__shared_ptr.356" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::function.361" = type { %"class.std::_Function_base", ptr }
%"class.nnptr::NNShared.266" = type { %"class.nnptr::NotNull.267" }
%"class.nnptr::NotNull.267" = type { %"class.std::shared_ptr.115" }
%"class.std::shared_ptr.115" = type { %"class.std::__shared_ptr.116" }
%"class.std::__shared_ptr.116" = type { ptr, %"class.std::__shared_count" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%class.FCoreApi1Engine = type { %"class.std::map", i32, i32, %"class.optframe::Loader", %"class.optframe::CheckCommand" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>>>, std::less<std::__cxx11::basic_string<char>>>::_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.optframe::Loader" = type { %"class.optframe::HeuristicFactory", %"class.std::map", %"class.std::map.26" }
%"class.optframe::HeuristicFactory" = type { ptr, i32, %"class.nnptr::NNShared", ptr, %"class.std::map.3", %"class.std::vector", %"class.std::vector.11", %"class.std::vector.16", %"class.std::map.21" }
%"class.nnptr::NNShared" = type { %"class.nnptr::NotNull" }
%"class.nnptr::NotNull" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::map.3" = type { %"class.std::_Rb_tree.4" }
%"class.std::_Rb_tree.4" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<std::shared_ptr<optframe::Component>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<std::shared_ptr<optframe::Component>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<std::shared_ptr<optframe::Component>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<std::shared_ptr<optframe::Component>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::ComponentBuilder<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<optframe::ComponentMultiBuilder<FCoreLibSolution> *, std::allocator<optframe::ComponentMultiBuilder<FCoreLibSolution> *>>::_Vector_impl" }
%"struct.std::_Vector_base<optframe::ComponentMultiBuilder<FCoreLibSolution> *, std::allocator<optframe::ComponentMultiBuilder<FCoreLibSolution> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<optframe::ComponentMultiBuilder<FCoreLibSolution> *, std::allocator<optframe::ComponentMultiBuilder<FCoreLibSolution> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<optframe::ComponentMultiBuilder<FCoreLibSolution> *, std::allocator<optframe::ComponentMultiBuilder<FCoreLibSolution> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.16" = type { %"struct.std::_Vector_base.17" }
%"struct.std::_Vector_base.17" = type { %"struct.std::_Vector_base<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl" }
%"struct.std::_Vector_base<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *, std::allocator<optframe::Action<std::pair<FCoreLibSolution, optframe::Evaluation<>>> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.21" = type { %"class.std::_Rb_tree.22" }
%"class.std::_Rb_tree.22" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<std::vector<std::shared_ptr<optframe::Component>>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<std::vector<std::shared_ptr<optframe::Component>>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<std::vector<std::shared_ptr<optframe::Component>>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<std::vector<std::shared_ptr<optframe::Component>>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.26" = type { %"class.std::_Rb_tree.27" }
%"class.std::_Rb_tree.27" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<std::__cxx11::basic_string<char>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<std::__cxx11::basic_string<char>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<std::__cxx11::basic_string<char>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<std::__cxx11::basic_string<char>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.optframe::CheckCommand" = type <{ %"class.optframe::Component.base", i8, i8, i8, [4 x i8], %"class.std::vector.31", %"class.std::vector.36", %"class.std::vector.41", %"class.std::vector.46", %"class.std::vector.51", %"class.std::vector.56", %"class.std::vector.61", %"class.std::function.66", i8, [7 x i8] }>
%"class.optframe::Component.base" = type <{ ptr, ptr, ptr, i32, i8, i8, i8, i8, i8 }>
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>, std::allocator<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>, std::allocator<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>, std::allocator<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>, std::allocator<std::shared_ptr<optframe::Evaluator<FCoreLibSolution, optframe::Evaluation<>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.36" = type { %"struct.std::_Vector_base.37" }
%"struct.std::_Vector_base.37" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::InitialSearch<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.41" = type { %"struct.std::_Vector_base.42" }
%"struct.std::_Vector_base.42" = type { %"struct.std::_Vector_base<std::shared_ptr<FCoreLibSolution>, std::allocator<std::shared_ptr<FCoreLibSolution>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<FCoreLibSolution>, std::allocator<std::shared_ptr<FCoreLibSolution>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<FCoreLibSolution>, std::allocator<std::shared_ptr<FCoreLibSolution>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<FCoreLibSolution>, std::allocator<std::shared_ptr<FCoreLibSolution>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::Move<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NS<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSSeq<std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>, std::allocator<std::shared_ptr<optframe::NSEnum<std::pair<FCoreLibSolution, optframe::Evaluation<>>, std::pair<FCoreLibSolution, optframe::Evaluation<>>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::function.66" = type { %"class.std::_Function_base", ptr }

@.str.69 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; 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 #4 align 2

; 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 uwtable
declare dso_local noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(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 @_ZNSt8functionIFbPvEEC2IRPFiS0_EvEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local i32 @optframe_api3d_add_ns_xmes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #4 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::function.340", align 8
  %17 = alloca %class.anon.343, align 8
  %18 = alloca %"class.std::function.344", align 8
  %19 = alloca %class.anon.347, align 8
  %20 = alloca %"class.std::function.348", align 8
  %21 = alloca %class.anon.351, align 8
  %22 = alloca %"class.std::function.171", align 8
  %23 = alloca %class.anon.352, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.nnptr::NNShared.353", align 8
  %27 = alloca %"class.std::function.361", align 8
  %28 = alloca i1, align 1
  %29 = alloca %"class.nnptr::NNShared.266", align 8
  %30 = alloca i32, align 4
  %31 = alloca %"class.nnptr::NNShared.266", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %34, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %35 = getelementptr inbounds %class.anon.343, ptr %17, i32 0, i32 0
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %36, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds %class.anon.343, ptr %17, i32 0, i32 1
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %38, ptr %37, align 8, !tbaa !11
  call void @"_ZNSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %39 = getelementptr inbounds %class.anon.347, ptr %19, i32 0, i32 0
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %40, ptr %39, align 8, !tbaa !12
  %41 = getelementptr inbounds %class.anon.347, ptr %19, i32 0, i32 1
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %42, ptr %41, align 8, !tbaa !14
  call void @"_ZNSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %43 = getelementptr inbounds %class.anon.351, ptr %21, i32 0, i32 0
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %44, ptr %43, align 8, !tbaa !15
  %45 = getelementptr inbounds %class.anon.351, ptr %21, i32 0, i32 1
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %46, ptr %45, align 8, !tbaa !17
  call void @"_ZNSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEEC2IZ26optframe_api3d_add_ns_xmesE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  call void @_ZNSt8functionIFbPvEEC2IRPFiS0_EvEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr %23) #6
  %47 = getelementptr inbounds %class.anon.352, ptr %23, i32 0, i32 0
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %48, ptr %47, align 8, !tbaa !18
  %49 = getelementptr inbounds %class.anon.352, ptr %23, i32 0, i32 1
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %50, ptr %49, align 8, !tbaa !25
  %51 = getelementptr inbounds %class.anon.352, ptr %23, i32 0, i32 2
  invoke void @_ZNSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2ERKSB_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %52 unwind label %73

52:                                               ; preds = %7
  %53 = getelementptr inbounds %class.anon.352, ptr %23, i32 0, i32 3
  invoke void @_ZNSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2ERKSC_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %54 unwind label %77

54:                                               ; preds = %52
  %55 = getelementptr inbounds %class.anon.352, ptr %23, i32 0, i32 4
  invoke void @_ZNSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEEC2ERKSE_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %56 unwind label %81

56:                                               ; preds = %54
  %57 = getelementptr inbounds %class.anon.352, ptr %23, i32 0, i32 5
  invoke void @_ZNSt8functionIFbPvEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %58 unwind label %85

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %59 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 104) #7
          to label %60 unwind label %91

60:                                               ; preds = %58
  store i1 true, ptr %28, align 1
  invoke void @"_ZNSt8functionIFSt10unique_ptrIN8optframe4MoveISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EESt14default_deleteIS8_EERKS7_EEC2IRZ26optframe_api3d_add_ns_xmesE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(144) %23)
          to label %61 unwind label %95

61:                                               ; preds = %60
  invoke void @_ZN8optframe3FNSISt4pairI16FCoreLibSolutionNS_15MultiEvaluationIdEEEvEC2ESt8functionIFSt10unique_ptrINS_4MoveIS5_S5_EESt14default_deleteISA_EERKS5_EE(ptr noundef nonnull align 8 dereferenceable(104) %59, ptr noundef %27)
          to label %62 unwind label %99

62:                                               ; preds = %61
  store i1 false, ptr %28, align 1
  invoke void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEEC2EPS8_(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef %59)
          to label %63 unwind label %99

63:                                               ; preds = %62
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  invoke void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind writable sret(%"class.nnptr::NNShared.266") align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %64 unwind label %107

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = getelementptr inbounds %class.FCoreApi1Engine, ptr %65, i32 0, i32 3
  %67 = getelementptr inbounds %"class.optframe::Loader", ptr %66, i32 0, i32 0
  invoke void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %29)
          to label %68 unwind label %111

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.69, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %69 unwind label %115

69:                                               ; preds = %68
  %70 = invoke noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208) %67, ptr noundef %31, ptr noundef %32)
          to label %71 unwind label %119

71:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #6
  store i32 %70, ptr %30, align 4, !tbaa !26
  %72 = load i32, ptr %30, align 4, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @"_ZZ26optframe_api3d_add_ns_xmesEN3$_3D2Ev"(ptr noundef nonnull align 8 dereferenceable(144) %23) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %23) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  ret i32 %72

73:                                               ; preds = %7
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %24, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %25, align 4
  br label %127

77:                                               ; preds = %52
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %24, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %25, align 4
  br label %90

81:                                               ; preds = %54
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %24, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %25, align 4
  br label %89

85:                                               ; preds = %56
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %24, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %25, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #6
  br label %89

89:                                               ; preds = %85, %81
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #6
  br label %90

90:                                               ; preds = %89, %77
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #6
  br label %127

91:                                               ; preds = %58
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %24, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %25, align 4
  br label %126

95:                                               ; preds = %60
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %24, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %25, align 4
  br label %103

99:                                               ; preds = %62, %61
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %24, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %25, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %103

103:                                              ; preds = %99, %95
  %104 = load i1, ptr %28, align 1
  br i1 %104, label %105, label %106

105:                                              ; preds = %103
  call void @_ZdlPvm(ptr noundef %59, i64 noundef 104) #8
  br label %106

106:                                              ; preds = %105, %103
  br label %126

107:                                              ; preds = %63
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %24, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %25, align 4
  br label %125

111:                                              ; preds = %64
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %24, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %25, align 4
  br label %124

115:                                              ; preds = %68
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %24, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %25, align 4
  br label %123

119:                                              ; preds = %69
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %24, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %25, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  br label %123

123:                                              ; preds = %119, %115
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #6
  br label %124

124:                                              ; preds = %123, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  br label %125

125:                                              ; preds = %124, %107
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #6
  br label %126

126:                                              ; preds = %125, %106, %91
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @"_ZZ26optframe_api3d_add_ns_xmesEN3$_3D2Ev"(ptr noundef nonnull align 8 dereferenceable(144) %23) #6
  br label %127

127:                                              ; preds = %126, %90, %73
  call void @llvm.lifetime.end.p0(i64 144, ptr %23) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %128

128:                                              ; preds = %127
  %129 = load ptr, ptr %24, align 8
  %130 = load i32, ptr %25, align 4
  %131 = insertvalue { ptr, i32 } poison, ptr %129, 0
  %132 = insertvalue { ptr, i32 } %131, i32 %130, 1
  resume { ptr, i32 } %132
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEEC2IZ26optframe_api3d_add_ns_xmesE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFSt10unique_ptrIN8optframe4MoveISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EESt14default_deleteIS8_EERKS7_EEC2IRZ26optframe_api3d_add_ns_xmesE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8optframe3FNSISt4pairI16FCoreLibSolutionNS_15MultiEvaluationIdEEEvEC2ESt8functionIFSt10unique_ptrINS_4MoveIS5_S5_EESt14default_deleteISA_EERKS5_EE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind noalias writable sret(%"class.nnptr::NNShared.266") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZ26optframe_api3d_add_ns_xmesEN3$_3D2Ev"(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { nobuiltin allocsize(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 = { nobuiltin 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 #4 = { 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 = { 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !6, i64 0}
!10 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_0", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_1", !6, i64 0, !6, i64 8}
!14 = !{!13, !6, i64 8}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_2", !6, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 8}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_3", !6, i64 0, !6, i64 8, !20, i64 16, !22, i64 48, !23, i64 80, !24, i64 112}
!20 = !{!"_ZTSSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEE", !21, i64 0, !6, i64 24}
!21 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!22 = !{!"_ZTSSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEE", !21, i64 0, !6, i64 24}
!23 = !{!"_ZTSSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEE", !21, i64 0, !6, i64 24}
!24 = !{!"_ZTSSt8functionIFbPvEE", !21, i64 0, !6, i64 24}
!25 = !{!19, !6, i64 8}
!26 = !{!27, !27, i64 0}
!27 = !{!"int", !7, 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::function.340" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.343 = type { ptr, ptr }
%"class.std::function.344" = type { %"class.std::_Function_base", ptr }
%class.anon.347 = type { ptr, ptr }
%"class.std::function.348" = type { %"class.std::_Function_base", ptr }
%class.anon.351 = type { ptr, ptr }
%"class.std::function.171" = type { %"class.std::_Function_base", ptr }
%class.anon.352 = type { ptr, ptr, %"class.std::function.340", %"class.std::function.344", %"class.std::function.348", %"class.std::function.171" }
%"class.nnptr::NNShared.353" = type { %"class.nnptr::NotNull.354" }
%"class.nnptr::NotNull.354" = type { %"class.std::shared_ptr.355" }
%"class.std::shared_ptr.355" = type { %"class.std::__shared_ptr.356" }
%"class.std::__shared_ptr.356" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::function.361" = type { %"class.std::_Function_base", ptr }
%"class.nnptr::NNShared.266" = type { %"class.nnptr::NotNull.267" }
%"class.nnptr::NotNull.267" = type { %"class.std::shared_ptr.115" }
%"class.std::shared_ptr.115" = type { %"class.std::__shared_ptr.116" }
%"class.std::__shared_ptr.116" = type { ptr, %"class.std::__shared_count" }
%"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 }

@.str.69 = external hidden unnamed_addr constant [21 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #3

; 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 #4 align 2

; 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 uwtable
declare dso_local noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(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 @_ZNSt8functionIFbPvEEC2IRPFiS0_EvEEOT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @optframe_api3d_add_ns_xmes(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::function.340", align 8
  %10 = alloca %class.anon.343, align 8
  %11 = alloca %"class.std::function.344", align 8
  %12 = alloca %class.anon.347, align 8
  %13 = alloca %"class.std::function.348", align 8
  %14 = alloca %class.anon.351, align 8
  %15 = alloca %"class.std::function.171", align 8
  %16 = alloca %class.anon.352, align 8
  %17 = alloca %"class.nnptr::NNShared.353", align 8
  %18 = alloca %"class.std::function.361", align 8
  %19 = alloca %"class.nnptr::NNShared.266", align 8
  %20 = alloca %"class.nnptr::NNShared.266", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  store ptr %6, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  store ptr %2, ptr %10, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %5, ptr %23, align 8, !tbaa !11
  call void @"_ZNSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  store ptr %4, ptr %12, align 8, !tbaa !12
  %24 = getelementptr inbounds i8, ptr %12, i64 8
  store ptr %5, ptr %24, align 8, !tbaa !14
  call void @"_ZNSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  store ptr %3, ptr %14, align 8, !tbaa !15
  %25 = getelementptr inbounds i8, ptr %14, i64 8
  store ptr %5, ptr %25, align 8, !tbaa !17
  call void @"_ZNSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEEC2IZ26optframe_api3d_add_ns_xmesE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNSt8functionIFbPvEEC2IRPFiS0_EvEEOT_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %16) #6
  store ptr %1, ptr %16, align 8, !tbaa !18
  %26 = getelementptr inbounds i8, ptr %16, i64 8
  store ptr %5, ptr %26, align 8, !tbaa !25
  %27 = getelementptr inbounds i8, ptr %16, i64 16
  invoke void @_ZNSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2ERKSB_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %28 unwind label %46

28:                                               ; preds = %7
  %29 = getelementptr inbounds i8, ptr %16, i64 48
  invoke void @_ZNSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2ERKSC_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %30 unwind label %48

30:                                               ; preds = %28
  %31 = getelementptr inbounds i8, ptr %16, i64 80
  invoke void @_ZNSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEEC2ERKSE_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %32 unwind label %50

32:                                               ; preds = %30
  %33 = getelementptr inbounds i8, ptr %16, i64 112
  invoke void @_ZNSt8functionIFbPvEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %34 unwind label %52

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  %35 = invoke noalias noundef nonnull dereferenceable(104) ptr @_Znwm(i64 noundef 104) #7
          to label %36 unwind label %56

36:                                               ; preds = %34
  invoke void @"_ZNSt8functionIFSt10unique_ptrIN8optframe4MoveISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EESt14default_deleteIS8_EERKS7_EEC2IRZ26optframe_api3d_add_ns_xmesE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(144) %16)
          to label %37 unwind label %.thread

37:                                               ; preds = %36
  invoke void @_ZN8optframe3FNSISt4pairI16FCoreLibSolutionNS_15MultiEvaluationIdEEEvEC2ESt8functionIFSt10unique_ptrINS_4MoveIS5_S5_EESt14default_deleteISA_EERKS5_EE(ptr noundef nonnull align 8 dereferenceable(104) %35, ptr noundef nonnull %18)
          to label %39 unwind label %.thread34

.thread34:                                        ; preds = %37
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %61

39:                                               ; preds = %37
  invoke void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEEC2EPS8_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull %35)
          to label %40 unwind label %59

40:                                               ; preds = %39
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #6
  invoke void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind nonnull writable sret(%"class.nnptr::NNShared.266") align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %41 unwind label %62

41:                                               ; preds = %40
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.69, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %42 unwind label %64

42:                                               ; preds = %41
  %43 = getelementptr inbounds i8, ptr %0, i64 56
  %44 = invoke noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208) %43, ptr noundef nonnull %20, ptr noundef nonnull %21)
          to label %45 unwind label %66

45:                                               ; preds = %42
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  call void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @"_ZZ26optframe_api3d_add_ns_xmesEN3$_3D2Ev"(ptr noundef nonnull align 8 dereferenceable(144) %16) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  ret i32 %44

46:                                               ; preds = %7
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %71

48:                                               ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %55

50:                                               ; preds = %30
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %32
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #6
  br label %54

54:                                               ; preds = %52, %50
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #6
  br label %55

55:                                               ; preds = %54, %48
  %.pn.pn = phi { ptr, i32 } [ %.pn, %54 ], [ %49, %48 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  br label %71

56:                                               ; preds = %34
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %70

.thread:                                          ; preds = %36
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %39
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %70

61:                                               ; preds = %.thread34, %.thread
  %.pn2433 = phi { ptr, i32 } [ %58, %.thread ], [ %38, %.thread34 ]
  call void @_ZdlPvm(ptr noundef nonnull %35, i64 noundef 104) #8
  br label %70

62:                                               ; preds = %40
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %69

64:                                               ; preds = %41
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %42
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %68

68:                                               ; preds = %66, %64
  %.pn26 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #6
  br label %69

69:                                               ; preds = %68, %62
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %68 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #6
  call void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %70

70:                                               ; preds = %59, %61, %69, %56
  %.pn26.pn.pn = phi { ptr, i32 } [ %.pn26.pn, %69 ], [ %.pn2433, %61 ], [ %60, %59 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  call void @"_ZZ26optframe_api3d_add_ns_xmesEN3$_3D2Ev"(ptr noundef nonnull align 8 dereferenceable(144) %16) #6
  br label %71

71:                                               ; preds = %70, %55, %46
  %.pn26.pn.pn.pn = phi { ptr, i32 } [ %.pn26.pn.pn, %70 ], [ %.pn.pn, %55 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %16) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  resume { ptr, i32 } %.pn26.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEEC2IZ26optframe_api3d_add_ns_xmesE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEEC2IZ26optframe_api3d_add_ns_xmesE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZNSt8functionIFSt10unique_ptrIN8optframe4MoveISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EESt14default_deleteIS8_EERKS7_EEC2IRZ26optframe_api3d_add_ns_xmesE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8optframe3FNSISt4pairI16FCoreLibSolutionNS_15MultiEvaluationIdEEEvEC2ESt8functionIFSt10unique_ptrINS_4MoveIS5_S5_EESt14default_deleteISA_EERKS5_EE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe2NSISt4pairI16FCoreLibSolutionNS1_15MultiEvaluationIdEEES7_EEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind noalias writable sret(%"class.nnptr::NNShared.266") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZ26optframe_api3d_add_ns_xmesEN3$_3D2Ev"(ptr noundef nonnull align 8 dereferenceable(144)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { nobuiltin allocsize(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 = { nobuiltin 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 #4 = { 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 = { 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !6, i64 0}
!10 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_0", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_1", !6, i64 0, !6, i64 8}
!14 = !{!13, !6, i64 8}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_2", !6, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 8}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSZ26optframe_api3d_add_ns_xmesE3$_3", !6, i64 0, !6, i64 8, !20, i64 16, !22, i64 48, !23, i64 80, !24, i64 112}
!20 = !{!"_ZTSSt8functionIFPvRKS0_RSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEE", !21, i64 0, !6, i64 24}
!21 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!22 = !{!"_ZTSSt8functionIFbRKPvRKSt4pairI16FCoreLibSolutionN8optframe15MultiEvaluationIdEEEEE", !21, i64 0, !6, i64 24}
!23 = !{!"_ZTSSt8functionIFbRKPvRKN8optframe4MoveISt4pairI16FCoreLibSolutionNS3_15MultiEvaluationIdEEES9_EEEE", !21, i64 0, !6, i64 24}
!24 = !{!"_ZTSSt8functionIFbPvEE", !21, i64 0, !6, i64 24}
!25 = !{!19, !6, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass