summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-02-21 22:54:50 +0000
committerJim Laskey <jlaskey@mac.com>2007-02-21 22:54:50 +0000
commit62819f31440fe1b1415473a89b8683b5b690d5fa (patch)
tree15d4772f397f6011515a6abcc413770db46bf346 /lib/Target/PowerPC/PPCRegisterInfo.h
parentb180aa17539e14a5430d020bbc7de83c79b7fc4b (diff)
downloadllvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.gz
llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.bz2
llvm-62819f31440fe1b1415473a89b8683b5b690d5fa.tar.xz
Support to provide exception and selector registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h
index 6c30f6b2a5..eedb62770e 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -89,6 +89,10 @@ public:
unsigned getRARegister() const;
unsigned getFrameRegister(MachineFunction &MF) const;
void getInitialFrameState(std::vector<MachineMove> &Moves) const;
+
+ // Exception handling queries.
+ unsigned getEHExceptionRegister() const;
+ unsigned getEHHandlerRegister() const;
};
} // end namespace llvm