Go to the source code of this file.
|
| mlir |
| This header declares functions that assist transformations in the MemRef dialect.
|
|
|
LogicalResult | mlir::applyPatternsAndFoldGreedily (Region ®ion, const FrozenRewritePatternSet &patterns, GreedyRewriteConfig config=GreedyRewriteConfig()) |
| Rewrite ops in the given region, which must be isolated from above, by repeatedly applying the highest benefit patterns in a greedy work-list driven manner. More...
|
|
LogicalResult | mlir::applyPatternsAndFoldGreedily (Operation *op, const FrozenRewritePatternSet &patterns, GreedyRewriteConfig config=GreedyRewriteConfig()) |
| Rewrite ops in all regions of the given op, which must be isolated from above. More...
|
|
LogicalResult | mlir::applyOpPatternsAndFold (ArrayRef< Operation * > ops, const FrozenRewritePatternSet &patterns, GreedyRewriteConfig config=GreedyRewriteConfig(), bool *changed=nullptr, bool *allErased=nullptr) |
| Applies the specified rewrite patterns on ops while also trying to fold these ops. More...
|
|