MLIR
20.0.0git
|
A type representing a collection of other types. More...
#include "IR/TypeDetail.h"
Public Types | |
using | KeyTy = TypeRange |
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... | |
KeyTy | getAsKey () const |
Public Member Functions inherited from mlir::TypeStorage | |
const AbstractType & | getAbstractType () |
Return the abstract type descriptor for this type. More... | |
Static Public Member Functions | |
static TupleTypeStorage * | construct (TypeStorageAllocator &allocator, TypeRange key) |
Construction. More... | |
Public Attributes | |
unsigned | numElements |
The number of tuple elements. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::TypeStorage | |
TypeStorage () | |
This constructor is used by derived classes as part of the TypeUniquer. More... | |
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
BaseStorage ()=default | |
A type representing a collection of other types.
Definition at line 103 of file TypeDetail.h.
Definition at line 106 of file TypeDetail.h.
|
inline |
Definition at line 108 of file TypeDetail.h.
Referenced by construct().
|
inlinestatic |
Construction.
Definition at line 111 of file TypeDetail.h.
References mlir::StorageUniquer::StorageAllocator::allocate(), and TupleTypeStorage().
|
inline |
Definition at line 134 of file TypeDetail.h.
References getTypes().
Return the held types.
Definition at line 130 of file TypeDetail.h.
References size().
Referenced by getAsKey(), and operator==().
|
inline |
Definition at line 124 of file TypeDetail.h.
References getTypes().
|
inline |
Return the number of held types.
Definition at line 127 of file TypeDetail.h.
References numElements.
Referenced by getTypes().
unsigned mlir::detail::TupleTypeStorage::numElements |