MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::query::matcher::DynMatcher Class Reference

#include "mlir/Query/Matcher/MatchersInternal.h"

Public Member Functions

 DynMatcher (MatcherInterface *implementation)
 
bool match (Operation *op) const
 
void setFunctionName (StringRef name)
 
bool hasFunctionName () const
 
StringRef getFunctionName () const
 

Static Public Member Functions

template<typename MatcherFn >
static std::unique_ptr< DynMatcherconstructDynMatcherFromMatcherFn (MatcherFn &matcherFn)
 

Detailed Description

Definition at line 51 of file MatchersInternal.h.

Constructor & Destructor Documentation

◆ DynMatcher()

mlir::query::matcher::DynMatcher::DynMatcher ( MatcherInterface implementation)
inline

Definition at line 54 of file MatchersInternal.h.

Member Function Documentation

◆ constructDynMatcherFromMatcherFn()

template<typename MatcherFn >
static std::unique_ptr<DynMatcher> mlir::query::matcher::DynMatcher::constructDynMatcherFromMatcherFn ( MatcherFn &  matcherFn)
inlinestatic

◆ getFunctionName()

StringRef mlir::query::matcher::DynMatcher::getFunctionName ( ) const
inline

Definition at line 70 of file MatchersInternal.h.

Referenced by mlir::query::MatchQuery::run().

◆ hasFunctionName()

bool mlir::query::matcher::DynMatcher::hasFunctionName ( ) const
inline

Definition at line 68 of file MatchersInternal.h.

Referenced by mlir::query::MatchQuery::run().

◆ match()

bool mlir::query::matcher::DynMatcher::match ( Operation op) const
inline

Definition at line 64 of file MatchersInternal.h.

Referenced by mlir::query::matcher::MatchFinder::getMatches().

◆ setFunctionName()

void mlir::query::matcher::DynMatcher::setFunctionName ( StringRef  name)
inline

Definition at line 66 of file MatchersInternal.h.


The documentation for this class was generated from the following file: