9 #ifndef MLIR_CONVERSION_LINALGTOSTANDARD_LINALGTOSTANDARD_H_
10 #define MLIR_CONVERSION_LINALGTOSTANDARD_LINALGTOSTANDARD_H_
20 #define GEN_PASS_DECL_CONVERTLINALGTOSTANDARD
21 #include "mlir/Conversion/Passes.h.inc"
A special type of RewriterBase that coordinates the application of a rewrite pattern on the current I...
LogicalResult matchAndRewrite(LinalgOp op, PatternRewriter &rewriter) const override
void populateLinalgToStandardConversionPatterns(RewritePatternSet &patterns)
Populate the given list with patterns that convert from Linalg to Standard.
Include the generated interface declarations.
std::unique_ptr< OperationPass< ModuleOp > > createConvertLinalgToStandardPass()
Create a pass to convert Linalg operations to the Standard dialect.
OpInterfaceRewritePattern is a wrapper around RewritePattern that allows for matching and rewriting a...