Lines Matching refs:Count
261 void BinaryBasicBlock::addSuccessor(BinaryBasicBlock *Succ, uint64_t Count, in addSuccessor() argument
264 BranchInfo.push_back({Count, MispredictedCount}); in addSuccessor()
270 uint64_t Count, in replaceSuccessor() argument
284 *BI = BinaryBranchInfo{Count, MispredictedCount}; in replaceSuccessor()
349 uint64_t Count = COUNT_NO_PROFILE; in removeDuplicateConditionalSuccessor() local
350 if (CondBI.Count != COUNT_NO_PROFILE && UncondBI.Count != COUNT_NO_PROFILE) in removeDuplicateConditionalSuccessor()
351 Count = CondBI.Count + UncondBI.Count; in removeDuplicateConditionalSuccessor()
352 BranchInfo.push_back({Count, 0}); in removeDuplicateConditionalSuccessor()
386 auto adjustedCount = [&](uint64_t Count) -> uint64_t { in adjustExecutionCount() argument
387 double NewCount = Count * Ratio; in adjustExecutionCount()
388 if (!NewCount && Count && (Ratio > 0.0)) in adjustExecutionCount()
395 if (BI.Count != COUNT_NO_PROFILE) in adjustExecutionCount()
396 BI.Count = adjustedCount(BI.Count); in adjustExecutionCount()
540 if (BI.Count != COUNT_NO_PROFILE) { in getBranchStats()
541 TotalCount += BI.Count; in getBranchStats()
550 if (BI.Count && BI.Count != COUNT_NO_PROFILE) { in getBranchStats()
553 return std::make_pair(double(BI.Count) / TotalCount, in getBranchStats()