Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:mbb

45   // Iterate over all MBBs, and within each MBB all MIs, keeping the MI
59 "Index -> MBB mapping non-empty at initial numbering?");
61 "MBB -> Index mapping non-empty at initial numbering?");
74 MachineBasicBlock *mbb = &*mbbItr;
76 // Insert an index for the MBB start.
79 for (MachineBasicBlock::iterator miItr = mbb->begin(), miEnd = mbb->end();
96 MBBRanges[mbb->getNumber()].first = blockStartIndex;
97 MBBRanges[mbb->getNumber()].second = SlotIndex(&indexList.back(),
99 idx2MBBMap.push_back(IdxMBBPair(blockStartIndex, mbb));
146 void SlotIndexes::repairIndexesInRange(MachineBasicBlock *MBB,
153 while (Begin != MBB->begin() && !hasIndex(Begin))
155 while (End != MBB->end() && !hasIndex(End))
158 bool includeStart = (Begin == MBB->begin());
161 startIdx = getMBBStartIdx(MBB);
166 if (End == MBB->end())
167 endIdx = getMBBEndIdx(MBB);
171 // FIXME: Conceptually, this code is implementing an iterator on MBB that
172 // optionally includes an additional position prior to MBB->begin(), indicated
173 // by the includeStart flag. This is done so that we can iterate MIs in a MBB
185 MachineInstr *MI = (MBBI != MBB->end() && !pastStart) ? MBBI : nullptr;