summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsSEInstrInfo.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-07-31 23:41:32 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-07-31 23:41:32 +0000
commit8589010e3d1d5a902992a5039cffa9d4116982c5 (patch)
tree821547f383ee6052158f69c0fe79b31511da2efb /lib/Target/Mips/MipsSEInstrInfo.h
parentcdb3ba71ce550c5a41c84c3678225a39d6f0a414 (diff)
downloadllvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.gz
llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.bz2
llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.xz
Add definitions of two subclasses of MipsRegisterInfo, Mips16RegisterInfo and
MipsSERegisterInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSEInstrInfo.h')
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSEInstrInfo.h b/lib/Target/Mips/MipsSEInstrInfo.h
index d973cce72f..275ffeeb51 100644
--- a/lib/Target/Mips/MipsSEInstrInfo.h
+++ b/lib/Target/Mips/MipsSEInstrInfo.h
@@ -16,14 +16,19 @@
#include "MipsInstrInfo.h"
#include "MipsAnalyzeImmediate.h"
+#include "MipsSERegisterInfo.h"
namespace llvm {
class MipsSEInstrInfo : public MipsInstrInfo {
+ const MipsSERegisterInfo RI;
bool IsN64;
+
public:
explicit MipsSEInstrInfo(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