Lines Matching defs:MBB
148 for (auto &MBB : MF) {
149 auto NextMBBI = std::next(MBB.getIterator());
150 auto *FTMBB = PreLayoutFallThroughs[MBB.getNumber()];
157 if (FTMBB && (MBB.isEndSection() || &*NextMBBI != FTMBB))
158 TII->insertUnconditionalBranch(MBB, FTMBB, MBB.findBranchDebugLoc());
162 if (MBB.isEndSection())
169 if (TII->analyzeBranch(MBB, TBB, FBB, Cond))
171 MBB.updateTerminator(FTMBB);
194 for (auto &MBB : MF) {
205 MBB.setSectionID(MBB.getNumber());
207 auto I = FuncClusterInfo.find(*MBB.getBBID());
209 MBB.setSectionID(I->second.ClusterID);
212 *MBB.getParent()->getSubtarget().getInstrInfo();
214 if (TII.isMBBSafeToSplitToCold(MBB)) {
217 MBB.setSectionID(MBBSectionID::ColdSectionID);
222 if (MBB.isEHPad() && EHPadsSectionID != MBB.getSectionID() &&
228 : MBB.getSectionID();
235 for (auto &MBB : MF)
236 if (MBB.isEHPad())
237 MBB.setSectionID(*EHPadsSectionID);
244 for (auto &MBB : MF)
245 PreLayoutFallThroughs[MBB.getNumber()] =
246 MBB.getFallThrough(/*JumpToFallThrough=*/false);
266 for (auto &MBB : MF) {
267 if (MBB.isBeginSection() && MBB.isEHPad()) {
268 MachineBasicBlock::iterator MI = MBB.begin();
271 MF.getSubtarget().getInstrInfo()->insertNoop(MBB, MI);