#include "mlir/Analysis/SliceWalk.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
usingnamespacemlir;
WalkContinuation mlir::walkSlice(ValueRange rootValues,
WalkCallback walkCallback) { … }
static SmallVector<Value>
getRegionPredecessorOperands(RegionBranchOpInterface regionOp,
RegionSuccessor successor,
unsigned operandNumber) { … }
static std::optional<SmallVector<Value>>
getBlockPredecessorOperands(BlockArgument blockArg) { … }
std::optional<SmallVector<Value>>
mlir::getControlFlowPredecessors(Value value) { … }