Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp151 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()
173 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedLoad()
243 PHINode *Phi = Builder.CreatePHI(VecType, 2, "res.phi.else"); in scalarizeMaskedLoad()
289 auto *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
291 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
308 unsigned VectorWidth = cast<FixedVectorType>(VecType)->getNumElements(); in scalarizeMaskedStore()
412 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedGather() local
413 Type *EltTy = VecType->getElementType(); in scalarizeMaskedGather()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h124 enum VecType { enum
H A DNVPTXISelDAGToDAG.cpp1097 unsigned VecType; in tryLoadVector() local
1101 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector()
1104 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector()
1142 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1167 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1212 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1257 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1878 unsigned VecType; in tryStoreVector() local
1882 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector()
1888 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp193 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu() local
194 ResType = VectorType::get(ResType, VecType->getElementCount()); in lowerPrintfForGpu()
H A DSIISelLowering.cpp11195 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
11197 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp416 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
417 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
427 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
428 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
429 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
2353 VectorType *VecType = cast<VectorType>(VecOp->getType()); in canonicalizeBitCastExtElt() local
2355 auto *NewVecType = VectorType::get(DestType, VecType); in canonicalizeBitCastExtElt()
2362 auto *FixedVType = dyn_cast<FixedVectorType>(VecType); in canonicalizeBitCastExtElt()
H A DInstCombineVectorOps.cpp508 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst() local
509 ElementCount EC = VecType->getElementCount(); in visitExtractElementInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp2069 FixedVectorType *VecType = in foldShuffleFromReductions() local
2071 if (!VecType) in foldShuffleFromReductions()
2087 bool IsTruncatingShuffle = VecType->getNumElements() < NumInputElts; in foldShuffleFromReductions()
2092 (UsesSecondVec && !IsTruncatingShuffle) ? VecType : ShuffleInputType; in foldShuffleFromReductions()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp6421 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local
6422 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
6424 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters()
6429 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
6431 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
6433 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
H A DSemaExpr.cpp9219 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local
9220 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints()
9223 (VecType->getVectorKind() == VectorKind::AltiVecVector || in CheckAssignmentConstraints()
9224 VecType->getVectorKind() == VectorKind::AltiVecBool || in CheckAssignmentConstraints()
9225 VecType->getVectorKind() == VectorKind::AltiVecPixel)) in CheckAssignmentConstraints()
10141 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands() local
10143 if (FirstType->isSizelessBuiltinType() && VecType) { in CheckVectorOperands()
10144 if (VecType->getVectorKind() == VectorKind::SveFixedLengthData || in CheckVectorOperands()
10145 VecType->getVectorKind() == VectorKind::SveFixedLengthPredicate) in CheckVectorOperands()
10147 if (VecType->getVectorKind() == VectorKind::RVVFixedLengthData || in CheckVectorOperands()
[all …]
H A DSemaInit.cpp1947 QualType VecType; in CheckVectorType() local
1952 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1954 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1956 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2304 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local
2305 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE()
2306 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4463 QualType ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument
4467 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType()
4476 VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
4478 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType()
4479 if (CanonVecTy == VecType) { in getDependentVectorType()
4481 DependentVectorType(VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
4493 DependentVectorType(VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp21755 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local
21757 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr()
21775 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local
21777 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr()