Home
last modified time | relevance | path

Searched refs:VecType (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp152 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad()
292 auto *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
294 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
419 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedGather() local
420 Type *EltTy = VecType->getElementType(); in scalarizeMaskedGather()
432 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedGather()
640 Type *EltTy = VecType->getElementType(); in scalarizeMaskedExpandLoad()
649 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedExpandLoad()
659 VResult = UndefValue::get(VecType); in scalarizeMaskedExpandLoad()
775 Type *EltTy = VecType->getElementType(); in scalarizeMaskedCompressStore()
[all …]
H A DLowerMatrixIntrinsics.cpp154 auto *VecType = FixedVectorType::get(EltType, NumElements); in computeVectorAddr() local
155 Type *VecPtrType = PointerType::get(VecType, AS); in computeVectorAddr()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTX.h121 enum VecType { enum
H A DNVPTXISelDAGToDAG.cpp1042 unsigned VecType; in tryLoadVector() local
1046 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector()
1049 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector()
1089 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1116 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1165 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1214 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1908 unsigned VecType; in tryStoreVector() local
1912 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector()
1918 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp515 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
516 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
526 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
527 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
528 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
2375 VectorType *VecType = cast<VectorType>(VecOp->getType()); in canonicalizeBitCastExtElt() local
2377 auto *NewVecType = VectorType::get(DestType, VecType); in canonicalizeBitCastExtElt()
2384 auto *FixedVType = dyn_cast<FixedVectorType>(VecType); in canonicalizeBitCastExtElt()
H A DInstCombineVectorOps.cpp478 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst() local
479 ElementCount EC = VecType->getElementCount(); in visitExtractElementInst()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1195 FixedVectorType *VecType = in foldShuffleFromReductions() local
1197 if (!VecType) in foldShuffleFromReductions()
1213 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, VecType, in foldShuffleFromReductions()
1216 UsesSecondVec ? TTI::SK_PermuteTwoSrc : TTI::SK_PermuteSingleSrc, VecType, in foldShuffleFromReductions()
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DBitVectorTest.cpp861 template <typename VecType>
862 static inline VecType createBitVector(uint32_t Size, in createBitVector()
864 VecType V; in createBitVector()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5754 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local
5755 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
5757 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters()
5762 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
5764 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
5766 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
H A DSemaExpr.cpp9603 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local
9604 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints()
9606 if (VecType->getVectorKind() == VectorType::AltiVecVector) in CheckAssignmentConstraints()
10477 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands() local
10478 return FirstType->isSizelessBuiltinType() && VecType && in CheckVectorOperands()
10480 VecType->getVectorKind() == in CheckVectorOperands()
10542 QualType VecType = LHSVecType ? LHSType : RHSType; in CheckVectorOperands() local
10546 if (isLaxVectorConversion(OtherType, VecType)) { in CheckVectorOperands()
10554 *OtherExpr = ImpCastExprToType(OtherExpr->get(), VecType, CK_BitCast); in CheckVectorOperands()
10555 return VecType; in CheckVectorOperands()
[all …]
H A DSemaInit.cpp1807 QualType VecType; in CheckVectorType() local
1812 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1814 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1816 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2302 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local
2303 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE()
2304 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp4040 ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument
4044 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType()
4053 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
4055 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType()
4056 if (CanonVecTy == VecType) { in getDependentVectorType()
4058 *this, VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
4070 *this, VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp9309 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
9311 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp18995 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local
18997 EmitPointerWithAlignment(E->getArg(2)), VecType); in EmitHexagonBuiltinExpr()