Home
last modified time | relevance | path

Searched refs:NestedMatch (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/Analysis/
H A DNestedMatcher.h46 class NestedMatch {
48 static NestedMatch build(Operation *operation,
49 ArrayRef<NestedMatch> nestedMatches);
50 NestedMatch(const NestedMatch &) = default;
51 NestedMatch &operator=(const NestedMatch &) = default;
65 NestedMatch() = default;
69 ArrayRef<NestedMatch> matchedChildren;
116 friend class NestedMatch; variable
161 assert(NestedMatch::allocator() == nullptr && in NestedPatternContext()
165 NestedMatch::allocator() = &allocator; in NestedPatternContext()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DNestedMatcher.cpp21 llvm::BumpPtrAllocator *&NestedMatch::allocator() { in allocator()
26 NestedMatch NestedMatch::build(Operation *operation, in build()
27 ArrayRef<NestedMatch> nestedMatches) { in build()
28 auto *result = allocator()->Allocate<NestedMatch>(); in build()
31 new (result) NestedMatch(); in build()
34 ArrayRef<NestedMatch>(children, nestedMatches.size()); in build()
98 SmallVectorImpl<NestedMatch> *matches) { in matchOne()
108 SmallVector<NestedMatch, 8> nestedMatches; in matchOne()
109 matches->push_back(NestedMatch::build(op, nestedMatches)); in matchOne()
114 SmallVector<NestedMatch, 8> nestedMatches; in matchOne()
[all …]
H A DLoopAnalysis.cpp273 SmallVector<NestedMatch, 8> conditionalsMatched; in isVectorizableLoopBodyWithOpCond()
283 SmallVector<NestedMatch, 8> regionsMatched; in isVectorizableLoopBodyWithOpCond()
289 SmallVector<NestedMatch, 8> vectorTransfersMatched; in isVectorizableLoopBodyWithOpCond()
296 SmallVector<NestedMatch, 8> loadAndStoresMatched; in isVectorizableLoopBodyWithOpCond()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/
H A DTestVectorizationUtils.cpp120 SmallVector<NestedMatch, 8> matches; in testVectorShapeRatio()
153 SmallVector<NestedMatch, 8> matches; in testBackwardSlicing()
169 SmallVector<NestedMatch, 8> matches; in testForwardSlicing()
185 SmallVector<NestedMatch, 8> matches; in testSlicing()
205 SmallVector<NestedMatch, 8> matches; in testComposeMaps()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DSuperVectorize.cpp650 static LogicalResult analyzeProfitability(ArrayRef<NestedMatch> matches, in analyzeProfitability()
1502 getMatchedAffineLoopsRec(NestedMatch match, unsigned currentLevel, in getMatchedAffineLoopsRec()
1522 getMatchedAffineLoops(NestedMatch match, in getMatchedAffineLoops()
1601 static LogicalResult vectorizeRootMatch(NestedMatch m, in vectorizeRootMatch()
1613 ArrayRef<NestedMatch> matches, in computeIntersectionBuckets()
1614 std::vector<SmallVector<NestedMatch, 8>> &intersectionBuckets) { in computeIntersectionBuckets() argument
1619 for (const NestedMatch &match : matches) { in computeIntersectionBuckets()
1680 SmallVector<NestedMatch, 32> allMatches; in vectorizeLoops()
1682 std::vector<SmallVector<NestedMatch, 8>> intersectionBuckets; in vectorizeLoops()
1689 for (NestedMatch &match : intersectingMatches) { in vectorizeLoops()