; LLVM IR from apache/mxnet :: src/lib_api.ll (ZN5mxnet3ext8CustomOpC2EPKc)

; 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.mxnet::ext::CustomOp" = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::vector.103", %"class.std::vector.103", %"class.std::vector.103", %"class.std::vector.108", %"class.std::vector.108", %"class.std::vector.113", %"class.std::unordered_map.118", %"class.std::unordered_map.118", %"class.std::unordered_map.138" }
%"class.std::vector.103" = type { %"struct.std::_Vector_base.104" }
%"struct.std::_Vector_base.104" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.108" = type { %"struct.std::_Vector_base.109" }
%"struct.std::_Vector_base.109" = type { %"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &)>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &)>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &)>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, std::vector<mxnet::ext::MXTensor> *, std::vector<mxnet::ext::MXTensor> *, const mxnet::ext::OpResource &)>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.113" = type { %"struct.std::_Vector_base.114" }
%"struct.std::_Vector_base.114" = type { %"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **)>>::_Vector_impl" }
%"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **)>>::_Vector_impl" = type { %"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **)>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **), std::allocator<mxnet::ext::MXReturnValue (*)(const std::unordered_map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>> &, const mxnet::ext::MXContext &, const std::vector<std::vector<unsigned int>> &, std::vector<int>, mxnet::ext::CustomStatefulOp **)>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.118" = type { %"class.std::_Hashtable.119" }
%"class.std::_Hashtable.119" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.138" = type { %"class.std::_Hashtable.139" }
%"class.std::_Hashtable.139" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5mxnet3ext8CustomOpC2EPKc(ptr noundef nonnull align 8 dereferenceable(368) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8
  %6 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 0
  %7 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %7, ptr %6, align 8, !tbaa !9
  %8 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 1
  store ptr null, ptr %8, align 8, !tbaa !32
  %9 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 2
  store ptr null, ptr %9, align 8, !tbaa !33
  %10 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 3
  store ptr null, ptr %10, align 8, !tbaa !34
  %11 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 4
  store ptr null, ptr %11, align 8, !tbaa !35
  %12 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 5
  store ptr null, ptr %12, align 8, !tbaa !36
  %13 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 6
  store i8 0, ptr %13, align 8, !tbaa !37
  %14 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 7
  call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #1
  %15 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 8
  call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #1
  %16 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 9
  call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #1
  %17 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 10
  call void @_ZNSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPS_INS1_8MXTensorESaISL_EESO_RKNS1_10OpResourceEESaIST_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #1
  %18 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 11
  call void @_ZNSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPS_INS1_8MXTensorESaISL_EESO_RKNS1_10OpResourceEESaIST_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #1
  %19 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 12
  call void @_ZNSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKS_IS_IjSaIjEESaISP_EES_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS10_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #1
  %20 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 13
  call void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #1
  %21 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 14
  call void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #1
  %22 = getelementptr inbounds %"class.mxnet::ext::CustomOp", ptr %5, i32 0, i32 15
  call void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEERKNS3_9MXContextERKSt6vectorISP_IjSaIjEESaISR_EESP_IiSaIiEEPPNS3_16CustomStatefulOpEESB_IS1_ESD_IS1_ESaISF_IKS1_S12_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %22) #1
  ret void
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEERKNS3_9MXContextERKSt6vectorISP_IjSaIjEESaISR_EESP_IiSaIiEEPPNS3_16CustomStatefulOpEESB_IS1_ESD_IS1_ESaISF_IKS1_S12_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 = !{!"_ZTSN5mxnet3ext8CustomOpE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !12, i64 56, !12, i64 80, !12, i64 104, !16, i64 128, !16, i64 152, !20, i64 176, !24, i64 200, !24, i64 256, !30, i64 312}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPS_INS1_8MXTensorESaISL_EESO_RKNS1_10OpResourceEESaIST_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPSt6vectorINS1_8MXTensorESaISM_EESP_RKNS1_10OpResourceEESaISU_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPSt6vectorINS1_8MXTensorESaISM_EESP_RKNS1_10OpResourceEESaISU_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPSt6vectorINS1_8MXTensorESaISM_EESP_RKNS1_10OpResourceEESaISU_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKS_IS_IjSaIjEESaISP_EES_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS10_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKSt6vectorISO_IjSaIjEESaISQ_EESO_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS11_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKSt6vectorISO_IjSaIjEESaISQ_EESO_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS11_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKSt6vectorISO_IjSaIjEESaISQ_EESO_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS11_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_HashtableIPKcSt4pairIKS1_PFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_St4hashISD_ESt8equal_toISD_ESaIS2_IKSD_SD_EEEPSt6vectorINS5_8MXTensorESaISP_EESS_RKNS5_10OpResourceEEESaISY_ENSt8__detail10_Select1stESG_IS1_ESE_IS1_ENS10_18_Mod_range_hashingENS10_20_Default_ranged_hashENS10_20_Prime_rehash_policyENS10_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !26, i64 8, !27, i64 16, !26, i64 24, !28, i64 32, !6, i64 48}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!28 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !29, i64 0, !26, i64 8}
!29 = !{!"float", !7, i64 0}
!30 = !{!"_ZTSSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEERKNS3_9MXContextERKSt6vectorISP_IjSaIjEESaISR_EESP_IiSaIiEEPPNS3_16CustomStatefulOpEESB_IS1_ESD_IS1_ESaISF_IKS1_S12_EEE", !31, i64 0}
!31 = !{!"_ZTSSt10_HashtableIPKcSt4pairIKS1_PFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_St4hashISD_ESt8equal_toISD_ESaIS2_IKSD_SD_EEERKNS5_9MXContextERKSt6vectorISR_IjSaIjEESaIST_EESR_IiSaIiEEPPNS5_16CustomStatefulOpEEESaIS15_ENSt8__detail10_Select1stESG_IS1_ESE_IS1_ENS17_18_Mod_range_hashingENS17_20_Default_ranged_hashENS17_20_Prime_rehash_policyENS17_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !26, i64 8, !27, i64 16, !26, i64 24, !28, i64 32, !6, i64 48}
!32 = !{!10, !6, i64 8}
!33 = !{!10, !6, i64 16}
!34 = !{!10, !6, i64 24}
!35 = !{!10, !6, i64 32}
!36 = !{!10, !6, i64 40}
!37 = !{!10, !11, i64 48}


; 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"

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5mxnet3ext8CustomOpC2EPKc(ptr noundef nonnull align 8 dereferenceable(368) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  store ptr %1, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(41) %3, i8 0, i64 41, i1 false)
  tail call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #2
  %5 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #2
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNSt6vectorIPKcSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #2
  %7 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPS_INS1_8MXTensorESaISL_EESO_RKNS1_10OpResourceEESaIST_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #2
  %8 = getelementptr inbounds i8, ptr %0, i64 152
  tail call void @_ZNSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPS_INS1_8MXTensorESaISL_EESO_RKNS1_10OpResourceEESaIST_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #2
  %9 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZNSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKS_IS_IjSaIjEESaISP_EES_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS10_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #2
  %10 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #2
  %11 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #2
  %12 = getelementptr inbounds i8, ptr %0, i64 312
  tail call void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEERKNS3_9MXContextERKSt6vectorISP_IjSaIjEESaISR_EESP_IiSaIiEEPPNS3_16CustomStatefulOpEESB_IS1_ESD_IS1_ESaISF_IKS1_S12_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #2
  ret void
}

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEERKNS3_9MXContextERKSt6vectorISP_IjSaIjEESaISR_EESP_IiSaIiEEPPNS3_16CustomStatefulOpEESB_IS1_ESD_IS1_ESaISF_IKS1_S12_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 = !{!"_ZTSN5mxnet3ext8CustomOpE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56, !11, i64 80, !11, i64 104, !15, i64 128, !15, i64 152, !19, i64 176, !23, i64 200, !23, i64 256, !29, i64 312}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!15 = !{!"_ZTSSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPS_INS1_8MXTensorESaISL_EESO_RKNS1_10OpResourceEESaIST_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPSt6vectorINS1_8MXTensorESaISM_EESP_RKNS1_10OpResourceEESaISU_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPSt6vectorINS1_8MXTensorESaISM_EESP_RKNS1_10OpResourceEESaISU_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEEPSt6vectorINS1_8MXTensorESaISM_EESP_RKNS1_10OpResourceEESaISU_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!19 = !{!"_ZTSSt6vectorIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKS_IS_IjSaIjEESaISP_EES_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS10_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKSt6vectorISO_IjSaIjEESaISQ_EESO_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS11_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKSt6vectorISO_IjSaIjEESaISQ_EESO_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS11_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_St4hashIS9_ESt8equal_toIS9_ESaISt4pairIKS9_S9_EEERKNS1_9MXContextERKSt6vectorISO_IjSaIjEESaISQ_EESO_IiSaIiEEPPNS1_16CustomStatefulOpEESaIS11_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!23 = !{!"_ZTSSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEEPSt6vectorINS3_8MXTensorESaISN_EESQ_RKNS3_10OpResourceEESB_IS1_ESD_IS1_ESaISF_IKS1_SV_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_HashtableIPKcSt4pairIKS1_PFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_St4hashISD_ESt8equal_toISD_ESaIS2_IKSD_SD_EEEPSt6vectorINS5_8MXTensorESaISP_EESS_RKNS5_10OpResourceEEESaISY_ENSt8__detail10_Select1stESG_IS1_ESE_IS1_ENS10_18_Mod_range_hashingENS10_20_Default_ranged_hashENS10_20_Prime_rehash_policyENS10_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !25, i64 8, !26, i64 16, !25, i64 24, !27, i64 32, !7, i64 48}
!25 = !{!"long", !8, i64 0}
!26 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!27 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !28, i64 0, !25, i64 8}
!28 = !{!"float", !8, i64 0}
!29 = !{!"_ZTSSt13unordered_mapIPKcPFN5mxnet3ext13MXReturnValueERKS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEERKNS3_9MXContextERKSt6vectorISP_IjSaIjEESaISR_EESP_IiSaIiEEPPNS3_16CustomStatefulOpEESB_IS1_ESD_IS1_ESaISF_IKS1_S12_EEE", !30, i64 0}
!30 = !{!"_ZTSSt10_HashtableIPKcSt4pairIKS1_PFN5mxnet3ext13MXReturnValueERKSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_St4hashISD_ESt8equal_toISD_ESaIS2_IKSD_SD_EEERKNS5_9MXContextERKSt6vectorISR_IjSaIjEESaIST_EESR_IiSaIiEEPPNS5_16CustomStatefulOpEEESaIS15_ENSt8__detail10_Select1stESG_IS1_ESE_IS1_ENS17_18_Mod_range_hashingENS17_20_Default_ranged_hashENS17_20_Prime_rehash_policyENS17_17_Hashtable_traitsILb0ELb0ELb1EEEE", !7, i64 0, !25, i64 8, !26, i64 16, !25, i64 24, !27, i64 32, !7, i64 48}


; Effective O3 passes: EarlyCSEPass,InstCombinePass,MemCpyOptPass,SROAPass,TailCallElimPass