9 #ifndef MLIR_REDUCER_REDUCTIONPATTERNINTERFACE_H
10 #define MLIR_REDUCER_REDUCTIONPATTERNINTERFACE_H
16 class RewritePatternSet;
This is used to report the reduction patterns for a Dialect.
virtual void populateReductionPatterns(RewritePatternSet &patterns) const =0
Patterns provided here are intended to transform operations from a complex form to a simpler form,...
DialectReductionPatternInterface(Dialect *dialect)
Dialects are groups of MLIR operations, types and attributes, as well as behavior associated with the...
The base class used for all derived interface types.
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns