Home | History | Annotate | Download | only in CodeGen

Lines Matching full:pred

440         for (MachineBasicBlock *Pred : Succ->predecessors()) {
442 if (Pred == Succ || (BlockFilter && !BlockFilter->count(Pred)) ||
443 BlockToChain[Pred] == &Chain)
446 if (Pred->pred_size() > 1 || *Pred->pred_begin() != BB)
449 if (Pred->size() < OutlineOptionalThreshold)
474 for (MachineBasicBlock *Pred : Succ->predecessors()) {
475 if (Pred == Succ || (BlockFilter && !BlockFilter->count(Pred)) ||
476 BlockToChain[Pred] == &Chain)
479 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ);
652 for (MachineBasicBlock *Pred : L.getHeader()->predecessors()) {
653 if (!LoopBlockSet.count(Pred))
655 DEBUG(dbgs() << " header pred: " << getBlockName(Pred) << ", "
656 << Pred->succ_size() << " successors, ";
657 MBFI->printBlockFreq(dbgs(), Pred) << " freq\n");
658 if (Pred->succ_size() > 1)
661 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred);
664 Pred->isLayoutSuccessor(L.getHeader()))) {
665 BestPred = Pred;
811 for (MachineBasicBlock *Pred : Top->predecessors()) {
812 BlockChain *PredChain = BlockToChain[Pred];
813 if (!LoopBlockSet.count(Pred) &&
814 (!PredChain || Pred == *std::prev(PredChain->end()))) {
877 for (auto *Pred : HeaderBB->predecessors()) {
878 BlockChain *PredChain = BlockToChain[Pred];
879 if (!LoopBlockSet.count(Pred) &&
880 (!PredChain || Pred == *std::prev(PredChain->end()))) {
882 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB);
886 if (Pred->succ_size() == 1)
1077 for (MachineBasicBlock *Pred : ChainBB->predecessors()) {
1078 if (BlockToChain[Pred] == &Chain || !LoopBlockSet.count(Pred))
1195 for (MachineBasicBlock *Pred : ChainBB->predecessors()) {
1196 if (BlockToChain[Pred] == &Chain)