|
MLIR 22.0.0git
|
A specialized attribute uniquer for distinct attributes that always allocates since the distinct attribute instances use the address of their storage as unique identifier. More...
#include "IR/AttributeDetail.h"
Static Public Member Functions | |
| template<typename T, typename... Args> | |
| static T | get (MLIRContext *context, Args &&...args) |
| Creates a distinct attribute storage. | |
A specialized attribute uniquer for distinct attributes that always allocates since the distinct attribute instances use the address of their storage as unique identifier.
Definition at line 376 of file AttributeDetail.h.
|
inlinestatic |
Creates a distinct attribute storage.
Allocates every time since the address of the storage serves as unique identifier.
Definition at line 381 of file AttributeDetail.h.
References mlir::Attribute::getTypeID(), mlir::AttributeStorage::initializeAbstractAttribute(), and mlir::AbstractAttribute::lookup().