MLIR
21.0.0git
|
#include <optional>
#include <utility>
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Dialect/Vector/Utils/VectorUtils.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Dialect/Vector/Transforms/VectorTransformsEnums.h.inc"
Go to the source code of this file.
Classes | |
struct | mlir::vector::UnrollVectorOptions |
Options that control the vector unrolling. More... | |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::arith | |
mlir::vector | |
Functions | |
void | mlir::vector::populateVectorContractCanonicalizeMatmulToMMT (RewritePatternSet &patterns, std::function< LogicalResult(vector::ContractionOp)> constraint=[](vector::ContractionOp) { return success();}, PatternBenefit=1) |
Canonicalization of a vector.contraction a, b, c with row-major matmul semantics to a contraction with MMT semantics (matrix matrix multiplication with the RHS transposed). More... | |
void | mlir::vector::populateVectorReductionToContractPatterns (RewritePatternSet &patterns, PatternBenefit benefit=1) |
Collect patterns to convert reduction op to vector.contract and fold transpose/broadcast ops into the contract. More... | |
void | mlir::vector::populateVectorTransferFullPartialPatterns (RewritePatternSet &patterns, const VectorTransformsOptions &options) |
Populate patterns with the following patterns. More... | |
void | mlir::vector::populateVectorTransferCollapseInnerMostContiguousDimsPatterns (RewritePatternSet &patterns, PatternBenefit benefit=1) |
Collect a set of patterns to reduce the rank of the operands of vector transfer ops to operate on the largest contigious vector. More... | |
void | mlir::vector::populateSinkVectorOpsPatterns (RewritePatternSet &patterns, PatternBenefit benefit=1) |
Patterns that remove redundant Vector Ops by re-ordering them with e.g. More... | |