aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMRegisterInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-02-06 17:43:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-02-06 17:43:24 +0000
commit770bcc7b15adbc978800db70dbb1c3c22913b52c (patch)
treee317f90aef4028cdfe21d50f117245426cb2b4e0 /lib/Target/ARM/ARMRegisterInfo.h
parent84fbac580941548a6ab1121ed3b0ffdc4e2bc080 (diff)
downloadexternal_llvm-770bcc7b15adbc978800db70dbb1c3c22913b52c.zip
external_llvm-770bcc7b15adbc978800db70dbb1c3c22913b52c.tar.gz
external_llvm-770bcc7b15adbc978800db70dbb1c3c22913b52c.tar.bz2
Move getPointerRegClass from TargetInstrInfo to TargetRegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMRegisterInfo.h')
-rw-r--r--lib/Target/ARM/ARMRegisterInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMRegisterInfo.h b/lib/Target/ARM/ARMRegisterInfo.h
index bb4cb5b..6876129 100644
--- a/lib/Target/ARM/ARMRegisterInfo.h
+++ b/lib/Target/ARM/ARMRegisterInfo.h
@@ -48,6 +48,10 @@ public:
/// if the register is a single precision VFP register.
static unsigned getRegisterNumbering(unsigned RegEnum, bool &isSPVFP);
+ /// getPointerRegClass - Return the register class to use to hold pointers.
+ /// This is used for addressing modes.
+ const TargetRegisterClass *getPointerRegClass() const;
+
/// Code Generation virtual methods...
const unsigned *getCalleeSavedRegs(const MachineFunction *MF = 0) const;