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

#include "IR/AttributeImpl.h"

Inheritance diagram for llvm::AttributeSetNode:
Inheritance graph
Collaboration diagram for llvm::AttributeSetNode:
Collaboration graph

Public Types

using iterator = const Attribute *

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 AttributeList 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::FoldingSetBase::Node
 Node ()=default
void * getNextInBucket () const
void SetNextInBucket (void *N)

Static Public Member Functions

static AttributeSetNodeget (LLVMContext &C, const AttrBuilder &B)
static AttributeSetNodeget (LLVMContext &C, ArrayRef< Attribute > Attrs)
static void Profile (FoldingSetNodeID &ID, ArrayRef< Attribute > AttrList)

Detailed Description

Definition at line 152 of file AttributeImpl.h.

Member Typedef Documentation

◆ iterator

Definition at line 193 of file AttributeImpl.h.

Constructor & Destructor Documentation

◆ AttributeSetNode()

llvm::AttributeSetNode::AttributeSetNode ( const AttributeSetNode )

Member Function Documentation

◆ begin()

iterator llvm::AttributeSetNode::begin ( ) const

Definition at line 195 of file AttributeImpl.h.

◆ end()

iterator llvm::AttributeSetNode::end ( ) const

Definition at line 196 of file AttributeImpl.h.

References llvm::sys::path::begin().

◆ get() [1/2]

AttributeSetNode * AttributeSetNode::get ( LLVMContext C,
const AttrBuilder B 

◆ get() [2/2]

AttributeSetNode * AttributeSetNode::get ( LLVMContext C,
ArrayRef< Attribute Attrs 

◆ getAlignment()

unsigned AttributeSetNode::getAlignment ( ) const

Definition at line 749 of file Attributes.cpp.

References I.

◆ getAllocSizeArgs()

std::pair< unsigned, Optional< unsigned > > AttributeSetNode::getAllocSizeArgs ( ) const

Definition at line 778 of file Attributes.cpp.

References I.

◆ getAsString()

std::string AttributeSetNode::getAsString ( bool  InAttrGrp) const

Definition at line 785 of file Attributes.cpp.

References llvm::sys::path::begin(), E, llvm::sys::path::end(), and I.

◆ getAttribute() [1/2]

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

Definition at line 733 of file Attributes.cpp.

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

◆ getAttribute() [2/2]

Attribute AttributeSetNode::getAttribute ( StringRef  Kind) const

Definition at line 742 of file Attributes.cpp.

References I.

◆ getDereferenceableBytes()

uint64_t AttributeSetNode::getDereferenceableBytes ( ) const

Definition at line 763 of file Attributes.cpp.

References I.

◆ getDereferenceableOrNullBytes()

uint64_t AttributeSetNode::getDereferenceableOrNullBytes ( ) const

Definition at line 770 of file Attributes.cpp.

References I.

◆ getNumAttributes()

unsigned llvm::AttributeSetNode::getNumAttributes ( ) const

Return the number of attributes this AttributeList contains.

Definition at line 175 of file AttributeImpl.h.

◆ getStackAlignment()

unsigned AttributeSetNode::getStackAlignment ( ) const

Definition at line 756 of file Attributes.cpp.

References I.

◆ hasAttribute() [1/2]

bool llvm::AttributeSetNode::hasAttribute ( Attribute::AttrKind  Kind) const

Definition at line 177 of file AttributeImpl.h.

References llvm::AttributeImpl::hasAttribute().

◆ hasAttribute() [2/2]

bool AttributeSetNode::hasAttribute ( StringRef  Kind) const

Definition at line 726 of file Attributes.cpp.

References I.

◆ hasAttributes()

bool llvm::AttributeSetNode::hasAttributes ( ) const

Definition at line 181 of file AttributeImpl.h.

References getAlignment(), and getAttribute().

◆ operator delete()

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

Definition at line 168 of file AttributeImpl.h.

References llvm::AMDGPU::HSAMD::Kernel::Key::Attrs, B, and C.

◆ operator=()

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

◆ Profile() [1/2]

void llvm::AttributeSetNode::Profile ( FoldingSetNodeID ID) const

◆ Profile() [2/2]

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

Definition at line 202 of file AttributeImpl.h.

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