MCPcopy Create free account
hub / github.com/apache/impala / GetCallees

Method GetCallees

be/src/codegen/codegen-callgraph.h:40–44  ·  view source on GitHub ↗

Returns the callees of the function with name 'fn_name'. Returns NULL if the function is not found in the call graph.

Source from the content-addressed store, hash-verified

38 /// Returns the callees of the function with name 'fn_name'.
39 /// Returns NULL if the function is not found in the call graph.
40 const boost::unordered_set<std::string>* GetCallees(const std::string& fn_name) const {
41 DCHECK(inited_);
42 CallGraph::const_iterator iter = call_graph_.find(fn_name);
43 return LIKELY(iter != call_graph_.end()) ? &iter->second : nullptr;
44 }
45
46 /// Returns the set of functions referenced by global variables in 'module'
47 const boost::unordered_set<std::string>& fns_referenced_by_gv() const {

Callers 2

LinkModuleFromLocalFsMethod · 0.80
MaterializeFunctionMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected