Lines Matching defs:MBB
225 for (MachineBasicBlock &MBB : *MF) {
226 std::pair<unsigned, unsigned> &RMB = RegMaskBlocks[MBB.getNumber()];
230 if (const uint32_t *Mask = MBB.getBeginClobberMask(TRI)) {
231 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB));
235 for (MachineInstr &MI : MBB) {
245 if (const uint32_t *Mask = MBB.getEndClobberMask(TRI)) {
246 RegMaskSlots.push_back(Indexes->getMBBEndIdx(&MBB));
317 const MachineBasicBlock *MBB = &*MFI;
320 if ((MFI != MF->begin() && !MBB->isEHPad()) || MBB->livein_empty())
324 SlotIndex Begin = Indexes->getMBBStartIdx(MBB);
325 DEBUG(dbgs() << Begin << "\tBB#" << MBB->getNumber());
326 for (const auto &LI : MBB->liveins()) {
377 const MachineBasicBlock *MBB = Indexes.getMBBFromIndex(Idx.getPrevSlot());
378 SlotIndex BlockStart = Indexes.getMBBStartIdx(MBB);
389 for (auto &Pred : MBB->predecessors()) {
400 // VNI is live-in to MBB.
405 for (auto &Pred : MBB->predecessors()) {
637 MachineBasicBlock *MBB = *I;
639 // Check if VNI is live in to MBB.
641 std::tie(MBBStart, MBBEnd) = Indexes->getMBBRange(MBB);
649 // Prune the search if VNI is killed in MBB.
657 // VNI is live through MBB.
706 // A block index indicates an MBB edge.
816 // getMBBFromIndex doesn't need to search the MBB table when both indexes
877 if (MachineBasicBlock *MBB = intervalIsInOneMBB(LI)) {
878 Slots = getRegMaskSlotsInBlock(MBB->getNumber());
879 Bits = getRegMaskBitsInBlock(MBB->getNumber());
1230 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(NewIdx);
1233 // point to the next instruction after OldIdx, or MBB->end().
1234 MachineBasicBlock::iterator MII = MBB->end();
1237 if (MI->getParent() == MBB)
1240 MachineBasicBlock::iterator Begin = MBB->begin();
1373 LiveIntervals::repairIntervalsInRange(MachineBasicBlock *MBB,
1379 while (Begin != MBB->begin() && !Indexes->hasIndex(Begin))
1381 while (End != MBB->end() && !Indexes->hasIndex(End))
1385 if (End == MBB->end())
1386 endIdx = getMBBEndIdx(MBB).getPrevSlot();
1390 Indexes->repairIndexesInRange(MBB, Begin, End);