MLIR  21.0.0git
Classes | Namespaces | Functions
SliceMatchers.h File Reference
#include "mlir/Analysis/SliceAnalysis.h"
#include "mlir/IR/Operation.h"

Go to the source code of this file.

Classes

class  mlir::query::matcher::BackwardSliceMatcher< Matcher >
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::query
 
 mlir::query::matcher
 A matcher encapsulating getBackwardSlice method from SliceAnalysis.h.
 

Functions

template<typename Matcher >
BackwardSliceMatcher< Matcher > mlir::query::matcher::m_GetDefinitions (Matcher innerMatcher, int64_t maxDepth, bool inclusive, bool omitBlockArguments, bool omitUsesFromAbove)
 Matches transitive defs of a top-level operation up to N levels. More...
 
template<typename Matcher >
BackwardSliceMatcher< Matcher > mlir::query::matcher::m_GetAllDefinitions (Matcher innerMatcher, int64_t maxDepth)
 Matches all transitive defs of a top-level operation up to N levels. More...