| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 151 VectorType *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedLoad() local 153 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad() 164 Value *NewI = Builder.CreateAlignedLoad(VecType, Ptr, AlignVal); in scalarizeMaskedLoad() 177 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedLoad() 247 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad() 293 auto *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local 295 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore() 316 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedStore() 420 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedGather() local 421 Type *EltTy = VecType->getElementType(); in scalarizeMaskedGather() [all …]
|
| H A D | LowerMatrixIntrinsics.cpp | 192 auto *VecType = FixedVectorType::get(EltType, NumElements); in computeVectorAddr() local 193 Type *VecPtrType = PointerType::get(VecType, AS); in computeVectorAddr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTX.h | 122 enum VecType { enum
|
| H A D | NVPTXISelDAGToDAG.cpp | 1060 unsigned VecType; in tryLoadVector() local 1064 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector() 1067 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector() 1107 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector() 1134 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector() 1183 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector() 1232 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector() 1913 unsigned VecType; in tryStoreVector() local 1917 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector() 1923 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 225 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu() local 226 ResType = VectorType::get(ResType, VecType->getElementCount()); in lowerPrintfForGpu()
|
| H A D | SIISelLowering.cpp | 9388 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local 9390 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 544 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local 545 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() 555 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt() 556 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt() 557 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt() 2374 VectorType *VecType = cast<VectorType>(VecOp->getType()); in canonicalizeBitCastExtElt() local 2376 auto *NewVecType = VectorType::get(DestType, VecType); in canonicalizeBitCastExtElt() 2383 auto *FixedVType = dyn_cast<FixedVectorType>(VecType); in canonicalizeBitCastExtElt()
|
| H A D | InstCombineVectorOps.cpp | 498 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst() local 499 ElementCount EC = VecType->getElementCount(); in visitExtractElementInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | VectorCombine.cpp | 1338 FixedVectorType *VecType = in foldShuffleFromReductions() local 1340 if (!VecType) in foldShuffleFromReductions() 1356 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, VecType, in foldShuffleFromReductions() 1359 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, VecType, in foldShuffleFromReductions()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 5979 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local 5980 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters() 5982 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters() 5987 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local 5989 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters() 5991 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
| H A D | SemaExpr.cpp | 9857 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local 9858 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints() 9860 if (VecType->getVectorKind() == VectorType::AltiVecVector) in CheckAssignmentConstraints() 10738 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands() local 10739 return FirstType->isSizelessBuiltinType() && VecType && in CheckVectorOperands() 10740 (VecType->getVectorKind() == VectorType::SveFixedLengthDataVector || in CheckVectorOperands() 10741 VecType->getVectorKind() == in CheckVectorOperands() 10803 QualType VecType = LHSVecType ? LHSType : RHSType; in CheckVectorOperands() local 10807 if (isLaxVectorConversion(OtherType, VecType)) { in CheckVectorOperands() 10815 *OtherExpr = ImpCastExprToType(OtherExpr->get(), VecType, CK_BitCast); in CheckVectorOperands() [all …]
|
| H A D | SemaInit.cpp | 1821 QualType VecType; in CheckVectorType() local 1826 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType() 1828 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType() 1830 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 2195 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local 2196 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE() 2197 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTContext.cpp | 4074 ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument 4078 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType() 4087 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4089 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType() 4090 if (CanonVecTy == VecType) { in getDependentVectorType() 4092 *this, VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType() 4104 *this, VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 19352 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local 19354 EmitPointerWithAlignment(E->getArg(2)), VecType); in EmitHexagonBuiltinExpr() 19372 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local 19374 EmitPointerWithAlignment(E->getArg(2)), VecType); in EmitHexagonBuiltinExpr()
|