9 #ifndef MLIR_DIALECT_MATH_TRANSFORMS_APPROXIMATION_H
10 #define MLIR_DIALECT_MATH_TRANSFORMS_APPROXIMATION_H
A special type of RewriterBase that coordinates the application of a rewrite pattern on the current I...
This header declares functions that assit transformations in the MemRef dialect.
This class represents an efficient way to signal success or failure.
OpRewritePattern is a wrapper around RewritePattern that allows for matching and rewriting against an...
OpRewritePattern(MLIRContext *context, PatternBenefit benefit=1, ArrayRef< StringRef > generatedNames={})
Patterns must specify the root operation name they match against, and can also specify the benefit of...
LogicalResult matchAndRewrite(math::ErfOp op, PatternRewriter &rewriter) const final