MLIR
18.0.0git
|
The matcher that matches operations that have the specified attribute name, and binds the attribute value. More...
#include "mlir/IR/Matchers.h"
Public Member Functions | |
AttrOpBinder (StringRef attrName, AttrT *bindValue) | |
Creates a matcher instance that binds the attribute value to bind_value if match succeeds. More... | |
AttrOpBinder (StringRef attrName) | |
Creates a matcher instance that doesn't bind if match succeeds. More... | |
bool | match (Operation *op) |
Public Attributes | |
StringRef | attrName |
AttrT * | bindValue |
The matcher that matches operations that have the specified attribute name, and binds the attribute value.
Definition at line 106 of file Matchers.h.
|
inline |
Creates a matcher instance that binds the attribute value to bind_value if match succeeds.
Definition at line 109 of file Matchers.h.
|
inline |
Creates a matcher instance that doesn't bind if match succeeds.
Definition at line 112 of file Matchers.h.
|
inline |
Definition at line 114 of file Matchers.h.
StringRef mlir::detail::AttrOpBinder< AttrT >::attrName |
Definition at line 122 of file Matchers.h.
AttrT* mlir::detail::AttrOpBinder< AttrT >::bindValue |
Definition at line 123 of file Matchers.h.