Lines Matching refs:MBBI
49 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
50 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
67 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
71 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP) in emitPrologue()
83 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue()
84 ++MBBI; in emitPrologue()
86 if (MBBI != MBB.end()) in emitPrologue()
87 DL = MBBI->getDebugLoc(); in emitPrologue()
99 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
114 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in emitEpilogue() local
115 unsigned RetOpcode = MBBI->getOpcode(); in emitEpilogue()
116 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue()
136 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::FP); in emitEpilogue()
141 while (MBBI != MBB.begin()) { in emitEpilogue()
142 MachineBasicBlock::iterator PI = std::prev(MBBI); in emitEpilogue()
146 --MBBI; in emitEpilogue()
149 DL = MBBI->getDebugLoc(); in emitEpilogue()
157 BuildMI(MBB, MBBI, DL, in emitEpilogue()
161 BuildMI(MBB, MBBI, DL, in emitEpilogue()
171 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP) in emitEpilogue()