Lines Matching refs:TII

46   const MSP430InstrInfo &TII =  in emitPrologue()  local
67 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
71 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FP) in emitPrologue()
99 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
111 const MSP430InstrInfo &TII = in emitEpilogue() local
136 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::FP); in emitEpilogue()
158 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::FP); in emitEpilogue()
162 TII.get(MSP430::SUB16ri), MSP430::SP) in emitEpilogue()
171 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP) in emitEpilogue()
192 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters() local
200 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r)) in spillCalleeSavedRegisters()
218 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters() local
221 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg()); in restoreCalleeSavedRegisters()
229 const MSP430InstrInfo &TII = in eliminateCallFramePseudoInstr() local
239 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr()
247 if (Old.getOpcode() == TII.getCallFrameSetupOpcode()) { in eliminateCallFramePseudoInstr()
249 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
253 assert(Old.getOpcode() == TII.getCallFrameDestroyOpcode()); in eliminateCallFramePseudoInstr()
255 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
257 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr()
271 } else if (I->getOpcode() == TII.getCallFrameDestroyOpcode()) { in eliminateCallFramePseudoInstr()
274 if (uint64_t CalleeAmt = TII.getFramePoppedByCallee(*I)) { in eliminateCallFramePseudoInstr()
277 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()