|
My Project
|
Base MemRef for Ranked and Unranked variants. More...
#include <StandardTypes.h>


Static Public Member Functions | |
| static bool | classof (Type type) |
| Methods for support type inquiry through isa, cast, and dyn_cast. More... | |
Static Public Member Functions inherited from mlir::ShapedType | |
| static bool | classof (Type type) |
| Methods for support type inquiry through isa, cast, and dyn_cast. More... | |
| static constexpr bool | isDynamic (int64_t dSize) |
| Whether the given dimension size indicates a dynamic dimension. More... | |
| static constexpr bool | isDynamicStrideOrOffset (int64_t dStrideOrOffset) |
Static Public Member Functions inherited from mlir::Type | |
| static bool | classof (Type) |
| static Type | getFromOpaquePointer (const void *pointer) |
Additional Inherited Members | |
Public Types inherited from mlir::ShapedType | |
| using | ImplType = detail::ShapedTypeStorage |
Public Types inherited from mlir::Type | |
| enum | Kind { Function, Opaque, LAST_BUILTIN_TYPE = Opaque, DEFINE_SYM_KIND_RANGE, DEFINE_SYM_KIND_RANGE } |
| template<typename ConcreteType , typename BaseType , typename StorageType = DefaultTypeStorage> | |
| using | TypeBase = detail::StorageUserBase< ConcreteType, BaseType, StorageType, detail::TypeUniquer > |
| Utility class for implementing types. More... | |
| using | ImplType = TypeStorage |
Public Member Functions inherited from mlir::ShapedType | |
| Type | getElementType () const |
| Return the element type. More... | |
| unsigned | getElementTypeBitWidth () const |
| int64_t | getNumElements () const |
| If it has static shape, return the number of elements. Otherwise, abort. More... | |
| int64_t | getRank () const |
| If this is a ranked type, return the rank. Otherwise, abort. More... | |
| bool | hasRank () const |
| ArrayRef< int64_t > | getShape () const |
| If this is a ranked type, return the shape. Otherwise, abort. More... | |
| bool | hasStaticShape () const |
| bool | hasStaticShape (ArrayRef< int64_t > shape) const |
If this has a static shape and the shape is equal to shape return true. More... | |
| int64_t | getNumDynamicDims () const |
| int64_t | getDimSize (int64_t i) const |
| unsigned | getDynamicDimIndex (unsigned index) const |
| int64_t | getSizeInBits () const |
Public Member Functions inherited from mlir::Type | |
| Type () | |
| Type (const ImplType *impl) | |
| Type (const Type &other)=default | |
| Type & | operator= (const Type &other)=default |
| bool | operator== (Type other) const |
| bool | operator!= (Type other) const |
| operator bool () const | |
| bool | operator! () const |
| template<typename U > | |
| bool | isa () const |
| template<typename U > | |
| U | dyn_cast () const |
| template<typename U > | |
| U | dyn_cast_or_null () const |
| template<typename U > | |
| U | cast () const |
| unsigned | getKind () const |
| Return the classification for this type. More... | |
| MLIRContext * | getContext () const |
| Return the LLVMContext in which this type was uniqued. More... | |
| Dialect & | getDialect () const |
| Get the dialect this type is registered to. More... | |
| bool | isIndex () |
| bool | isBF16 () |
| bool | isF16 () |
| bool | isF32 () |
| bool | isF64 () |
| bool | isInteger (unsigned width) |
| Return true if this is an integer type with the specified width. More... | |
| unsigned | getIntOrFloatBitWidth () |
| bool | isIntOrIndex () |
| Return true if this is an integer or index type. More... | |
| bool | isIntOrIndexOrFloat () |
| Return true if this is an integer, index, or float type. More... | |
| bool | isIntOrFloat () |
| Return true of this is an integer or a float type. More... | |
| void | print (raw_ostream &os) |
| Print the current type. More... | |
| void | dump () |
| unsigned | getSubclassData () const |
| void | setSubclassData (unsigned val) |
| const void * | getAsOpaquePointer () const |
| Methods for supporting PointerLikeTypeTraits. More... | |
Static Public Attributes inherited from mlir::ShapedType | |
| static constexpr int64_t | kDynamicSize = -1 |
| static constexpr int64_t | kDynamicStrideOrOffset |
Protected Attributes inherited from mlir::Type | |
| ImplType * | impl |
Base MemRef for Ranked and Unranked variants.
|
inlinestatic |
Methods for support type inquiry through isa, cast, and dyn_cast.
1.8.13