aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2011-11-22 16:21:04 +0000
committerHal Finkel <hfinkel@anl.gov>2011-11-22 16:21:04 +0000
commit768c65f677af3f05c2e94982043f90a1bfaceda5 (patch)
tree4e16ba3e65d2a908780a7c290cc12512b95de8e7 /lib/Target/PowerPC/PPCRegisterInfo.h
parent796c193768547459cd6cbd667c8a43fedd601022 (diff)
downloadexternal_llvm-768c65f677af3f05c2e94982043f90a1bfaceda5.zip
external_llvm-768c65f677af3f05c2e94982043f90a1bfaceda5.tar.gz
external_llvm-768c65f677af3f05c2e94982043f90a1bfaceda5.tar.bz2
add basic PPC register-pressure feedback; adjust the vaarg test to match the new register-allocation pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h
index 1cc7213..f70a594 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -37,6 +37,9 @@ public:
/// This is used for addressing modes.
virtual const TargetRegisterClass *getPointerRegClass(unsigned Kind=0) const;
+ unsigned getRegPressureLimit(const TargetRegisterClass *RC,
+ MachineFunction &MF) const;
+
/// Code Generation virtual methods...
const unsigned *getCalleeSavedRegs(const MachineFunction* MF = 0) const;