Lines Matching full:msp430
1 //===-- MSP430RegisterInfo.cpp - MSP430 Register Information --------------===//
9 // This file contains the MSP430 implementation of the TargetRegisterInfo class.
14 #include "MSP430.h"
28 #define DEBUG_TYPE "msp430-reg-info"
35 : MSP430GenRegisterInfo(MSP430::PC) {}
42 MSP430::R4, MSP430::R5, MSP430::R6, MSP430::R7,
43 MSP430::R8, MSP430::R9, MSP430::R10,
47 MSP430::R5, MSP430::R6, MSP430::R7,
48 MSP430::R8, MSP430::R9, MSP430::R10,
52 MSP430::R4, MSP430::R5, MSP430::R6, MSP430::R7,
53 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11,
54 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15,
58 MSP430::R5, MSP430::R6, MSP430::R7,
59 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11,
60 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15,
78 Reserved.set(MSP430::PCB);
79 Reserved.set(MSP430::SPB);
80 Reserved.set(MSP430::SRB);
81 Reserved.set(MSP430::CGB);
82 Reserved.set(MSP430::PC);
83 Reserved.set(MSP430::SP);
84 Reserved.set(MSP430::SR);
85 Reserved.set(MSP430::CG);
89 Reserved.set(MSP430::R4B);
90 Reserved.set(MSP430::R4);
99 return &MSP430::GR16RegClass;
115 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::R4 : MSP430::SP);
129 if (MI.getOpcode() == MSP430::ADDframe) {
135 MI.setDesc(TII.get(MSP430::MOV16rr));
147 BuildMI(MBB, std::next(II), dl, TII.get(MSP430::SUB16ri), DstReg)
150 BuildMI(MBB, std::next(II), dl, TII.get(MSP430::ADD16ri), DstReg)
163 return TFI->hasFP(MF) ? MSP430::R4 : MSP430::SP;