Lines Matching refs:Count
125 uint64_t Count; member
127 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
175 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local
176 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
179 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getPromotionCandidatesForCallSite()
233 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
238 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
239 TotalCount -= Count; in getPromotionCandidatesForCallSite()
245 uint64_t Count, uint64_t TotalCount, in promoteIndirectCall() argument
249 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall()
250 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall()
254 scaleBranchCount(Count, Scale), scaleBranchCount(ElseCount, Scale)); in promoteIndirectCall()
263 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
272 << " with count " << NV("Count", Count) << " out of " in promoteIndirectCall()
285 uint64_t Count = C.Count; in tryToPromote() local
286 pgo::promoteIndirectCall(CB, C.TargetFunction, Count, TotalCount, SamplePGO, in tryToPromote()
288 assert(TotalCount >= Count); in tryToPromote()
289 TotalCount -= Count; in tryToPromote()