MLIR
20.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 210 of file Matchers.h.
|
inline |
Creates a matcher instance that binds the value to bv if match succeeds.
Definition at line 214 of file Matchers.h.
|
inline |
Definition at line 216 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(), mlir::detail::constant_int_range_predicate_matcher::match(), and match().
|
inline |
Definition at line 227 of file Matchers.h.
References mlir::Operation::getResult(), mlir::Value::getType(), and match().
IntegerAttr::ValueType* mlir::detail::constant_int_value_binder::bind_value |
Definition at line 211 of file Matchers.h.
Referenced by match().