Home
last modified time | relevance | path

Searched refs:loopDepth (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/
H A DTestLoopFusion.cpp61 unsigned i, unsigned j, unsigned loopDepth, in testDependenceCheck() argument
64 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testDependenceCheck()
70 << i << " into loop nest " << j << " at depth " << loopDepth; in testDependenceCheck()
114 unsigned i, unsigned j, unsigned loopDepth, in testSliceComputation() argument
116 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testSliceComputation()
137 unsigned loopDepth, in testLoopFusionTransformation() argument
139 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testLoopFusionTransformation()
163 for (unsigned loopDepth = 0, end = depthToLoops.size(); loopDepth < end; in iterateLoops() local
164 ++loopDepth) { in iterateLoops()
165 auto &loops = depthToLoops[loopDepth]; in iterateLoops()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/
H A DUtils.cpp468 ivs.resize(loopDepth); in compute()
561 enclosingIVs.resize(loopDepth); in compute()
792 unsigned loopDepth = 0; in getInnermostCommonLoopDepth() local
797 return loopDepth; in getInnermostCommonLoopDepth()
801 ++loopDepth; in getInnermostCommonLoopDepth()
803 return loopDepth; in getInnermostCommonLoopDepth()
920 if (loopDepth > innermostCommonLoopDepth) { in computeSliceUnion()
1060 (isBackwardSlice && loopDepth <= numDstLoopIVs)); in getComputationSliceState()
1063 unsigned pos = isBackwardSlice ? numSrcLoopIVs + loopDepth : loopDepth; in getComputationSliceState()
1065 isBackwardSlice ? numDstLoopIVs - loopDepth : numSrcLoopIVs - loopDepth; in getComputationSliceState()
[all …]
H A DAffineAnalysis.cpp381 unsigned loopDepth, in addOrderingConstraints() argument
387 unsigned numCommonLoopConstraints = std::min(numCommonLoops, loopDepth); in addOrderingConstraints()
392 if (i == loopDepth - 1) { in addOrderingConstraints()
407 const FlatAffineValueConstraints &dstDomain, unsigned loopDepth, in computeDirectionVector() argument
596 unsigned loopDepth, FlatAffineValueConstraints *dependenceConstraints, in checkMemrefAccessDependence() argument
599 << Twine(loopDepth) << " between:\n";); in checkMemrefAccessDependence()
629 assert(loopDepth <= numCommonLoops + 1); in checkMemrefAccessDependence()
630 if (!allowRAR && loopDepth > numCommonLoops && in checkMemrefAccessDependence()
645 addOrderingConstraints(srcDomain, dstDomain, loopDepth, in checkMemrefAccessDependence()
654 computeDirectionVector(srcDomain, dstDomain, loopDepth, in checkMemrefAccessDependence()
/llvm-project-15.0.7/mlir/test/lib/Dialect/SCF/
H A DTestLoopUnrolling.cpp47 loopDepth = loopDepthParam; in TestLoopUnrollingPass()
58 if (getNestingDepth(forOp) == loopDepth) in runOnOperation()
78 Option<unsigned> loopDepth{*this, "loop-depth", llvm::cl::desc("Loop depth."), member
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/Analysis/
H A DUtils.h186 unsigned loopDepth, bool isBackwardSlice,
215 unsigned loopDepth, unsigned numCommonLoops,
282 LogicalResult compute(Operation *op, unsigned loopDepth,
H A DAffineAnalysis.h170 unsigned loopDepth, FlatAffineValueConstraints *dependenceConstraints,
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/
H A DLoopFusionUtils.cpp219 unsigned loopDepth = getInnermostCommonLoopDepth(targetDstOps); in getMaxLoopDepth() local
224 return loopDepth; in getMaxLoopDepth()
246 loopDepth = std::min(loopDepth, d - 1); in getMaxLoopDepth()
253 return loopDepth; in getMaxLoopDepth()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DFusion.cpp68 getShapeDefiningLoopRange(LinalgOp op, unsigned loopDepth, in getShapeDefiningLoopRange() argument
94 if (loopDepth == en.value().cast<AffineDimExpr>().getPosition()) { in getShapeDefiningLoopRange()
96 << loopDepth << "\n"); in getShapeDefiningLoopRange()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp115 for (unsigned loopDepth : in replaceLoopNestWithNewYields() local
120 newLoopNest[loopDepth + 1]->getResults().take_back( in replaceLoopNestWithNewYields()
124 newLoopNest[loopDepth] = replaceLoopWithNewYields( in replaceLoopNestWithNewYields()
125 builder, loopNest[loopDepth], newIterOperands, fn); in replaceLoopNestWithNewYields()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertExpr.cpp4592 const std::size_t loopDepth = loopUppers.size(); in genImplicitLoops() local
4618 for (std::remove_const_t<decltype(loopDepth)> i = 0; i + 1 < loopDepth; in genImplicitLoops()