| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 154 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad() local 156 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad() 167 LoadInst *NewI = Builder.CreateAlignedLoad(VecType, Ptr, AlignVal); in scalarizeMaskedLoad() 178 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedLoad() 209 LoadInst *Load = Builder.CreateAlignedLoad(VecType, Ptr, AlignVal, in scalarizeMaskedLoad() 215 PHINode *Phi = Builder.CreatePHI(VecType, /*NumReservedValues=*/2); in scalarizeMaskedLoad() 280 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad() 327 auto *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local 329 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore() 348 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedStore() [all …]
|
| H A D | Scalarizer.cpp | 1081 Type *VecType = cast<FixedVectorType>(OpTy->getContainedType(0)); in visitExtractValueInst() local 1082 std::optional<VectorSplit> VS = getVectorSplit(VecType); in visitExtractValueInst()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | Hexagon.cpp | 171 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local 173 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr() 191 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local 193 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 186 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu() local 187 ResType = VectorType::get(ResType, VecType->getElementCount()); in lowerPrintfForGpu()
|
| H A D | SIISelLowering.cpp | 11888 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local 11890 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 426 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local 427 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 437 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt() 438 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 439 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt() 2420 VectorType *VecType = cast<VectorType>(VecOp->getType()); in canonicalizeBitCastExtElt() local 2422 auto *NewVecType = VectorType::get(DestType, VecType); in canonicalizeBitCastExtElt() 2429 auto *FixedVType = dyn_cast<FixedVectorType>(VecType); in canonicalizeBitCastExtElt()
|
| H A D | InstCombineVectorOps.cpp | 508 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst() local 509 ElementCount EC = VecType->getElementCount(); in visitExtractElementInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 1924 [[maybe_unused]] SPIRVType *VecType = in selectFloatDot() local 1927 assert(VecType->getOpcode() == SPIRV::OpTypeVector && in selectFloatDot() 1928 GR.getScalarOrVectorComponentCount(VecType) > 1 && in selectFloatDot() 1932 GR.getSPIRVTypeForVReg(VecType->getOperand(1).getReg()); in selectFloatDot() 1976 SPIRVType *VecType = GR.getSPIRVTypeForVReg(Vec0); in selectIntegerDotExpansion() local 1980 .addUse(GR.getSPIRVTypeID(VecType)) in selectIntegerDotExpansion() 1985 assert(VecType->getOpcode() == SPIRV::OpTypeVector && in selectIntegerDotExpansion() 1986 GR.getScalarOrVectorComponentCount(VecType) > 1 && in selectIntegerDotExpansion() 1997 for (unsigned i = 1; i < GR.getScalarOrVectorComponentCount(VecType); i++) { in selectIntegerDotExpansion() 2008 Register Sum = i < GR.getScalarOrVectorComponentCount(VecType) - 1 in selectIntegerDotExpansion()
|
| H A D | SPIRVBuiltins.cpp | 1273 SPIRVType *VecType = in generateGroupInst() local 1275 GR->assignSPIRVTypeToVReg(VecType, VecReg, MIRBuilder.getMF()); in generateGroupInst() 1282 insertAssignInstr(VecReg, nullptr, VecType, GR, MIRBuilder, in generateGroupInst()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 9383 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local 9384 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints() 9387 (VecType->getVectorKind() == VectorKind::AltiVecVector || in CheckAssignmentConstraints() 9388 VecType->getVectorKind() == VectorKind::AltiVecBool || in CheckAssignmentConstraints() 9389 VecType->getVectorKind() == VectorKind::AltiVecPixel)) in CheckAssignmentConstraints() 10348 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands() local 10350 if (FirstType->isSizelessBuiltinType() && VecType) { in CheckVectorOperands() 10351 if (VecType->getVectorKind() == VectorKind::SveFixedLengthData || in CheckVectorOperands() 10352 VecType->getVectorKind() == VectorKind::SveFixedLengthPredicate) in CheckVectorOperands() 10354 if (VecType->getVectorKind() == VectorKind::RVVFixedLengthData || in CheckVectorOperands() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 6810 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local 6811 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters() 6813 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters() 6818 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local 6820 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters() 6822 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
| H A D | SemaInit.cpp | 2022 QualType VecType; in CheckVectorType() local 2027 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType() 2029 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType() 2031 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 3026 FixedVectorType *VecType = in foldShuffleFromReductions() local 3028 if (!VecType) in foldShuffleFromReductions() 3045 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, VecType, in foldShuffleFromReductions() 3048 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, VecType, in foldShuffleFromReductions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2712 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local 2713 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE() 2714 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 4690 QualType ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument 4694 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType() 4703 VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4705 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType() 4706 if (CanonVecTy == VecType) { in getDependentVectorType() 4708 DependentVectorType(VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4720 DependentVectorType(VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
|