Lines Matching defs:NMBB
698 MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock();
699 MF->insert(llvm::next(MachineFunction::iterator(this)), NMBB);
702 << " -- BB#" << NMBB->getNumber()
708 LIS->insertMBBInMaps(NMBB);
710 Indexes->insertMBBInMaps(NMBB);
756 ReplaceUsesOfBlockWith(Succ, NMBB);
783 // Insert unconditional "jump Succ" instruction in NMBB if necessary.
784 NMBB->addSuccessor(Succ);
785 if (!NMBB->isLayoutSuccessor(Succ)) {
787 MF->getTarget().getInstrInfo()->InsertBranch(*NMBB, Succ, NULL, Cond, dl);
790 for (instr_iterator I = NMBB->instr_begin(), E = NMBB->instr_end();
792 // Some instructions may have been moved to NMBB by updateTerminator(),
801 // Fix PHI nodes in Succ so they refer to NMBB instead of this
807 i->getOperand(ni+1).setMBB(NMBB);
812 NMBB->addLiveIn(*I);
830 LV->addNewBlock(NMBB, this, Succ);
842 llvm::next(MachineFunction::iterator(NMBB)) == getParent()->end();
846 SlotIndex EndIndex = Indexes->getMBBEndIdx(NMBB);
848 // Find the registers used from NMBB in PHIs in Succ.
854 if (I->getOperand(ni+1).getMBB() == NMBB) {
903 if (PredBB == NMBB)
912 MachineDomTreeNode *NewDTNode = MDT->addNewBlock(NMBB, this);
927 // Both in the same loop, the NMBB joins loop.
928 DestLoop->addBasicBlockToLoop(NMBB, MLI->getBase());
931 TIL->addBasicBlockToLoop(NMBB, MLI->getBase());
934 DestLoop->addBasicBlockToLoop(NMBB, MLI->getBase());
943 P->addBasicBlockToLoop(NMBB, MLI->getBase());
948 return NMBB;