Home | History | Annotate | Download | only in IPO

Lines Matching refs:Callee

81   Function *Callee = CS.getCalledFunction();
86 BasicAAResult BAR(createLegacyPMBasicAAResult(P, *Callee));
90 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR));
97 AttributeFuncs::mergeAttributesForInlining(*Caller, *Callee);
240 // elsewhere, and the current candidate callee (call it C) is large enough
395 // When inlining a callee produces new call sites, we want to keep track of
396 // the fact that they were inlined from the callee. This allows us to avoid
416 if (Function *Callee = CS.getCalledFunction())
417 if (Callee->isDeclaration())
455 Function *Callee = CS.getCalledFunction();
464 // Update the call graph by deleting the edge from Callee to Caller.
470 if (!Callee || Callee->isDeclaration()) continue;
473 // that the include path for the function did not include the callee
479 InlineHistoryIncludes(Callee, InlineHistoryID, InlineHistory))
491 Twine(Callee->getName() +
501 Twine(Callee->getName() +
511 Twine(Callee->getName() + " inlined into " + Caller->getName()));
517 // that these new callsites came about due to inlining Callee.
519 InlineHistory.push_back(std::make_pair(Callee, InlineHistoryID));
528 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() &&
530 !SCCFunctions.count(Callee) &&
535 CG[Callee]->getNumReferences() == 0) {
537 << Callee->getName() << "\n");
538 CallGraphNode *CalleeNode = CG[Callee];
540 // Remove any call graph edges from the callee to its callees.
543 // Removing the node for callee from the call graph and delete it.
589 // Removing the node for callee from the call graph and delete it.