MLIR
20.0.0git
|
#include "mlir/Query/Query.h"
Public Member Functions | |
MatchQuery (llvm::StringRef source, const matcher::DynMatcher &matcher) | |
llvm::LogicalResult | run (llvm::raw_ostream &os, QuerySession &qs) const override |
Public Member Functions inherited from mlir::query::Query | |
Query (QueryKind kind) | |
virtual | ~Query () |
Static Public Member Functions | |
static bool | classof (const Query *query) |
Public Attributes | |
const matcher::DynMatcher | matcher |
llvm::StringRef | source |
Public Attributes inherited from mlir::query::Query | |
llvm::StringRef | remainingContent |
const QueryKind | kind |
|
inline |
Definition at line 92 of file Query.h.
References mlir::query::Match.
|
inlinestatic |
Definition at line 101 of file Query.h.
References mlir::query::Match, and mlir::dlti::query().
|
overridevirtual |
Implements mlir::query::Query.
Definition at line 127 of file Query.cpp.
References mlir::query::extractFunction(), mlir::Operation::getContext(), mlir::query::matcher::DynMatcher::getFunctionName(), mlir::query::matcher::MatchFinder::getMatches(), mlir::query::QuerySession::getRootOp(), mlir::query::matcher::DynMatcher::hasFunctionName(), matcher, and mlir::query::printMatch().
const matcher::DynMatcher mlir::query::MatchQuery::matcher |