Add support to RewritePattern for specifying the potential operations that can...
authorRiver Riddle <riverriddle@google.com>
Sat, 25 May 2019 02:35:23 +0000 (19:35 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:02:42 +0000 (20:02 -0700)
commit647f8cabb971beddcbc99fc87d252ee83bd25627
tree352ca2e5b4bbed268a989c7109d2174e8ae3ee9f
parent09438a412f14ff762bb885ded271022a913461f7
Add support to RewritePattern for specifying the potential operations that can be generated during a rewrite. This will enable analyses to start understanding the possible effects of applying a rewrite pattern.

--

PiperOrigin-RevId: 249936309
mlir/include/mlir/IR/PatternMatch.h
mlir/include/mlir/TableGen/Pattern.h
mlir/lib/IR/PatternMatch.cpp
mlir/lib/TableGen/Pattern.cpp
mlir/test/mlir-tblgen/pattern-benefit.td
mlir/test/mlir-tblgen/pattern.td
mlir/tools/mlir-tblgen/RewriterGen.cpp