picceler
Loading...
Searching...
No Matches
picceler::SameOperandPattern Struct Reference

Canonicalization pattern for the BlendOp that replaces blend(img, img, weight) with img if both input images are the same. More...

Inheritance diagram for picceler::SameOperandPattern:

Public Member Functions

mlir::LogicalResult matchAndRewrite (BlendOp op, mlir::PatternRewriter &rewriter) const override

Detailed Description

Canonicalization pattern for the BlendOp that replaces blend(img, img, weight) with img if both input images are the same.

Member Function Documentation

◆ matchAndRewrite()

mlir::LogicalResult picceler::SameOperandPattern::matchAndRewrite ( BlendOp op,
mlir::PatternRewriter & rewriter ) const
inlineoverride

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