|
My Project
|
#include <StandardTypes.h>


Public Member Functions | |
| ArrayRef< int64_t > | getShape () const |
Static Public Member Functions | |
| static VectorType | get (ArrayRef< int64_t > shape, Type elementType) |
| static VectorType | getChecked (ArrayRef< int64_t > shape, Type elementType, Location location) |
| static LogicalResult | verifyConstructionInvariants (Optional< Location > loc, MLIRContext *context, ArrayRef< int64_t > shape, Type elementType) |
| Verify the construction of a vector type. More... | |
| static bool | isValidElementType (Type t) |
| static bool | kindof (unsigned kind) |
| Methods for support type inquiry through isa, cast, and dyn_cast. More... | |
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 | |
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 |
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... | |
Vector types represent multi-dimensional SIMD vectors, and have a fixed known constant shape with one or more dimension.
|
static |
Get or create a new VectorType of the provided shape and element type. Assumes the arguments define a well-formed VectorType.
|
static |
Get or create a new VectorType of the provided shape and element type declared at the given, potentially unknown, location. If the VectorType defined by the arguments would be ill-formed, emit errors and return nullptr-wrapping type.
| ArrayRef< int64_t > VectorType::getShape | ( | ) | const |
|
inlinestatic |
Returns true of the given type can be used as an element of a vector type. In particular, vectors can consist of integer or float primitives.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast.
|
static |
Verify the construction of a vector type.
1.8.13