Home | History | Annotate | Download | only in MSP430

Lines Matching refs:MSP430

1 //===-- MSP430RegisterInfo.cpp - MSP430 Register Information --------------===//
10 // This file contains the MSP430 implementation of the TargetRegisterInfo class.
15 #include "MSP430.h"
29 #define DEBUG_TYPE "msp430-reg-info"
36 : MSP430GenRegisterInfo(MSP430::PC) {}
43 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7,
44 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11,
48 MSP430::R5, MSP430::R6, MSP430::R7,
49 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11,
53 MSP430::FP, MSP430::R5, MSP430::R6, MSP430::R7,
54 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11,
55 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15,
59 MSP430::R5, MSP430::R6, MSP430::R7,
60 MSP430::R8, MSP430::R9, MSP430::R10, MSP430::R11,
61 MSP430::R12, MSP430::R13, MSP430::R14, MSP430::R15,
79 Reserved.set(MSP430::PCB);
80 Reserved.set(MSP430::SPB);
81 Reserved.set(MSP430::SRB);
82 Reserved.set(MSP430::CGB);
83 Reserved.set(MSP430::PC);
84 Reserved.set(MSP430::SP);
85 Reserved.set(MSP430::SR);
86 Reserved.set(MSP430::CG);
90 Reserved.set(MSP430::FPB);
91 Reserved.set(MSP430::FP);
100 return &MSP430::GR16RegClass;
116 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FP : MSP430::SP);
130 if (MI.getOpcode() == MSP430::ADD16ri) {
136 MI.setDesc(TII.get(MSP430::MOV16rr));
145 BuildMI(MBB, std::next(II), dl, TII.get(MSP430::SUB16ri), DstReg)
148 BuildMI(MBB, std::next(II), dl, TII.get(MSP430::ADD16ri), DstReg)
160 return TFI->hasFP(MF) ? MSP430::FP : MSP430::SP;