Home
last modified time | relevance | path

Searched refs:collapsedRank (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Utils/
H A DReshapeOpsUtils.h106 unsigned collapsedRank = collapsedType.getRank(); in verifyReshapeLikeTypes() local
107 if (expandedRank < collapsedRank) in verifyReshapeLikeTypes()
113 if (expandedRank == collapsedRank) in verifyReshapeLikeTypes()
116 if (collapsedRank == 0) { in verifyReshapeLikeTypes()
125 if (collapsedRank != op.getReassociation().size()) in verifyReshapeLikeTypes()
127 << collapsedRank << ") to be the number of reassociation maps(" in verifyReshapeLikeTypes()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferOpTransforms.cpp450 int64_t collapsedRank = collapsedSourceType.getRank(); in matchAndRewrite() local
451 assert(collapsedRank == firstContiguousInnerDim + 1); in matchAndRewrite()
455 AffineMap::get(collapsedRank, 0, dimExprs, rewriter.getContext()); in matchAndRewrite()
508 int64_t collapsedRank = collapsedSourceType.getRank(); in matchAndRewrite() local
509 assert(collapsedRank == firstContiguousInnerDim + 1); in matchAndRewrite()
513 AffineMap::get(collapsedRank, 0, dimExprs, rewriter.getContext()); in matchAndRewrite()