aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-09 05:36:15 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-09 05:36:15 +0000
commit1d872103fa200d9ad59f20543983e29fa8a97a00 (patch)
tree13a48a8624609de02bdcb1deba6f6f30dcce5c91 /include
parentac0740f2442dae01a4c44875f9b936d9ea352636 (diff)
Remove ifdef'd code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index a564441def..a41c9e1ed4 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -144,44 +144,6 @@ class AttributesImpl;
class Attributes {
// Currently, we need less than 64 bits.
AttributesImpl Attrs;
-#if 0
- enum Attribute {
- None = 0, ///< No attributes have been set
- ZExt = 1 << 0, ///< Zero extended before/after call
- SExt = 1 << 1, ///< Sign extended before/after call
- NoReturn = 1 << 2, ///< Mark the function as not returning
- InReg = 1 << 3, ///< Force argument to be passed in register
- StructRet = 1 << 4, ///< Hidden pointer to structure to return
- NoUnwind = 1 << 5, ///< Function doesn't unwind stack
- NoAlias = 1 << 6, ///< Considered to not alias after call
- ByVal = 1 << 7, ///< Pass structure by value
- Nest = 1 << 8, ///< Nested function static chain
- ReadNone = 1 << 9, ///< Function does not access memory
- ReadOnly = 1 << 10, ///< Function only reads from memory
- NoInline = 1 << 11, ///< inline=never
- AlwaysInline = 1 << 12, ///< inline=always
- OptimizeForSize = 1 << 13, ///< opt_size
- StackProtect = 1 << 14, ///< Stack protection.
- StackProtectReq = 1 << 15, ///< Stack protection required.
- Alignment = 31 << 16, ///< Alignment of parameter (5 bits)
- ///< stored as log2 of alignment with +1 bias
- ///< 0 means unaligned different from align 1
- NoCapture = 1 << 21, ///< Function creates no aliases of pointer
- NoRedZone = 1 << 22, ///< Disable redzone
- NoImplicitFloat = 1 << 23, ///< Disable implicit floating point insts
- Naked = 1 << 24, ///< Naked function
- InlineHint = 1 << 25, ///< Source said inlining was desirable
- StackAlignment = 7 << 26, ///< Alignment of stack for function (3 bits)
- ///< stored as log2 of alignment with +1 bias 0
- ///< means unaligned (different from
- ///< alignstack={1))
- ReturnsTwice = 1 << 29, ///< Function can return twice
- UWTable = 1 << 30, ///< Function must be in a unwind table
- NonLazyBind = 1U << 31, ///< Function is called early and/or
- ///< often, so lazy binding isn't worthwhile
- AddressSafety = 1ULL << 32 ///< Address safety checking is on.
- };
-#endif
explicit Attributes(AttributesImpl *A);
public:
Attributes() : Attrs(0) {}