My Project
Namespaces | Functions
RegionUtils.h File Reference
#include "mlir/IR/Region.h"
#include "mlir/IR/Value.h"
#include "llvm/ADT/SetVector.h"
Include dependency graph for RegionUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlir
 

Functions

template<typename Range >
bool mlir::areValuesDefinedAbove (Range values, Region &limit)
 
void mlir::replaceAllUsesInRegionWith (Value orig, Value replacement, Region &region)
 Replace all uses of orig within the given region with replacement. More...
 
void mlir::visitUsedValuesDefinedAbove (Region &region, Region &limit, function_ref< void(OpOperand *)> callback)
 
void mlir::visitUsedValuesDefinedAbove (MutableArrayRef< Region > regions, function_ref< void(OpOperand *)> callback)
 
void mlir::getUsedValuesDefinedAbove (Region &region, Region &limit, llvm::SetVector< Value > &values)
 
void mlir::getUsedValuesDefinedAbove (MutableArrayRef< Region > regions, llvm::SetVector< Value > &values)
 
LogicalResult mlir::simplifyRegions (MutableArrayRef< Region > regions)