Add a templated wrapper around RewritePattern that allows for defining match...
authorRiver Riddle <riverriddle@google.com>
Sun, 26 May 2019 00:22:27 +0000 (17:22 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:03:22 +0000 (20:03 -0700)
commit9e21ab8f522265d37159372dbce96f66488c4e34
tree0ec933521a5894a21543e7ef1684e437b4978380
parent2f50b6c401fd4d6ff63718ef3b889a79ba32a640
Add a templated wrapper around RewritePattern that allows for defining match/rewrite methods with an instance of the source op instead of a raw Operation*.

--

PiperOrigin-RevId: 250003405
mlir/examples/Linalg/Linalg3/lib/Transforms.cpp
mlir/examples/toy/Ch4/mlir/ToyCombine.cpp
mlir/examples/toy/Ch5/mlir/ToyCombine.cpp
mlir/include/mlir/IR/PatternMatch.h
mlir/lib/AffineOps/AffineOps.cpp
mlir/lib/Dialect/FxpMathOps/Transforms/LowerUniformRealMath.cpp
mlir/lib/Dialect/QuantOps/IR/QuantOps.cpp
mlir/lib/Dialect/QuantOps/Transforms/ConvertConst.cpp
mlir/lib/StandardOps/Ops.cpp