MLIR
20.0.0git
|
An attribute representing a reference to a dense vector or tensor object. More...
#include "IR/AttributeDetail.h"
Public Member Functions | |
DenseElementsAttributeStorage (ShapedType type, bool isSplat) | |
Public Member Functions inherited from mlir::AttributeStorage | |
const AbstractAttribute & | getAbstractAttribute () const |
Return the abstract descriptor for this attribute. More... | |
Public Attributes | |
ShapedType | type |
bool | isSplat |
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 representing a reference to a dense vector or tensor object.
Definition at line 46 of file AttributeDetail.h.
|
inline |
Definition at line 48 of file AttributeDetail.h.
bool mlir::detail::DenseElementsAttributeStorage::isSplat |
Definition at line 52 of file AttributeDetail.h.
ShapedType mlir::detail::DenseElementsAttributeStorage::type |
Definition at line 51 of file AttributeDetail.h.
Referenced by mlir::detail::DenseIntOrFPElementsAttrStorage::getKeyForSplatBoolData(), mlir::detail::DenseIntOrFPElementsAttrStorage::operator==(), and mlir::detail::DenseStringElementsAttrStorage::operator==().