MLIR  16.0.0git
Public Member Functions | Protected Member Functions | List of all members
mlir::AttributeStorage Class Reference

Base storage class appearing in an attribute. More...

#include "mlir/IR/AttributeSupport.h"

+ Inheritance diagram for mlir::AttributeStorage:
+ Collaboration diagram for mlir::AttributeStorage:

Public Member Functions

const AbstractAttributegetAbstractAttribute () const
 Return the abstract descriptor for this attribute. More...
 

Protected Member Functions

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

Base storage class appearing in an attribute.

Derived storage classes should only be constructed within the context of the AttributeUniquer.

Definition at line 127 of file AttributeSupport.h.

Member Function Documentation

◆ getAbstractAttribute()

const AbstractAttribute& mlir::AttributeStorage::getAbstractAttribute ( ) const
inline

Return the abstract descriptor for this attribute.

Definition at line 133 of file AttributeSupport.h.

◆ initialize()

void mlir::AttributeStorage::initialize ( MLIRContext context)
inlineprotected

Default initialization for attribute storage classes that require no additional initialization.

Definition at line 147 of file AttributeSupport.h.

◆ initializeAbstractAttribute()

void mlir::AttributeStorage::initializeAbstractAttribute ( const AbstractAttribute abstractAttr)
inlineprotected

Set the abstract attribute for this storage instance.

This is used by the AttributeUniquer when initializing a newly constructed storage object.

Definition at line 141 of file AttributeSupport.h.


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