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