Home
last modified time | relevance | path

Searched refs:srcLoopIVs (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/lib/Analysis/
DUtils.cpp762 SmallVector<AffineForOp, 4> srcLoopIVs; in getComputationSliceState() local
763 getLoopIVs(*depSourceOp, &srcLoopIVs); in getComputationSliceState()
764 unsigned numSrcLoopIVs = srcLoopIVs.size(); in getComputationSliceState()
812 : std::prev(srcLoopIVs[loopDepth - 1].getBody()->end()); in getComputationSliceState()
819 getSequentialLoops(isBackwardSlice ? srcLoopIVs[0] : dstLoopIVs[0], in getComputationSliceState()
827 return isBackwardSlice ? srcLoopIVs[i] : dstLoopIVs[i]; in getComputationSliceState()
859 SmallVector<AffineForOp, 4> srcLoopIVs; in insertBackwardComputationSlice() local
860 getLoopIVs(*srcOpInst, &srcLoopIVs); in insertBackwardComputationSlice()
861 unsigned numSrcLoopIVs = srcLoopIVs.size(); in insertBackwardComputationSlice()
875 findInstPosition(srcOpInst, srcLoopIVs[0]->getBlock(), &positions); in insertBackwardComputationSlice()
[all …]
DAffineAnalysis.cpp325 SmallVector<Value, 4> srcLoopIVs, dstLoopIVs; in initDependenceConstraints() local
326 srcDomain.getIdValues(0, srcDomain.getNumDimIds(), &srcLoopIVs); in initDependenceConstraints()
329 dependenceConstraints->setIdValues(0, srcLoopIVs.size(), srcLoopIVs); in initDependenceConstraints()
331 srcLoopIVs.size(), srcLoopIVs.size() + dstLoopIVs.size(), dstLoopIVs); in initDependenceConstraints()
/external/llvm-project/mlir/lib/Transforms/
DLoopFusion.cpp1064 SmallVector<AffineForOp, 4> srcLoopIVs; in isFusionProfitable() local
1065 getLoopIVs(*srcOpInst, &srcLoopIVs); in isFusionProfitable()
1069 if (!getLoopNestStats(srcLoopIVs[0], &srcLoopNestStats)) in isFusionProfitable()
1094 uint64_t srcLoopNestCost = getComputeCost(srcLoopIVs[0], srcLoopNestStats); in isFusionProfitable()
1121 if (!getFusionComputeCost(srcLoopIVs[0], srcLoopNestStats, dstLoopIVs[0], in isFusionProfitable()
1222 auto srcMemSize = getMemoryFootprintBytes(srcLoopIVs[0]); in isFusionProfitable()