llvm-project/mlir/unittests
River Riddle 76f3c2f3f3 [mlir][Pattern] Add better support for using interfaces/traits to match root operations in rewrite patterns
To match an interface or trait, users currently have to use the `MatchAny` tag. This tag can be quite problematic for compile time for things like the canonicalizer, as the `MatchAny` patterns may get applied to  *every* operation. This revision adds better support by bucketing interface/trait patterns based on which registered operations have them registered. This means that moving forward we will only attempt to match these patterns to operations that have this interface registered. Two simplify defining patterns that match traits and interfaces, two new utility classes have been added: OpTraitRewritePattern and OpInterfaceRewritePattern.

Differential Revision: https://reviews.llvm.org/D98986
2021-03-23 14:05:33 -07:00
..
Analysis [MLIR] Add support for extracting an integer sample point (if one exists) from an unbounded FlatAffineConstraints. 2021-01-22 22:28:38 +05:30
Dialect Reland "[MLIR] Make structured op tests permutation invariant" 2021-02-18 18:09:49 -08:00
ExecutionEngine [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
IR [mlir] Model MemRef memory space as Attribute 2021-03-10 12:57:27 +03:00
Interfaces [mlir] fix cmake build 2021-03-11 18:22:00 +01:00
Pass [flang] Use mlir::OpState::operator->() to get to methods of mlir::Operation. 2020-12-14 20:04:53 +01:00
Rewrite [mlir][Pattern] Add better support for using interfaces/traits to match root operations in rewrite patterns 2021-03-23 14:05:33 -07:00
SDBM Remove global dialect registration 2020-10-24 00:35:55 +00:00
Support [mlir][StorageUniquer] Properly call the destructor on non-trivially destructible storage instances 2021-03-11 11:35:32 -08:00
TableGen [mlir][ODS] Support specialized Attribute class for Enums 2021-03-17 16:44:24 +03:00
CMakeLists.txt [MLIR] Test pattern benefit sorting between operation specific and operation agnostic patterns. 2021-03-19 23:11:56 +03:00