MLIR  22.0.0git
Classes | Namespaces | Typedefs | Functions | Variables
MatchersInternal.h File Reference
#include "mlir/IR/Matchers.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"

Go to the source code of this file.

Classes

struct  mlir::query::matcher::has_simple_match< T, typename >
 
struct  mlir::query::matcher::has_simple_match< T, std::void_t< decltype(std::declval< T >().match(std::declval< Operation * >()))> >
 
struct  mlir::query::matcher::has_bound_match< T, typename >
 
struct  mlir::query::matcher::has_bound_match< T, std::void_t< decltype(std::declval< T >().match(std::declval< Operation * >(), std::declval< SetVector< Operation * > & >()))> >
 
class  mlir::query::matcher::MatcherInterface
 
class  mlir::query::matcher::MatcherFnImpl< MatcherFn >
 
class  mlir::query::matcher::VariadicMatcher< Func >
 
class  mlir::query::matcher::DynMatcher
 
class  mlir::query::matcher::VariadicOperatorMatcher< Ps >
 
struct  mlir::query::matcher::VariadicOperatorMatcherFunc< MinCount, MaxCount >
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::query
 
 mlir::query::matcher
 Computes the backward-slice of all transitive defs reachable from rootOp, if innerMatcher matches.
 
 mlir::query::matcher::internal
 

Typedefs

using mlir::query::matcher::VariadicOperatorFunction = bool(*)(Operation *op, SetVector< Operation * > *matchedOps, ArrayRef< DynMatcher > innerMatchers)
 

Functions

bool mlir::query::matcher::internal::allOfVariadicOperator (Operation *op, SetVector< Operation * > *matchedOps, ArrayRef< DynMatcher > innerMatchers)
 
bool mlir::query::matcher::internal::anyOfVariadicOperator (Operation *op, SetVector< Operation * > *matchedOps, ArrayRef< DynMatcher > innerMatchers)
 

Variables

const VariadicOperatorMatcherFunc< 1, std::numeric_limits< unsigned >::max()> mlir::query::matcher::internal::anyOf = {DynMatcher::AnyOf}
 
const VariadicOperatorMatcherFunc< 1, std::numeric_limits< unsigned >::max()> mlir::query::matcher::internal::allOf = {DynMatcher::AllOf}