llvm-capstone/mlir/lib/Reducer
Matthias Springer 6bdecbcb99 [mlir] GreedyPatternRewriteDriver: Move strict mode to GreedyPatternRewriteDriver
`strictMode` is moved to GreedyRewriteConfig to simplify the API and state of rewriter classes. The region-based GreedyPatternRewriteDriver now also supports strict mode.

MultiOpPatternRewriteDriver becomes simpler: fewer method must be overridden.

Differential Revision: https://reviews.llvm.org/D142623
2023-01-27 15:52:01 +01:00
..
CMakeLists.txt
OptReductionPass.cpp [MLIR] Update pass declarations to new autogenerated files 2022-08-31 12:28:45 +02:00
ReductionNode.cpp [mlir] Add operations to BlockAndValueMapping and rename it to IRMapping 2023-01-12 13:16:05 -08:00
ReductionTreePass.cpp [mlir] GreedyPatternRewriteDriver: Move strict mode to GreedyPatternRewriteDriver 2023-01-27 15:52:01 +01:00
Tester.cpp [mlir] Use std::nullopt instead of None (NFC) 2022-12-03 18:50:27 -08:00