#include "mlir/IR/BuiltinAttributeInterfaces.h"
#include "mlir/IR/BuiltinTypeInterfaces.h"
#include "mlir/Support/ADTExtras.h"
#include "mlir/IR/QuantStorageTypeInterface.h"
#include "mlir/IR/BuiltinTypes.h.inc"
#include "mlir/IR/BuiltinTypeConstraints.h.inc"
Go to the source code of this file.
|
| bool | mlir::isValidVectorTypeElementType (::mlir::Type type) |
| std::optional< llvm::SmallDenseSet< unsigned > > | mlir::computeRankReductionMask (ArrayRef< int64_t > originalShape, ArrayRef< int64_t > reducedShape, bool matchDynamic=false) |
| | Given an originalShape and a reducedShape assumed to be a subset of originalShape with some 1 entries erased, return the set of indices that specifies which of the entries of originalShape are dropped to obtain reducedShape.
|
| SliceVerificationResult | mlir::isRankReducedType (ShapedType originalType, ShapedType candidateReducedType) |
| | Check if originalType can be rank reduced to candidateReducedType type by dropping some dimensions with static size 1.
|
| AffineExpr | mlir::makeCanonicalStridedLayoutExpr (ArrayRef< int64_t > sizes, ArrayRef< AffineExpr > exprs, MLIRContext *context) |
| | Given MemRef sizes that are either static or dynamic, returns the canonical "contiguous" strides AffineExpr.
|
| AffineExpr | mlir::makeCanonicalStridedLayoutExpr (ArrayRef< int64_t > sizes, MLIRContext *context) |
| | Return the result of makeCanonicalStrudedLayoutExpr for the common case where exprs is {d0, d1, .., d_(sizes.size()-1)}.
|
◆ GET_TYPEDEF_CLASSES
| #define GET_TYPEDEF_CLASSES |