LLVM 19.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::EnumAttributeImpl Class Reference

#include "IR/AttributeImpl.h"

Inheritance diagram for llvm::EnumAttributeImpl:
Inheritance graph

Public Member Functions

 EnumAttributeImpl (Attribute::AttrKind Kind)
Attribute::AttrKind getEnumKind () const
- Public Member Functions inherited from llvm::AttributeImpl
 AttributeImpl (const AttributeImpl &)=delete
AttributeImploperator= (const AttributeImpl &)=delete
bool isEnumAttribute () const
bool isIntAttribute () const
bool isStringAttribute () const
bool isTypeAttribute () const
bool isConstantRangeAttribute () 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
TypegetValueAsType () const
const ConstantRangegetValueAsConstantRange () const
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)

Protected Member Functions

 EnumAttributeImpl (AttrEntryKind ID, Attribute::AttrKind Kind)
- Protected Member Functions inherited from llvm::AttributeImpl
 AttributeImpl (AttrEntryKind KindID)

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)
- Protected Types inherited from llvm::AttributeImpl
enum  AttrEntryKind {
  EnumAttrEntry , IntAttrEntry , StringAttrEntry , TypeAttrEntry ,

Detailed Description

Definition at line 139 of file AttributeImpl.h.

Constructor & Destructor Documentation

◆ EnumAttributeImpl() [1/2]

llvm::EnumAttributeImpl::EnumAttributeImpl ( AttrEntryKind  ID,
Attribute::AttrKind  Kind 

Definition at line 143 of file AttributeImpl.h.

◆ EnumAttributeImpl() [2/2]

llvm::EnumAttributeImpl::EnumAttributeImpl ( Attribute::AttrKind  Kind)

Definition at line 147 of file AttributeImpl.h.

References assert(), and llvm::Attribute::None.

Member Function Documentation

◆ getEnumKind()

Attribute::AttrKind llvm::EnumAttributeImpl::getEnumKind ( ) const

Definition at line 153 of file AttributeImpl.h.

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