|
My Project
|
#include <StandardTypes.h>


Public Types | |
| using | iterator = ArrayRef< Type >::iterator |
| Iterate over the held elements. More... | |
Public Types inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| using | Base = StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > |
| Utility declarations for the concrete attribute class. More... | |
| using | ImplType = StorageT |
Public Member Functions | |
| ArrayRef< Type > | getTypes () const |
| Return the elements types for this tuple. More... | |
| void | getFlattenedTypes (SmallVectorImpl< Type > &types) |
| size_t | size () const |
| Return the number of held types. More... | |
| iterator | begin () const |
| iterator | end () const |
| Type | getType (size_t index) const |
| Return the element type at index 'index'. More... | |
Static Public Member Functions | |
| static TupleType | get (ArrayRef< Type > elementTypes, MLIRContext *context) |
| TupleType. More... | |
| static TupleType | get (MLIRContext *context) |
| Get or create an empty tuple type. More... | |
| static bool | kindof (unsigned kind) |
Static Public Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| static ClassID * | getClassID () |
| Return a unique identifier for the concrete type. More... | |
| template<typename T > | |
| static bool | classof (T val) |
Additional Inherited Members | |
Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| ImplType * | getImpl () const |
| Utility for easy access to the storage instance. More... | |
Static Protected Member Functions inherited from mlir::detail::StorageUserBase< ConcreteT, BaseT, StorageT, UniquerT > | |
| template<typename... Args> | |
| static ConcreteT | get (MLIRContext *ctx, unsigned kind, Args... args) |
| template<typename... Args> | |
| static ConcreteT | getChecked (const Location &loc, MLIRContext *ctx, unsigned kind, Args... args) |
| template<typename... Args> | |
| static LogicalResult | verifyConstructionInvariants (Args... args) |
| Default implementation that just returns success. More... | |
Tuple types represent a collection of other types. Note: This type merely provides a common mechanism for representing tuples in MLIR. It is up to dialect authors to provides operations for manipulating them, e.g. extract_tuple_element. When possible, users should prefer multi-result operations in the place of tuples.
| using mlir::TupleType::iterator = ArrayRef<Type>::iterator |
Iterate over the held elements.
|
inline |
|
inline |
|
static |
|
inlinestatic |
Get or create an empty tuple type.
| void TupleType::getFlattenedTypes | ( | SmallVectorImpl< Type > & | types | ) |
Accumulate the types contained in this tuple and tuples nested within it. Note that this only flattens nested tuples, not any other container type, e.g. a tuple<i32, tensor<i32>, tuple<f32, tuple<i64>>> is flattened to (i32, tensor<i32>, f32, i64)
|
inline |
Return the element type at index 'index'.
|
inlinestatic |
| size_t TupleType::size | ( | ) | const |
Return the number of held types.
Return the number of element types.
1.8.13