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

Opaque Type Storage and Uniquing. More...

#include <TypeDetail.h>

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

Public Types

using KeyTy = std::pair< Identifier, StringRef >
 The hash key used for uniquing. More...
 

Public Member Functions

 OpaqueTypeStorage (Identifier dialectNamespace, StringRef typeData)
 
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 OpaqueTypeStorage * construct (TypeStorageAllocator &allocator, const KeyTy &key)
 

Public Attributes

Identifier dialectNamespace
 
StringRef typeData
 

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

Opaque Type Storage and Uniquing.

Member Typedef Documentation

◆ KeyTy

using mlir::detail::OpaqueTypeStorage::KeyTy = std::pair<Identifier, StringRef>

The hash key used for uniquing.

Constructor & Destructor Documentation

◆ OpaqueTypeStorage()

mlir::detail::OpaqueTypeStorage::OpaqueTypeStorage ( Identifier  dialectNamespace,
StringRef  typeData 
)
inline

Member Function Documentation

◆ construct()

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

◆ operator==()

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

Member Data Documentation

◆ dialectNamespace

Identifier mlir::detail::OpaqueTypeStorage::dialectNamespace

◆ typeData

StringRef mlir::detail::OpaqueTypeStorage::typeData

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