Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/VectorToSPIRV/
H A DVectorToSPIRV.cpp265 auto srcVectorType = adaptor.getVector().getType().dyn_cast<VectorType>(); in matchAndRewrite() local
266 if (!srcVectorType || srcVectorType.getRank() != 1) in matchAndRewrite()
270 int numElements = srcVectorType.getDimSize(0); in matchAndRewrite()
276 loc, srcVectorType.getElementType(), adaptor.getVector(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorMultiDimReductionTransforms.cpp314 auto srcVectorType = multiReductionOp.getSourceVectorType(); in matchAndRewrite() local
315 auto srcShape = srcVectorType.getShape(); in matchAndRewrite()
317 srcVectorType.getElementType()); in matchAndRewrite()
319 VectorType::get(ArrayRef<int64_t>{1}, srcVectorType.getElementType()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp1692 VectorType srcVectorType = srcType.dyn_cast<VectorType>(); in isBroadcastableTo() local
1693 if (!srcVectorType) in isBroadcastableTo()
1696 int64_t srcRank = srcVectorType.getRank(); in isBroadcastableTo()
1704 int64_t srcDim = srcVectorType.getDimSize(r); in isBroadcastableTo()
1984 auto srcVectorType = getSourceType().dyn_cast<VectorType>(); in verify() local
1985 if (srcVectorType && in verify()
1986 (static_cast<unsigned>(srcVectorType.getRank()) + positionAttr.size() != in verify()
1990 if (!srcVectorType && in verify()
4667 auto srcVectorType = bcastOp.getSourceType().dyn_cast<VectorType>(); in matchAndRewrite() local
4668 if (!srcVectorType || srcVectorType.getNumElements() == 1) { in matchAndRewrite()