Home | History | Annotate | Download | only in Sparc

Lines Matching refs:MBB

54     bool runOnMachineBasicBlock(MachineBasicBlock &MBB);
86 findDelayInstr(MachineBasicBlock &MBB, MachineBasicBlock::iterator slot);
90 bool tryCombineRestoreWithPrevInst(MachineBasicBlock &MBB,
108 bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
110 Subtarget = &MBB.getParent()->getSubtarget<SparcSubtarget>();
113 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ) {
121 Changed |= tryCombineRestoreWithPrevInst(MBB, MI);
130 BuildMI(MBB, I, MI->getDebugLoc(), TII->get(SP::NOP));
139 MachineBasicBlock::iterator D = MBB.end();
142 D = findDelayInstr(MBB, MI);
147 if (D == MBB.end())
148 BuildMI(MBB, I, MI->getDebugLoc(), TII->get(SP::NOP));
150 MBB.splice(I, &MBB, D);
156 assert (J != MBB.end() && "MI needs a delay instruction.");
157 BuildMI(MBB, ++J, MI->getDebugLoc(),
160 MIBundleBuilder(MBB, MachineBasicBlock::iterator(MI), J);
162 MIBundleBuilder(MBB, MachineBasicBlock::iterator(MI), I);
169 Filler::findDelayInstr(MachineBasicBlock &MBB,
177 if (slot == MBB.begin())
178 return MBB.end();
181 return MBB.end();
206 done = (I == MBB.begin());
226 return MBB.end();
466 bool Filler::tryCombineRestoreWithPrevInst(MachineBasicBlock &MBB,
470 if (MBBI == MBB.begin())