Lines Matching refs:MBB

50   void selectLOCRMux(MachineBasicBlock &MBB,
55 void selectSELRMux(MachineBasicBlock &MBB,
60 bool expandCondMove(MachineBasicBlock &MBB,
63 bool selectMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
65 bool selectMBB(MachineBasicBlock &MBB);
84 void SystemZPostRewrite::selectLOCRMux(MachineBasicBlock &MBB, in selectLOCRMux() argument
99 expandCondMove(MBB, MBBI, NextMBBI); in selectLOCRMux()
105 void SystemZPostRewrite::selectSELRMux(MachineBasicBlock &MBB, in selectSELRMux() argument
151 expandCondMove(MBB, MBBI, NextMBBI); in selectSELRMux()
157 bool SystemZPostRewrite::expandCondMove(MachineBasicBlock &MBB, in expandCondMove() argument
160 MachineFunction &MF = *MBB.getParent(); in expandCondMove()
161 const BasicBlock *BB = MBB.getBasicBlock(); in expandCondMove()
172 LiveRegs.addLiveOuts(MBB); in expandCondMove()
173 for (auto I = std::prev(MBB.end()); I != MBBI; --I) in expandCondMove()
178 MF.insert(std::next(MachineFunction::iterator(MBB)), RestMBB); in expandCondMove()
179 RestMBB->splice(RestMBB->begin(), &MBB, MI, MBB.end()); in expandCondMove()
180 RestMBB->transferSuccessors(&MBB); in expandCondMove()
186 MF.insert(std::next(MachineFunction::iterator(MBB)), MoveMBB); in expandCondMove()
193 BuildMI(&MBB, DL, TII->get(SystemZ::BRC)) in expandCondMove()
195 MBB.addSuccessor(RestMBB); in expandCondMove()
196 MBB.addSuccessor(MoveMBB); in expandCondMove()
204 NextMBBI = MBB.end(); in expandCondMove()
212 bool SystemZPostRewrite::selectMI(MachineBasicBlock &MBB, in selectMI() argument
228 BuildMI(MBB, &MI, MI.getDebugLoc(), TII->get(SystemZ::COPY), DstReg) in selectMI()
238 selectLOCRMux(MBB, MBBI, NextMBBI, SystemZ::LOCR, SystemZ::LOCFHR); in selectMI()
241 selectSELRMux(MBB, MBBI, NextMBBI, SystemZ::SELR, SystemZ::SELFHR); in selectMI()
250 bool SystemZPostRewrite::selectMBB(MachineBasicBlock &MBB) { in selectMBB() argument
253 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); in selectMBB()
256 Modified |= selectMI(MBB, MBBI, NMBBI); in selectMBB()
267 for (auto &MBB : MF) in runOnMachineFunction() local
268 Modified |= selectMBB(MBB); in runOnMachineFunction()