My Project
Public Member Functions | Public Attributes | List of all members
mlir::detail::constant_int_op_binder Struct Reference

#include <Matchers.h>

Collaboration diagram for mlir::detail::constant_int_op_binder:
Collaboration graph
[legend]

Public Member Functions

 constant_int_op_binder (IntegerAttr::ValueType *bv)
 Creates a matcher instance that binds the value to bv if match succeeds. More...
 
bool match (Operation *op)
 

Public Attributes

IntegerAttr::ValueTypebind_value
 

Detailed Description

The matcher that matches a constant scalar / vector splat / tensor splat integer operation and binds the constant integer value.

Constructor & Destructor Documentation

◆ constant_int_op_binder()

mlir::detail::constant_int_op_binder::constant_int_op_binder ( IntegerAttr::ValueType bv)
inline

Creates a matcher instance that binds the value to bv if match succeeds.

Member Function Documentation

◆ match()

bool mlir::detail::constant_int_op_binder::match ( Operation op)
inline

Member Data Documentation

◆ bind_value

IntegerAttr::ValueType* mlir::detail::constant_int_op_binder::bind_value

The documentation for this struct was generated from the following file: