Searched refs:VectorType (Results 76 - 100 of 182) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp292 if (auto *VTy = dyn_cast<VectorType>(V->getType())) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp145 auto *VecTy = cast<VectorType>(Ext0->getOperand(0)->getType());
371 auto *DestTy = dyn_cast<VectorType>(I.getType());
372 auto *SrcTy = cast<VectorType>(V->getType());
H A DLoopVectorizationLegality.cpp748 if ((!VectorType::isValidElementType(I.getType()) &&
760 if (!VectorType::isValidElementType(T)) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp391 isa<VectorType>(LI->getType()))
411 isa<VectorType>(SI->getValueOperand()->getType()))
439 if (VectorType::isValidElementType(ArrayTy->getElementType()) &&
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp543 int SystemZTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, VectorType *Tp,
544 int Index, VectorType *SubTp) {
1117 assert(isa<VectorType>(VecTy) &&
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp4563 static llvm::VectorType *GetNeonType(CodeGenFunction *CGF,
4604 static llvm::VectorType *GetFloatNeonType(CodeGenFunction *CGF,
4626 ElementCount EC = cast<llvm::VectorType>(V->getType())->getElementCount();
4661 llvm::VectorType *VTy = cast<llvm::VectorType>(Ty);
5581 Ops[j], cast<llvm::VectorType>(ArgTy)->getElementType());
5614 llvm::VectorType *VTy = GetNeonType(this, Type, HasLegalHalfType, false,
5656 llvm::VectorType *SrcTy =
5657 llvm::VectorType::getExtendedElementVectorType(VTy);
5929 llvm::Type *DTy =llvm::VectorType
[all...]
H A DCodeGenTypes.cpp670 const VectorType *VT = cast<VectorType>(Ty);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h196 mutable llvm::FoldingSet<VectorType> VectorTypes;
1325 /// \pre \p VectorType must be a built-in type.
1326 QualType getVectorType(QualType VectorType, unsigned NumElts,
1327 VectorType::VectorKind VecKind) const;
1330 QualType getDependentVectorType(QualType VectorType, Expr *SizeExpr,
1332 VectorType::VectorKind VecKind) const;
1337 /// \pre \p VectorType must be a built-in type.
1338 QualType getExtVectorType(QualType VectorType, unsigned NumElts) const;
1345 QualType getDependentSizedExtVectorType(QualType VectorType,
H A DJSONNodeDumper.h216 void VisitVectorType(const VectorType *VT);
H A DTextNodeDumper.h304 void VisitVectorType(const VectorType *T);
H A DType.h1666 friend class VectorType;
3234 class VectorType : public Type, public llvm::FoldingSetNode { class in namespace:clang
3262 VectorType(QualType vecType, unsigned nElements, QualType canonType,
3265 VectorType(TypeClass tc, QualType vecType, unsigned nElements,
3317 SourceLocation Loc, VectorType::VectorKind vecKind);
3323 VectorType::VectorKind getVectorKind() const {
3324 return VectorType::VectorKind(VectorTypeBits.VecKind);
3340 VectorType::VectorKind VecKind);
3349 class ExtVectorType : public VectorType {
3353 : VectorType(ExtVecto
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1077 if (auto *PtrVTy = dyn_cast<VectorType>(Ptr->getType())) {
1079 return VectorType::get(PtrTy, EltCount);
1082 if (auto *IndexVTy = dyn_cast<VectorType>(Index->getType())) {
1084 return VectorType::get(PtrTy, EltCount);
1823 /// element from a VectorType value
1859 VectorType *getVectorOperandType() const {
1860 return cast<VectorType>(getVectorOperand()->getType());
1887 /// element into a VectorType value
1922 VectorType *getType() const {
1923 return cast<VectorType>(Instructio
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp2542 if (const VectorType *vecTy = DestType->getAs<VectorType>())
2543 if (vecTy->getVectorKind() == VectorType::AltiVecVector
2794 if (const VectorType *DestVecTy = DestType->getAs<VectorType>()) {
2795 if (DestVecTy->getVectorKind() == VectorType::AltiVecVector &&
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h278 VectorType, member in class:llvm::pdb::PDB_Checksum::PDB_SymType
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp776 if (VectorType *VT = dyn_cast<VectorType>(X->getType()))
811 if (VectorType *VT = dyn_cast<VectorType>(X->getType()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp131 if (isa<VectorType>(I.getType()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp291 if (isa<VectorType>(U->getType()))
H A DARMISelLowering.h50 class VectorType;
661 unsigned getNumInterleavedAccesses(VectorType *VecTy,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp111 if (auto *VTy = dyn_cast<VectorType>(C->getType())) {
141 auto *DestVTy = dyn_cast<VectorType>(DestTy);
158 unsigned NumSrcElt = cast<VectorType>(C->getType())->getNumElements();
162 Type *SrcEltTy = cast<VectorType>(C->getType())->getElementType();
222 cast<VectorType>(C->getType())->getElementType());
492 NumElts = cast<VectorType>(C->getType())->getNumElements();
493 EltTy = cast<VectorType>(C->getType())->getElementType();
2706 VectorType *VTy,
2801 if (auto *VTy = dyn_cast<VectorType>(Ty))
H A DLint.cpp554 VectorType *VecTy = dyn_cast<VectorType>(V->getType());
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp1924 const auto *VT = cast<VectorType>(T);
3751 /// type of the specified element type and size. VectorType must be a built-in
3778 /// the specified element type and size. VectorType must be a built-in type.
3780 VectorType::VectorKind VecKind) const {
3785 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind);
3788 if (VectorType *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))
3798 VectorType *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);
3802 VectorType(vecType, NumElts, Canonical, VecKind);
3811 VectorType::VectorKind VecKind) const {
3848 /// the specified element type and size. VectorType mus
[all...]
H A DPrintfFormatString.cpp732 const VectorType *VT = QT->getAs<VectorType>();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp943 int X86TTIImpl::getShuffleCost(TTI::ShuffleKind Kind, VectorType *BaseTp,
944 int Index, VectorType *SubTp) {
2893 auto *SubTy = cast<VectorType>(Val);
2911 unsigned X86TTIImpl::getScalarizationOverhead(VectorType *Ty,
3120 int X86TTIImpl::getArithmeticReductionCost(unsigned Opcode, VectorType *ValTy,
3484 int X86TTIImpl::getMinMaxReductionCost(VectorType *ValTy, VectorType *CondTy,
3624 VectorType *ShufTy;
3855 assert(isa<VectorType>(SrcVTy) && "Unexpected type in getGSVectorCost");
3877 if (auto *IndexVTy = dyn_cast<VectorType>(IndxT
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h719 bool isLegalInterleavedAccessType(VectorType *VecTy,
724 unsigned getNumInterleavedAccesses(VectorType *VecTy,
H A DAArch64StackTagging.cpp263 if (VectorType *VecTy = dyn_cast<VectorType>(V->getType())) {

Completed in 587 milliseconds

12345678