MLIR  20.0.0git
Classes | Namespaces | Typedefs | Functions
SliceWalk.h File Reference
#include "mlir/IR/ValueRange.h"

Go to the source code of this file.

Classes

class  mlir::WalkContinuation
 A class to signal how to proceed with the walk of the backward slice: More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 

Typedefs

using mlir::WalkCallback = mlir::function_ref< WalkContinuation(mlir::Value)>
 A callback that is invoked for each value encountered during the walk of the slice. More...
 

Functions

WalkContinuation mlir::walkSlice (mlir::ValueRange rootValues, WalkCallback walkCallback)
 Walks the slice starting from the rootValues using a depth-first traversal. More...
 
std::optional< SmallVector< Value > > mlir::getControlFlowPredecessors (Value value)
 Computes a vector of all control predecessors of value. More...