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

#include <TypeDetail.h>

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

Public Types

using KeyTy = std::tuple< Type, unsigned >
 The hash key used for uniquing. More...
 
- Public Types inherited from mlir::detail::ShapedTypeStorage
using KeyTy = Type
 The hash key used for uniquing. More...
 

Public Member Functions

 UnrankedMemRefTypeStorage (Type elementTy, const unsigned memorySpace)
 
bool operator== (const KeyTy &key) const
 
- Public Member Functions inherited from mlir::detail::ShapedTypeStorage
 ShapedTypeStorage (Type elementTy, unsigned subclassData=0)
 
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 UnrankedMemRefTypeStorage * construct (TypeStorageAllocator &allocator, const KeyTy &key)
 Construction. More...
 

Public Attributes

const unsigned memorySpace
 Memory space in which data referenced by memref resides. More...
 
- Public Attributes inherited from mlir::detail::ShapedTypeStorage
Type elementType
 

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

Unranked MemRef is a MemRef with unknown rank. Only element type and memory space are known

Member Typedef Documentation

◆ KeyTy

The hash key used for uniquing.

Constructor & Destructor Documentation

◆ UnrankedMemRefTypeStorage()

mlir::detail::UnrankedMemRefTypeStorage::UnrankedMemRefTypeStorage ( Type  elementTy,
const unsigned  memorySpace 
)
inline

Member Function Documentation

◆ construct()

static UnrankedMemRefTypeStorage* mlir::detail::UnrankedMemRefTypeStorage::construct ( TypeStorageAllocator &  allocator,
const KeyTy &  key 
)
inlinestatic

Construction.

◆ operator==()

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

Member Data Documentation

◆ memorySpace

const unsigned mlir::detail::UnrankedMemRefTypeStorage::memorySpace

Memory space in which data referenced by memref resides.


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