MCPcopy Create free account
hub / github.com/Samsung/UTopia / getCalledFunction

Method getCalledFunction

lib/indcallsolver/IndCallSolverMgr.cpp:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48const Function *IndCallSolverMgr::getCalledFunction(const CallBase &CB) const {
49 auto Result = getCalledFunctions(CB);
50 if (Result.size() == 0)
51 return nullptr;
52
53 return *Result.begin();
54}
55
56std::set<const Function *>
57IndCallSolverMgr::getCalledFunctions(const CallBase &CB) const {

Callers 15

setFirstUseMethod · 0.80
findRootDefinitionsMethod · 0.80
handleMemoryCallMethod · 0.80
isOutParamMethod · 0.80
getOutParamIndicesMethod · 0.80
isMemoryIntrinsicMethod · 0.80
getFunctionNameMethod · 0.80
isAssignableMethod · 0.80
isTerminationMethod · 0.80

Calls 2

sizeMethod · 0.80
beginMethod · 0.80

Tested by 1

collectDevirtCallBasesFunction · 0.64