LLVM  10.0.0svn
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:
Inheritance graph
Collaboration diagram for llvm::AttributeListImpl:
Collaboration graph

Public Types

using iterator = const AttributeSet *

Public Member Functions

 AttributeListImpl (LLVMContext &C, ArrayRef< AttributeSet > Sets)
 AttributeListImpl (const AttributeListImpl &)=delete
AttributeListImploperator= (const AttributeListImpl &)=delete
void operator delete (void *p)
LLVMContextgetContext ()
 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)


class AttributeList

Detailed Description

Definition at line 240 of file AttributeImpl.h.

Member Typedef Documentation

◆ iterator

Definition at line 273 of file AttributeImpl.h.

Constructor & Destructor Documentation

◆ AttributeListImpl() [1/2]

AttributeListImpl::AttributeListImpl ( LLVMContext C,
ArrayRef< AttributeSet Sets 

◆ AttributeListImpl() [2/2]

llvm::AttributeListImpl::AttributeListImpl ( const AttributeListImpl )

Member Function Documentation

◆ begin()

iterator llvm::AttributeListImpl::begin ( ) const

◆ dump()

LLVM_DUMP_METHOD void AttributeListImpl::dump ( ) const

◆ end()

iterator llvm::AttributeListImpl::end ( ) const

◆ getContext()

LLVMContext& llvm::AttributeListImpl::getContext ( )

Get the context that created this AttributeListImpl.

Definition at line 265 of file AttributeImpl.h.

References Context.

◆ hasFnAttribute()

bool llvm::AttributeListImpl::hasFnAttribute ( Attribute::AttrKind  Kind) const

Return true if the AttributeSet or the FunctionIndex has an enum attribute of the given kind.

Definition at line 269 of file AttributeImpl.h.

◆ operator delete()

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

Definition at line 262 of file AttributeImpl.h.

◆ operator=()

AttributeListImpl& llvm::AttributeListImpl::operator= ( const AttributeListImpl )

◆ Profile() [1/2]

void AttributeListImpl::Profile ( FoldingSetNodeID ID) const

Definition at line 925 of file Attributes.cpp.

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

Referenced by dump().

◆ Profile() [2/2]

void AttributeListImpl::Profile ( FoldingSetNodeID ID,
ArrayRef< AttributeSet Nodes 

Definition at line 929 of file Attributes.cpp.

References llvm::FoldingSetNodeID::AddPointer().

Friends And Related Function Documentation

◆ AttributeList

friend class AttributeList

Definition at line 243 of file AttributeImpl.h.

Referenced by dump().

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