MLIR
21.0.0git
|
Computes the forward-slice of all users reachable from rootOp
, if innerMatcher
matches.
More...
#include "mlir/Query/Matcher/SliceMatchers.h"
Public Member Functions | |
PredicateForwardSliceMatcher (BaseMatcher innerMatcher, Filter filterMatcher, bool inclusive) | |
bool | match (Operation *rootOp, SetVector< Operation * > &forwardSlice) |
Computes the forward-slice of all users reachable from rootOp
, if innerMatcher
matches.
Traversal stops where filterMatcher
matches.
Definition at line 166 of file SliceMatchers.h.
|
inline |
Definition at line 168 of file SliceMatchers.h.
|
inline |
Definition at line 173 of file SliceMatchers.h.
References mlir::getForwardSlice(), and options.