CIRCT
20.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 167 of file CFToHandshake.cpp.
using PartialLowerRegion::PartialLoweringFunc = std::function<LogicalResult(Region &, ConversionPatternRewriter &)> |
Definition at line 168 of file CFToHandshake.cpp.
|
inline |
Definition at line 172 of file CFToHandshake.cpp.
|
inlineoverride |
Definition at line 180 of file CFToHandshake.cpp.
|
private |
Definition at line 192 of file CFToHandshake.cpp.
|
private |
Definition at line 191 of file CFToHandshake.cpp.
|
private |
Definition at line 190 of file CFToHandshake.cpp.