Lines Matching defs:PromotionCandidate
322 struct PromotionCandidate {
336 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {}
344 std::vector<PromotionCandidate> getPromotionCandidatesForCallSite(
352 ArrayRef<PromotionCandidate> Candidates,
362 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
369 ArrayRef<PromotionCandidate> Candidates,
381 std::vector<PromotionCandidate> &Candidates);
412 std::vector<IndirectCallPromoter::PromotionCandidate>
416 std::vector<PromotionCandidate> Ret;
491 Ret.push_back(PromotionCandidate(TargetFunction, Count));
508 std::vector<PromotionCandidate> &Candidates) {
632 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
713 CallBase &CB, Instruction *VPtr, ArrayRef<PromotionCandidate> Candidates,
839 const CallBase &CB, ArrayRef<PromotionCandidate> Candidates,