LLVM API Documentation
#include <AttributeImpl.h>
Public Types | |
typedef const Attribute * | iterator |
Public Member Functions | |
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 |
std::string | getAsString (bool InAttrGrp) const |
iterator | begin () const |
iterator | end () const |
void | Profile (FoldingSetNodeID &ID) const |
![]() | |
Node () | |
void * | getNextInBucket () const |
void | SetNextInBucket (void *N) |
Static Public Member Functions | |
static AttributeSetNode * | get (LLVMContext &C, ArrayRef< Attribute > Attrs) |
static void | Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList) |
Definition at line 143 of file AttributeImpl.h.
typedef const Attribute* llvm::AttributeSetNode::iterator |
Definition at line 169 of file AttributeImpl.h.
|
inline |
Definition at line 170 of file AttributeImpl.h.
Referenced by llvm::AttributeSetImpl::begin(), end(), getAlignment(), getAsString(), getAttribute(), getStackAlignment(), hasAttribute(), Profile(), and llvm::AttributeSetImpl::Raw().
|
inline |
Definition at line 171 of file AttributeImpl.h.
References begin().
Referenced by llvm::AttributeSetImpl::end(), getAlignment(), getAsString(), getAttribute(), getStackAlignment(), hasAttribute(), Profile(), and llvm::AttributeSetImpl::Raw().
|
static |
Definition at line 399 of file Attributes.cpp.
References llvm::array_pod_sort(), llvm::LLVMContextImpl::AttrsSetNodes, llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::empty(), llvm::ArrayRef< T >::end(), I, and llvm::LLVMContext::pImpl.
unsigned AttributeSetNode::getAlignment | ( | ) | const |
Definition at line 461 of file Attributes.cpp.
References llvm::Attribute::Alignment, begin(), end(), and I.
Referenced by llvm::AttributeSet::getParamAlignment(), and llvm::AttributeSetImpl::Raw().
std::string AttributeSetNode::getAsString | ( | bool | InAttrGrp | ) | const |
Definition at line 475 of file Attributes.cpp.
References begin(), end(), and I.
Referenced by llvm::AttributeSet::getAsString().
Attribute AttributeSetNode::getAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 447 of file Attributes.cpp.
References begin(), end(), and I.
Referenced by llvm::AttributeSet::getAttribute().
Definition at line 454 of file Attributes.cpp.
unsigned AttributeSetNode::getStackAlignment | ( | ) | const |
Definition at line 468 of file Attributes.cpp.
References begin(), end(), I, and llvm::Attribute::StackAlignment.
Referenced by llvm::AttributeSet::getStackAlignment(), and llvm::AttributeSetImpl::Raw().
bool AttributeSetNode::hasAttribute | ( | Attribute::AttrKind | Kind | ) | const |
Definition at line 433 of file Attributes.cpp.
References begin(), end(), and I.
Referenced by llvm::AttributeSet::hasAttribute().
Definition at line 440 of file Attributes.cpp.
|
inline |
Definition at line 160 of file AttributeImpl.h.
Referenced by llvm::AttributeSet::hasAttributes().
|
inline |
Definition at line 173 of file AttributeImpl.h.
References begin(), end(), and llvm::makeArrayRef().
Referenced by Profile().
|
inlinestatic |
Definition at line 176 of file AttributeImpl.h.
References I, Profile(), and llvm::ArrayRef< T >::size().