Lines Matching refs:MBB
42 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB
48 MachineBasicBlock::iterator MBBI = MBB.begin();
49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r))
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FPW)
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r))
85 if (MBBI != MBB.end())
91 //NumBytes -= mergeSPUpdates(MBB, MBBI, true);
94 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes);
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SPW)
107 MachineBasicBlock &MBB) const {
113 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr();
135 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::FPW);
140 while (MBBI != MBB.begin()) {
153 // mergeSPUpdatesUp(MBB, MBBI, StackPtr, &NumBytes);
156 BuildMI(MBB, MBBI, DL,
160 BuildMI(MBB, MBBI, DL,
170 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SPW)
180 MSP430FrameLowering::spillCalleeSavedRegisters(MachineBasicBlock &MBB,
188 if (MI != MBB.end()) DL = MI->getDebugLoc();
190 MachineFunction &MF = *MBB.getParent();
198 MBB.addLiveIn(Reg);
199 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r))
206 MSP430FrameLowering::restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
214 if (MI != MBB.end()) DL = MI->getDebugLoc();
216 MachineFunction &MF = *MBB.getParent();
220 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg());