Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp155 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad()
295 auto *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
297 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
422 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedGather() local
423 Type *EltTy = VecType->getElementType(); in scalarizeMaskedGather()
435 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedGather()
643 Type *EltTy = VecType->getElementType(); in scalarizeMaskedExpandLoad()
652 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedExpandLoad()
662 VResult = UndefValue::get(VecType); in scalarizeMaskedExpandLoad()
778 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h121 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-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp513 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
514 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
524 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
525 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
526 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
H A DInstCombineVectorOps.cpp454 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst() local
455 ElementCount EC = VecType->getElementCount(); in visitExtractElementInst()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5876 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local
5877 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
5879 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters()
5884 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
5886 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
5888 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
H A DSemaExpr.cpp9250 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local
9251 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints()
10106 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands() local
10107 return FirstType->isSizelessBuiltinType() && VecType && in CheckVectorOperands()
10108 (VecType->getVectorKind() == VectorType::SveFixedLengthDataVector || in CheckVectorOperands()
10109 VecType->getVectorKind() == in CheckVectorOperands()
10171 QualType VecType = LHSVecType ? LHSType : RHSType; in CheckVectorOperands() local
10175 if (isLaxVectorConversion(OtherType, VecType)) { in CheckVectorOperands()
10180 *OtherExpr = ImpCastExprToType(OtherExpr->get(), VecType, CK_BitCast); in CheckVectorOperands()
10181 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2025 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local
2026 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE()
2027 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp3954 ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument
3958 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType()
3967 *this, VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
3969 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType()
3970 if (CanonVecTy == VecType) { in getDependentVectorType()
3972 *this, VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
3984 *this, VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp8794 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
8796 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp18199 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local
18201 EmitPointerWithAlignment(E->getArg(2)), VecType->getPointerTo(0)); in EmitHexagonBuiltinExpr()