Lines Matching refs:TotalCount

200   uint64_t TotalCount = 0;  in printDecision()  local
203 TotalCount += S.Branches; in printDecision()
206 if (!TotalCount) in printDecision()
207 TotalCount = 1; in printDecision()
212 << " targets, Count = " << TotalCount << ", Mispreds = " << TotalMispreds in printDecision()
218 << format("%.1f", (100.0 * S.Branches) / TotalCount) << ", " in printDecision()
340 uint64_t TotalCount = 0; in getCallTargets()
343 TotalCount += S.Branches; in getCallTargets()
346 if (!TotalCount) in getCallTargets()
347 TotalCount = 1; in getCallTargets()
352 << ", Count = " << TotalCount << ", Mispreds = " << TotalMispreds in getCallTargets()
358 << format("%.1f", (100.0 * S.Branches) / TotalCount) << ", " in getCallTargets()
819 uint64_t TotalCount = IndCallBlock.getKnownExecutionCount(); in fixCFG() local
835 BinaryBranchInfo{uint64_t(TotalCount * Target.Branches / in fixCFG()
837 uint64_t(TotalCount * Target.Mispreds / in fixCFG()
858 SourceBB->setExecutionCount(TotalCount); in fixCFG()
864 TotalCount -= ScaledBBI[I].Count; in fixCFG()
865 SourceBB->addSuccessor(NewBBs[I].get(), TotalCount); // fall-through in fixCFG()
888 TotalCount -= ScaledBI->Count; in fixCFG()
899 IndCallBlock.addSuccessor(NewBBs[1].get(), TotalCount); in fixCFG()
904 assert(TotalCount <= IndCallBlock.getExecutionCount() || in fixCFG()
905 TotalCount <= uint64_t(TotalIndirectBranches)); in fixCFG()
913 NewBBs[I]->addSuccessor(NewBBs[I + 2].get(), TotalCount); in fixCFG()
915 ExecCount += TotalCount; in fixCFG()
928 NewBBs.back()->addSuccessor(MergeBlock, TotalCount); // uncond branch in fixCFG()
933 NewBBs.back()->setExecutionCount(TotalCount); in fixCFG()