MLIR  19.0.0git
Classes | Namespaces | Typedefs | Functions
NestedMatcher.h File Reference
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Operation.h"
#include "llvm/Support/Allocator.h"

Go to the source code of this file.

Classes

class  mlir::affine::NestedMatch
 An NestedPattern captures nested patterns in the IR. More...
 
class  mlir::affine::NestedPattern
 
class  mlir::affine::NestedPatternContext
 RAII structure to transparently manage the bump allocator for NestedPattern and NestedMatch classes. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::affine
 
 mlir::affine::matcher
 

Typedefs

using mlir::affine::FilterFunctionType = std::function< bool(Operation &)>
 A NestedPattern is a nested operation walker that: More...
 

Functions

bool mlir::affine::defaultFilterFunction (Operation &)
 
NestedPattern mlir::affine::matcher::Op (FilterFunctionType filter=defaultFilterFunction)
 
NestedPattern mlir::affine::matcher::If (const NestedPattern &child)
 
NestedPattern mlir::affine::matcher::If (const FilterFunctionType &filter, const NestedPattern &child)
 
NestedPattern mlir::affine::matcher::If (ArrayRef< NestedPattern > nested={})
 
NestedPattern mlir::affine::matcher::If (const FilterFunctionType &filter, ArrayRef< NestedPattern > nested={})
 
NestedPattern mlir::affine::matcher::For (const NestedPattern &child)
 
NestedPattern mlir::affine::matcher::For (const FilterFunctionType &filter, const NestedPattern &child)
 
NestedPattern mlir::affine::matcher::For (ArrayRef< NestedPattern > nested={})
 
NestedPattern mlir::affine::matcher::For (const FilterFunctionType &filter, ArrayRef< NestedPattern > nested={})
 
bool mlir::affine::matcher::isParallelLoop (Operation &op)
 
bool mlir::affine::matcher::isReductionLoop (Operation &op)
 
bool mlir::affine::matcher::isLoadOrStore (Operation &op)