|
MLIR 22.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. | |
| ArrayRef< Type > | getTypes () const |
| Return the held types. | |
| KeyTy | getAsKey () const |
| Public Member Functions inherited from mlir::TypeStorage | |
| const AbstractType & | getAbstractType () |
| Return the abstract type descriptor for this type. | |
Static Public Member Functions | |
| static TupleTypeStorage * | construct (TypeStorageAllocator &allocator, TypeRange key) |
| Construction. | |
Public Attributes | |
| unsigned | numElements |
| The number of tuple elements. | |
Additional Inherited Members | |
| Protected Member Functions inherited from mlir::TypeStorage | |
| TypeStorage () | |
| This constructor is used by derived classes as part of the TypeUniquer. | |
| 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 107 of file TypeDetail.h.
|
inline |
|
inlinestatic |
Construction.
Definition at line 112 of file TypeDetail.h.
References mlir::StorageUniquer::StorageAllocator::allocate(), result, and TupleTypeStorage().
|
inline |
Definition at line 132 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==().
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 |
The number of tuple elements.
Definition at line 135 of file TypeDetail.h.
Referenced by size(), and TupleTypeStorage().