diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-05-03 12:57:15 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-05-03 12:57:15 +0000 |
commit | f2c3e179ecc2a6ebc259382828a5e5dc5a61d2f8 (patch) | |
tree | 35fa60b598dc9c81a6f391c280632e184cb71cfc /lib/Target/MSP430/MSP430RegisterInfo.cpp | |
parent | 77eaa6880b8209acc05de733ebaba5d146c321a0 (diff) | |
download | llvm-f2c3e179ecc2a6ebc259382828a5e5dc5a61d2f8.tar.gz llvm-f2c3e179ecc2a6ebc259382828a5e5dc5a61d2f8.tar.bz2 llvm-f2c3e179ecc2a6ebc259382828a5e5dc5a61d2f8.tar.xz |
Dummy MSP430 backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/MSP430RegisterInfo.cpp')
-rw-r--r-- | lib/Target/MSP430/MSP430RegisterInfo.cpp | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/lib/Target/MSP430/MSP430RegisterInfo.cpp b/lib/Target/MSP430/MSP430RegisterInfo.cpp new file mode 100644 index 0000000000..e69f9bc9c1 --- /dev/null +++ b/lib/Target/MSP430/MSP430RegisterInfo.cpp @@ -0,0 +1,73 @@ +//===- MSP430RegisterInfo.cpp - MSP430 Register Information ---------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the MSP430 implementation of the TargetRegisterInfo class. +// +//===----------------------------------------------------------------------===// + +#define DEBUG_TYPE "msp430-reg-info" + +#include "MSP430.h" +#include "MSP430RegisterInfo.h" +#include "llvm/ADT/BitVector.h" + +using namespace llvm; + +// FIXME: Provide proper call frame setup / destroy opcodes. +MSP430RegisterInfo::MSP430RegisterInfo(const TargetInstrInfo &tii) + : MSP430GenRegisterInfo(MSP430::NOP, MSP430::NOP), + TII(tii) {} + +const unsigned* +MSP430RegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { + assert(0 && "Not implemented yet!"); +} + +const TargetRegisterClass* const* +MSP430RegisterInfo::getCalleeSavedRegClasses(const MachineFunction *MF) const { + assert(0 && "Not implemented yet!"); +} + +BitVector +MSP430RegisterInfo::getReservedRegs(const MachineFunction &MF) const { + assert(0 && "Not implemented yet!"); +} + +bool MSP430RegisterInfo::hasFP(const MachineFunction &MF) const { + assert(0 && "Not implemented yet!"); +} + +void +MSP430RegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II, + int SPAdj, RegScavenger *RS) const { + assert(0 && "Not implemented yet!"); +} + +void MSP430RegisterInfo::emitPrologue(MachineFunction &MF) const { + assert(0 && "Not implemented yet!"); +} + +void MSP430RegisterInfo::emitEpilogue(MachineFunction &MF, + MachineBasicBlock &MBB) const { + assert(0 && "Not implemented yet!"); +} + +unsigned MSP430RegisterInfo::getRARegister() const { + assert(0 && "Not implemented yet!"); +} + +unsigned MSP430RegisterInfo::getFrameRegister(MachineFunction &MF) const { + assert(0 && "Not implemented yet!"); +} + +int MSP430RegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const { + assert(0 && "Not implemented yet!"); +} + +#include "MSP430GenRegisterInfo.inc" |