|
MLIR 22.0.0git
|
A subclass which preserves the matching information. More...
#include "mlir/Query/Matcher/MatchFinder.h"
Public Member Functions | |
| MatchResult ()=default | |
| MatchResult (Operation *rootOp, std::vector< Operation * > matchedOps) | |
Public Attributes | |
| Operation * | rootOp = nullptr |
| std::vector< Operation * > | matchedOps |
| Contains the matching environment. | |
A subclass which preserves the matching information.
Each instance contains the rootOp along with the matching environment.
Definition at line 32 of file MatchFinder.h.
|
default |
References matchedOps, and rootOp.
| mlir::query::matcher::MatchFinder::MatchResult::MatchResult | ( | Operation * | rootOp, |
| std::vector< Operation * > | matchedOps ) |
Definition at line 16 of file MatchFinder.cpp.
References matchedOps, and rootOp.
| std::vector<Operation *> mlir::query::matcher::MatchFinder::MatchResult::matchedOps |
Contains the matching environment.
Definition at line 38 of file MatchFinder.h.
Referenced by mlir::query::matcher::MatchFinder::collectMatches(), MatchResult(), and MatchResult().
Definition at line 36 of file MatchFinder.h.
Referenced by mlir::query::matcher::MatchFinder::collectMatches(), MatchResult(), and MatchResult().