Home
last modified time | relevance | path

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

/external/llvm-project/mlir/test/lib/Transforms/
DTestLoopFusion.cpp55 unsigned i, unsigned j, unsigned loopDepth, in testDependenceCheck() argument
58 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testDependenceCheck()
64 << i << " into loop nest " << j << " at depth " << loopDepth; in testDependenceCheck()
107 unsigned i, unsigned j, unsigned loopDepth, in testSliceComputation() argument
109 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testSliceComputation()
126 unsigned loopDepth, in testLoopFusionTransformation() argument
128 for (unsigned d = loopDepth + 1; d <= maxLoopDepth; ++d) { in testLoopFusionTransformation()
152 for (unsigned loopDepth = 0, end = depthToLoops.size(); loopDepth < end; in iterateLoops() local
153 ++loopDepth) { in iterateLoops()
154 auto &loops = depthToLoops[loopDepth]; in iterateLoops()
[all …]
DTestLoopUnrolling.cpp41 loopDepth = loopDepthParam; in TestLoopUnrollingPass()
48 if (getNestingDepth(forOp) == loopDepth) in runOnFunction()
61 Option<unsigned> loopDepth{*this, "loop-depth", llvm::cl::desc("Loop depth."), member in __anon019d91810111::TestLoopUnrollingPass
/external/llvm-project/mlir/lib/Analysis/
DUtils.cpp235 LogicalResult MemRefRegion::compute(Operation *op, unsigned loopDepth, in compute() argument
248 << "depth: " << loopDepth << "\n";); in compute()
254 assert(loopDepth <= ivs.size() && "invalid 'loopDepth'"); in compute()
256 ivs.resize(loopDepth); in compute()
260 cst.reset(rank, loopDepth, /*numLocals=*/0, regionSymbols); in compute()
348 assert(loopDepth <= enclosingIVs.size() && "invalid loop depth"); in compute()
349 enclosingIVs.resize(loopDepth); in compute()
581 unsigned loopDepth = 0; in getInnermostCommonLoopDepth() local
586 return loopDepth; in getInnermostCommonLoopDepth()
590 ++loopDepth; in getInnermostCommonLoopDepth()
[all …]
DAffineAnalysis.cpp680 unsigned loopDepth, in addOrderingConstraints() argument
686 unsigned numCommonLoopConstraints = std::min(numCommonLoops, loopDepth); in addOrderingConstraints()
691 if (i == loopDepth - 1) { in addOrderingConstraints()
706 const FlatAffineConstraints &dstDomain, unsigned loopDepth, in computeDirectionVector() argument
861 unsigned loopDepth, FlatAffineConstraints *dependenceConstraints, in checkMemrefAccessDependence() argument
864 << Twine(loopDepth) << " between:\n";); in checkMemrefAccessDependence()
902 assert(loopDepth <= numCommonLoops + 1); in checkMemrefAccessDependence()
903 if (!allowRAR && loopDepth > numCommonLoops && in checkMemrefAccessDependence()
928 addOrderingConstraints(srcDomain, dstDomain, loopDepth, in checkMemrefAccessDependence()
941 computeDirectionVector(srcDomain, dstDomain, loopDepth, in checkMemrefAccessDependence()
/external/llvm-project/mlir/include/mlir/Analysis/
DUtils.h135 unsigned loopDepth, bool isBackwardSlice,
151 ArrayRef<Operation *> opsB, unsigned loopDepth,
219 LogicalResult compute(Operation *op, unsigned loopDepth,
DAffineAnalysis.h114 unsigned loopDepth, FlatAffineConstraints *dependenceConstraints,
/external/swiftshader/src/Shader/
DVertexProgram.cpp42 loopDepth = -1; in VertexProgram()
957 return aL[loopDepth]; in relativeAddress()
1271 aL[loopDepth] = aL[loopDepth] + increment[loopDepth]; // FIXME: += in ENDLOOP()
1279 loopDepth--; in ENDLOOP()
1293 loopDepth--; in ENDREP()
1424 loopDepth++; in LOOP()
1426 iteration[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][0])); in LOOP()
1427 aL[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][1])); in LOOP()
1428 increment[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData,vs.i[integerRegister.index][2])); in LOOP()
1431 If(increment[loopDepth] == 0) in LOOP()
[all …]
DPixelProgram.cpp43 loopDepth = -1; in PixelProgram()
1156 return aL[loopDepth]; in relativeAddress()
1587 aL[loopDepth] = aL[loopDepth] + increment[loopDepth]; // FIXME: += in ENDLOOP()
1595 loopDepth--; in ENDLOOP()
1609 loopDepth--; in ENDREP()
1740 loopDepth++; in LOOP()
1742 iteration[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][0])); in LOOP()
1743 aL[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][1])); in LOOP()
1744 increment[loopDepth] = *Pointer<Int>(data + OFFSET(DrawData, ps.i[integerRegister.index][2])); in LOOP()
1762 branch(iteration[loopDepth] > 0, loopBlock, endBlock); in LOOP()
[all …]
DVertexProgram.hpp50 Int loopDepth; member in sw::VertexProgram
DPixelProgram.hpp55 Int loopDepth; // FIXME: Add support for switch member in sw::PixelProgram
/external/llvm-project/mlir/lib/Transforms/Utils/
DLoopFusionUtils.cpp222 unsigned loopDepth = getInnermostCommonLoopDepth(targetDstOps); in getMaxLoopDepth() local
227 return loopDepth; in getMaxLoopDepth()
249 loopDepth = std::min(loopDepth, d - 1); in getMaxLoopDepth()
256 return loopDepth; in getMaxLoopDepth()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusion.cpp166 getShapeDefiningLoopRange(LinalgOp op, unsigned loopDepth, in getShapeDefiningLoopRange() argument
195 if (loopDepth == en2.value().cast<AffineDimExpr>().getPosition()) { in getShapeDefiningLoopRange()
197 << loopDepth << "\n"); in getShapeDefiningLoopRange()
/external/llvm-project/mlir/lib/Transforms/
DLoopFusion.cpp1443 unsigned loopDepth = getNestingDepth(storeOp); in fuseProducerConsumerNodes() local
1444 if (loopDepth > maxLoopDepth) { in fuseProducerConsumerNodes()
1445 maxLoopDepth = loopDepth; in fuseProducerConsumerNodes()