Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DScalarizeMaskedMemIntrin.cpp134 VectorType *VecType = cast<VectorType>(CI->getType()); in scalarizeMaskedLoad() local
136 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad()
159 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedLoad()
217 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad()
260 VectorType *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
262 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
283 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedStore()
369 VectorType *VecType = cast<VectorType>(CI->getType()); in scalarizeMaskedGather() local
381 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedGather()
436 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedGather()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTX.h113 enum VecType { enum
H A DNVPTXISelDAGToDAG.cpp1046 unsigned VecType; in tryLoadVector() local
1050 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector()
1053 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector()
1093 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1120 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1169 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1218 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1912 unsigned VecType; in tryStoreVector() local
1916 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector()
1922 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp471 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
472 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
482 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
483 VecType = VectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
484 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1126 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local
1127 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE()
1128 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5376 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local
5377 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
5379 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters()
5384 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
5386 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
5388 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
H A DSemaInit.cpp1659 QualType VecType; in CheckVectorType() local
1664 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1666 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1668 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
H A DSemaExpr.cpp7910 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local
7911 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints()
8767 QualType VecType = LHSVecType ? LHSType : RHSType; in CheckVectorOperands() local
8771 if (isLaxVectorConversion(OtherType, VecType)) { in CheckVectorOperands()
8776 *OtherExpr = ImpCastExprToType(OtherExpr->get(), VecType, CK_BitCast); in CheckVectorOperands()
8777 return VecType; in CheckVectorOperands()
8787 return VecType; in CheckVectorOperands()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp3415 ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument
3419 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType()
3428 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
3430 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType()
3431 if (CanonVecTy == VecType) { in getDependentVectorType()
3433 *this, VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
3445 *this, VecType, Canon, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp1058 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_SUBVECTOR() local
1059 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_SUBVECTOR()
1257 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); in SplitVecRes_INSERT_VECTOR_ELT() local
1258 unsigned Alignment = DAG.getDataLayout().getPrefTypeAlignment(VecType); in SplitVecRes_INSERT_VECTOR_ELT()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp7026 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
7028 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()