reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
456 BranchProbability::normalizeProbabilities(Probs.begin(), Probs.end()); 456 BranchProbability::normalizeProbabilities(Probs.begin(), Probs.end()); 503 bool hasSuccessorProbabilities() const { return !Probs.empty(); }lib/CodeGen/MIRPrinter.cpp
577 SmallVector<BranchProbability,8> Normalized(MBB.Probs.begin(), 578 MBB.Probs.end());lib/CodeGen/MachineBasicBlock.cpp
365 if (!Probs.empty()) 370 if (!Probs.empty() && IsStandalone) { 644 for (auto Prob : Probs) 650 Probs.size() && 659 if (!(Probs.empty() && !Successors.empty())) 660 Probs.push_back(Prob); 669 Probs.clear(); 687 addSuccessor(New, Probs.empty() ? BranchProbability::getUnknown() 705 if (!Probs.empty()) { 707 Probs.erase(WI); 748 if (!Probs.empty()) { 758 if (Orig->Probs.empty()) 783 if (!FromMBB->Probs.empty()) { 784 auto Prob = *FromMBB->Probs.begin(); 800 if (!FromMBB->Probs.empty()) { 801 auto Prob = *FromMBB->Probs.begin(); 1330 if (Probs.empty()) 1339 for (auto &P : Probs) { 1345 return Sum.getCompl() / (Probs.size() - KnownProbNum); 1354 if (Probs.empty()) 1363 assert(Probs.size() == Successors.size() && "Async probability list!"); 1365 assert(index < Probs.size() && "Not a current successor!"); 1366 return Probs.begin() + index; 1372 assert(Probs.size() == Successors.size() && "Async probability list!"); 1374 assert(index < Probs.size() && "Not a current successor!"); 1375 return Probs.begin() + index;