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