; 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.313 = type { ptr, ptr, ptr, ptr, ptr }
%"class.std::function.314" = 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.318" = type { %"class.nnptr::NotNull.319" }
%"class.nnptr::NotNull.319" = type { %"class.std::shared_ptr.320" }
%"class.std::shared_ptr.320" = type { %"class.std::__shared_ptr.321" }
%"class.std::__shared_ptr.321" = 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.66 = external hidden unnamed_addr constant [33 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_edecoder_op(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %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 i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca %class.anon.313, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::function.314", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i1, align 1
  %22 = alloca %"class.std::function.314", align 8
  %23 = alloca i1, align 1
  %24 = alloca %"class.nnptr::NNShared.318", align 8
  %25 = alloca %"class.nnptr::NNShared.266", align 8
  %26 = alloca i32, align 4
  %27 = alloca %"class.nnptr::NNShared.266", align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = 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
  %30 = zext i1 %3 to i8
  store i8 %30, ptr %11, align 1, !tbaa !9
  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
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %31, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #6
  %32 = getelementptr inbounds %class.anon.313, ptr %16, i32 0, i32 0
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %33, ptr %32, align 8, !tbaa !11
  %34 = getelementptr inbounds %class.anon.313, ptr %16, i32 0, i32 1
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %35, ptr %34, align 8, !tbaa !13
  %36 = getelementptr inbounds %class.anon.313, ptr %16, i32 0, i32 2
  %37 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %37, ptr %36, align 8, !tbaa !14
  %38 = getelementptr inbounds %class.anon.313, ptr %16, i32 0, i32 3
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %39, ptr %38, align 8, !tbaa !15
  %40 = getelementptr inbounds %class.anon.313, ptr %16, i32 0, i32 4
  %41 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %41, ptr %40, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %42 = load i8, ptr %11, align 1, !tbaa !9, !range !17, !noundef !18
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %60

44:                                               ; preds = %7
  %45 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 72) #7
  store i1 true, ptr %21, align 1
  invoke void @"_ZNSt8functionIFSt4pairIN8optframe10EvaluationIdEESt8optionalI16FCoreLibSolutionEERKSt6vectorIdSaIdEEbEEC2IRZ33optframe_api1d_add_rk_edecoder_opE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %46 unwind label %48

46:                                               ; preds = %44
  invoke void @_ZN8optframe12FDecoderOpRKISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEdLNS_8MinOrMaxE0EEC2ESt8functionIFS1_IS4_St8optionalIS2_EERKSt6vectorIdSaIdEEbEE(ptr noundef nonnull align 8 dereferenceable(72) %45, ptr noundef %18)
          to label %47 unwind label %52

47:                                               ; preds = %46
  store i1 false, ptr %21, align 1
  store ptr %45, ptr %17, align 8, !tbaa !5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %76

48:                                               ; preds = %44
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %19, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %20, align 4
  br label %56

52:                                               ; preds = %46
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %19, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %56

56:                                               ; preds = %52, %48
  %57 = load i1, ptr %21, align 1
  br i1 %57, label %58, label %59

58:                                               ; preds = %56
  call void @_ZdlPvm(ptr noundef %45, i64 noundef 72) #8
  br label %59

59:                                               ; preds = %58, %56
  br label %106

60:                                               ; preds = %7
  %61 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 72) #7
  store i1 true, ptr %23, align 1
  invoke void @"_ZNSt8functionIFSt4pairIN8optframe10EvaluationIdEESt8optionalI16FCoreLibSolutionEERKSt6vectorIdSaIdEEbEEC2IRZ33optframe_api1d_add_rk_edecoder_opE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %62 unwind label %64

62:                                               ; preds = %60
  invoke void @_ZN8optframe12FDecoderOpRKISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEdLNS_8MinOrMaxE1EEC2ESt8functionIFS1_IS4_St8optionalIS2_EERKSt6vectorIdSaIdEEbEE(ptr noundef nonnull align 8 dereferenceable(72) %61, ptr noundef %22)
          to label %63 unwind label %68

63:                                               ; preds = %62
  store i1 false, ptr %23, align 1
  store ptr %61, ptr %17, align 8, !tbaa !5
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %76

64:                                               ; preds = %60
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %19, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %20, align 4
  br label %72

68:                                               ; preds = %62
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %19, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %72

72:                                               ; preds = %68, %64
  %73 = load i1, ptr %23, align 1
  br i1 %73, label %74, label %75

74:                                               ; preds = %72
  call void @_ZdlPvm(ptr noundef %61, i64 noundef 72) #8
  br label %75

75:                                               ; preds = %74, %72
  br label %106

76:                                               ; preds = %63, %47
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEEC2EPS8_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef %77)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  invoke void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind writable sret(%"class.nnptr::NNShared.266") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %78 unwind label %87

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %79 = load ptr, ptr %15, align 8, !tbaa !5
  %80 = getelementptr inbounds %class.FCoreApi1Engine, ptr %79, i32 0, i32 3
  %81 = getelementptr inbounds %"class.optframe::Loader", ptr %80, i32 0, i32 0
  invoke void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %82 unwind label %91

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.66, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %83 unwind label %95

83:                                               ; preds = %82
  %84 = invoke noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208) %81, ptr noundef %27, ptr noundef %28)
          to label %85 unwind label %99

85:                                               ; preds = %83
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  store i32 %84, ptr %26, align 4, !tbaa !19
  %86 = load i32, ptr %26, align 4, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  ret i32 %86

87:                                               ; preds = %76
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %19, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %20, align 4
  br label %105

91:                                               ; preds = %78
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %19, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %20, align 4
  br label %104

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

99:                                               ; preds = %83
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %19, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %103

103:                                              ; preds = %99, %95
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #6
  br label %104

104:                                              ; preds = %103, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #6
  br label %105

105:                                              ; preds = %104, %87
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  br label %106

106:                                              ; preds = %105, %75, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %107

107:                                              ; preds = %106
  %108 = load ptr, ptr %19, align 8
  %109 = load i32, ptr %20, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEEcvNS0_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 @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEED2Ev(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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSZ33optframe_api1d_add_rk_edecoder_opE3$_0", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !6, i64 16}
!15 = !{!12, !6, i64 24}
!16 = !{!12, !6, i64 32}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !20, i64 0}
!20 = !{!"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.313 = type { ptr, ptr, ptr, ptr, ptr }
%"class.std::function.314" = 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.318" = type { %"class.nnptr::NotNull.319" }
%"class.nnptr::NotNull.319" = type { %"class.std::shared_ptr.320" }
%"class.std::shared_ptr.320" = type { %"class.std::__shared_ptr.321" }
%"class.std::__shared_ptr.321" = 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.66 = external hidden unnamed_addr constant [33 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_edecoder_op(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %8 = alloca %class.anon.313, align 8
  %9 = alloca %"class.std::function.314", align 8
  %10 = alloca %"class.std::function.314", align 8
  %11 = alloca %"class.nnptr::NNShared.318", align 8
  %12 = alloca %"class.nnptr::NNShared.266", align 8
  %13 = alloca %"class.nnptr::NNShared.266", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #6
  store ptr %1, ptr %8, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %2, ptr %16, align 8, !tbaa !10
  %17 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr %4, ptr %17, align 8, !tbaa !11
  %18 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr %5, ptr %18, align 8, !tbaa !12
  %19 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %6, ptr %19, align 8, !tbaa !13
  %20 = tail call noalias noundef nonnull dereferenceable(72) ptr @_Znwm(i64 noundef 72) #7
  br i1 %3, label %21, label %28

21:                                               ; preds = %7
  invoke void @"_ZNSt8functionIFSt4pairIN8optframe10EvaluationIdEESt8optionalI16FCoreLibSolutionEERKSt6vectorIdSaIdEEbEEC2IRZ33optframe_api1d_add_rk_edecoder_opE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %22 unwind label %23

22:                                               ; preds = %21
  invoke void @_ZN8optframe12FDecoderOpRKISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEdLNS_8MinOrMaxE0EEC2ESt8functionIFS1_IS4_St8optionalIS2_EERKSt6vectorIdSaIdEEbEE(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull %9)
          to label %35 unwind label %25

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

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

27:                                               ; preds = %23, %25
  %.pn20 = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ]
  call void @_ZdlPvm(ptr noundef nonnull %20, i64 noundef 72) #8
  br label %49

28:                                               ; preds = %7
  invoke void @"_ZNSt8functionIFSt4pairIN8optframe10EvaluationIdEESt8optionalI16FCoreLibSolutionEERKSt6vectorIdSaIdEEbEEC2IRZ33optframe_api1d_add_rk_edecoder_opE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %29 unwind label %30

29:                                               ; preds = %28
  invoke void @_ZN8optframe12FDecoderOpRKISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEdLNS_8MinOrMaxE1EEC2ESt8functionIFS1_IS4_St8optionalIS2_EERKSt6vectorIdSaIdEEbEE(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull %10)
          to label %35 unwind label %32

30:                                               ; preds = %28
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %34

32:                                               ; preds = %29
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %34

34:                                               ; preds = %30, %32
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ]
  call void @_ZdlPvm(ptr noundef nonnull %20, i64 noundef 72) #8
  br label %49

35:                                               ; preds = %29, %22
  %.sink = phi ptr [ %9, %22 ], [ %10, %29 ]
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEEC2EPS8_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull %20)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  invoke void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEEcvNS0_IT_EEINS1_9ComponentEvEEv(ptr dead_on_unwind nonnull writable sret(%"class.nnptr::NNShared.266") align 8 %12, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %36 unwind label %41

36:                                               ; preds = %35
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.66, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %37 unwind label %43

37:                                               ; preds = %36
  %38 = getelementptr inbounds i8, ptr %0, i64 56
  %39 = invoke noundef i32 @_ZN8optframe16HeuristicFactoryISt4pairI16FCoreLibSolutionNS_10EvaluationIdEEEE12addComponentEN5nnptr8NNSharedINS_9ComponentEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(208) %38, ptr noundef nonnull %13, ptr noundef nonnull %14)
          to label %40 unwind label %45

40:                                               ; preds = %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #6
  ret i32 %39

41:                                               ; preds = %35
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %48

43:                                               ; preds = %36
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %37
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %47

47:                                               ; preds = %45, %43
  %.pn22 = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  call void @_ZN5nnptr8NNSharedIN8optframe9ComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br label %48

48:                                               ; preds = %47, %41
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %47 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %49

49:                                               ; preds = %34, %27, %48
  %.pn22.pn.pn = phi { ptr, i32 } [ %.pn22.pn, %48 ], [ %.pn20, %27 ], [ %.pn, %34 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #6
  resume { ptr, i32 } %.pn22.pn.pn
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEEcvNS0_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 @_ZN5nnptr8NNSharedIN8optframe17DecoderRandomKeysISt4pairI16FCoreLibSolutionNS1_10EvaluationIdEEEdEEED2Ev(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 = !{!"_ZTSZ33optframe_api1d_add_rk_edecoder_opE3$_0", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 24}
!13 = !{!6, !7, i64 32}


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