Lines Matching refs:Callee
91 static void AdjustCallerSSPLevel(Function *Caller, Function *Callee) { in AdjustCallerSSPLevel() argument
103 if (Callee->hasFnAttribute(Attribute::SafeStack)) { in AdjustCallerSSPLevel()
106 } else if (Callee->hasFnAttribute(Attribute::StackProtectReq) && in AdjustCallerSSPLevel()
110 } else if (Callee->hasFnAttribute(Attribute::StackProtectStrong) && in AdjustCallerSSPLevel()
115 } else if (Callee->hasFnAttribute(Attribute::StackProtect) && in AdjustCallerSSPLevel()
133 Function *Callee = CS.getCalledFunction(); in InlineCallIfPossible() local
138 BasicAAResult BAR(createLegacyPMBasicAAResult(P, *Callee)); in InlineCallIfPossible()
142 AAResults AAR(createLegacyPMAAResults(P, *Callee, BAR)); in InlineCallIfPossible()
149 AdjustCallerSSPLevel(Caller, Callee); in InlineCallIfPossible()
291 Function *Callee = CS.getCalledFunction(); in getInlineThreshold() local
292 if (!Callee || Callee->isDeclaration()) in getInlineThreshold()
302 if (Callee->getEntryCount() && in getInlineThreshold()
303 Callee->getParent()->getMaximumFunctionCount()) { in getInlineThreshold()
305 FunctionCount = Callee->getEntryCount().getValue(); in getInlineThreshold()
307 Callee->getParent()->getMaximumFunctionCount().getValue(); in getInlineThreshold()
314 Callee->hasFnAttribute(Attribute::InlineHint) || in getInlineThreshold()
324 Callee->hasFnAttribute(Attribute::Cold) || in getInlineThreshold()
512 if (Function *Callee = CS.getCalledFunction()) in runOnSCC() local
513 if (Callee->isDeclaration()) in runOnSCC()
551 Function *Callee = CS.getCalledFunction(); in runOnSCC() local
566 if (!Callee || Callee->isDeclaration()) continue; in runOnSCC()
575 InlineHistoryIncludes(Callee, InlineHistoryID, InlineHistory)) in runOnSCC()
587 Twine(Callee->getName() + in runOnSCC()
597 Twine(Callee->getName() + in runOnSCC()
607 Twine(Callee->getName() + " inlined into " + Caller->getName())); in runOnSCC()
615 InlineHistory.push_back(std::make_pair(Callee, InlineHistoryID)); in runOnSCC()
624 if (Callee && Callee->use_empty() && Callee->hasLocalLinkage() && in runOnSCC()
626 !SCCFunctions.count(Callee) && in runOnSCC()
631 CG[Callee]->getNumReferences() == 0) { in runOnSCC()
633 << Callee->getName() << "\n"); in runOnSCC()
634 CallGraphNode *CalleeNode = CG[Callee]; in runOnSCC()