LLVM: llvm::AttributeListImpl Class Reference (original) (raw)
This class represents a set of attributes that apply to the function, return type, and parameters. More...
#include "[IR/AttributeImpl.h](AttributeImpl%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| AttributeListImpl (ArrayRef< AttributeSet > Sets) | |
| AttributeListImpl (const AttributeListImpl &)=delete | |
| AttributeListImpl & | operator= (const AttributeListImpl &)=delete |
| bool | hasFnAttribute (Attribute::AttrKind Kind) const |
| Return true if the AttributeSet or the FunctionIndex has an enum attribute of the given kind. | |
| bool | hasAttrSomewhere (Attribute::AttrKind Kind, unsigned *Index=nullptr) const |
| Return true if the specified attribute is set for at least one parameter or for the return value. | |
| 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) |
| Friends | |
|---|---|
| class | AttributeList |
This class represents a set of attributes that apply to the function, return type, and parameters.
Definition at line 367 of file AttributeImpl.h.
◆ iterator
◆ AttributeListImpl() [2/2]
◆ begin()
| iterator llvm::AttributeListImpl::begin ( ) const | inline |
|---|
◆ dump()
◆ end()
| iterator llvm::AttributeListImpl::end ( ) const | inline |
|---|
◆ hasAttrSomewhere()
Return true if the specified attribute is set for at least one parameter or for the return value.
If Index is not nullptr, the index of a parameter with the specified attribute is provided.
Definition at line 1473 of file Attributes.cpp.
◆ hasFnAttribute()
◆ operator=()
◆ Profile() [1/2]
◆ Profile() [2/2]
◆ AttributeList
| friend class AttributeList | friend |
|---|
The documentation for this class was generated from the following files:
- lib/IR/AttributeImpl.h
- lib/IR/Attributes.cpp