Lines Matching refs:NestedPattern
38 llvm::BumpPtrAllocator *&NestedPattern::allocator() { in allocator()
43 void NestedPattern::copyNestedToThis(ArrayRef<NestedPattern> nested) { in copyNestedToThis()
47 auto *newNested = allocator()->Allocate<NestedPattern>(nested.size()); in copyNestedToThis()
49 nestedPatterns = ArrayRef<NestedPattern>(newNested, nested.size()); in copyNestedToThis()
52 void NestedPattern::freeNested() { in freeNested()
54 p.~NestedPattern(); in freeNested()
57 NestedPattern::NestedPattern(ArrayRef<NestedPattern> nested, in NestedPattern() function in NestedPattern
63 NestedPattern::NestedPattern(const NestedPattern &other) in NestedPattern() function in NestedPattern
68 NestedPattern &NestedPattern::operator=(const NestedPattern &other) { in operator =()
76 unsigned NestedPattern::getDepth() const { in getDepth()
97 void NestedPattern::matchOne(Operation *op, in matchOne()
135 NestedPattern Op(FilterFunctionType filter) { in Op()
136 return NestedPattern({}, std::move(filter)); in Op()
139 NestedPattern If(const NestedPattern &child) { in If()
140 return NestedPattern(child, isAffineIfOp); in If()
142 NestedPattern If(const FilterFunctionType &filter, const NestedPattern &child) { in If()
143 return NestedPattern(child, [filter](Operation &op) { in If()
147 NestedPattern If(ArrayRef<NestedPattern> nested) { in If()
148 return NestedPattern(nested, isAffineIfOp); in If()
150 NestedPattern If(const FilterFunctionType &filter, in If()
151 ArrayRef<NestedPattern> nested) { in If()
152 return NestedPattern(nested, [filter](Operation &op) { in If()
157 NestedPattern For(const NestedPattern &child) { in For()
158 return NestedPattern(child, isAffineForOp); in For()
160 NestedPattern For(const FilterFunctionType &filter, in For()
161 const NestedPattern &child) { in For()
162 return NestedPattern( in For()
165 NestedPattern For(ArrayRef<NestedPattern> nested) { in For()
166 return NestedPattern(nested, isAffineForOp); in For()
168 NestedPattern For(const FilterFunctionType &filter, in For()
169 ArrayRef<NestedPattern> nested) { in For()
170 return NestedPattern( in For()