My Project
Public Member Functions | Protected Member Functions | List of all members
mlir::TypeStorage Class Reference

Base storage class appearing in a Type. More...

#include <TypeSupport.h>

Inheritance diagram for mlir::TypeStorage:
Inheritance graph
[legend]
Collaboration diagram for mlir::TypeStorage:
Collaboration graph
[legend]

Public Member Functions

DialectgetDialect ()
 Get the dialect that this type is registered to. More...
 
unsigned getSubclassData () const
 Get the subclass data. More...
 
void setSubclassData (unsigned val)
 Set the subclass data. More...
 
- Public Member Functions inherited from mlir::StorageUniquer::BaseStorage
unsigned getKind () const
 Get the kind classification of this storage. More...
 

Protected Member Functions

 TypeStorage (unsigned subclassData=0)
 
- Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage
 BaseStorage ()
 

Detailed Description

Base storage class appearing in a Type.

Constructor & Destructor Documentation

◆ TypeStorage()

mlir::TypeStorage::TypeStorage ( unsigned  subclassData = 0)
inlineprotected

This constructor is used by derived classes as part of the TypeUniquer. When using this constructor, the initializeTypeInfo function must be invoked afterwards for the storage to be valid.

Member Function Documentation

◆ getDialect()

Dialect& mlir::TypeStorage::getDialect ( )
inline

Get the dialect that this type is registered to.

◆ getSubclassData()

unsigned mlir::TypeStorage::getSubclassData ( ) const
inline

Get the subclass data.

◆ setSubclassData()

void mlir::TypeStorage::setSubclassData ( unsigned  val)
inline

Set the subclass data.


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