Lines Matching refs:RestoreBB
580 MachineBasicBlock *RestoreBB = createNewBlockAfter(MF->back(),
582 std::prev(RestoreBB->getIterator())
583 ->setIsEndSection(RestoreBB->isEndSection());
584 RestoreBB->setIsEndSection(false);
586 TII->insertIndirectBranch(*BranchBB, *DestBB, *RestoreBB, DL,
595 // If RestoreBB is required, place it appropriately.
596 if (!RestoreBB->empty()) {
630 // Now, RestoreBB could be placed directly before DestBB.
631 MF->splice(DestBB->getIterator(), RestoreBB->getIterator());
633 RestoreBB->addSuccessor(DestBB);
634 BranchBB->replaceSuccessor(DestBB, RestoreBB);
636 computeAndAddLiveIns(LiveRegs, *RestoreBB);
638 BlockInfo[RestoreBB->getNumber()].Size = computeBlockSize(*RestoreBB);
642 // Fix up section information for RestoreBB and DestBB
643 RestoreBB->setSectionID(DestBB->getSectionID());
644 RestoreBB->setIsBeginSection(DestBB->isBeginSection());
646 RelaxedUnconditionals.insert({BranchBB, RestoreBB});
649 MF->erase(RestoreBB);