Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:MBB

210   for (MachineBasicBlock &MBB : *MF) {
211 std::pair<unsigned, unsigned> &RMB = RegMaskBlocks[MBB.getNumber()];
215 if (const uint32_t *Mask = MBB.getBeginClobberMask(TRI)) {
216 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB));
220 for (MachineInstr &MI : MBB) {
230 // the last instruction of the block, because MBB slot index intervals are
232 if (const uint32_t *Mask = MBB.getEndClobberMask(TRI)) {
233 assert(!MBB.empty() && "empty return block?");
235 Indexes->getInstructionIndex(MBB.back()).getRegSlot());
306 const MachineBasicBlock *MBB = &*MFI;
309 if ((MFI != MF->begin() && !MBB->isEHPad()) || MBB->livein_empty())
313 SlotIndex Begin = Indexes->getMBBStartIdx(MBB);
314 DEBUG(dbgs() << Begin << "\tBB#" << MBB->getNumber());
315 for (const auto &LI : MBB->liveins()) {
366 const MachineBasicBlock *MBB = Indexes.getMBBFromIndex(Idx.getPrevSlot());
367 SlotIndex BlockStart = Indexes.getMBBStartIdx(MBB);
378 for (auto &Pred : MBB->predecessors()) {
389 // VNI is live-in to MBB.
394 for (auto &Pred : MBB->predecessors()) {
616 MachineBasicBlock *MBB = *I;
618 // Check if VNI is live in to MBB.
620 std::tie(MBBStart, MBBEnd) = Indexes->getMBBRange(MBB);
628 // Prune the search if VNI is killed in MBB.
636 // VNI is live through MBB.
685 // A block index indicates an MBB edge.
795 // getMBBFromIndex doesn't need to search the MBB table when both indexes
854 if (MachineBasicBlock *MBB = intervalIsInOneMBB(LI)) {
855 Slots = getRegMaskSlotsInBlock(MBB->getNumber());
856 Bits = getRegMaskBitsInBlock(MBB->getNumber());
1336 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(Before);
1339 // point to the next instruction after OldIdx, or MBB->end().
1340 MachineBasicBlock::iterator MII = MBB->end();
1343 if (MI->getParent() == MBB)
1346 MachineBasicBlock::iterator Begin = MBB->begin();
1480 LiveIntervals::repairIntervalsInRange(MachineBasicBlock *MBB,
1486 while (Begin != MBB->begin() && !Indexes->hasIndex(*Begin))
1488 while (End != MBB->end() && !Indexes->hasIndex(*End))
1492 if (End == MBB->end())
1493 endIdx = getMBBEndIdx(MBB).getPrevSlot();
1497 Indexes->repairIndexesInRange(MBB, Begin, End);