MLIR
20.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... | |
Public Member Functions inherited from mlir::AttributeStorage | |
const AbstractAttribute & | getAbstractAttribute () const |
Return the abstract descriptor for this attribute. More... | |
Public Attributes | |
Attribute | referencedAttr |
The referenced attribute. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::AttributeStorage | |
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... | |
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
BaseStorage ()=default | |
An attribute to store a distinct reference to another attribute.
Definition at line 362 of file AttributeDetail.h.
Definition at line 363 of file AttributeDetail.h.
|
inline |
Definition at line 365 of file AttributeDetail.h.
|
inline |
Returns the referenced attribute as key.
Definition at line 369 of file AttributeDetail.h.
References referencedAttr.
Attribute mlir::detail::DistinctAttrStorage::referencedAttr |
The referenced attribute.
Definition at line 372 of file AttributeDetail.h.
Referenced by getAsKey().