My Project
Public Types | Public Member Functions | Static Public Member Functions | List of all members
mlir::detail::TupleTypeStorage Struct Referencefinal

A type representing a collection of other types. More...

#include <TypeDetail.h>

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

Public Types

using KeyTy = ArrayRef< Type >
 

Public Member Functions

 TupleTypeStorage (unsigned numTypes)
 
bool operator== (const KeyTy &key) const
 
unsigned size () const
 Return the number of held types. More...
 
ArrayRef< Type > getTypes () const
 Return the held types. More...
 
- 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 TupleTypeStorage * construct (TypeStorageAllocator &allocator, ArrayRef< Type > key)
 Construction. More...
 

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

A type representing a collection of other types.

Member Typedef Documentation

◆ KeyTy

Constructor & Destructor Documentation

◆ TupleTypeStorage()

mlir::detail::TupleTypeStorage::TupleTypeStorage ( unsigned  numTypes)
inline

Member Function Documentation

◆ construct()

static TupleTypeStorage* mlir::detail::TupleTypeStorage::construct ( TypeStorageAllocator &  allocator,
ArrayRef< Type >  key 
)
inlinestatic

Construction.

◆ getTypes()

ArrayRef<Type> mlir::detail::TupleTypeStorage::getTypes ( ) const
inline

Return the held types.

◆ operator==()

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

◆ size()

unsigned mlir::detail::TupleTypeStorage::size ( ) const
inline

Return the number of held types.


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