|
MLIR 22.0.0git
|
The matcher that matches a constant scalar / vector splat / tensor splat float Attribute or Operation and binds the constant float value. More...
#include "mlir/IR/Matchers.h"
Public Member Functions | |
| constant_float_value_binder (FloatAttr::ValueType *bv) | |
| Creates a matcher instance that binds the value to bv if match succeeds. | |
| bool | match (Attribute attr) |
| bool | match (Operation *op) |
Public Attributes | |
| FloatAttr::ValueType * | bind_value |
The matcher that matches a constant scalar / vector splat / tensor splat float Attribute or Operation and binds the constant float value.
Definition at line 162 of file Matchers.h.
|
inline |
Creates a matcher instance that binds the value to bv if match succeeds.
Definition at line 166 of file Matchers.h.
References bind_value.
Definition at line 168 of file Matchers.h.
References bind_value, and mlir::detail::attr_value_binder< AttrClass, ValueType, typename >::match().
Referenced by mlir::detail::constant_float_predicate_matcher::match(), mlir::detail::constant_float_predicate_matcher::match(), and match().
Definition at line 179 of file Matchers.h.
References mlir::Operation::getResult(), mlir::Value::getType(), and match().
| FloatAttr::ValueType* mlir::detail::constant_float_value_binder::bind_value |
Definition at line 163 of file Matchers.h.
Referenced by constant_float_value_binder(), and match().