Home
last modified time | relevance | path

Searched refs:getShapedType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DBufferizableOpInterfaceImpl.cpp51 assert(readOp.getShapedType().isa<TensorType>() && in bufferize()
98 assert(writeOp.getShapedType().isa<TensorType>() && in bufferize()
H A DVectorTransferSplitRewritePatterns.cpp192 int64_t memrefRank = xferOp.getShapedType().getRank(); in createSubViewIntersection()
257 if (compatibleMemRefType != xferOp.getShapedType()) in createFullPartialLinalgCopy()
312 if (compatibleMemRefType != xferOp.getShapedType()) in createFullPartialVectorTransferRead()
363 if (compatibleMemRefType != xferOp.getShapedType()) in getLocationToWriteFullVec()
572 getCastCompatibleMemRefType(xferOp.getShapedType().cast<MemRefType>(), in splitFullAndPartialTransfer()
H A DVectorTransferOpTransforms.cpp534 if (read.getShapedType().isa<MemRefType>()) in transferOpflowOpt()
539 if (write.getShapedType().isa<MemRefType>()) in transferOpflowOpt()
H A DVectorTransferPermutationMapRewritePatterns.cpp239 if (op.getShapedType().isa<TensorType>()) { in matchAndRewrite()
H A DVectorTransforms.cpp2056 auto memRefType = read.getShapedType().dyn_cast<MemRefType>(); in matchAndRewrite()
2195 auto memRefType = write.getShapedType().dyn_cast<MemRefType>(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToSCF/
H A DVectorToSCF.cpp253 if (xferOp.getShapedType().template isa<RankedTensorType>()) { in isTensorOp()
494 Type type = isTensorOp(xferOp) ? xferOp.getShapedType() : Type(); in rewriteOp()
540 xferOp.getShapedType().getElementType()) in checkPrepareXferOp()
898 xferOp.getShapedType().getElementType()) in matchAndRewrite()
1025 xferOp.getShapedType().getElementType()) in matchAndRewrite()
1032 auto sourceType = isTensorOp(xferOp) ? xferOp.getShapedType() : Type(); in matchAndRewrite()
1228 auto memRefType = xferOp.getShapedType().template dyn_cast<MemRefType>(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DVectorInterfaces.td155 /*methodName=*/"getShapedType",
202 "return $_op.getShapedType().getRank() - $_op.getTransferRank();"
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp882 static ShapedType getShapedType(MLIRContext *context, in getShapedType() function
890 static ShapedType getShapedType(MLIRContext *context, in getShapedType() function
898 static ShapedType getShapedType(MLIRContext *context, in getShapedType() function
906 static ShapedType getShapedType(MLIRContext *context, in getShapedType() function
914 static ShapedType getShapedType(MLIRContext *context, in getShapedType() function
922 static ShapedType getShapedType(MLIRContext *context, in getShapedType() function
934 auto shapedType = denseArrayAttrEltTypeBuilder<T>::getShapedType( in get()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DVectorToGPU.cpp117 if (!getMemrefConstantHorizontalStride(readOp.getShapedType())) in transferReadSupportsMMAMatrixType()
145 if (!getMemrefConstantHorizontalStride(writeOp.getShapedType())) in transferWriteSupportsMMAMatrixType()
398 getMemrefConstantHorizontalStride(op.getShapedType()); in convertTransferReadOp()
421 getMemrefConstantHorizontalStride(op.getShapedType()); in convertTransferWriteOp()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp2961 p << " : " << getShapedType() << ", " << getVectorType(); in print()
3027 ShapedType shapedType = getShapedType(); in verify()
3097 if (op.getShapedType().isDynamicDim(indicesIdx)) in isInBounds()
3156 if (!readOp.getShapedType().isa<RankedTensorType>()) in foldRAW()
3191 if (getShapedType().isa<MemRefType>()) in getEffects()
3317 !readOp.getShapedType().isa<RankedTensorType>()) in matchAndRewrite()
3481 p << " : " << getVectorType() << ", " << getShapedType(); in print()
3486 ShapedType shapedType = getShapedType(); in verify()
3629 if (getShapedType().isa<MemRefType>()) in getEffects()
3664 if (!writeOp.getShapedType().isa<RankedTensorType>()) in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DHoisting.cpp411 if (!transferRead.getShapedType().isa<MemRefType>()) in hoistRedundantVectorTransfers()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp1822 rewriter, loc, typeConverter->convertType(transposeOp.getShapedType())); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp2701 if (getPermutation().getNumDims() != getShapedType().getRank()) in verify()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/MemRef/IR/
H A DMemRefOps.td1744 ShapedType getShapedType() { return getIn().getType().cast<ShapedType>(); }