Searched refs:getDimPosition (Results 1 – 12 of 12) sorted by relevance
310 int64_t dimToDrop = oldIndexingMaps[2].getDimPosition(0); in matchAndRewrite()333 int64_t orginalZeroDim = it.value().getDimPosition(0); in matchAndRewrite()345 int64_t currDim = map.getDimPosition(i); in matchAndRewrite()370 if (map.getDimPosition(0) == dimToDrop) in matchAndRewrite()374 int64_t currDim = map.getDimPosition(i); in matchAndRewrite()
47 int64_t idx = map.getDimPosition(i); in getResultIndex()73 int64_t idx = map.getDimPosition(i); in adjustMap()184 if (isReductionIterator(iteratorTypes[map.getDimPosition(i)])) in getReductionIndex()192 static llvm::Optional<unsigned> getDimPosition(AffineMap map, unsigned dim) { in getDimPosition() function194 if (map.getDimPosition(i) == dim) in getDimPosition()648 getDimPosition(lhsMap, accMap.getDimPosition(i)); in matchAndRewrite()658 getDimPosition(rhsMap, accMap.getDimPosition(i)); in matchAndRewrite()1133 .getValue()[map.getDimPosition(i)])) { in matchAndRewrite()1875 iterIndex = iMap[0].getDimPosition(lhsIndex); in lowerParallel()1876 if (rhsIndex >= 0 && iterIndex != iMap[1].getDimPosition(rhsIndex)) in lowerParallel()[all …]
588 map[affineMap.getDimPosition(i)] = extract.getResultType().getDimSize(i); in matchAndRewrite()597 unsigned dim = it.value().getDimPosition(i); in matchAndRewrite()
347 unsigned position = map.getDimPosition(i); in tryDistributeOp()
315 unsigned AffineMap::getDimPosition(unsigned idx) const { in getDimPosition() function in AffineMap322 if (getDimPosition(i) == input) in getPermutedPosition()693 exprs[map.getDimPosition(i)] = getAffineDimExpr(i, context); in inverseAndBroadcastProjectedPermutation()
126 unsigned dim = map.getDimPosition(idx); in splitReduction()171 unsigned dim = oldOutputMap.getDimPosition(oldDim); in splitReduction()
93 return tiledProducerIndexingSubMap.getDimPosition(idx); in getTiledProducerLoops()
535 expandedShape.slice(foldedDims.getDimPosition(0), numExpandedDims[pos]); in compute()
167 unsigned getDimPosition(unsigned idx) const;
124 inv[i] = m.getDimPosition(i); in permute()138 return order.getDimPosition(d); in perm()
218 rev[p.getDimPosition(i)] = constantIndex(builder, loc, i); in newParams()
691 unsigned pos = map.getDimPosition(idx); in verifyOutputShape()