; 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.anon.294 = type { ptr, ptr }
%"class.std::function.297" = 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.nnptr::NNShared.299" = type { %"class.nnptr::NotNull.300" }
%"class.nnptr::NotNull.300" = type { %"class.std::shared_ptr.301" }
%"class.std::shared_ptr.301" = type { %"class.std::__shared_ptr.302" }
%"class.std::__shared_ptr.302" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { 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.62 = external hidden unnamed_addr constant [51 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 uwtable
define dso_local i32 @optframe_api1d_add_rk_constructive(ptr noundef %0, ptr noundef %1, ptr noundef %2) #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %class.anon.294, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::function.297", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i1, align 1
  %14 = alloca %"class.nnptr::NNShared.299", align 8
  %15 = alloca %"class.nnptr::NNShared.266", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.nnptr::NNShared.266", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %20, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %21 = getelementptr inbounds %class.anon.294, ptr %8, i32 0, i32 0
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %22, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds %class.anon.294, ptr %8, i32 0, i32 1
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %24, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %25 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 72) #7
  store i1 true, ptr %13, align 1
  call void @"_ZNSt8functionIFSt6vectorIdSaIdEEvEEC2IRZ34optframe_api1d_add_rk_constructiveE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  invoke void @_ZN8optframe15FConstructiveRKIdEC2ESt8functionIFSt6vectorIdSaIdEEvEE(ptr noundef nonnull align 8 dereferenceable(72) %25, ptr noundef %10)
          to label %26 unwind label %37

26:                                               ; preds = %3
  store i1 false, ptr %13, align 1
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  store ptr %25, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEEC2EPS6_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %27)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  invoke void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind writable sret(%"class.nnptr::NNShared.266") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %28 unwind label %44

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %class.FCoreApi1Engine, ptr %29, i32 0, i32 3
  %31 = getelementptr inbounds %"class.optframe::Loader", ptr %30, i32 0, i32 0
  invoke void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %32 unwind label %48

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.62, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %33 unwind label %52

33:                                               ; preds = %32
  %34 = invoke noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208) %31, ptr noundef %17, ptr noundef %18)
          to label %35 unwind label %56

35:                                               ; preds = %33
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  store i32 %34, ptr %16, align 4, !tbaa !12
  %36 = load i32, ptr %16, align 4, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  ret i32 %36

37:                                               ; preds = %3
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %11, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  %41 = load i1, ptr %13, align 1
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  call void @_ZdlPvm(ptr noundef %25, i64 noundef 72) #8
  br label %43

43:                                               ; preds = %42, %37
  br label %63

44:                                               ; preds = %26
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %11, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %12, align 4
  br label %62

48:                                               ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %11, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %12, align 4
  br label %61

52:                                               ; preds = %32
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %11, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %12, align 4
  br label %60

56:                                               ; preds = %33
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %11, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %60

60:                                               ; preds = %56, %52
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #6
  br label %61

61:                                               ; preds = %60, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %62

62:                                               ; preds = %61, %44
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  br label %63

63:                                               ; preds = %62, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %64

64:                                               ; preds = %63
  %65 = load ptr, ptr %11, align 8
  %66 = load i32, ptr %12, align 4
  %67 = insertvalue { ptr, i32 } poison, ptr %65, 0
  %68 = insertvalue { ptr, i32 } %67, i32 %66, 1
  resume { ptr, i32 } %68
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFSt6vectorIdSaIdEEvEEC2IRZ34optframe_api1d_add_rk_constructiveE3$_0vEEOT_"(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 @_ZN8optframe15FConstructiveRKIdEC2ESt8functionIFSt6vectorIdSaIdEEvEE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEEcvNS0_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 @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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 = !{!"_ZTSZ34optframe_api1d_add_rk_constructiveE3$_0", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"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.anon.294 = type { ptr, ptr }
%"class.std::function.297" = 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.nnptr::NNShared.299" = type { %"class.nnptr::NotNull.300" }
%"class.nnptr::NotNull.300" = type { %"class.std::shared_ptr.301" }
%"class.std::shared_ptr.301" = type { %"class.std::__shared_ptr.302" }
%"class.std::__shared_ptr.302" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { 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.62 = external hidden unnamed_addr constant [51 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 uwtable
define dso_local noundef i32 @optframe_api1d_add_rk_constructive(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.anon.294, align 8
  %5 = alloca %"class.std::function.297", align 8
  %6 = alloca %"class.nnptr::NNShared.299", align 8
  %7 = alloca %"class.nnptr::NNShared.266", align 8
  %8 = alloca %"class.nnptr::NNShared.266", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %2, ptr %11, align 8, !tbaa !10
  %12 = tail call noalias noundef nonnull dereferenceable(72) ptr @_Znwm(i64 noundef 72) #7
  call void @"_ZNSt8functionIFSt6vectorIdSaIdEEvEEC2IRZ34optframe_api1d_add_rk_constructiveE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  invoke void @_ZN8optframe15FConstructiveRKIdEC2ESt8functionIFSt6vectorIdSaIdEEvEE(ptr noundef nonnull align 8 dereferenceable(72) %12, ptr noundef nonnull %5)
          to label %13 unwind label %19

13:                                               ; preds = %3
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEEC2EPS6_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  invoke void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind nonnull writable sret(%"class.nnptr::NNShared.266") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %14 unwind label %21

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

15:                                               ; preds = %14
  %16 = getelementptr inbounds i8, ptr %0, i64 56
  %17 = invoke noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208) %16, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %18 unwind label %25

18:                                               ; preds = %15
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  ret i32 %17

19:                                               ; preds = %3
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @_ZdlPvm(ptr noundef nonnull %12, i64 noundef 72) #8
  br label %29

21:                                               ; preds = %13
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %28

23:                                               ; preds = %14
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %27

25:                                               ; preds = %15
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %27

27:                                               ; preds = %25, %23
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %28

28:                                               ; preds = %27, %21
  %.pn.pn = phi { ptr, i32 } [ %.pn, %27 ], [ %22, %21 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %29

29:                                               ; preds = %19, %28
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %28 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFSt6vectorIdSaIdEEvEEC2IRZ34optframe_api1d_add_rk_constructiveE3$_0vEEOT_"(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 @_ZN8optframe15FConstructiveRKIdEC2ESt8functionIFSt6vectorIdSaIdEEvEE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEEcvNS0_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 @_ZN5nnptr8NNSharedIN8optframe12ConstructiveISt6vectorIdSaIdEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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, !7, i64 0}
!6 = !{!"_ZTSZ34optframe_api1d_add_rk_constructiveE3$_0", !7, i64 0, !7, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}


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