MLIR  19.0.0git
Namespaces | Functions
ControlFlowSinkUtils.h File Reference
#include "mlir/Support/LLVM.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Functions

size_t mlir::controlFlowSink (RegionRange regions, DominanceInfo &domInfo, function_ref< bool(Operation *, Region *)> shouldMoveIntoRegion, function_ref< void(Operation *, Region *)> moveIntoRegion)
 Given a list of regions, perform control flow sinking on them. More...
 
void mlir::getSinglyExecutedRegionsToSink (RegionBranchOpInterface branch, SmallVectorImpl< Region * > &regions)
 Populates regions with regions of the provided region branch op that are executed at most once at that are reachable given the current operands of the op. More...