MLIR 22.0.0git
SliceWalk.h File Reference

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

namespace  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.

Functions

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