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

Canonicalization pattern for the CropOp that combines nested crop operations into a single crop operation. only applicable when both crop operations have constant integer coordinates and dimensions. More...

Inheritance diagram for picceler::CombineNestedCrops:

Public Member Functions

mlir::LogicalResult matchAndRewrite (CropOp outerCrop, mlir::PatternRewriter &rewriter) const override

Detailed Description

Canonicalization pattern for the CropOp that combines nested crop operations into a single crop operation. only applicable when both crop operations have constant integer coordinates and dimensions.

Member Function Documentation

◆ matchAndRewrite()

mlir::LogicalResult picceler::CombineNestedCrops::matchAndRewrite ( CropOp outerCrop,
mlir::PatternRewriter & rewriter ) const
inlineoverride

The documentation for this struct was generated from the following file:
  • /__w/picceler/picceler/src/ops/crop.cpp