Lines Matching refs:PredBB
528 MachineBasicBlock *PredBB) {
538 if (MBB1 == PredBB || MBB2 == PredBB) {
540 unsigned NumTerms = CountTerminators(MBB1 == PredBB ? MBB2 : MBB1, I);
558 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB &&
594 MachineBasicBlock *PredBB) {
608 SuccBB, PredBB)) {
630 MachineBasicBlock *PredBB) {
637 if (SuccBB && CurMBB != PredBB)
649 bool BranchFolder::CreateCommonTailOnlyBlock(MachineBasicBlock *&PredBB,
655 // Use PredBB if possible; that doesn't require a new branch.
656 if (SameTails[i].getBlock() == PredBB) {
688 // If we split PredBB, newMBB is the new predecessor.
689 if (PredBB == MBB)
690 PredBB = newMBB;
701 // if any, is given in PredBB.
704 MachineBasicBlock *PredBB) {
718 if (PredBB)
720 << PredBB->getNumber() << "\n";
739 SuccBB, PredBB);
744 RemoveBlocksWithHash(CurHash, SuccBB, PredBB);
750 // tail at once. Use PredBB if that is one of the possibilities, as that
773 if (MBB == PredBB) {
783 (SameTails[commonTailIndex].getBlock() == PredBB &&
787 if (!CreateCommonTailOnlyBlock(PredBB,
789 RemoveBlocksWithHash(CurHash, SuccBB, PredBB);
865 MachineBasicBlock *PredBB = prior(I);
943 MadeChange |= TryTailMergeBlocks(IBB, PredBB);
947 PredBB = prior(I); // this may have been changed in TryTailMergeBlocks
949 MergePotentials.begin()->getBlock() != PredBB)
1196 // We have to be careful that the succs of PredBB aren't both no-successor
1197 // blocks. If neither have successors and if PredBB is the second from
1367 MachineBasicBlock *PredBB = *PI;
1368 MachineFunction::iterator PredFallthrough = PredBB; ++PredFallthrough;
1371 if (PredBB != MBB && !PredBB->canFallThrough() &&
1372 !TII->AnalyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)
1374 && (!CurFallsThru || MBB->getNumber() >= PredBB->getNumber())) {
1390 MBB->moveAfter(PredBB);