Lines Matching refs:Count
186 uint64_t Count; member
188 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
236 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local
237 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
239 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getPromotionCandidatesForCallSite()
286 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
291 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
292 TotalCount -= Count; in getPromotionCandidatesForCallSite()
299 uint64_t Count, uint64_t TotalCount, in promoteIndirectCall() argument
303 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall()
304 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall()
308 scaleBranchCount(Count, Scale), scaleBranchCount(ElseCount, Scale)); in promoteIndirectCall()
315 Weights.push_back(Count); in promoteIndirectCall()
326 << " with count " << NV("Count", Count) << " out of " in promoteIndirectCall()
339 uint64_t Count = C.Count; in tryToPromote() local
340 pgo::promoteIndirectCall(Inst, C.TargetFunction, Count, TotalCount, in tryToPromote()
342 assert(TotalCount >= Count); in tryToPromote()
343 TotalCount -= Count; in tryToPromote()