summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86RegisterInfo.h
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2012-10-15 22:39:43 +0000
committerMichael Liao <michael.liao@intel.com>2012-10-15 22:39:43 +0000
commit97bf363a9e8098c378924d61e30d8a3f390c1da1 (patch)
tree025430f7c0b7ea07c50f2a2b5eee725b372c326d /llvm/lib/Target/X86/X86RegisterInfo.h
parentbd847cc5622cabc9abb1a59e950981cdf9418f96 (diff)
downloadbcm5719-llvm-97bf363a9e8098c378924d61e30d8a3f390c1da1.tar.gz
bcm5719-llvm-97bf363a9e8098c378924d61e30d8a3f390c1da1.zip
Add __builtin_setjmp/_longjmp supprt in X86 backend
- Besides used in SjLj exception handling, __builtin_setjmp/__longjmp is also used as a light-weight replacement of setjmp/longjmp which are used to implementation continuation, user-level threading, and etc. The support added in this patch ONLY addresses this usage and is NOT intended to support SjLj exception handling as zero-cost DWARF exception handling is used by default in X86. llvm-svn: 165989
Diffstat (limited to 'llvm/lib/Target/X86/X86RegisterInfo.h')
-rw-r--r--llvm/lib/Target/X86/X86RegisterInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.h b/llvm/lib/Target/X86/X86RegisterInfo.h
index 0287fa22062..7932ede8dd6 100644
--- a/llvm/lib/Target/X86/X86RegisterInfo.h
+++ b/llvm/lib/Target/X86/X86RegisterInfo.h
@@ -100,6 +100,7 @@ public:
/// callee-save registers on this target.
const uint16_t *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
const uint32_t *getCallPreservedMask(CallingConv::ID) const;
+ const uint32_t *getNoPreservedMask() const;
/// getReservedRegs - Returns a bitset indexed by physical register number
/// indicating if a register is a special register that has particular uses and
OpenPOWER on IntegriCloud