Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp153 Type *EltTy = VecType->getElementType(); in scalarizeMaskedLoad()
289 auto *VecType = cast<VectorType>(Src->getType()); in scalarizeMaskedStore() local
291 Type *EltTy = VecType->getElementType(); in scalarizeMaskedStore()
412 auto *VecType = cast<FixedVectorType>(CI->getType()); in scalarizeMaskedGather() local
413 Type *EltTy = VecType->getElementType(); in scalarizeMaskedGather()
425 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedGather()
633 Type *EltTy = VecType->getElementType(); in scalarizeMaskedExpandLoad()
642 unsigned VectorWidth = VecType->getNumElements(); in scalarizeMaskedExpandLoad()
652 VResult = PoisonValue::get(VecType); in scalarizeMaskedExpandLoad()
768 Type *EltTy = VecType->getElementType(); in scalarizeMaskedCompressStore()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h129 enum VecType { enum
H A DNVPTXISelDAGToDAG.cpp1071 unsigned VecType; in tryLoadVector() local
1075 VecType = NVPTX::PTXLdStInstCode::V2; in tryLoadVector()
1078 VecType = NVPTX::PTXLdStInstCode::V4; in tryLoadVector()
1116 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1141 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1186 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1231 getI32Imm(VecType, DL), getI32Imm(FromType, DL), in tryLoadVector()
1852 unsigned VecType; in tryStoreVector() local
1856 VecType = NVPTX::PTXLdStInstCode::V2; in tryStoreVector()
1862 VecType = NVPTX::PTXLdStInstCode::V4; in tryStoreVector()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp192 if (auto *VecType = dyn_cast<VectorType>(ArgType)) in lowerPrintfForGpu() local
193 ResType = VectorType::get(ResType, VecType->getElementCount()); in lowerPrintfForGpu()
H A DSIISelLowering.cpp11006 MVT VecType = MVT::getVectorVT(SimpleVT, 2); in LowerATOMIC_CMP_SWAP() local
11008 SDValue NewOld = DAG.getBuildVector(VecType, DL, {New, Old}); in LowerATOMIC_CMP_SWAP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp408 VectorType *VecType = cast<VectorType>(VecInput->getType()); in foldVecTruncToExtElt() local
409 unsigned VecWidth = VecType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt()
419 if (VecType->getElementType() != DestType) { in foldVecTruncToExtElt()
420 VecType = FixedVectorType::get(DestType, NumVecElts); in foldVecTruncToExtElt()
421 VecInput = IC.Builder.CreateBitCast(VecInput, VecType, "bc"); in foldVecTruncToExtElt()
2263 VectorType *VecType = cast<VectorType>(VecOp->getType()); in canonicalizeBitCastExtElt() local
2265 auto *NewVecType = VectorType::get(DestType, VecType); in canonicalizeBitCastExtElt()
2272 auto *FixedVType = dyn_cast<FixedVectorType>(VecType); in canonicalizeBitCastExtElt()
H A DInstCombineVectorOps.cpp501 auto *VecType = cast<VectorType>(GEP->getType()); in visitExtractElementInst() local
502 ElementCount EC = VecType->getElementCount(); in visitExtractElementInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp1481 FixedVectorType *VecType = in foldShuffleFromReductions() local
1483 if (!VecType) in foldShuffleFromReductions()
1499 bool IsTruncatingShuffle = VecType->getNumElements() < NumInputElts; in foldShuffleFromReductions()
1504 (UsesSecondVec && !IsTruncatingShuffle) ? VecType : ShuffleInputType; in foldShuffleFromReductions()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp6247 const auto *VecType = cast<DependentVectorType>(T); in MarkUsedTemplateParameters() local
6248 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
6250 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, Depth, in MarkUsedTemplateParameters()
6255 const DependentSizedExtVectorType *VecType in MarkUsedTemplateParameters() local
6257 MarkUsedTemplateParameters(Ctx, VecType->getElementType(), OnlyDeduced, in MarkUsedTemplateParameters()
6259 MarkUsedTemplateParameters(Ctx, VecType->getSizeExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
H A DSemaExpr.cpp10215 const VectorType *VecType = RHSType->getAs<VectorType>(); in CheckAssignmentConstraints() local
10216 if (VecType && VecType->getNumElements() == 1 && in CheckAssignmentConstraints()
10219 (VecType->getVectorKind() == VectorKind::AltiVecVector || in CheckAssignmentConstraints()
10220 VecType->getVectorKind() == VectorKind::AltiVecBool || in CheckAssignmentConstraints()
10221 VecType->getVectorKind() == VectorKind::AltiVecPixel)) in CheckAssignmentConstraints()
11139 const VectorType *VecType = SecondType->getAs<VectorType>(); in CheckVectorOperands() local
11141 if (FirstType->isSizelessBuiltinType() && VecType) { in CheckVectorOperands()
11236 QualType VecType = LHSVecType ? LHSType : RHSType; in CheckVectorOperands() local
11240 if (isLaxVectorConversion(OtherType, VecType)) { in CheckVectorOperands()
11250 return VecType; in CheckVectorOperands()
[all …]
H A DSemaInit.cpp1867 QualType VecType; in CheckVectorType() local
1872 VecType = SemaRef.Context.getExtVectorType(elementType, numIElts); in CheckVectorType()
1874 VecType = SemaRef.Context.getVectorType(elementType, numIElts, in CheckVectorType()
1876 CheckSubElementType(ElementEntity, IList, VecType, Index, in CheckVectorType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp2287 MVT VecType = Op.getOperand(0).getSimpleValueType(); in LowerVECTOR_SHUFFLE() local
2288 assert(VecType.is128BitVector() && "Unexpected shuffle vector type"); in LowerVECTOR_SHUFFLE()
2289 size_t LaneBytes = VecType.getVectorElementType().getSizeInBits() / 8; in LowerVECTOR_SHUFFLE()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4052 QualType ASTContext::getDependentVectorType(QualType VecType, Expr *SizeExpr, in getDependentVectorType() argument
4056 DependentVectorType::Profile(ID, *this, getCanonicalType(VecType), SizeExpr, in getDependentVectorType()
4065 VecType, QualType(Canon, 0), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
4067 QualType CanonVecTy = getCanonicalType(VecType); in getDependentVectorType()
4068 if (CanonVecTy == VecType) { in getDependentVectorType()
4070 DependentVectorType(VecType, QualType(), SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
4082 DependentVectorType(VecType, CanonTy, SizeExpr, AttrLoc, VecKind); in getDependentVectorType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp21001 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local
21003 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr()
21021 llvm::Type *VecType = ConvertType(E->getArg(0)->getType()); in EmitHexagonBuiltinExpr() local
21023 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr()