LLVM: llvm::EnumAttributeImpl Class Reference (original) (raw)

A set of classes that contain the value of the attribute object. More...

#include "[IR/AttributeImpl.h](AttributeImpl%5F8h%5Fsource.html)"

Inheritance diagram for llvm::EnumAttributeImpl:

Public Member Functions
EnumAttributeImpl (Attribute::AttrKind Kind)
Attribute::AttrKind getEnumKind () const
Public Member Functions inherited from llvm::AttributeImpl
AttributeImpl (const AttributeImpl &)=delete
AttributeImpl & operator= (const AttributeImpl &)=delete
bool isEnumAttribute () const
bool isIntAttribute () const
bool isStringAttribute () const
bool isTypeAttribute () const
bool isConstantRangeAttribute () const
bool isConstantRangeListAttribute () const
bool hasAttribute (Attribute::AttrKind A) const
bool hasAttribute (StringRef Kind) const
Attribute::AttrKind getKindAsEnum () const
uint64_t getValueAsInt () const
bool getValueAsBool () const
StringRef getKindAsString () const
StringRef getValueAsString () const
Type * getValueAsType () const
const ConstantRange & getValueAsConstantRange () const
ArrayRef< ConstantRange > getValueAsConstantRangeList () const
int cmp (const AttributeImpl &AI, bool KindOnly) const
Used to sort attributes.
bool operator< (const AttributeImpl &AI) const
Used when sorting the attributes.
void Profile (FoldingSetNodeID &ID) const
Public Member Functions inherited from llvm::FoldingSetBase::Node
Node ()=default
void * getNextInBucket () const
void SetNextInBucket (void *N)
Additional Inherited Members
Static Public Member Functions inherited from llvm::AttributeImpl
static void Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind)
static void Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind, uint64_t Val)
static void Profile (FoldingSetNodeID &ID, StringRef Kind, StringRef Values)
static void Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind, Type *Ty)
static void Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind, const ConstantRange &CR)
static void Profile (FoldingSetNodeID &ID, Attribute::AttrKind Kind, ArrayRef< ConstantRange > Val)
Protected Types inherited from llvm::AttributeImpl
enum AttrEntryKind { EnumAttrEntry, IntAttrEntry, StringAttrEntry, TypeAttrEntry, ConstantRangeAttrEntry, ConstantRangeListAttrEntry }

Detailed Description

A set of classes that contain the value of the attribute object.

There are three main categories: enum attribute entries, represented by Attribute::AttrKind; alignment attribute entries; and string attribute enties, which are for target-dependent attributes.

Definition at line 161 of file AttributeImpl.h.

Constructor & Destructor Documentation

EnumAttributeImpl() [2/2]

Member Function Documentation

getEnumKind()


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