|
MLIR 22.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. | |
| Public Member Functions inherited from mlir::AttributeStorage | |
| const AbstractAttribute & | getAbstractAttribute () const |
| Return the abstract descriptor for this attribute. | |
Public Attributes | |
| Attribute | referencedAttr |
| The referenced attribute. | |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::AttributeStorage | |
| void | initializeAbstractAttribute (const AbstractAttribute &abstractAttr) |
| Set the abstract attribute for this storage instance. | |
| void | initialize (MLIRContext *context) |
| Default initialization for attribute storage classes that require no additional initialization. | |
| Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
| BaseStorage ()=default | |
An attribute to store a distinct reference to another attribute.
Definition at line 360 of file AttributeDetail.h.
Definition at line 361 of file AttributeDetail.h.
|
inline |
Definition at line 363 of file AttributeDetail.h.
References referencedAttr.
|
inline |
Returns the referenced attribute as key.
Definition at line 367 of file AttributeDetail.h.
References referencedAttr.
| Attribute mlir::detail::DistinctAttrStorage::referencedAttr |
The referenced attribute.
Definition at line 370 of file AttributeDetail.h.
Referenced by DistinctAttrStorage(), and getAsKey().