Lines Matching refs:MBB

144   for (auto &MBB : MF) {  in INITIALIZE_PASS_DEPENDENCY()  local
145 auto NextMBBI = std::next(MBB.getIterator()); in INITIALIZE_PASS_DEPENDENCY()
146 auto *FTMBB = PreLayoutFallThroughs[MBB.getNumber()]; in INITIALIZE_PASS_DEPENDENCY()
153 if (FTMBB && (MBB.isEndSection() || &*NextMBBI != FTMBB)) in INITIALIZE_PASS_DEPENDENCY()
154 TII->insertUnconditionalBranch(MBB, FTMBB, MBB.findBranchDebugLoc()); in INITIALIZE_PASS_DEPENDENCY()
158 if (MBB.isEndSection()) in INITIALIZE_PASS_DEPENDENCY()
165 if (TII->analyzeBranch(MBB, TBB, FBB, Cond)) in INITIALIZE_PASS_DEPENDENCY()
167 MBB.updateTerminator(FTMBB); in INITIALIZE_PASS_DEPENDENCY()
190 for (auto &MBB : MF) { in assignSections() local
201 MBB.setSectionID(MBB.getNumber()); in assignSections()
203 auto I = FuncClusterInfo.find(*MBB.getBBID()); in assignSections()
205 MBB.setSectionID(I->second.ClusterID); in assignSections()
209 MBB.setSectionID(MBBSectionID::ColdSectionID); in assignSections()
213 if (MBB.isEHPad() && EHPadsSectionID != MBB.getSectionID() && in assignSections()
219 : MBB.getSectionID(); in assignSections()
226 for (auto &MBB : MF) in assignSections() local
227 if (MBB.isEHPad()) in assignSections()
228 MBB.setSectionID(*EHPadsSectionID); in assignSections()
235 for (auto &MBB : MF) in sortBasicBlocksAndUpdateBranches() local
236 PreLayoutFallThroughs[MBB.getNumber()] = in sortBasicBlocksAndUpdateBranches()
237 MBB.getFallThrough(/*JumpToFallThrough=*/false); in sortBasicBlocksAndUpdateBranches()
257 for (auto &MBB : MF) { in avoidZeroOffsetLandingPad() local
258 if (MBB.isBeginSection() && MBB.isEHPad()) { in avoidZeroOffsetLandingPad()
259 MachineBasicBlock::iterator MI = MBB.begin(); in avoidZeroOffsetLandingPad()
262 MF.getSubtarget().getInstrInfo()->insertNoop(MBB, MI); in avoidZeroOffsetLandingPad()