summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-05-03 12:57:15 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-05-03 12:57:15 +0000
commit101380015cc17edf535fe2761bd20f02353ca6a0 (patch)
tree46ed7d13517e21a5ba98ab3348de4153ac53725a /llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
parent7bee4158361dc79003edae810db0a6b9e49e23a5 (diff)
downloadbcm5719-llvm-101380015cc17edf535fe2761bd20f02353ca6a0.tar.gz
bcm5719-llvm-101380015cc17edf535fe2761bd20f02353ca6a0.zip
Dummy MSP430 backend
llvm-svn: 70694
Diffstat (limited to 'llvm/lib/Target/MSP430/MSP430InstrInfo.cpp')
-rw-r--r--llvm/lib/Target/MSP430/MSP430InstrInfo.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp b/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp
new file mode 100644
index 00000000000..d644e63adee
--- /dev/null
+++ b/llvm/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) {}
OpenPOWER on IntegriCloud