|
LLVM
5.0.0
|
#include "IR/AttributeImpl.h"
Public Types | |
| using | iterator = const Attribute * |
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 AttributeList 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::FoldingSetBase::Node | |
| Node () | |
| void * | getNextInBucket () const |
| void | SetNextInBucket (void *N) |
Static Public Member Functions | |
| static AttributeSetNode * | get (LLVMContext &C, const AttrBuilder &B) |
| static AttributeSetNode * | get (LLVMContext &C, ArrayRef< Attribute > Attrs) |
| static void | Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList) |
Definition at line 153 of file AttributeImpl.h.
| using llvm::AttributeSetNode::iterator = const Attribute * |
Definition at line 194 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 196 of file AttributeImpl.h.
Referenced by llvm::AttributeSet::begin(), end(), getAsString(), and Profile().
|
inline |
Definition at line 197 of file AttributeImpl.h.
References begin().
Referenced by llvm::AttributeSet::end(), getAsString(), and Profile().
|
static |
Definition at line 676 of file Attributes.cpp.
References A, llvm::AMDGPU::CodeObject::Kernel::Key::Attrs, C, llvm::AttrBuilder::contains(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::Attribute::EndAttrKinds, llvm::Attribute::get(), llvm::AttrBuilder::getAlignment(), llvm::AttrBuilder::getAllocSizeArgs(), llvm::AttrBuilder::getDereferenceableBytes(), llvm::AttrBuilder::getDereferenceableOrNullBytes(), llvm::AttrBuilder::getStackAlignment(), llvm::Attribute::getWithAlignment(), llvm::Attribute::getWithAllocSizeArgs(), llvm::Attribute::getWithDereferenceableBytes(), llvm::Attribute::getWithDereferenceableOrNullBytes(), llvm::Attribute::getWithStackAlignment(), Kind, llvm::Attribute::None, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), and llvm::AttrBuilder::td_attrs().
Referenced by llvm::AttributeSet::get().
|
static |
Definition at line 644 of file Attributes.cpp.
References llvm::LLVMContextImpl::AttrsSetNodes, llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::empty(), llvm::ArrayRef< T >::end(), llvm::LLVMContext::pImpl, and llvm::parallel::sort().
| unsigned AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 741 of file Attributes.cpp.
References llvm::Attribute::getAlignment(), and llvm::Attribute::hasAttribute().
Referenced by llvm::AttributeSet::getAlignment().
Definition at line 770 of file Attributes.cpp.
References llvm::Attribute::getAllocSizeArgs(), and llvm::Attribute::hasAttribute().
Referenced by llvm::AttributeSet::getAllocSizeArgs().
| std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 777 of file Attributes.cpp.
References begin(), E, end(), llvm::Attribute::getAsString(), and I.
Referenced by llvm::AttributeSet::getAsString().
| Attribute AttributeSetNode::getAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 725 of file Attributes.cpp.
References llvm::Attribute::hasAttribute(), and hasAttribute().
Referenced by llvm::AttributeSet::getAttribute().
Definition at line 734 of file Attributes.cpp.
References llvm::Attribute::hasAttribute().
| uint64_t AttributeSetNode::getDereferenceableBytes | ( | ) | const |
Definition at line 755 of file Attributes.cpp.
References llvm::Attribute::getDereferenceableBytes(), and llvm::Attribute::hasAttribute().
Referenced by llvm::AttributeSet::getDereferenceableBytes().
| uint64_t AttributeSetNode::getDereferenceableOrNullBytes | ( | ) | const |
Definition at line 762 of file Attributes.cpp.
References llvm::Attribute::getDereferenceableOrNullBytes(), and llvm::Attribute::hasAttribute().
Referenced by llvm::AttributeSet::getDereferenceableOrNullBytes().
|
inline |
Return the number of attributes this AttributeList contains.
Definition at line 176 of file AttributeImpl.h.
Referenced by llvm::AttributeSet::getNumAttributes().
| unsigned AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 748 of file Attributes.cpp.
References llvm::Attribute::getStackAlignment(), and llvm::Attribute::hasAttribute().
Referenced by llvm::AttributeSet::getStackAlignment().
|
inline |
Definition at line 178 of file AttributeImpl.h.
References Kind.
Referenced by getAttribute(), and llvm::AttributeSet::hasAttribute().
Definition at line 718 of file Attributes.cpp.
References llvm::Attribute::hasAttribute().
|
inline |
Definition at line 182 of file AttributeImpl.h.
|
inline |
Definition at line 169 of file AttributeImpl.h.
|
delete |
|
inline |
Definition at line 199 of file AttributeImpl.h.
References begin(), end(), and llvm::makeArrayRef().
|
inlinestatic |
Definition at line 203 of file AttributeImpl.h.
1.8.6