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()
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SP) in emitPrologue()
110 const MSP430InstrInfo &TII = in emitEpilogue() local
135 BuildMI(MBB, MBBI, DL, TII.get(MSP430::POP16r), MSP430::R4); in emitEpilogue()
157 TII.get(MSP430::MOV16rr), MSP430::SP).addReg(MSP430::R4); in emitEpilogue()
161 TII.get(MSP430::SUB16ri), MSP430::SP) in emitEpilogue()
170 BuildMI(MBB, MBBI, DL, TII.get(MSP430::ADD16ri), MSP430::SP) in emitEpilogue()
189 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in spillCalleeSavedRegisters() local
197 BuildMI(MBB, MI, DL, TII.get(MSP430::PUSH16r)) in spillCalleeSavedRegisters()
213 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in restoreCalleeSavedRegisters() local
216 BuildMI(MBB, MI, DL, TII.get(MSP430::POP16r), CSI[i].getReg()); in restoreCalleeSavedRegisters()
224 const MSP430InstrInfo &TII = in eliminateCallFramePseudoInstr() local
232 uint64_t Amount = TII.getFrameSize(Old); in eliminateCallFramePseudoInstr()
240 if (Old.getOpcode() == TII.getCallFrameSetupOpcode()) { in eliminateCallFramePseudoInstr()
242 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()
246 assert(Old.getOpcode() == TII.getCallFrameDestroyOpcode()); in eliminateCallFramePseudoInstr()
248 Amount -= TII.getFramePoppedByCallee(Old); in eliminateCallFramePseudoInstr()
250 New = BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::ADD16ri), in eliminateCallFramePseudoInstr()
264 } else if (I->getOpcode() == TII.getCallFrameDestroyOpcode()) { in eliminateCallFramePseudoInstr()
267 if (uint64_t CalleeAmt = TII.getFramePoppedByCallee(*I)) { in eliminateCallFramePseudoInstr()
270 BuildMI(MF, Old.getDebugLoc(), TII.get(MSP430::SUB16ri), MSP430::SP) in eliminateCallFramePseudoInstr()