Lines Matching refs:NestedPattern
39 llvm::BumpPtrAllocator *&NestedPattern::allocator() { in allocator()
44 void NestedPattern::copyNestedToThis(ArrayRef<NestedPattern> nested) { in copyNestedToThis()
48 auto *newNested = allocator()->Allocate<NestedPattern>(nested.size()); in copyNestedToThis()
50 nestedPatterns = ArrayRef<NestedPattern>(newNested, nested.size()); in copyNestedToThis()
53 void NestedPattern::freeNested() { in freeNested()
55 p.~NestedPattern(); in freeNested()
58 NestedPattern::NestedPattern(ArrayRef<NestedPattern> nested, in NestedPattern() function in NestedPattern
64 NestedPattern::NestedPattern(const NestedPattern &other) in NestedPattern() function in NestedPattern
69 NestedPattern &NestedPattern::operator=(const NestedPattern &other) { in operator =()
77 unsigned NestedPattern::getDepth() const { in getDepth()
98 void NestedPattern::matchOne(Operation *op, in matchOne()
137 NestedPattern Op(FilterFunctionType filter) { in Op()
138 return NestedPattern({}, std::move(filter)); in Op()
141 NestedPattern If(const NestedPattern &child) { in If()
142 return NestedPattern(child, isAffineIfOp); in If()
144 NestedPattern If(const FilterFunctionType &filter, const NestedPattern &child) { in If()
145 return NestedPattern(child, [filter](Operation &op) { in If()
149 NestedPattern If(ArrayRef<NestedPattern> nested) { in If()
150 return NestedPattern(nested, isAffineIfOp); in If()
152 NestedPattern If(const FilterFunctionType &filter, in If()
153 ArrayRef<NestedPattern> nested) { in If()
154 return NestedPattern(nested, [filter](Operation &op) { in If()
159 NestedPattern For(const NestedPattern &child) { in For()
160 return NestedPattern(child, isAffineForOp); in For()
162 NestedPattern For(const FilterFunctionType &filter, in For()
163 const NestedPattern &child) { in For()
164 return NestedPattern( in For()
167 NestedPattern For(ArrayRef<NestedPattern> nested) { in For()
168 return NestedPattern(nested, isAffineForOp); in For()
170 NestedPattern For(const FilterFunctionType &filter, in For()
171 ArrayRef<NestedPattern> nested) { in For()
172 return NestedPattern( in For()