Lines Matching defs:Callee
264 if (Function *Callee = CB->getCalledFunction()) {
265 if (!Callee->isDeclaration())
272 << NV("Callee", Callee) << " will not be inlined into "
336 Function &Callee = *CB->getCalledFunction();
339 inlineHistoryIncludes(&Callee, InlineHistoryID, InlineHistory)) {
341 << " -> " << Callee.getName() << "\n");
354 LazyCallGraph::SCC *CalleeSCC = CG.lookupSCC(*CG.lookup(Callee));
358 << F.getName() << " -> " << Callee.getName() << "\n");
385 &FAM.getResult<BlockFrequencyAnalysis>(Callee));
396 InlinedCallees.insert(&Callee);
405 InlineHistory.push_back({&Callee, InlineHistoryID});
450 if (Callee.isDiscardableIfUnused() && Callee.hasZeroLiveUses() &&
451 !CG.isLibFunction(Callee)) {
452 if (Callee.hasLocalLinkage() || !Callee.hasComdat()) {
456 return Call.first->getCaller() == &Callee;
462 makeFunctionBodyUnreachable(Callee);
463 assert(!is_contained(DeadFunctions, &Callee) &&
465 DeadFunctions.push_back(&Callee);
468 DeadFunctionsInComdats.push_back(&Callee);
521 llvm::any_of(InlinedCallees, [&](Function *Callee) {
522 return CG.lookupSCC(*CG.lookup(*Callee)) == OldC;
539 for (auto *Callee : DeadFunctionsInComdats)
540 makeFunctionBodyUnreachable(*Callee);