MLIR
20.0.0git
|
The matcher that matches a certain kind of Attribute and binds the value inside the Attribute. More...
#include "mlir/IR/Matchers.h"
Public Member Functions | |
attr_value_binder (ValueType *bv) | |
Creates a matcher instance that binds the value to bv if match succeeds. More... | |
bool | match (Attribute attr) |
Public Attributes | |
ValueType * | bind_value |
The matcher that matches a certain kind of Attribute and binds the value inside the Attribute.
Definition at line 37 of file Matchers.h.
|
inline |
Creates a matcher instance that binds the value to bv if match succeeds.
Definition at line 41 of file Matchers.h.
|
inline |
Definition at line 43 of file Matchers.h.
References mlir::detail::attr_value_binder< AttrClass, ValueType, typename >::bind_value.
Referenced by mlir::detail::constant_float_value_binder::match(), and mlir::detail::constant_int_value_binder::match().
ValueType* mlir::detail::attr_value_binder< AttrClass, ValueType, typename >::bind_value |
Definition at line 38 of file Matchers.h.
Referenced by mlir::detail::attr_value_binder< AttrClass, ValueType, typename >::match().