aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/Mips16InstrInfo.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/Mips16InstrInfo.h
parentcdb3ba71ce550c5a41c84c3678225a39d6f0a414 (diff)
downloadexternal_llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.zip
external_llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.gz
external_llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.bz2
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/Mips16InstrInfo.h')
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/Mips/Mips16InstrInfo.h b/lib/Target/Mips/Mips16InstrInfo.h
index fa61711..260c5b6 100644
--- a/lib/Target/Mips/Mips16InstrInfo.h
+++ b/lib/Target/Mips/Mips16InstrInfo.h
@@ -15,13 +15,18 @@
#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