MCPcopy Create free account
hub / github.com/MegEngine/MegCC / exist_internal_function

Method exist_internal_function

compiler/test/kernel/common/src/target_module.cpp:85–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85bool TargetModule::exist_internal_function(const std::string& sig) const {
86 return m_internal_kern_map.count(sig) != 0;
87}
88
89void TargetModule::add_internal_func(const std::string& sig, const std::string& body) {
90 if (m_internal_kern_map.count(sig) == 0) {

Callers 1

gen_depend_kernelsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected