LLVM  4.0.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::AttributeSetNode Class Referencefinal

#include <AttributeSetNode.h>

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

Public Types

typedef const Attributeiterator
 

Public Member Functions

 AttributeSetNode (const AttributeSetNode &)=delete
 
AttributeSetNodeoperator= (const AttributeSetNode &)=delete
 
void operator delete (void *p)
 
unsigned getNumAttributes () const
 Return the number of attributes this AttributeSet contains. More...
 
bool hasAttribute (Attribute::AttrKind Kind) const
 
bool hasAttribute (StringRef Kind) const
 
bool hasAttributes () const
 
Attribute getAttribute (Attribute::AttrKind Kind) const
 
Attribute getAttribute (StringRef Kind) const
 
unsigned getAlignment () const
 
unsigned getStackAlignment () const
 
uint64_t getDereferenceableBytes () const
 
uint64_t getDereferenceableOrNullBytes () const
 
std::pair< unsigned, Optional
< unsigned > > 
getAllocSizeArgs () const
 
std::string getAsString (bool InAttrGrp) const
 
iterator begin () const
 
iterator end () const
 
void Profile (FoldingSetNodeID &ID) const
 
- Public Member Functions inherited from llvm::FoldingSetImpl::Node
 Node ()
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 

Static Public Member Functions

static AttributeSetNodeget (LLVMContext &C, ArrayRef< Attribute > Attrs)
 
static AttributeSetNodeget (AttributeSet AS, unsigned Index)
 
static void Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList)
 

Detailed Description

Definition at line 36 of file AttributeSetNode.h.

Member Typedef Documentation

Definition at line 91 of file AttributeSetNode.h.

Constructor & Destructor Documentation

llvm::AttributeSetNode::AttributeSetNode ( const AttributeSetNode )
delete

Member Function Documentation

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

Definition at line 92 of file AttributeSetNode.h.

Referenced by llvm::AttributeSetImpl::begin(), end(), getAsString(), and Profile().

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

Definition at line 93 of file AttributeSetNode.h.

References begin().

Referenced by llvm::AttributeSetImpl::end(), getAsString(), and Profile().

AttributeSetNode * AttributeSetNode::get ( LLVMContext C,
ArrayRef< Attribute Attrs 
)
static
static AttributeSetNode* llvm::AttributeSetNode::get ( AttributeSet  AS,
unsigned  Index 
)
inlinestatic

Definition at line 68 of file AttributeSetNode.h.

unsigned AttributeSetNode::getAlignment ( ) const
std::pair< unsigned, Optional< unsigned > > AttributeSetNode::getAllocSizeArgs ( ) const
std::string AttributeSetNode::getAsString ( bool  InAttrGrp) const

Definition at line 570 of file Attributes.cpp.

References begin(), E, end(), and I.

Referenced by llvm::AttributeSet::getAsString().

Attribute AttributeSetNode::getAttribute ( Attribute::AttrKind  Kind) const

Definition at line 518 of file Attributes.cpp.

References hasAttribute(), llvm::Attribute::hasAttribute(), and I.

Referenced by llvm::AttributeSet::getAttribute().

Attribute AttributeSetNode::getAttribute ( StringRef  Kind) const

Definition at line 527 of file Attributes.cpp.

References llvm::Attribute::hasAttribute(), and I.

uint64_t AttributeSetNode::getDereferenceableBytes ( ) const
uint64_t AttributeSetNode::getDereferenceableOrNullBytes ( ) const
unsigned llvm::AttributeSetNode::getNumAttributes ( ) const
inline

Return the number of attributes this AttributeSet contains.

Definition at line 73 of file AttributeSetNode.h.

Referenced by LLVMGetCallSiteAttributeCount().

unsigned AttributeSetNode::getStackAlignment ( ) const
bool llvm::AttributeSetNode::hasAttribute ( Attribute::AttrKind  Kind) const
inline

Definition at line 75 of file AttributeSetNode.h.

References Kind.

Referenced by getAttribute(), and llvm::AttributeSet::hasAttribute().

bool AttributeSetNode::hasAttribute ( StringRef  Kind) const

Definition at line 511 of file Attributes.cpp.

References llvm::Attribute::hasAttribute(), and I.

bool llvm::AttributeSetNode::hasAttributes ( ) const
inline

Definition at line 79 of file AttributeSetNode.h.

Referenced by llvm::AttributeSet::hasAttributes().

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

Definition at line 64 of file AttributeSetNode.h.

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

Definition at line 95 of file AttributeSetNode.h.

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

static void llvm::AttributeSetNode::Profile ( FoldingSetNodeID ID,
ArrayRef< Attribute AttrList 
)
inlinestatic

Definition at line 98 of file AttributeSetNode.h.


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