My Project
|
#include <NestedMatcher.h>
Public Member Functions | |
NestedPattern (ArrayRef< NestedPattern > nested, FilterFunctionType filter=defaultFilterFunction) | |
NestedPattern (const NestedPattern &)=default | |
NestedPattern & | operator= (const NestedPattern &)=default |
void | match (FuncOp func, SmallVectorImpl< NestedMatch > *matches) |
Returns all the top-level matches in func . More... | |
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 |
NestedPattern::NestedPattern | ( | ArrayRef< NestedPattern > | nested, |
FilterFunctionType | filter = defaultFilterFunction |
||
) |
|
default |
unsigned NestedPattern::getDepth | ( | ) | const |
Returns the depth of the pattern.
|
inline |
Returns all the top-level matches in func
.
|
inline |
Returns all the top-level matches in op
.
|
default |
|
friend |
|
friend |
|
friend |