LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::ConstantRangeListAttributeImpl Class Referencefinal

#include "IR/AttributeImpl.h"

Inheritance diagram for llvm::ConstantRangeListAttributeImpl:
Inheritance graph
[legend]

Public Member Functions

 ConstantRangeListAttributeImpl (Attribute::AttrKind Kind, ArrayRef< ConstantRange > Val)
 
 ~ConstantRangeListAttributeImpl ()
 
ArrayRef< ConstantRangegetConstantRangeListValue () const
 
- Public Member Functions inherited from llvm::EnumAttributeImpl
 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 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
 
TypegetValueAsType () const
 
const ConstantRangegetValueAsConstantRange () const
 
ArrayRef< ConstantRangegetValueAsConstantRangeList () 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)
 

Static Public Member Functions

static size_t totalSizeToAlloc (ArrayRef< ConstantRange > Val)
 
- 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)
 

Additional Inherited Members

- Protected Types inherited from llvm::AttributeImpl
enum  AttrEntryKind {
  EnumAttrEntry , IntAttrEntry , StringAttrEntry , TypeAttrEntry ,
  ConstantRangeAttrEntry , ConstantRangeListAttrEntry
}
 
- Protected Member Functions inherited from llvm::EnumAttributeImpl
 EnumAttributeImpl (AttrEntryKind ID, Attribute::AttrKind Kind)
 
- Protected Member Functions inherited from llvm::AttributeImpl
 AttributeImpl (AttrEntryKind KindID)
 

Detailed Description

Definition at line 244 of file AttributeImpl.h.

Constructor & Destructor Documentation

◆ ConstantRangeListAttributeImpl()

llvm::ConstantRangeListAttributeImpl::ConstantRangeListAttributeImpl ( Attribute::AttrKind  Kind,
ArrayRef< ConstantRange Val 
)
inline

◆ ~ConstantRangeListAttributeImpl()

llvm::ConstantRangeListAttributeImpl::~ConstantRangeListAttributeImpl ( )
inline

Definition at line 261 of file AttributeImpl.h.

References I.

Member Function Documentation

◆ getConstantRangeListValue()

ArrayRef< ConstantRange > llvm::ConstantRangeListAttributeImpl::getConstantRangeListValue ( ) const
inline

Definition at line 267 of file AttributeImpl.h.

◆ totalSizeToAlloc()

static size_t llvm::ConstantRangeListAttributeImpl::totalSizeToAlloc ( ArrayRef< ConstantRange Val)
inlinestatic

Definition at line 271 of file AttributeImpl.h.

References llvm::ArrayRef< T >::size().

Referenced by llvm::Attribute::get().


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