Add definitions of two subclasses of MipsRegisterInfo, Mips16RegisterInfo and
[oota-llvm.git] / lib / Target / Mips / Mips16InstrInfo.h
index fa617116f27821e970e6af178ca38422be96e3f8..260c5b69b25f0239857b8783ba706c0d4ff7ccc3 100644 (file)
 #define MIPS16INSTRUCTIONINFO_H
 
 #include "MipsInstrInfo.h"
+#include "Mips16RegisterInfo.h"
 
 namespace llvm {
 
 class Mips16InstrInfo : public MipsInstrInfo {
+  const Mips16RegisterInfo RI;
+
 public:
   explicit Mips16InstrInfo(MipsTargetMachine &TM);
 
+  virtual const MipsRegisterInfo &getRegisterInfo() const;
+
   /// isLoadFromStackSlot - If the specified machine instruction is a direct
   /// load from a stack slot, return the virtual or physical register number of
   /// the destination along with the FrameIndex of the loaded stack slot.  If