MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::detail::DenseElementsAttributeStorage Struct Reference

An attribute representing a reference to a dense vector or tensor object. More...

#include "IR/AttributeDetail.h"

+ Inheritance diagram for mlir::detail::DenseElementsAttributeStorage:

Public Member Functions

 DenseElementsAttributeStorage (ShapedType type, bool isSplat)
 
- Public Member Functions inherited from mlir::AttributeStorage
const AbstractAttributegetAbstractAttribute () 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
 

Detailed Description

An attribute representing a reference to a dense vector or tensor object.

Definition at line 46 of file AttributeDetail.h.

Constructor & Destructor Documentation

◆ DenseElementsAttributeStorage()

mlir::detail::DenseElementsAttributeStorage::DenseElementsAttributeStorage ( ShapedType  type,
bool  isSplat 
)
inline

Definition at line 48 of file AttributeDetail.h.

Member Data Documentation

◆ isSplat

bool mlir::detail::DenseElementsAttributeStorage::isSplat

Definition at line 52 of file AttributeDetail.h.

◆ type

ShapedType mlir::detail::DenseElementsAttributeStorage::type

The documentation for this struct was generated from the following file: