CIRCT
19.0.0git
|
Allows to partially lower a region by matching on the parent operation to then call the provided partial lowering function with the region and the rewriter. More...
Public Types | |
using | PartialLoweringFunc = std::function< LogicalResult(Region &, ConversionPatternRewriter &)> |
Public Member Functions | |
PartialLowerRegion (LowerRegionTarget &target, MLIRContext *context, LogicalResult &loweringResRef, const PartialLoweringFunc &fun) | |
LogicalResult | matchAndRewrite (Operation *op, ArrayRef< Value >, ConversionPatternRewriter &rewriter) const override |
Private Attributes | |
LowerRegionTarget & | target |
LogicalResult & | loweringRes |
PartialLoweringFunc | fun |
Allows to partially lower a region by matching on the parent operation to then call the provided partial lowering function with the region and the rewriter.
The interplay with the target is similar to PartialLowerOp
Definition at line 161 of file CFToHandshake.cpp.
using PartialLowerRegion::PartialLoweringFunc = std::function<LogicalResult(Region &, ConversionPatternRewriter &)> |
Definition at line 162 of file CFToHandshake.cpp.
|
inline |
Definition at line 166 of file CFToHandshake.cpp.
|
inlineoverride |
Definition at line 174 of file CFToHandshake.cpp.
|
private |
Definition at line 186 of file CFToHandshake.cpp.
|
private |
Definition at line 185 of file CFToHandshake.cpp.
|
private |
Definition at line 184 of file CFToHandshake.cpp.