MLIR
20.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. More... | |
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 378 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 383 of file AttributeDetail.h.
References mlir::detail::StorageUserBase< DistinctAttr, Attribute, detail::DistinctAttrStorage, detail::DistinctAttributeUniquer >::getTypeID(), mlir::AttributeStorage::initializeAbstractAttribute(), and mlir::AbstractAttribute::lookup().