|
LLVM
4.0.0
|
#include <AttributeSetNode.h>
Public Types | |
| typedef const Attribute * | iterator |
Public Member Functions | |
| AttributeSetNode (const AttributeSetNode &)=delete | |
| AttributeSetNode & | operator= (const AttributeSetNode &)=delete |
| void | operator delete (void *p) |
| unsigned | getNumAttributes () const |
| Return the number of attributes this AttributeSet contains. More... | |
| bool | hasAttribute (Attribute::AttrKind Kind) const |
| bool | hasAttribute (StringRef Kind) const |
| bool | hasAttributes () const |
| Attribute | getAttribute (Attribute::AttrKind Kind) const |
| Attribute | getAttribute (StringRef Kind) const |
| unsigned | getAlignment () const |
| unsigned | getStackAlignment () const |
| uint64_t | getDereferenceableBytes () const |
| uint64_t | getDereferenceableOrNullBytes () const |
| std::pair< unsigned, Optional < unsigned > > | getAllocSizeArgs () const |
| std::string | getAsString (bool InAttrGrp) const |
| iterator | begin () const |
| iterator | end () const |
| void | Profile (FoldingSetNodeID &ID) const |
Public Member Functions inherited from llvm::FoldingSetImpl::Node | |
| Node () | |
| void * | getNextInBucket () const |
| void | SetNextInBucket (void *N) |
Static Public Member Functions | |
| static AttributeSetNode * | get (LLVMContext &C, ArrayRef< Attribute > Attrs) |
| static AttributeSetNode * | get (AttributeSet AS, unsigned Index) |
| static void | Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList) |
Definition at line 36 of file AttributeSetNode.h.
Definition at line 91 of file AttributeSetNode.h.
|
delete |
|
inline |
Definition at line 92 of file AttributeSetNode.h.
Referenced by llvm::AttributeSetImpl::begin(), end(), getAsString(), and Profile().
|
inline |
Definition at line 93 of file AttributeSetNode.h.
References begin().
Referenced by llvm::AttributeSetImpl::end(), getAsString(), and Profile().
|
static |
Definition at line 479 of file Attributes.cpp.
References llvm::LLVMContextImpl::AttrsSetNodes, llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::empty(), llvm::ArrayRef< T >::end(), and llvm::LLVMContext::pImpl.
Referenced by LLVMGetAttributeCountAtIndex(), LLVMGetAttributesAtIndex(), LLVMGetCallSiteAttributeCount(), and LLVMGetCallSiteAttributes().
|
inlinestatic |
Definition at line 68 of file AttributeSetNode.h.
| unsigned AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 534 of file Attributes.cpp.
References llvm::Attribute::getAlignment(), llvm::Attribute::hasAttribute(), and I.
Referenced by llvm::AttributeSet::getParamAlignment().
Definition at line 563 of file Attributes.cpp.
References llvm::Attribute::getAllocSizeArgs(), llvm::Attribute::hasAttribute(), and I.
Referenced by llvm::AttributeSet::getAllocSizeArgs().
| std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 570 of file Attributes.cpp.
References begin(), E, end(), and I.
Referenced by llvm::AttributeSet::getAsString().
| Attribute AttributeSetNode::getAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 518 of file Attributes.cpp.
References hasAttribute(), llvm::Attribute::hasAttribute(), and I.
Referenced by llvm::AttributeSet::getAttribute().
Definition at line 527 of file Attributes.cpp.
References llvm::Attribute::hasAttribute(), and I.
| uint64_t AttributeSetNode::getDereferenceableBytes | ( | ) | const |
Definition at line 548 of file Attributes.cpp.
References llvm::Attribute::getDereferenceableBytes(), llvm::Attribute::hasAttribute(), and I.
Referenced by llvm::AttributeSet::getDereferenceableBytes().
| uint64_t AttributeSetNode::getDereferenceableOrNullBytes | ( | ) | const |
Definition at line 555 of file Attributes.cpp.
References llvm::Attribute::getDereferenceableOrNullBytes(), llvm::Attribute::hasAttribute(), and I.
Referenced by llvm::AttributeSet::getDereferenceableOrNullBytes().
|
inline |
Return the number of attributes this AttributeSet contains.
Definition at line 73 of file AttributeSetNode.h.
Referenced by LLVMGetCallSiteAttributeCount().
| unsigned AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 541 of file Attributes.cpp.
References llvm::Attribute::getStackAlignment(), llvm::Attribute::hasAttribute(), and I.
Referenced by llvm::AttributeSet::getStackAlignment().
|
inline |
Definition at line 75 of file AttributeSetNode.h.
References Kind.
Referenced by getAttribute(), and llvm::AttributeSet::hasAttribute().
Definition at line 511 of file Attributes.cpp.
References llvm::Attribute::hasAttribute(), and I.
|
inline |
Definition at line 79 of file AttributeSetNode.h.
Referenced by llvm::AttributeSet::hasAttributes().
|
inline |
Definition at line 64 of file AttributeSetNode.h.
|
delete |
|
inline |
Definition at line 95 of file AttributeSetNode.h.
References begin(), end(), and llvm::makeArrayRef().
|
inlinestatic |
Definition at line 98 of file AttributeSetNode.h.
1.8.6