MLIR
21.0.0git
|
#include "mlir/Query/Matcher/MatchersInternal.h"
Public Types | |
enum | VariadicOperator { AllOf , AnyOf } |
Public Member Functions | |
DynMatcher (MatcherInterface *implementation) | |
bool | match (Operation *op) const |
bool | match (Operation *op, SetVector< Operation * > &matchedOps) const |
void | setFunctionName (StringRef name) |
bool | hasFunctionName () const |
StringRef | getFunctionName () const |
Static Public Member Functions | |
static std::unique_ptr< DynMatcher > | constructVariadic (VariadicOperator Op, std::vector< DynMatcher > innerMatchers) |
template<typename MatcherFn > | |
static std::unique_ptr< DynMatcher > | constructDynMatcherFromMatcherFn (MatcherFn &matcherFn) |
Definition at line 119 of file MatchersInternal.h.
Enumerator | |
---|---|
AllOf | |
AnyOf |
Definition at line 126 of file MatchersInternal.h.
|
inline |
Definition at line 122 of file MatchersInternal.h.
|
inlinestatic |
Definition at line 152 of file MatchersInternal.h.
Referenced by mlir::query::matcher::internal::matcherMarshallFixedImpl().
|
inlinestatic |
Definition at line 135 of file MatchersInternal.h.
Referenced by mlir::query::matcher::VariantMatcher::VariadicOpPayload::getDynMatcher(), and mlir::query::matcher::VariadicOperatorMatcher< Ps >::operator std::unique_ptr< DynMatcher >().
|
inline |
Definition at line 164 of file MatchersInternal.h.
Referenced by mlir::query::MatchQuery::run().
|
inline |
Definition at line 163 of file MatchersInternal.h.
Referenced by mlir::query::MatchQuery::run().
|
inline |
Definition at line 157 of file MatchersInternal.h.
Referenced by mlir::query::matcher::internal::allOfVariadicOperator(), mlir::query::matcher::internal::anyOfVariadicOperator(), and mlir::query::matcher::MatchFinder::collectMatches().
|
inline |
Definition at line 158 of file MatchersInternal.h.
|
inline |
Definition at line 162 of file MatchersInternal.h.