Home
last modified time | relevance | path

Searched refs:getAffineMap (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Affine/IR/
DAffineValueMap.cpp31 auto aMap = a.getAffineMap(); in difference()
40 auto bMap = b.getAffineMap(); in difference()
51 diffExprs.push_back(normalizer.getAffineMap().getResult(i) - in difference()
87 auto expr = const_cast<AffineValueMap *>(this)->getAffineMap().getResult(idx); in isFunctionOf()
101 AffineMap AffineValueMap::getAffineMap() const { return map.getAffineMap(); } in getAffineMap() function in AffineValueMap
DAffineOps.cpp353 return AffineValueMap(getAffineMap(), getOperands(), getResult()); in getAffineValueMap()
382 op.getAffineMap().getNumDims(), p); in print()
433 auto map = getAffineMap(); in fold()
633 AffineMap affineApplyMap = affineApply.getAffineMap(); in AffineApplyNormalizer()
707 auto normalizedMap = normalizer.getAffineMap(); in composeAffineMapAndOperands()
885 auto map = affineOp.getAffineMap(); in matchAndRewrite()
2707 auto newMap = getAffineMap(); in canonicalize()
2709 if (newMap == getAffineMap() && newOperands == operands) in canonicalize()
2728 op.setLowerBounds(lb.getOperands(), lb.getAffineMap()); in canonicalizeLoopBounds()
2730 op.setUpperBounds(ub.getOperands(), ub.getAffineMap()); in canonicalizeLoopBounds()
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/
DAffineToStandard.cpp457 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), in matchAndRewrite()
478 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), indices); in matchAndRewrite()
500 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), indices); in matchAndRewrite()
524 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), indices); in matchAndRewrite()
610 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), indices); in matchAndRewrite()
633 expandAffineMap(rewriter, op.getLoc(), op.getAffineMap(), indices); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/xla/experimental/conv_emitter/
Dconv_emitter_transforms.cc31 return {load.getAffineMap(), in GetBoundAffineMapFrom()
35 return {store.getAffineMap(), in GetBoundAffineMapFrom()
/external/llvm-project/mlir/lib/Analysis/
DAffineAnalysis.cpp311 AffineMap srcMap = srcAccessMap.getAffineMap(); in initDependenceConstraints()
312 assert(srcMap.getNumResults() == dstAccessMap.getAffineMap().getNumResults()); in initDependenceConstraints()
453 AffineMap srcMap = srcAccessMap.getAffineMap(); in addMemRefAccessConstraints()
454 AffineMap dstMap = dstAccessMap.getAffineMap(); in addMemRefAccessConstraints()
761 map = loadOp.getAffineMap(); in getAccessMap()
763 map = cast<AffineWriteOpInterface>(opInst).getAffineMap(); in getAccessMap()
DLoopAnalysis.cpp75 *tripCountMap = tripCountValueMap.getAffineMap(); in buildTripCountMapAndOperands()
237 auto accessMap = memoryOp.getAffineMap(); in isContiguousAccess()
DUtils.cpp267 AffineMap accessMap = accessValueMap.getAffineMap(); in compute()
335 LLVM_DEBUG(accessValueMap.getAffineMap().dump()); in compute()
968 return llvm::all_of(diff.getAffineMap().getResults(), in operator ==()
DAffineStructures.cpp467 if (failed(getFlattenedAffineExprs(vMap->getAffineMap(), &flatExprs, in composeMap()
/external/llvm-project/mlir/include/mlir/Dialect/Affine/IR/
DAffineValueMap.h75 AffineMap getAffineMap() const;
DAffineMemoryOpInterfaces.td63 /*methodName=*/"getAffineMap",
142 /*methodName=*/"getAffineMap",
DAffineOps.h459 AffineMap getAffineMap() { return affineMap; } in getAffineMap() function
DAffineOps.td83 AffineMap getAffineMap() { return map(); }
536 AffineMap getAffineMap() { return map(); }
750 AffineMap getAffineMap() { return getAffineMapAttr().getValue(); }
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DSimplifyAffineStructures.cpp66 return mMap.getAffineMap(); in simplify()
DSuperVectorize.cpp773 if (load.getAffineMap() != in vectorizeRootOrTerminal()
775 computeMemoryOpIndices(opInst, load.getAffineMap(), mapOperands, indices); in vectorizeRootOrTerminal()
1036 if (store.getAffineMap() != in vectorizeOneOperation()
1038 computeMemoryOpIndices(opInst, store.getAffineMap(), mapOperands, in vectorizeOneOperation()
/external/llvm-project/mlir/include/mlir/IR/
DAffineMap.h251 AffineMap getAffineMap() const;
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DTransforms.cpp473 AffineMap map = substitute(minOp.getAffineMap(), dims, symbols); in matchAndRewrite()
479 for (auto e : minOp.getAffineMap().getResults()) { in matchAndRewrite()
DPromotion.cpp54 for (auto e : affineMinOp.getAffineMap().getResults()) in extractSmallestConstantBoundingSize()
DLoops.cpp601 auto map = affineApplyOp.getAffineMap(); in matchAndRewrite()
/external/llvm-project/mlir/test/lib/Dialect/Affine/
DTestVectorizationUtils.cpp251 makeComposedAffineApply(b, app.getLoc(), app.getAffineMap(), operands); in testNormalizeMaps()
/external/llvm-project/mlir/lib/Conversion/VectorToSCF/
DVectorToSCF.cpp194 if (affineApplyOp.getAffineMap().isSingleConstant()) in extractConstantIndex()
195 return affineApplyOp.getAffineMap().getSingleConstantResult(); in extractConstantIndex()
/external/llvm-project/mlir/lib/IR/
DAffineMap.cpp513 AffineMap MutableAffineMap::getAffineMap() const { in getAffineMap() function in MutableAffineMap
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransforms.cpp2110 if (affineApplyOp.getAffineMap().isSingleConstant()) in extractConstantIndex()
2111 return affineApplyOp.getAffineMap().getSingleConstantResult(); in extractConstantIndex()
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopUtils.cpp3048 b, loop.getLoc(), lbVmap.getOperands(), lbVmap.getAffineMap(), in createFullTiles()
3049 ubVmap.getOperands(), ubVmap.getAffineMap()); in createFullTiles()