Lines Matching defs:PromotionCandidate
330 struct PromotionCandidate {
344 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {}
352 std::vector<PromotionCandidate> getPromotionCandidatesForCallSite(
360 ArrayRef<PromotionCandidate> Candidates,
370 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
377 ArrayRef<PromotionCandidate> Candidates);
392 std::vector<PromotionCandidate> &Candidates);
424 std::vector<IndirectCallPromoter::PromotionCandidate>
428 std::vector<PromotionCandidate> Ret;
503 Ret.push_back(PromotionCandidate(TargetFunction, Count));
520 std::vector<PromotionCandidate> &Candidates) {
644 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
725 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
851 const CallBase &CB, ArrayRef<PromotionCandidate> Candidates) {