Lines Matching defs:Callee
261 if (Function *Callee = CB->getCalledFunction()) {
262 if (!Callee->isDeclaration())
269 << NV("Callee", Callee) << " will not be inlined into "
333 Function &Callee = *CB->getCalledFunction();
336 inlineHistoryIncludes(&Callee, InlineHistoryID, InlineHistory)) {
338 << " -> " << Callee.getName() << "\n");
351 LazyCallGraph::SCC *CalleeSCC = CG.lookupSCC(*CG.lookup(Callee));
355 << F.getName() << " -> " << Callee.getName() << "\n");
382 &FAM.getResult<BlockFrequencyAnalysis>(Callee));
393 InlinedCallees.insert(&Callee);
402 InlineHistory.push_back({&Callee, InlineHistoryID});
447 if (Callee.isDiscardableIfUnused() && Callee.hasZeroLiveUses() &&
448 !CG.isLibFunction(Callee)) {
449 if (Callee.hasLocalLinkage() || !Callee.hasComdat()) {
453 return Call.first->getCaller() == &Callee;
459 makeFunctionBodyUnreachable(Callee);
460 assert(!is_contained(DeadFunctions, &Callee) &&
462 DeadFunctions.push_back(&Callee);
465 DeadFunctionsInComdats.push_back(&Callee);
518 llvm::any_of(InlinedCallees, [&](Function *Callee) {
519 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC;
536 for (auto *Callee : DeadFunctionsInComdats)
537 makeFunctionBodyUnreachable(*Callee);