Lines Matching refs:Count
185 uint64_t Count; member
187 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
235 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local
236 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
239 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getPromotionCandidatesForCallSite()
293 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
298 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
299 TotalCount -= Count; in getPromotionCandidatesForCallSite()
305 uint64_t Count, uint64_t TotalCount, in promoteIndirectCall() argument
309 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall()
310 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall()
314 scaleBranchCount(Count, Scale), scaleBranchCount(ElseCount, Scale)); in promoteIndirectCall()
323 MDB.createBranchWeights({static_cast<uint32_t>(Count)})); in promoteIndirectCall()
332 << " with count " << NV("Count", Count) << " out of " in promoteIndirectCall()
345 uint64_t Count = C.Count; in tryToPromote() local
346 pgo::promoteIndirectCall(CB, C.TargetFunction, Count, TotalCount, SamplePGO, in tryToPromote()
348 assert(TotalCount >= Count); in tryToPromote()
349 TotalCount -= Count; in tryToPromote()