MLIR
18.0.0git
|
The matcher that matches a constant scalar / vector splat / tensor splat integer Attribute or Operation and binds the constant integer value. More...
#include "mlir/IR/Matchers.h"
Public Member Functions | |
constant_int_value_binder (IntegerAttr::ValueType *bv) | |
Creates a matcher instance that binds the value to bv if match succeeds. More... | |
bool | match (Attribute attr) |
bool | match (Operation *op) |
Public Attributes | |
IntegerAttr::ValueType * | bind_value |
The matcher that matches a constant scalar / vector splat / tensor splat integer Attribute or Operation and binds the constant integer value.
Definition at line 176 of file Matchers.h.
|
inline |
Creates a matcher instance that binds the value to bv if match succeeds.
Definition at line 180 of file Matchers.h.
|
inline |
Definition at line 182 of file Matchers.h.
References bind_value, and mlir::detail::attr_value_binder< AttrClass, ValueType, typename >::match().
Referenced by mlir::detail::constant_int_predicate_matcher::match().
|
inline |
Definition at line 193 of file Matchers.h.
IntegerAttr::ValueType* mlir::detail::constant_int_value_binder::bind_value |
Definition at line 177 of file Matchers.h.
Referenced by match().