Home
last modified time | relevance | path

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

/external/llvm-project/mlir/include/mlir/Analysis/
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;
56 ArrayRef<NestedMatch> getMatchedChildren() { return matchedChildren; } in getMatchedChildren()
65 NestedMatch() = default;
69 ArrayRef<NestedMatch> matchedChildren;
100 void match(FuncOp func, SmallVectorImpl<NestedMatch> *matches) { in match()
105 void match(Operation *op, SmallVectorImpl<NestedMatch> *matches) { in match()
[all …]
/external/llvm-project/mlir/lib/Analysis/
DNestedMatcher.cpp20 llvm::BumpPtrAllocator *&NestedMatch::allocator() { in allocator()
25 NestedMatch NestedMatch::build(Operation *operation, in build()
26 ArrayRef<NestedMatch> nestedMatches) { in build()
27 auto *result = allocator()->Allocate<NestedMatch>(); in build()
28 auto *children = allocator()->Allocate<NestedMatch>(nestedMatches.size()); in build()
30 new (result) NestedMatch(); in build()
33 ArrayRef<NestedMatch>(children, nestedMatches.size()); in build()
74 SmallVectorImpl<NestedMatch> *matches) { in matchOne()
84 SmallVector<NestedMatch, 8> nestedMatches; in matchOne()
85 matches->push_back(NestedMatch::build(op, nestedMatches)); in matchOne()
[all …]
DLoopAnalysis.cpp285 SmallVector<NestedMatch, 8> conditionalsMatched; in isVectorizableLoopBodyWithOpCond()
295 SmallVector<NestedMatch, 8> regionsMatched; in isVectorizableLoopBodyWithOpCond()
301 SmallVector<NestedMatch, 8> vectorTransfersMatched; in isVectorizableLoopBodyWithOpCond()
308 SmallVector<NestedMatch, 8> loadAndStoresMatched; in isVectorizableLoopBodyWithOpCond()
/external/llvm-project/mlir/test/lib/Dialect/Affine/
DTestVectorizationUtils.cpp123 SmallVector<NestedMatch, 8> matches; in testVectorShapeRatio()
156 SmallVector<NestedMatch, 8> matches; in testBackwardSlicing()
172 SmallVector<NestedMatch, 8> matches; in testForwardSlicing()
188 SmallVector<NestedMatch, 8> matches; in testSlicing()
208 SmallVector<NestedMatch, 8> matches; in testComposeMaps()
240 SmallVector<NestedMatch, 8> toErase; in testNormalizeMaps()
245 SmallVector<NestedMatch, 8> matches; in testNormalizeMaps()
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DSuperVectorize.cpp615 static LogicalResult analyzeProfitability(ArrayRef<NestedMatch> matches, in analyzeProfitability()
811 SmallVector<NestedMatch, 8> loadAndStoresMatches; in vectorizeAffineForOp()
1142 getMatchedAffineLoopsRec(NestedMatch match, unsigned currentLevel, in getMatchedAffineLoopsRec()
1162 getMatchedAffineLoops(NestedMatch match, in getMatchedAffineLoops()
1255 static LogicalResult vectorizeRootMatch(NestedMatch m, in vectorizeRootMatch()
1279 SmallVector<NestedMatch, 8> matches; in vectorizeLoops()