Lines Matching refs:TotalCount
166 uint64_t TotalCount, uint32_t NumCandidates);
179 uint64_t TotalCount);
185 uint64_t &TotalCount);
259 uint64_t TotalCount, uint32_t NumCandidates) { in getPromotionCandidatesForCallSite() argument
273 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
304 TotalCount -= Count; in getPromotionCandidatesForCallSite()
312 uint64_t Count, uint64_t TotalCount, in createIfThenElse() argument
327 uint64_t ElseCount = TotalCount - Count; in createIfThenElse()
528 uint64_t Count, uint64_t TotalCount) { in promote() argument
537 createIfThenElse(Inst, DirectCallee, Count, TotalCount, &DirectCallBB, in promote()
573 " with count " + Twine(Count) + " out of " + Twine(TotalCount)); in promote()
579 uint64_t &TotalCount) { in tryToPromote() argument
584 promote(Inst, C.TargetFunction, Count, TotalCount); in tryToPromote()
585 assert(TotalCount >= Count); in tryToPromote()
586 TotalCount -= Count; in tryToPromote()
600 uint64_t TotalCount; in processFunction() local
602 I, NumVals, TotalCount, NumCandidates); in processFunction()
606 I, ICallProfDataRef, TotalCount, NumCandidates); in processFunction()
607 uint32_t NumPromoted = tryToPromote(I, PromotionCandidates, TotalCount); in processFunction()
615 if (TotalCount == 0 || NumPromoted == NumVals) in processFunction()
618 annotateValueSite(*M, *I, ICallProfDataRef.slice(NumPromoted), TotalCount, in processFunction()