|
Value | mlir::vector::createOrFoldDimOp (OpBuilder &b, Location loc, Value source, int64_t dim) |
| Helper function that creates a memref::DimOp or tensor::DimOp depending on the type of source . More...
|
|
FailureOr< std::pair< int, int > > | mlir::vector::isTranspose2DSlice (vector::TransposeOp op) |
| Returns two dims that are greater than one if the transposition is applied on a 2D slice. More...
|
|
bool | mlir::vector::isContiguousSlice (MemRefType memrefType, VectorType vectorType) |
| Return true if vectorType is a contiguous slice of memrefType . More...
|
|
std::optional< StaticTileOffsetRange > | mlir::vector::createUnrollIterator (VectorType vType, int64_t targetRank=1) |
| Returns an iterator for all positions in the leading dimensions of vType up to the targetRank . More...
|
|
auto | mlir::vector::makeVscaleConstantBuilder (PatternRewriter &rewriter, Location loc) |
| Returns a functor (int64_t -> Value) which returns a constant vscale multiple. More...
|
|
auto | mlir::vector::getDims (VectorType vType) |
| Returns a range over the dims (size and scalability) of a VectorType. More...
|
|
SmallVector< OpFoldResult > | mlir::vector::getMixedSizesXfer (bool hasTensorSemantics, Operation *xfer, RewriterBase &rewriter) |
| A wrapper for getMixedSizes for vector.transfer_read and vector.transfer_write Ops (for source and destination, respectively). More...
|
|
bool | mlir::vector::isLinearizableVector (VectorType type) |
| Returns true if the input Vector type can be linearized. More...
|
|
Value | mlir::vector::createReadOrMaskedRead (OpBuilder &builder, Location loc, Value source, ArrayRef< int64_t > readShape, Value padValue, bool useInBoundsInsteadOfMasking) |
| Create a TransferReadOp from source with static shape readShape . More...
|
|
LogicalResult | mlir::vector::isValidMaskedInputVector (ArrayRef< int64_t > shape, ArrayRef< int64_t > inputVectorSizes) |
| Returns success if inputVectorSizes is a valid masking configuraion for given shape , i.e., it meets: More...
|
|