Added moveReg2Reg() and moveImm2Reg() to accomodate moving data around due to
[oota-llvm.git] / lib / Target / TargetInstrInfo.cpp
index 115f2c2a7c353bb06fe5c4e4eac0c06190630451..b14156a937712e5ca87d6d2440862b782fb25707 100644 (file)
@@ -1,11 +1,10 @@
-//===-- TargetMachine.cpp - General Target Information ---------------------==//
+//===-- MachineInstrInfo.cpp - Target Instruction Information -------------===//
 //
-// This file describes the general parts of a Target machine.
-// This file also implements MachineInstrInfo and MachineCacheInfo.
 //
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Target/MachineInstrInfo.h"
+#include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Constant.h"
 #include "llvm/DerivedTypes.h"
 
@@ -34,6 +33,10 @@ MachineInstrInfo::~MachineInstrInfo() {
   TargetInstrDescriptors = NULL;       // reset global variable
 }
 
+void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O,
+                             const TargetMachine &TM) const {
+  MI->print(O, TM);
+}
 
 bool MachineInstrInfo::constantFitsInImmedField(MachineOpCode opCode,
                                                 int64_t intValue) const {