Home
last modified time | relevance | path

Searched defs:vectorType (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Conversion/MathToSPIRV/
H A DMathToSPIRV.cpp35 if (auto vectorType = type.dyn_cast<VectorType>()) { in getScalarOrVectorI32Constant() local
72 } else if (auto vectorType = copySignOp.getType().dyn_cast<VectorType>()) { in matchAndRewrite() local
88 if (auto vectorType = copySignOp.getType().dyn_cast<VectorType>()) { in matchAndRewrite() local
139 if (auto vectorType = type.dyn_cast<VectorType>()) in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/MathToLLVM/
H A DMathToLLVM.cpp70 auto vectorType = resultType.template dyn_cast<VectorType>(); in matchAndRewrite() local
122 auto vectorType = resultType.dyn_cast<VectorType>(); in matchAndRewrite() local
176 auto vectorType = resultType.dyn_cast<VectorType>(); in matchAndRewrite() local
229 auto vectorType = resultType.dyn_cast<VectorType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp92 if (auto vectorType = type.dyn_cast<VectorType>()) in decorateType() local
101 Type VulkanLayoutUtils::decorateType(VectorType vectorType, in decorateType()
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/
H A DUniformSupport.cpp41 if (auto vectorType = inputType.dyn_cast<VectorType>()) in convert() local
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DQuantOps.cpp62 if (auto vectorType = expressed.dyn_cast<VectorType>()) in isValidQuantizationSpec() local
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferOpTransforms.cpp266 VectorType vectorType = vector.getType().cast<VectorType>(); in matchAndRewrite() local
309 VectorType vectorType = vector.getType().cast<VectorType>(); in matchAndRewrite() local
421 VectorType vectorType = vector.getType().cast<VectorType>(); in matchAndRewrite() local
479 VectorType vectorType = vector.getType().cast<VectorType>(); in matchAndRewrite() local
H A DVectorInsertExtractStridedSliceRewritePatterns.cpp23 auto vectorType = into.getType().cast<VectorType>(); in insertOne() local
34 auto vectorType = vector.getType().cast<VectorType>(); in extractOne() local
H A DVectorDistribute.cpp56 auto vectorType = val.getType().cast<VectorType>(); in rewriteWarpOpToScfFor() local
877 auto vectorType = reductionOp.getVector().getType().cast<VectorType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DNvGpuSupport.h32 VectorType vectorType; member
H A DVectorToGPU.cpp457 VectorType vectorType = getMmaSyncVectorOperandType(*regInfo); in convertConstantOpMmaSync() local
500 VectorType vectorType = getMmaSyncVectorOperandType(*regInfo); in creatLdMatrixCompatibleLoads() local
533 VectorType vectorType = getMmaSyncVectorOperandType(*regInfo); in createNonLdMatrixLoads() local
647 VectorType vectorType = getMmaSyncVectorOperandType(*regInfo); in convertTransferWriteToStores() local
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/
H A DArithmeticToLLVM.cpp178 auto vectorType = resultType.dyn_cast<VectorType>(); in matchAndRewrite() local
213 auto vectorType = resultType.dyn_cast<VectorType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/unittests/IR/
H A DShapedTypeTest.cpp117 ShapedType vectorType = in TEST() local
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp559 auto vectorType = shuffleOp.getVectorType(); in matchAndRewrite() local
616 auto vectorType = extractEltOp.getVectorType(); in matchAndRewrite() local
649 auto vectorType = extractOp.getVectorType(); in matchAndRewrite() local
735 auto vectorType = insertEltOp.getDestVectorType(); in matchAndRewrite() local
1052 VectorType vectorType = printType.dyn_cast<VectorType>(); in matchAndRewrite() local
1121 VectorType vectorType = type.dyn_cast<VectorType>(); in emitRanks() local
1200 auto vectorType = typeConverter->convertType(splatOp.getType()); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DVectorPattern.cpp19 LLVM::detail::extractNDVectorTypeInfo(VectorType vectorType, in extractNDVectorTypeInfo()
H A DTypeConverter.cpp416 Type vectorType = VectorType::get(type.getShape().back(), elementType, in convertVectorType() local
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp792 auto vectorType = resType.dyn_cast<VectorType>(); in verify() local
965 VectorType vectorType = getVectorType(); in verify() local
1041 auto vectorType = l.front().dyn_cast<VectorType>(); in isCompatibleReturnTypes() local
1739 auto vectorType = getVectorType(); in fold() local
2991 VectorType vectorType = types[1].dyn_cast<VectorType>(); in parse() local
3028 VectorType vectorType = getVectorType(); in verify() local
3417 auto vectorType = vector.getType().cast<VectorType>(); in build() local
3444 VectorType vectorType = types[0].dyn_cast<VectorType>(); in parse() local
3487 VectorType vectorType = getVectorType(); in verify() local
4517 VectorType vectorType = in build() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypeSyntax.cpp160 if (auto vectorType = type.dyn_cast<LLVMFixedVectorType>()) in printType() local
163 if (auto vectorType = type.dyn_cast<LLVMScalableVectorType>()) { in printType() local
H A DLLVMDialect.cpp561 if (auto vectorType = type.dyn_cast<VectorType>()) in extractVectorElementType() local
1353 auto vectorType = vector.getType(); in build() local
1389 Type vectorType = getVector().getType(); in verify() local
1592 Type vectorType, positionType; in parse() local
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DUnifyAliasedResourcePass.cpp87 if (auto vectorType = type.dyn_cast<VectorType>()) { in deduceCanonicalResource() local
466 auto vectorType = VectorType::get({ratio}, dstElemType); in matchAndRewrite() local
H A DSPIRVConversion.cpp514 addConversion([this](VectorType vectorType) { in SPIRVTypeConverter()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp90 if (auto vectorType = type.dyn_cast<VectorType>()) in classof() local
129 if (auto vectorType = dyn_cast<VectorType>()) in getNumElements() local
185 if (auto vectorType = dyn_cast<VectorType>()) { in getSizeInBytes() local
657 if (auto vectorType = type.dyn_cast<VectorType>()) in classof() local
1130 if (auto vectorType = columnType.dyn_cast<VectorType>()) { in isValidColumnType() local
H A DSPIRVOps.cpp430 if (auto vectorType = operandType.dyn_cast<VectorType>()) { in verifyCastOp() local
676 if (auto vectorType = type.dyn_cast<VectorType>()) { in getBitWidth() local
1914 if (auto vectorType = type.dyn_cast<VectorType>()) { in getZero() local
1947 if (auto vectorType = type.dyn_cast<VectorType>()) { in getOne() local
4235 if (auto vectorType = type.dyn_cast<VectorType>()) in verify() local
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/
H A DArithmeticToSPIRV.cpp694 if (auto vectorType = dstType.dyn_cast<VectorType>()) in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp142 auto vectorType = VectorType::get(numElements, toBroadcast.getType()); in broadcast() local
159 if (auto vectorType = srcType.dyn_cast<VectorType>()) { in optionallyBroadcast() local
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DSuperVectorize.cpp1170 auto vectorType = VectorType::get(state.strategy->vectorSizes, elementType); in vectorizeAffineLoad() local

12