|
| 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.
|
| 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.
|
| bool | mlir::vector::isContiguousSlice (MemRefType memrefType, VectorType vectorType) |
| | Return true if vectorType is a contiguous slice of memrefType, in the sense that it can be read/written from/to a contiguous area of the memref.
|
| 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.
|
| auto | mlir::vector::makeVscaleConstantBuilder (PatternRewriter &rewriter, Location loc) |
| | Returns a functor (int64_t -> Value) which returns a constant vscale multiple.
|
| auto | mlir::vector::getDims (VectorType vType) |
| | Returns a range over the dims (size and scalability) of a VectorType.
|
| 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).
|
| bool | mlir::vector::isLinearizableVector (VectorType type) |
| | Returns true if the input Vector type can be linearized.
|
| Value | mlir::vector::createReadOrMaskedRead (OpBuilder &builder, Location loc, Value source, ArrayRef< int64_t > inputVectorSizes, std::optional< Value > padValue=std::nullopt, bool useInBoundsInsteadOfMasking=false, ArrayRef< bool > inputScalableVecDims={}) |
| | Creates a TransferReadOp from source.
|
| 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:
|
| LogicalResult | mlir::vector::unrollVectorOp (Operation *op, PatternRewriter &rewriter, UnrollVectorOpFn unrollFn) |
| FailureOr< SmallVector< Value > > | mlir::vector::unrollVectorValue (TypedValue< VectorType >, RewriterBase &) |
| | Generic utility for unrolling values of type vector<NxAxBx...> to N values of type vector<AxBx...> using vector.extract.
|