Lines Matching refs:MBB
48 template <unsigned OP> bool relax(Block &MBB, BlockIt MBBI);
50 bool runOnBasicBlock(Block &MBB);
51 bool runOnInstruction(Block &MBB, BlockIt MBBI);
53 MachineInstrBuilder buildMI(Block &MBB, BlockIt MBBI, unsigned Opcode) {
54 return BuildMI(MBB, MBBI, MBBI->getDebugLoc(), TII->get(Opcode));
66 for (Block &MBB : MF) {
67 bool BlockModified = runOnBasicBlock(MBB);
74 bool AVRRelaxMem::runOnBasicBlock(Block &MBB) {
77 BlockIt MBBI = MBB.begin(), E = MBB.end();
80 Modified |= runOnInstruction(MBB, MBBI);
88 bool AVRRelaxMem::relax<AVR::STDWPtrQRr>(Block &MBB, BlockIt MBBI) {
99 buildMI(MBB, MBBI, AVR::PUSHWRr)
103 buildMI(MBB, MBBI, AVR::SBCIWRdK)
110 buildMI(MBB, MBBI, AVR::STWPtrRr)
115 buildMI(MBB, MBBI, AVR::POPWRd)
124 bool AVRRelaxMem::runOnInstruction(Block &MBB, BlockIt MBBI) {
130 return relax<Op>(MBB, MI)