Home | History | Annotate | Download | only in IPO

Lines Matching defs:Callee

77 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) {
88 CalleeAttr = Callee->getAttributes();
121 Function *Callee = CS.getCalledFunction();
129 AdjustCallerSSPLevel(Caller, Callee);
271 Function *Callee = CS.getCalledFunction();
272 bool InlineHint = Callee && !Callee->isDeclaration() &&
273 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
310 // elsewhere, and the current candidate callee (call it C) is large enough
415 // When inlining a callee produces new call sites, we want to keep track of
416 // the fact that they were inlined from the callee. This allows us to avoid
473 Function *Callee = CS.getCalledFunction();
482 // Update the call graph by deleting the edge from Callee to Caller.
488 if (Callee == 0 || Callee->isDeclaration()) continue;
491 // that the include path for the function did not include the callee
497 InlineHistoryIncludes(Callee, InlineHistoryID, InlineHistory))
516 // that these new callsites came about due to inlining Callee.
518 InlineHistory.push_back(std::make_pair(Callee, InlineHistoryID));
530 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() &&
532 !SCCFunctions.count(Callee) &&
537 CG[Callee]->getNumReferences() == 0) {
539 << Callee->getName() << "\n");
540 CallGraphNode *CalleeNode = CG[Callee];
542 // Remove any call graph edges from the callee to its callees.
545 // Removing the node for callee from the call graph and delete it.
612 // Removing the node for callee from the call graph and delete it.