Home
last modified time | relevance | path

Searched refs:getVectorType (Results 1 – 25 of 46) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Dialect/AMX/IR/
H A DAMXDialect.cpp56 return verifyTileSize(*this, getVectorType()); in verify()
63 return verifyTileSize(*this, getVectorType()); in verify()
70 return verifyTileSize(*this, getVectorType()); in verify()
76 VectorType cType = getVectorType(); in verify()
93 VectorType cType = getVectorType(); in verify()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToSCF/
H A DVectorToSCF.cpp246 if (newXferOp.getVectorType().getRank() > targetRank) in maybeApplyPassLabel()
290 auto bufferType = MemRefType::get({}, xferOp.getVectorType()); in allocBuffers()
534 if (xferOp.getVectorType().getRank() <= options.targetRank) in checkPrepareXferOp()
539 if (xferOp.getVectorType().getElementType() != in checkPrepareXferOp()
897 if (xferOp.getVectorType().getElementType() != in matchAndRewrite()
904 auto xferVecType = xferOp.getVectorType(); in matchAndRewrite()
1024 if (xferOp.getVectorType().getElementType() != in matchAndRewrite()
1029 auto xferVecType = xferOp.getVectorType(); in matchAndRewrite()
1134 b, xferOp, iv, dim, TypeRange(xferOp.getVectorType()), in generateForLoopBody()
1232 if (xferOp.getVectorType().getRank() != 1) in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/AMX/Transforms/
H A DLegalizeForLLVMExport.cpp88 VectorType vType = op.getVectorType(); in matchAndRewrite()
107 VectorType vType = op.getVectorType(); in matchAndRewrite()
134 VectorType vType = op.getVectorType(); in matchAndRewrite()
160 VectorType cType = op.getVectorType(); in matchAndRewrite()
182 VectorType cType = op.getVectorType(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp145 defWrite.getVectorType() == read.getVectorType() && in checkSameValueRAW()
153 priorWrite.getVectorType() == write.getVectorType() && in checkSameValueWAW()
160 if (transferA.getVectorType() != transferB.getVectorType()) in isDisjointTransferIndices()
397 int64_t rank = getVectorType().getRank(); in verify()
1739 auto vectorType = getVectorType(); in fold()
2495 auto type = getVectorType(); in verify()
2548 if (op.getVectorType().getRank() != in foldExtractStridedOpFromInsertChain()
3557 if (read.getVectorType() != write.getVectorType()) in foldReadInitWrite()
3580 read.getVectorType() == write.getVectorType() && !read.getMask() && in checkSameValueWAR()
3897 VectorType resVecTy = getVectorType(); in verify()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToSPIRV/
H A DVectorToSPIRV.cpp67 !spirv::CompositeType::isValid(broadcastOp.getVectorType())) in matchAndRewrite()
69 SmallVector<Value, 4> source(broadcastOp.getVectorType().getNumElements(), in matchAndRewrite()
72 broadcastOp, broadcastOp.getVectorType(), source); in matchAndRewrite()
188 if (!spirv::CompositeType::isValid(extractElementOp.getVectorType())) in matchAndRewrite()
347 auto oldResultType = shuffleOp.getVectorType(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDropLeadUnitDim.cpp51 VectorType oldSrcType = extractOp.getVectorType(); in matchAndRewrite()
201 if (shapedType.getElementType() != read.getVectorType().getElementType()) in matchAndRewrite()
204 VectorType oldType = read.getVectorType(); in matchAndRewrite()
249 if (shapedType.getElementType() != write.getVectorType().getElementType()) in matchAndRewrite()
252 VectorType oldType = write.getVectorType(); in matchAndRewrite()
H A DVectorTransferPermutationMapRewritePatterns.cpp80 ArrayRef<int64_t> originalShape = op.getVectorType().getShape(); in matchAndRewrite()
114 VectorType::get(newVectorShape, op.getVectorType().getElementType()); in matchAndRewrite()
223 VectorType originalVecType = op.getVectorType(); in matchAndRewrite()
H A DVectorTransforms.cpp258 VectorType dstType = op.getVectorType(); in matchAndRewrite()
396 VectorType inputType = op.getVectorType(); in matchAndRewrite()
485 VectorType srcType = op.getVectorType(); in matchAndRewrite()
545 VectorType resType = op.getVectorType(); in matchAndRewrite()
1262 srcType = transposeOp.getVectorType(); in matchAndRewrite()
2131 auto vecType = loadOp.getVectorType(); in matchAndRewrite()
2149 auto vecType = storeOp.getVectorType(); in matchAndRewrite()
2254 if (extractOp.getVectorType().getRank() != 1) in matchAndRewrite()
2528 if (xferOp.getVectorType().getRank() > 1 || in matchAndRewrite()
2533 VectorType vtp = xferOp.getVectorType(); in matchAndRewrite()
[all …]
H A DBufferizableOpInterfaceImpl.cpp57 rewriter, readOp, readOp.getVectorType(), *buffer, readOp.getIndices(), in bufferize()
H A DVectorTransferSplitRewritePatterns.cpp75 int64_t vectorSize = xferOp.getVectorType().getDimSize(resultIdx); in createInBoundsCond()
564 auto shape = xferOp.getVectorType().getShape(); in splitFullAndPartialTransfer()
565 Type elementType = xferOp.getVectorType().getElementType(); in splitFullAndPartialTransfer()
H A DVectorDistribute.cpp331 VectorType writtenVectorType = writeOp.getVectorType(); in tryDistributeOp()
391 VectorType vecType = writeOp.getVectorType(); in tryExtractOp()
734 if (extractOp.getVectorType().getNumElements() != 1) in matchAndRewrite()
739 rewriter, warpOp, {extractOp.getVector()}, {extractOp.getVectorType()}, in matchAndRewrite()
H A DVectorUnrollDistribute.cpp197 auto sourceVectorType = readOp.getVectorType(); in matchAndRewrite()
200 ArrayRef<int64_t> originalSize = readOp.getVectorType().getShape(); in matchAndRewrite()
253 auto sourceVectorType = writeOp.getVectorType(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/AMX/
H A DAMX.td99 VectorType getVectorType() {
133 VectorType getVectorType() {
163 VectorType getVectorType() {
202 VectorType getVectorType() {
243 VectorType getVectorType() {
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp229 VectorType vectorTy = loadOrStoreOp.getVectorType(); in matchAndRewrite()
242 auto vtype = this->typeConverter->convertType(loadOrStoreOp.getVectorType()) in matchAndRewrite()
272 VectorType vType = gather.getVectorType(); in matchAndRewrite()
306 VectorType vType = scatter.getVectorType(); in matchAndRewrite()
334 auto vtype = typeConverter->convertType(expand.getVectorType()); in matchAndRewrite()
559 auto vectorType = shuffleOp.getVectorType(); in matchAndRewrite()
616 auto vectorType = extractEltOp.getVectorType(); in matchAndRewrite()
649 auto vectorType = extractOp.getVectorType(); in matchAndRewrite()
718 VectorType vType = fmaOp.getVectorType(); in matchAndRewrite()
863 auto vType = op.getVectorType(); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DHoisting.cpp154 read.getVectorType() == write.transferWriteOp.getVectorType()) in findMatchingTransferRead()
457 transferRead.getVectorType() == transferWrite.getVectorType()) in hoistRedundantVectorTransfers()
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DVectorInterfaces.td164 /*methodName=*/"getVectorType",
180 $_op.getVectorType(), $_op.getPermutationMap())
265 $_op.getVectorType().getShape())) {
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DVectorToGPU.cpp115 readOp.getVectorType().getRank() != 2) in transferReadSupportsMMAMatrixType()
143 writeOp.getVectorType().getRank() != 2) in transferWriteSupportsMMAMatrixType()
164 return broadcastOp.getVectorType().getRank() == 2 && in broadcastSupportsMMAMatrixType()
408 gpu::MMAMatrixType::get(op.getVectorType().getShape(), in convertTransferReadOp()
409 op.getVectorType().getElementType(), fragType); in convertTransferReadOp()
614 VectorType vecTy = op.getVectorType(); in convertTransferReadToLoads()
720 auto vecType = op.getVectorType(); in convertBroadcastOp()
/llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/
H A DAVXTranspose.cpp255 VectorType srcType = op.getVectorType(); in matchAndRewrite()
290 VectorType::get({n * m}, op.getVectorType().getElementType()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DSuperVectorize.cpp939 static VectorType getVectorType(Type scalarTy, in getVectorType() function
954 auto vecTy = getVectorType(scalarTy, state.strategy); in vectorizeConstant()
986 auto vecTy = getVectorType(scalarTy, state.strategy); in createInitialVector()
1097 auto vectorTy = getVectorType(uniformVal.getType(), state.strategy); in vectorizeUniform()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DMveEmitter.cpp993 const VectorType *getVectorType(const ScalarType *ST, unsigned Lanes) { in getVectorType() function in __anondd1c47770111::EmitterBase
1000 const VectorType *getVectorType(const ScalarType *ST) { in getVectorType() function in __anondd1c47770111::EmitterBase
1001 return getVectorType(ST, 128 / ST->sizeInBits()); in getVectorType()
1104 return getVectorType(cast<ScalarType>(Element)); in getType()
1107 return getVectorType(cast<ScalarType>(Element), in getType()
1781 const VectorType *VT = getVectorType(ST); in EmitHeader()
2048 const VectorType *VT = getVectorType(ST); in EmitHeader()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Vector/
H A DTestVectorTransforms.cpp522 numLoops = readOp.getVectorType().getRank(); in runOnOperation()
524 numLoops = writeOp.getVectorType().getRank(); in runOnOperation()
873 int64_t vecRank = writeOp.getVectorType().getRank(); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Utils/
H A DVectorUtils.cpp233 superVectorType = transfer.getVectorType(); in operatesOnSuperVectorsOf()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Vector/IR/
H A DVectorOps.td296 VectorType getVectorType() {
422 VectorType getVectorType() {
483 VectorType getVectorType() {
532 VectorType getVectorType() {
567 VectorType getVectorType() {
967 VectorType getVectorType() {
1559 VectorType getVectorType() {
1636 VectorType getVectorType() {
1694 VectorType getVectorType() {
1747 VectorType getVectorType() {
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DFoldSubViewOps.cpp177 transferReadOp, transferReadOp.getVectorType(), subViewOp.getSource(), in replaceOp()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h521 Type getVectorType(Type elementType, unsigned numElements,

12