Lines Matching refs:MBBI
48 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue() local
49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::R4) in emitPrologue()
81 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue()
82 ++MBBI; in emitPrologue()
84 if (MBBI != MBB.end()) in emitPrologue()
85 DL = MBBI->getDebugLoc(); in emitPrologue()
97 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
112 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in emitEpilogue() local
113 unsigned RetOpcode = MBBI->getOpcode(); in emitEpilogue()
114 DebugLoc DL = MBBI->getDebugLoc(); in emitEpilogue()
134 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::R4); in emitEpilogue()
139 while (MBBI != MBB.begin()) { in emitEpilogue()
140 MachineBasicBlock::iterator PI = std::prev(MBBI); in emitEpilogue()
144 --MBBI; in emitEpilogue()
147 DL = MBBI->getDebugLoc(); in emitEpilogue()
155 BuildMI(MBB, MBBI, DL, in emitEpilogue()
159 BuildMI(MBB, MBBI, DL, in emitEpilogue()
169 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP) in emitEpilogue()