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/MSP430InstrInfo.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/MSP430InstrInfo.cpp')
-rw-r--r-- | lib/Target/MSP430/MSP430InstrInfo.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/Target/MSP430/MSP430InstrInfo.cpp b/lib/Target/MSP430/MSP430InstrInfo.cpp new file mode 100644 index 0000000000..d644e63ade --- /dev/null +++ b/lib/Target/MSP430/MSP430InstrInfo.cpp @@ -0,0 +1,28 @@ +//===- MSP430InstrInfo.cpp - MSP430 Instruction 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 TargetInstrInfo class. +// +//===----------------------------------------------------------------------===// + +#include "MSP430.h" +#include "MSP430InstrInfo.h" +#include "MSP430TargetMachine.h" +#include "MSP430GenInstrInfo.inc" +#include "llvm/Function.h" +#include "llvm/CodeGen/MachineFunction.h" +#include "llvm/CodeGen/MachineInstrBuilder.h" +#include "llvm/CodeGen/MachineRegisterInfo.h" + + +using namespace llvm; + +MSP430InstrInfo::MSP430InstrInfo(MSP430TargetMachine &tm) + : TargetInstrInfoImpl(MSP430Insts, array_lengthof(MSP430Insts)), + RI(*this), TM(tm) {} |