Home | History | Annotate | Download | only in IPO

Lines Matching defs:Callee

79   Function *Callee = CS.getCalledFunction();
89 if (Callee->hasFnAttr(Attribute::StackProtectReq))
91 else if (Callee->hasFnAttr(Attribute::StackProtect) &&
208 Function *Callee = CS.getCalledFunction();
209 if (HintThreshold > thres && Callee && !Callee->isDeclaration() &&
210 Callee->hasFnAttr(Attribute::InlineHint))
247 // and the current candidate callee (call it C) is large enough that
347 // When inlining a callee produces new call sites, we want to keep track of
348 // the fact that they were inlined from the callee. This allows us to avoid
405 Function *Callee = CS.getCalledFunction();
414 // Update the call graph by deleting the edge from Callee to Caller.
422 if (Callee == 0 || Callee->isDeclaration()) continue;
425 // that the include path for the function did not include the callee
431 InlineHistoryIncludes(Callee, InlineHistoryID, InlineHistory))
450 // that these new callsites came about due to inlining Callee.
452 InlineHistory.push_back(std::make_pair(Callee, InlineHistoryID));
462 growCachedCostInfo(Caller, Callee);
467 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() &&
469 !SCCFunctions.count(Callee) &&
474 CG[Callee]->getNumReferences() == 0) {
476 << Callee->getName() << "\n");
477 CallGraphNode *CalleeNode = CG[Callee];
479 // Remove any call graph edges from the callee to its callees.
482 resetCachedCostInfo(Callee);
484 // Removing the node for callee from the call graph and delete it.
550 // Removing the node for callee from the call graph and delete it.