Home | History | Annotate | Download | only in IPO

Lines Matching refs:Callee

86 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) {
97 CalleeAttr = Callee->getAttributes();
130 Function *Callee = CS.getCalledFunction();
138 AdjustCallerSSPLevel(Caller, Callee);
280 Function *Callee = CS.getCalledFunction();
281 bool InlineHint = Callee && !Callee->isDeclaration() &&
282 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
290 bool ColdCallee = Callee && !Callee->isDeclaration() &&
291 Callee->getAttributes().hasAttribute(AttributeSet::FunctionIndex,
346 // elsewhere, and the current candidate callee (call it C) is large enough
460 // When inlining a callee produces new call sites, we want to keep track of
461 // the fact that they were inlined from the callee. This allows us to avoid
518 Function *Callee = CS.getCalledFunction();
527 // Update the call graph by deleting the edge from Callee to Caller.
533 if (!Callee || Callee->isDeclaration()) continue;
536 // that the include path for the function did not include the callee
542 InlineHistoryIncludes(Callee, InlineHistoryID, InlineHistory))
554 Twine(Callee->getName() +
564 Twine(Callee->getName() +
574 Twine(Callee->getName() + " inlined into " + Caller->getName()));
580 // that these new callsites came about due to inlining Callee.
582 InlineHistory.push_back(std::make_pair(Callee, InlineHistoryID));
594 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() &&
596 !SCCFunctions.count(Callee) &&
601 CG[Callee]->getNumReferences() == 0) {
603 << Callee->getName() << "\n");
604 CallGraphNode *CalleeNode = CG[Callee];
606 // Remove any call graph edges from the callee to its callees.
609 // Removing the node for callee from the call graph and delete it.
676 // Removing the node for callee from the call graph and delete it.