More parameter attributes (Andrew Straw)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@78 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
a0d353f9a1
commit
d0e4e09a5d
1 changed files with 8 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ VISIBILITY_DEFAULT = 0
|
|||
VISIBILITY_HIDDEN = 1
|
||||
VISIBILITY_PROTECTED = 2
|
||||
|
||||
# parameter attributes
|
||||
# parameter attributes (see llvm/Attributes.h)
|
||||
ATTR_ZEXT = 1
|
||||
ATTR_SEXT = 2
|
||||
ATTR_NO_RETURN = 4
|
||||
|
|
@ -230,6 +230,13 @@ ATTR_BY_VAL = 128
|
|||
ATTR_NEST = 256
|
||||
ATTR_READ_NONE = 512
|
||||
ATTR_READONLY = 1024
|
||||
ATTR_NO_INLINE = 1<<11
|
||||
ATTR_ALWAYS_INLINE = 1<<12
|
||||
ATTR_OPTIMIZE_FOR_SIZE = 1<<13
|
||||
ATTR_STACK_PROTECT = 1<<14
|
||||
ATTR_STACK_PROTECT_REQ = 1<<15
|
||||
ATTR_ALIGNMENT = 31<<16
|
||||
ATTR_NO_CAPTURE = 1<<21
|
||||
|
||||
# intrinsic IDs
|
||||
from llvm._intrinsic_ids import *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue