A generic pattern that updates the types of operations based on a provided type converter. Used in KernelToMemref and OpsToFuncCalls passes to ensure that operations have the correct types after type conversion.
More...
#include <passes.h>
|
| | GenericTypeUpdatePattern (mlir::TypeConverter &converter, mlir::MLIRContext *context) |
| mlir::LogicalResult | matchAndRewrite (mlir::Operation *op, mlir::ArrayRef< mlir::Value > operands, mlir::ConversionPatternRewriter &rewriter) const override |
A generic pattern that updates the types of operations based on a provided type converter. Used in KernelToMemref and OpsToFuncCalls passes to ensure that operations have the correct types after type conversion.
◆ GenericTypeUpdatePattern()
| picceler::GenericTypeUpdatePattern::GenericTypeUpdatePattern |
( |
mlir::TypeConverter & | converter, |
|
|
mlir::MLIRContext * | context ) |
|
inline |
◆ matchAndRewrite()
| mlir::LogicalResult picceler::GenericTypeUpdatePattern::matchAndRewrite |
( |
mlir::Operation * | op, |
|
|
mlir::ArrayRef< mlir::Value > | operands, |
|
|
mlir::ConversionPatternRewriter & | rewriter ) const |
|
override |
The documentation for this struct was generated from the following files: