MLIR
20.0.0git
|
#include "mlir/Dialect/Affine/Analysis/NestedMatcher.h"
Public Member Functions | |
NestedPattern (ArrayRef< NestedPattern > nested, FilterFunctionType filter=defaultFilterFunction) | |
NestedPattern (const NestedPattern &other) | |
NestedPattern & | operator= (const NestedPattern &other) |
~NestedPattern () | |
void | match (Operation *op, SmallVectorImpl< NestedMatch > *matches) |
Returns all the top-level matches in op . More... | |
unsigned | getDepth () const |
Returns the depth of the pattern. More... | |
Friends | |
class | NestedPatternContext |
class | NestedMatch |
struct | State |
Definition at line 93 of file NestedMatcher.h.
NestedPattern::NestedPattern | ( | ArrayRef< NestedPattern > | nested, |
FilterFunctionType | filter = defaultFilterFunction |
||
) |
Definition at line 58 of file NestedMatcher.cpp.
NestedPattern::NestedPattern | ( | const NestedPattern & | other | ) |
Definition at line 64 of file NestedMatcher.cpp.
|
inline |
Definition at line 100 of file NestedMatcher.h.
unsigned NestedPattern::getDepth | ( | ) | const |
Returns the depth of the pattern.
Definition at line 77 of file NestedMatcher.cpp.
References max().
|
inline |
Returns all the top-level matches in op
.
Definition at line 108 of file NestedMatcher.h.
References mlir::Operation::walk().
Referenced by isVectorizableLoopBodyWithOpCond().
NestedPattern & NestedPattern::operator= | ( | const NestedPattern & | other | ) |
Definition at line 69 of file NestedMatcher.cpp.
|
friend |
Definition at line 117 of file NestedMatcher.h.
|
friend |
Definition at line 116 of file NestedMatcher.h.
|
friend |
Definition at line 118 of file NestedMatcher.h.