Lines Matching refs:Candidates
352 ArrayRef<PromotionCandidate> Candidates,
362 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
369 ArrayRef<PromotionCandidate> Candidates,
381 std::vector<PromotionCandidate> &Candidates);
508 std::vector<PromotionCandidate> &Candidates) { in computeVTableInfos() argument
547 for (size_t I = 0; I < Candidates.size(); I++) in computeVTableInfos()
548 CalleeIndexMap[Candidates[I].TargetFunction] = I; in computeVTableInfos()
584 auto &Candidate = Candidates[CalleeIndexIter->second]; in computeVTableInfos()
632 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, in tryToPromoteWithFuncCmp() argument
637 for (const auto &C : Candidates) { in tryToPromoteWithFuncCmp()
713 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates, in tryToPromoteWithVTableCmp() argument
719 for (const auto &Candidate : Candidates) { in tryToPromoteWithVTableCmp()
839 const CallBase &CB, ArrayRef<PromotionCandidate> Candidates, in isProfitableToCompareVTables() argument
841 if (!EnableVTableProfileUse || Candidates.empty()) in isProfitableToCompareVTables()
846 const size_t CandidateSize = Candidates.size(); in isProfitableToCompareVTables()
848 auto &Candidate = Candidates[I]; in isProfitableToCompareVTables()