|
LLVM
10.0.0
|
#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 240 of file AttributeImpl.h.
Definition at line 273 of file AttributeImpl.h.
| AttributeListImpl::AttributeListImpl | ( | LLVMContext & | C, |
| ArrayRef< AttributeSet > | Sets | ||
| ) |
Definition at line 903 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 275 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 936 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 276 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 265 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 269 of file AttributeImpl.h.
|
inline |
Definition at line 262 of file AttributeImpl.h.
|
delete |
| void AttributeListImpl::Profile | ( | FoldingSetNodeID & | ID | ) | const |
Definition at line 925 of file Attributes.cpp.
References begin(), end(), and llvm::makeArrayRef().
Referenced by dump().
|
static |
Definition at line 929 of file Attributes.cpp.
References llvm::FoldingSetNodeID::AddPointer().
|
friend |
Definition at line 243 of file AttributeImpl.h.
Referenced by dump().
1.8.13