Lines Matching refs:NestedPattern
37 llvm::BumpPtrAllocator *&NestedPattern::allocator() { in allocator()
42 NestedPattern::NestedPattern(ArrayRef<NestedPattern> nested, in NestedPattern() function in NestedPattern
46 auto *newNested = allocator()->Allocate<NestedPattern>(nested.size()); in NestedPattern()
48 nestedPatterns = ArrayRef<NestedPattern>(newNested, nested.size()); in NestedPattern()
52 unsigned NestedPattern::getDepth() const { in getDepth()
73 void NestedPattern::matchOne(Operation *op, in matchOne()
111 NestedPattern Op(FilterFunctionType filter) { in Op()
112 return NestedPattern({}, filter); in Op()
115 NestedPattern If(NestedPattern child) { in If()
116 return NestedPattern(child, isAffineIfOp); in If()
118 NestedPattern If(FilterFunctionType filter, NestedPattern child) { in If()
119 return NestedPattern(child, [filter](Operation &op) { in If()
123 NestedPattern If(ArrayRef<NestedPattern> nested) { in If()
124 return NestedPattern(nested, isAffineIfOp); in If()
126 NestedPattern If(FilterFunctionType filter, ArrayRef<NestedPattern> nested) { in If()
127 return NestedPattern(nested, [filter](Operation &op) { in If()
132 NestedPattern For(NestedPattern child) { in For()
133 return NestedPattern(child, isAffineForOp); in For()
135 NestedPattern For(FilterFunctionType filter, NestedPattern child) { in For()
136 return NestedPattern( in For()
139 NestedPattern For(ArrayRef<NestedPattern> nested) { in For()
140 return NestedPattern(nested, isAffineForOp); in For()
142 NestedPattern For(FilterFunctionType filter, ArrayRef<NestedPattern> nested) { in For()
143 return NestedPattern( in For()