[mips] Add definition of JALR instruction which has two register operands. Change the
[oota-llvm.git] / lib / Target / Mips / MipsSERegisterInfo.h
index 4b17b33e9a21207e858443c36ac6dd99108f14be..7437bd36c333c7a97a8894962c9f4bdd8e7e24b7 100644 (file)
 #include "MipsRegisterInfo.h"
 
 namespace llvm {
+class MipsSEInstrInfo;
 
 class MipsSERegisterInfo : public MipsRegisterInfo {
+  const MipsSEInstrInfo &TII;
+
 public:
   MipsSERegisterInfo(const MipsSubtarget &Subtarget,
-                     const TargetInstrInfo &TII);
+                     const MipsSEInstrInfo &TII);
+
+  bool requiresRegisterScavenging(const MachineFunction &MF) const;
+
+  bool requiresFrameIndexScavenging(const MachineFunction &MF) const;
 
   void eliminateCallFramePseudoInstr(MachineFunction &MF,
                                      MachineBasicBlock &MBB,