aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ/SystemZRegisterInfo.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 19:02:04 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-05-04 19:02:04 +0000
commit21f7902a899930bd62260ffefd610b7490c15439 (patch)
tree189cd43f68ca7c5eab366e40f34613b65f12bc5a /lib/Target/SystemZ/SystemZRegisterInfo.h
parent14c76fed2d84cfa1f071c1a63101a6ba6db37034 (diff)
downloadexternal_llvm-21f7902a899930bd62260ffefd610b7490c15439.zip
external_llvm-21f7902a899930bd62260ffefd610b7490c15439.tar.gz
external_llvm-21f7902a899930bd62260ffefd610b7490c15439.tar.bz2
Implement SystemZRegisterInfo::getMatchingSuperRegClass to enable cross-class joins.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZRegisterInfo.h')
-rw-r--r--lib/Target/SystemZ/SystemZRegisterInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZRegisterInfo.h b/lib/Target/SystemZ/SystemZRegisterInfo.h
index b450798..6379fd3 100644
--- a/lib/Target/SystemZ/SystemZRegisterInfo.h
+++ b/lib/Target/SystemZ/SystemZRegisterInfo.h
@@ -34,6 +34,10 @@ struct SystemZRegisterInfo : public SystemZGenRegisterInfo {
BitVector getReservedRegs(const MachineFunction &MF) const;
+ const TargetRegisterClass*
+ getMatchingSuperRegClass(const TargetRegisterClass *A,
+ const TargetRegisterClass *B, unsigned Idx) const;
+
void eliminateCallFramePseudoInstr(MachineFunction &MF,
MachineBasicBlock &MBB,
MachineBasicBlock::iterator I) const;