1 //===- MSP430RegisterInfo.cpp - MSP430 Register Information ---------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the MSP430 implementation of the TargetRegisterInfo class.
12 //===----------------------------------------------------------------------===//
14 #define DEBUG_TYPE "msp430-reg-info"
17 #include "MSP430RegisterInfo.h"
18 #include "llvm/ADT/BitVector.h"
22 // FIXME: Provide proper call frame setup / destroy opcodes.
23 MSP430RegisterInfo::MSP430RegisterInfo(const TargetInstrInfo &tii)
24 : MSP430GenRegisterInfo(MSP430::NOP, MSP430::NOP),
28 MSP430RegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
29 assert(0 && "Not implemented yet!");
32 const TargetRegisterClass* const*
33 MSP430RegisterInfo::getCalleeSavedRegClasses(const MachineFunction *MF) const {
34 assert(0 && "Not implemented yet!");
38 MSP430RegisterInfo::getReservedRegs(const MachineFunction &MF) const {
39 assert(0 && "Not implemented yet!");
42 bool MSP430RegisterInfo::hasFP(const MachineFunction &MF) const {
43 assert(0 && "Not implemented yet!");
47 MSP430RegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II,
48 int SPAdj, RegScavenger *RS) const {
49 assert(0 && "Not implemented yet!");
52 void MSP430RegisterInfo::emitPrologue(MachineFunction &MF) const {
53 assert(0 && "Not implemented yet!");
56 void MSP430RegisterInfo::emitEpilogue(MachineFunction &MF,
57 MachineBasicBlock &MBB) const {
58 assert(0 && "Not implemented yet!");
61 unsigned MSP430RegisterInfo::getRARegister() const {
62 assert(0 && "Not implemented yet!");
65 unsigned MSP430RegisterInfo::getFrameRegister(MachineFunction &MF) const {
66 assert(0 && "Not implemented yet!");
69 int MSP430RegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
70 assert(0 && "Not implemented yet!");
73 #include "MSP430GenRegisterInfo.inc"