My Project
|
#include <Attributes.h>
Public Types | |
using | ValueType = ArrayRef< NamedAttribute > |
using | iterator = llvm::ArrayRef< NamedAttribute >::iterator |
Support range iteration. More... | |
![]() | |
using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
Utility declarations for the concrete attribute class. More... | |
using | ImplType = StorageT |
Public Member Functions | |
ArrayRef< NamedAttribute > | getValue () const |
Attribute | get (StringRef name) const |
Return the specified attribute if present, null otherwise. More... | |
Attribute | get (Identifier name) const |
iterator | begin () const |
iterator | end () const |
bool | empty () const |
size_t | size () const |
Static Public Member Functions | |
static DictionaryAttr | get (ArrayRef< NamedAttribute > value, MLIRContext *context) |
static bool | kindof (unsigned kind) |
Methods for supporting type inquiry through isa, cast, and dyn_cast. More... | |
![]() | |
static ClassID * | getClassID () |
Return a unique identifier for the concrete type. More... | |
template<typename T > | |
static bool | classof (T val) |
Additional Inherited Members | |
![]() | |
ImplType * | getImpl () const |
Utility for easy access to the storage instance. More... | |
![]() | |
template<typename... Args> | |
static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
template<typename... Args> | |
static LogicalResult | verifyConstructionInvariants (Args... args) |
Default implementation that just returns success. More... | |
Dictionary attribute is an attribute that represents a sorted collection of named attribute values. The elements are sorted by name, and each name must be unique within the collection.
Support range iteration.
DictionaryAttr::iterator DictionaryAttr::begin | ( | ) | const |
|
inline |
DictionaryAttr::iterator DictionaryAttr::end | ( | ) | const |
|
static |
Attribute DictionaryAttr::get | ( | StringRef | name | ) | const |
Return the specified attribute if present, null otherwise.
Attribute DictionaryAttr::get | ( | Identifier | name | ) | const |
ArrayRef< NamedAttribute > DictionaryAttr::getValue | ( | ) | const |
|
inlinestatic |
Methods for supporting type inquiry through isa, cast, and dyn_cast.
size_t DictionaryAttr::size | ( | ) | const |