MLIR
21.0.0git
|
An attribute to store a distinct reference to another attribute. More...
#include "IR/AttributeDetail.h"
Public Types | |
using | KeyTy = Attribute |
Public Member Functions | |
DistinctAttrStorage (Attribute referencedAttr) | |
KeyTy | getAsKey () const |
Returns the referenced attribute as key. More... | |
![]() | |
const AbstractAttribute & | getAbstractAttribute () const |
Return the abstract descriptor for this attribute. More... | |
Public Attributes | |
Attribute | referencedAttr |
The referenced attribute. More... | |
Additional Inherited Members | |
![]() | |
void | initializeAbstractAttribute (const AbstractAttribute &abstractAttr) |
Set the abstract attribute for this storage instance. More... | |
void | initialize (MLIRContext *context) |
Default initialization for attribute storage classes that require no additional initialization. More... | |
![]() | |
BaseStorage ()=default | |
An attribute to store a distinct reference to another attribute.
Definition at line 363 of file AttributeDetail.h.
Definition at line 364 of file AttributeDetail.h.
|
inline |
Definition at line 366 of file AttributeDetail.h.
|
inline |
Returns the referenced attribute as key.
Definition at line 370 of file AttributeDetail.h.
References referencedAttr.
Attribute mlir::detail::DistinctAttrStorage::referencedAttr |
The referenced attribute.
Definition at line 373 of file AttributeDetail.h.
Referenced by getAsKey().