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.
14 #define DEBUG_TYPE "msp430-reg-info"
17 #include "MSP430.h"
37 : MSP430GenRegisterInfo(MSP430::PCW), TM(tm), TII(tii) {
46 MSP430::FPW, MSP430::R5W, MSP430::R6W, MSP430::R7W,
47 MSP430::R8W, MSP430::R9W, MSP430::R10W, MSP430::R11W,
51 MSP430::R5W, MSP430::R6W, MSP430::R7W,
52 MSP430::R8W, MSP430::R9W, MSP430::R10W, MSP430::R11W,
56 MSP430::FPW, MSP430::R5W, MSP430::R6W, MSP430::R7W,
57 MSP430::R8W, MSP430::R9W, MSP430::R10W, MSP430::R11W,
58 MSP430::R12W, MSP430::R13W, MSP430::R14W, MSP430::R15W,
62 MSP430::R5W, MSP430::R6W, MSP430::R7W,
63 MSP430::R8W, MSP430::R9W, MSP430::R10W, MSP430::R11W,
64 MSP430::R12W, MSP430::R13W, MSP430::R14W, MSP430::R15W,
82 Reserved.set(MSP430::PCB);
83 Reserved.set(MSP430::SPB);
84 Reserved.set(MSP430::SRB);
85 Reserved.set(MSP430::CGB);
86 Reserved.set(MSP430::PCW);
87 Reserved.set(MSP430::SPW);
88 Reserved.set(MSP430::SRW);
89 Reserved.set(MSP430::CGW);
93 Reserved.set(MSP430::FPW);
101 return &MSP430::GR16RegClass;
117 unsigned BasePtr = (TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW);
131 if (MI.getOpcode() == MSP430::ADD16ri) {
136 MI.setDesc(TII.get(MSP430::MOV16rr));
145 BuildMI(MBB, llvm::next(II), dl, TII.get(MSP430::SUB16ri), DstReg)
148 BuildMI(MBB, llvm::next(II), dl, TII.get(MSP430::ADD16ri), DstReg)
161 return TFI->hasFP(MF) ? MSP430::FPW : MSP430::SPW;