LLVM  5.0.0
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::AttributeListImpl Class Referencefinal

#include "IR/AttributeImpl.h"

Inheritance diagram for llvm::AttributeListImpl:
[legend]
Collaboration diagram for llvm::AttributeListImpl:
[legend]

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 ()
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, ArrayRef< AttributeSet > Nodes)
 

Friends

class AttributeList
 

Detailed Description

Definition at line 215 of file AttributeImpl.h.

Member Typedef Documentation

Definition at line 248 of file AttributeImpl.h.

Constructor & Destructor Documentation

AttributeListImpl::AttributeListImpl ( LLVMContext &  C,
ArrayRef< AttributeSet >  Sets 
)
llvm::AttributeListImpl::AttributeListImpl ( const AttributeListImpl &  )
delete

Member Function Documentation

iterator llvm::AttributeListImpl::begin ( ) const
inline

Definition at line 250 of file AttributeImpl.h.

Referenced by end(), and Profile().

LLVM_DUMP_METHOD void AttributeListImpl::dump ( ) const

Definition at line 832 of file Attributes.cpp.

References AttributeList.

iterator llvm::AttributeListImpl::end ( ) const
inline

Definition at line 251 of file AttributeImpl.h.

References begin().

Referenced by Profile().

LLVMContext& llvm::AttributeListImpl::getContext ( )
inline

Get the context that created this AttributeListImpl.

Definition at line 240 of file AttributeImpl.h.

References Context.

bool llvm::AttributeListImpl::hasFnAttribute ( Attribute::AttrKind  Kind) const
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.

void llvm::AttributeListImpl::operator delete ( void *  p)
inline

Definition at line 237 of file AttributeImpl.h.

AttributeListImpl& llvm::AttributeListImpl::operator= ( const AttributeListImpl &  )
delete
void AttributeListImpl::Profile ( FoldingSetNodeID &  ID) const

Definition at line 821 of file Attributes.cpp.

References begin(), end(), and llvm::makeArrayRef().

void AttributeListImpl::Profile ( FoldingSetNodeID &  ID,
ArrayRef< AttributeSet >  Nodes 
)
static

Definition at line 825 of file Attributes.cpp.

References llvm::FoldingSetNodeID::AddPointer().

Friends And Related Function Documentation

friend class AttributeList
friend

Definition at line 218 of file AttributeImpl.h.

Referenced by dump().


The documentation for this class was generated from the following files: