LLVM
8.0.1
|
#include "IR/AttributeImpl.h"
Public Types | |
using | iterator = const AttributeSet * |
Public Member Functions | |
AttributeListImpl (LLVMContext &C, ArrayRef< AttributeSet > Sets) | |
AttributeListImpl (const AttributeListImpl &)=delete | |
AttributeListImpl & | operator= (const AttributeListImpl &)=delete |
void | operator delete (void *p) |
LLVMContext & | getContext () |
Get the context that created this AttributeListImpl. More... | |
bool | hasFnAttribute (Attribute::AttrKind Kind) const |
Return true if the AttributeSet or the FunctionIndex has an enum attribute of the given kind. More... | |
iterator | begin () const |
iterator | end () const |
void | Profile (FoldingSetNodeID &ID) const |
void | dump () const |
Public Member Functions inherited from llvm::FoldingSetBase::Node | |
Node ()=default | |
void * | getNextInBucket () const |
void | SetNextInBucket (void *N) |
Static Public Member Functions | |
static void | Profile (FoldingSetNodeID &ID, ArrayRef< AttributeSet > Nodes) |
Friends | |
class | AttributeList |
Definition at line 215 of file AttributeImpl.h.
Definition at line 248 of file AttributeImpl.h.
AttributeListImpl::AttributeListImpl | ( | LLVMContext & | C, |
ArrayRef< AttributeSet > | Sets | ||
) |
Definition at line 806 of file Attributes.cpp.
References assert(), attrIdxToArrayIdx(), llvm::copy(), llvm::ArrayRef< T >::empty(), llvm::Attribute::EndAttrKinds, llvm::AttributeList::FunctionIndex, and I.
Referenced by dump().
|
delete |
|
inline |
Definition at line 250 of file AttributeImpl.h.
Referenced by llvm::AttributeList::addAttributes(), llvm::AttributeList::addParamAttribute(), Profile(), llvm::AttributeList::removeAttribute(), and llvm::AttributeList::removeAttributes().
LLVM_DUMP_METHOD void AttributeListImpl::dump | ( | ) | const |
Definition at line 837 of file Attributes.cpp.
References assert(), AttributeList, AttributeListImpl(), C, llvm::ArrayRef< T >::empty(), getImpl(), llvm::LLVMContext::pImpl, Profile(), and llvm::ArrayRef< T >::size().
|
inline |
Definition at line 251 of file AttributeImpl.h.
References llvm::sys::path::begin(), llvm::dump(), and llvm::AttributeImpl::Profile().
Referenced by llvm::AttributeList::addAttributes(), llvm::AttributeList::addParamAttribute(), Profile(), llvm::AttributeList::removeAttribute(), and llvm::AttributeList::removeAttributes().
|
inline |
Get the context that created this AttributeListImpl.
Definition at line 240 of file AttributeImpl.h.
References Context.
|
inline |
Return true if the AttributeSet or the FunctionIndex has an enum attribute of the given kind.
Definition at line 244 of file AttributeImpl.h.
References Kind.
|
inline |
Definition at line 237 of file AttributeImpl.h.
|
delete |
void AttributeListImpl::Profile | ( | FoldingSetNodeID & | ID | ) | const |
Definition at line 826 of file Attributes.cpp.
References begin(), end(), and llvm::makeArrayRef().
Referenced by dump().
|
static |
Definition at line 830 of file Attributes.cpp.
References llvm::FoldingSetNodeID::AddPointer().
|
friend |
Definition at line 218 of file AttributeImpl.h.
Referenced by dump().