MLIR
21.0.0git
|
Computes the backward-slice of all transitive defs reachable from rootOp
, if innerMatcher
matches.
More...
#include "mlir/Query/Matcher/SliceMatchers.h"
Public Member Functions | |
PredicateBackwardSliceMatcher (BaseMatcher innerMatcher, Filter filterMatcher, bool inclusive, bool omitBlockArguments, bool omitUsesFromAbove) | |
bool | match (Operation *rootOp, SetVector< Operation * > &backwardSlice) |
Computes the backward-slice of all transitive defs reachable from rootOp
, if innerMatcher
matches.
Traversal stops where filterMatcher
matches.
Definition at line 126 of file SliceMatchers.h.
|
inline |
Definition at line 128 of file SliceMatchers.h.
|
inline |
Definition at line 136 of file SliceMatchers.h.
References mlir::getBackwardSlice(), and options.