Lines Matching refs:TII

45   const MSP430InstrInfo &TII =  in emitPrologue()  local
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::R4) in emitPrologue()
97 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
109 const MSP430InstrInfo &TII = in emitEpilogue() local
134 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::R4); in emitEpilogue()
156 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::R4); in emitEpilogue()
160 TII.get(MSP430::SUB16ri), MSP430::SP) in emitEpilogue()
169 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP) in emitEpilogue()
188 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters() local
196 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r)) in spillCalleeSavedRegisters()
212 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters() local
215 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), I.getReg()); in restoreCalleeSavedRegisters()
223 const MSP430InstrInfo &TII = in eliminateCallFramePseudoInstr() local
231 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr()
239 if (Old.getOpcode() == TII.getCallFrameSetupOpcode()) { in eliminateCallFramePseudoInstr()
241 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
245 assert(Old.getOpcode() == TII.getCallFrameDestroyOpcode()); in eliminateCallFramePseudoInstr()
247 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
249 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr()
263 } else if (I->getOpcode() == TII.getCallFrameDestroyOpcode()) { in eliminateCallFramePseudoInstr()
266 if (uint64_t CalleeAmt = TII.getFramePoppedByCallee(*I)) { in eliminateCallFramePseudoInstr()
269 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()