23void transform::ApplyF32ExpansionPatternsOp::populatePatterns(
28void transform::ApplyPolynomialApproximationPatternsOp::populatePatterns(
31 [](StringRef) {
return true; });
39class MathTransformDialectExtension
41 MathTransformDialectExtension> {
45 MathTransformDialectExtension() {
46 declareGeneratedDialect<arith::ArithDialect>();
47 declareGeneratedDialect<math::MathDialect>();
48 declareGeneratedDialect<vector::VectorDialect>();
51#include "mlir/Dialect/Math/TransformOps/MathTransformOps.cpp.inc"
58#include "mlir/Dialect/Math/TransformOps/MathTransformOps.cpp.inc"
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void addExtensions()
Add the given extensions to the registry.
Base class for extensions of the Transform dialect that supports injecting operations into the Transf...
void registerTransformDialectExtension(DialectRegistry ®istry)
Include the generated interface declarations.
void populateMathF32ExpansionPatterns(RewritePatternSet &patterns, llvm::function_ref< bool(StringRef)> predicate, PatternBenefit=1)
void populateMathPolynomialApproximationPatterns(RewritePatternSet &patterns, llvm::function_ref< bool(StringRef)> predicate, PatternBenefit=1)