| /llvm-project/mlir/test/lib/Dialect/Affine/ |
| H A D | TestLoopFusion.cpp | 63 unsigned i, unsigned j, unsigned loopDepth, in testDependenceCheck() argument 66 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testDependenceCheck() 72 << i << " into loop nest " << j << " at depth " << loopDepth; in testDependenceCheck() 117 unsigned i, unsigned j, unsigned loopDepth, in testSliceComputation() argument 119 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testSliceComputation() 140 unsigned loopDepth, in testLoopFusionTransformation() argument 142 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testLoopFusionTransformation() 166 for (unsigned loopDepth = 0, end = depthToLoops.size(); loopDepth < end; in iterateLoops() local 167 ++loopDepth) { in iterateLoops() 168 auto &loops = depthToLoops[loopDepth]; in iterateLoops() [all …]
|
| /llvm-project/mlir/lib/Dialect/Affine/Analysis/ |
| H A D | AffineAnalysis.cpp | 386 unsigned loopDepth, in addOrderingConstraints() argument 392 unsigned numCommonLoopConstraints = std::min(numCommonLoops, loopDepth); in addOrderingConstraints() 397 if (i == loopDepth - 1) { in addOrderingConstraints() 412 const FlatAffineValueConstraints &dstDomain, unsigned loopDepth, in computeDirectionVector() argument 610 unsigned loopDepth, FlatAffineValueConstraints *dependenceConstraints, in checkMemrefAccessDependence() argument 613 << Twine(loopDepth) << " between:\n";); in checkMemrefAccessDependence() 651 assert(loopDepth <= numCommonLoops + 1); in checkMemrefAccessDependence() 652 if (!allowRAR && loopDepth > numCommonLoops && in checkMemrefAccessDependence() 668 addOrderingConstraints(srcDomain, dstDomain, loopDepth, &dependenceDomain); in checkMemrefAccessDependence() 676 computeDirectionVector(srcDomain, dstDomain, loopDepth, &dependenceDomain, in checkMemrefAccessDependence()
|
| H A D | Utils.cpp | 1028 /// represented as constraints symbolic/parametric in 'loopDepth' loops 1030 // For example, the memref region for this load operation at loopDepth = 1 will 1044 LogicalResult MemRefRegion::compute(Operation *op, unsigned loopDepth, in compute() argument 1057 << "\ndepth: " << loopDepth << "\n";); in compute() 1063 assert(loopDepth <= ivs.size() && "invalid 'loopDepth'"); in compute() 1064 // The first 'loopDepth' IVs are symbols for this region. in compute() 1065 ivs.resize(loopDepth); in compute() 1067 cst = FlatAffineValueConstraints(rank, loopDepth, /*numLocals=*/0, ivs); in compute() 1152 // Eliminate any loop IVs other than the outermost 'loopDepth' IV in compute() 1398 unsigned loopDepth = 0; getInnermostCommonLoopDepth() local 1418 computeSliceUnion(ArrayRef<Operation * > opsA,ArrayRef<Operation * > opsB,unsigned loopDepth,unsigned numCommonLoops,bool isBackwardSlice,ComputationSliceState * sliceUnion) computeSliceUnion() argument 1655 getComputationSliceState(Operation * depSourceOp,Operation * depSinkOp,FlatAffineValueConstraints * dependenceConstraints,unsigned loopDepth,bool isBackwardSlice,ComputationSliceState * sliceState) getComputationSliceState() argument [all...] |
| /llvm-project/mlir/test/lib/Dialect/SCF/ |
| H A D | TestLoopUnrolling.cpp | 47 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/mlir/include/mlir/Dialect/Affine/Analysis/ |
| H A D | Utils.h | 370 unsigned loopDepth, bool isBackwardSlice, 398 unsigned loopDepth, unsigned numCommonLoops, 465 LogicalResult compute(Operation *op, unsigned loopDepth,
|
| H A D | AffineAnalysis.h | 172 unsigned loopDepth,
|
| /llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Fusion.cpp | 67 getShapeDefiningLoopRange(LinalgOp op, unsigned loopDepth, in getShapeDefiningLoopRange() argument 93 if (loopDepth == cast<AffineDimExpr>(en.value()).getPosition()) { in getShapeDefiningLoopRange() 95 << loopDepth << "\n"); in getShapeDefiningLoopRange()
|
| /llvm-project/mlir/lib/Dialect/Affine/Utils/ |
| H A D | LoopFusionUtils.cpp | 212 unsigned loopDepth = getInnermostCommonLoopDepth(targetDstOps); in getMaxLoopDepth() local 216 return loopDepth; in getMaxLoopDepth() 236 loopDepth = std::min(loopDepth, d - 1); in getMaxLoopDepth() 243 return loopDepth; in getMaxLoopDepth()
|
| /llvm-project/flang/lib/Lower/ |
| H A D | ConvertExpr.cpp | 4384 const std::size_t loopDepth = loopUppers.size(); in genIterSpace() 4410 for (std::remove_const_t<decltype(loopDepth)> i = 0; i + 1 < loopDepth; in genIterSpace() 4330 const std::size_t loopDepth = loopUppers.size(); genImplicitLoops() local
|