My Project
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mlir::detail::IntegerTypeStorage Struct Reference

Integer Type Storage and Uniquing. More...

#include <TypeDetail.h>

Inheritance diagram for mlir::detail::IntegerTypeStorage:
Inheritance graph
[legend]
Collaboration diagram for mlir::detail::IntegerTypeStorage:
Collaboration graph
[legend]

Public Types

using KeyTy = unsigned
 The hash key used for uniquing. More...
 

Public Member Functions

 IntegerTypeStorage (unsigned width)
 
bool operator== (const KeyTy &key) const
 
- Public Member Functions inherited from mlir::TypeStorage
Dialect & getDialect ()
 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...
 

Static Public Member Functions

static IntegerTypeStorage * construct (TypeStorageAllocator &allocator, KeyTy bitwidth)
 

Public Attributes

unsigned width
 

Additional Inherited Members

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

Detailed Description

Integer Type Storage and Uniquing.

Member Typedef Documentation

◆ KeyTy

The hash key used for uniquing.

Constructor & Destructor Documentation

◆ IntegerTypeStorage()

mlir::detail::IntegerTypeStorage::IntegerTypeStorage ( unsigned  width)
inline

Member Function Documentation

◆ construct()

static IntegerTypeStorage* mlir::detail::IntegerTypeStorage::construct ( TypeStorageAllocator &  allocator,
KeyTy  bitwidth 
)
inlinestatic

◆ operator==()

bool mlir::detail::IntegerTypeStorage::operator== ( const KeyTy &  key) const
inline

Member Data Documentation

◆ width

unsigned mlir::detail::IntegerTypeStorage::width

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