|
LLZK 0.1.0
Veridise's ZK Language IR
|
This matcher will either match on lhs op rhs or rhs op lhs. More...
#include <Matchers.h>
Public Member Functions | |
| CommutativeMatcher (LhsMatcher lhs, RhsMatcher rhs) | |
| bool | match (mlir::Operation *op) |
Public Attributes | |
| LhsMatcher | lhsMatcher |
| RhsMatcher | rhsMatcher |
This matcher will either match on lhs op rhs or rhs op lhs.
If LhsMatcher == RhsMatcher, using this matcher is unnecessary.
| ...OpTypes | The types of ops that can be matched. |
Definition at line 24 of file Matchers.h.
|
inline |
Definition at line 26 of file Matchers.h.
|
inline |
Definition at line 28 of file Matchers.h.
| LhsMatcher llzk::CommutativeMatcher< LhsMatcher, RhsMatcher, OpTypes >::lhsMatcher |
Definition at line 42 of file Matchers.h.
| RhsMatcher llzk::CommutativeMatcher< LhsMatcher, RhsMatcher, OpTypes >::rhsMatcher |
Definition at line 43 of file Matchers.h.