|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
tools/clang/include/clang/AST/Type.h 3325 class ExtVectorType : public VectorType {
Declarations
gen/tools/clang/include/clang/AST/TypeNodes.inc 73 TYPE(Vector, Type)
References
include/llvm/ADT/FoldingSet.h 221 static void Profile(const T &X, FoldingSetNodeID &ID) {
224 static void Profile(T &X, FoldingSetNodeID &ID) {
232 static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
240 static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
250 : public DefaultFoldingSetTrait<T> {};
369 FoldingSetTrait<T>::Profile(X, TempID);
375 FoldingSetTrait<T>::Profile(X, TempID);
410 using iterator = FoldingSetIterator<T>;
415 using const_iterator = FoldingSetIterator<const T>;
420 using bucket_iterator = FoldingSetBucketIterator<T>;
432 bool RemoveNode(T *N) { return FoldingSetBase::RemoveNode(N); }
437 T *GetOrInsertNode(T *N) {
437 T *GetOrInsertNode(T *N) {
444 T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
451 void InsertNode(T *N, void *InsertPos) {
457 void InsertNode(T *N) {
473 template <class T> class FoldingSet final : public FoldingSetImpl<T> {
474 using Super = FoldingSetImpl<T>;
480 T *TN = static_cast<T *>(N);
481 FoldingSetTrait<T>::Profile(*TN, ID);
488 T *TN = static_cast<T *>(N);
489 return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID);
495 T *TN = static_cast<T *>(N);
496 return FoldingSetTrait<T>::ComputeHash(*TN, TempID);
include/llvm/Support/Casting.h 57 static inline bool doit(const From &Val) {
58 return To::classof(&Val);
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
218 static typename cast_retty<To, From>::ret_type doit(From &Val) {
219 return cast_convert_val<To, SimpleFrom,
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
248 typename cast_retty<X, const Y>::ret_type>::type
252 X, const Y, typename simplify_type<const Y>::SimpleType>::doit(Val);
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
258 return cast_convert_val<X, Y,
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
331 typename cast_retty<X, const Y>::ret_type>::type
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
333 return isa<X>(Val) ? cast<X>(Val) : nullptr;
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
338 return isa<X>(Val) ? cast<X>(Val) : nullptr;
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTContext.h 197 mutable llvm::FoldingSet<VectorType> VectorTypes;
1352 VectorType::VectorKind VecKind) const;
1357 VectorType::VectorKind VecKind) const;
tools/clang/include/clang/AST/ASTNodeTraverser.h 302 void VisitVectorType(const VectorType *T) { Visit(T->getElementType()); }
tools/clang/include/clang/AST/CanonicalType.h 83 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
83 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
87 const T *getTypePtrOrNull() const {
126 CanProxy<T> operator->() const;
157 CanQual<T> getUnqualifiedType() const;
167 bool isMoreQualifiedThan(CanQual<T> Other) const {
173 bool isAtLeastAsQualifiedAs(CanQual<T> Other) const {
185 static CanQual<T> getFromOpaquePtr(void *Ptr);
192 static CanQual<T> CreateUnsafe(QualType Other);
241 CanQual<T> Stored;
245 const T *getTypePtr() const { return Stored.getTypePtr(); }
254 operator const T*() const { return this->Stored.getTypePtrOrNull(); }
321 const CanProxyAdaptor<T> *operator->() const {
473 struct CanProxyAdaptor<VectorType> : public CanProxyBase<VectorType> {
tools/clang/include/clang/AST/JSONNodeDumper.h 209 void VisitVectorType(const VectorType *VT);
tools/clang/include/clang/AST/RecursiveASTVisitor.h 999 DEF_TRAVERSE_TYPE(VectorType, { TRY_TO(TraverseType(T->getElementType())); })
1221 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
tools/clang/include/clang/AST/TextNodeDumper.h 283 void VisitVectorType(const VectorType *T);
tools/clang/include/clang/AST/Type.h 3293 SourceLocation Loc, VectorType::VectorKind vecKind);
3299 VectorType::VectorKind getVectorKind() const {
3316 VectorType::VectorKind VecKind);
3325 class ExtVectorType : public VectorType {
6484 return isa<VectorType>(CanonicalType);
6858 template <typename T> const T *Type::getAs() const {
6859 static_assert(!TypeIsArrayType<T>::value,
6863 if (const auto *Ty = dyn_cast<T>(this))
6863 if (const auto *Ty = dyn_cast<T>(this))
6867 if (!isa<T>(CanonicalType))
6872 return cast<T>(getUnqualifiedDesugaredType());
6923 template <typename T> const T *Type::castAs() const {
6924 static_assert(!TypeIsArrayType<T>::value,
6927 if (const auto *ty = dyn_cast<T>(this)) return ty;
6927 if (const auto *ty = dyn_cast<T>(this)) return ty;
6929 return cast<T>(getUnqualifiedDesugaredType());
tools/clang/include/clang/AST/TypeLoc.h 486 return TypeClass::classof(Ty);
498 const TypeClass *getTypePtr() const {
499 return cast<TypeClass>(Base::getTypePtr());
1764 VectorType> {
tools/clang/lib/AST/APValue.cpp 496 QualType ElemTy = Ty->castAs<VectorType>()->getElementType();
tools/clang/lib/AST/ASTContext.cpp 1844 const auto *VT = cast<VectorType>(T);
1844 const auto *VT = cast<VectorType>(T);
3494 VectorType::VectorKind VecKind) const {
3499 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind);
3502 if (VectorType *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))
3512 VectorType *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);
3515 auto *New = new (*this, TypeAlignment)
3516 VectorType(vecType, NumElts, Canonical, VecKind);
3525 VectorType::VectorKind VecKind) const {
3569 VectorType::Profile(ID, vecType, NumElts, Type::ExtVector,
3570 VectorType::GenericVector);
3572 if (VectorType *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))
3582 VectorType *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);
7936 static bool areCompatVectorTypes(const VectorType *LHS,
7937 const VectorType *RHS) {
7953 const auto *First = FirstVec->castAs<VectorType>();
7953 const auto *First = FirstVec->castAs<VectorType>();
7954 const auto *Second = SecondVec->castAs<VectorType>();
7954 const auto *Second = SecondVec->castAs<VectorType>();
7957 First->getVectorKind() != VectorType::AltiVecPixel &&
7958 First->getVectorKind() != VectorType::AltiVecBool &&
7959 Second->getVectorKind() != VectorType::AltiVecPixel &&
7960 Second->getVectorKind() != VectorType::AltiVecBool)
9135 if (areCompatVectorTypes(LHSCan->castAs<VectorType>(),
9136 RHSCan->castAs<VectorType>()))
9313 if (const auto *VTy = T->getAs<VectorType>())
9313 if (const auto *VTy = T->getAs<VectorType>())
9592 VectorType::GenericVector);
tools/clang/lib/AST/ASTDiagnostic.cpp 166 if (isa<VectorType>(Underlying))
304 const VectorType *VTy = Ty->getAs<VectorType>();
304 const VectorType *VTy = Ty->getAs<VectorType>();
tools/clang/lib/AST/ASTImporter.cpp 323 ExpectedType VisitVectorType(const VectorType *T);
1158 ExpectedType ASTNodeImporter::VisitVectorType(const VectorType *T) {
tools/clang/lib/AST/ASTStructuralEquivalence.cpp 614 const auto *Vec1 = cast<VectorType>(T1);
614 const auto *Vec1 = cast<VectorType>(T1);
615 const auto *Vec2 = cast<VectorType>(T2);
615 const auto *Vec2 = cast<VectorType>(T2);
tools/clang/lib/AST/DeclPrinter.cpp 155 else if (const VectorType *VTy = BaseType->getAs<VectorType>())
155 else if (const VectorType *VTy = BaseType->getAs<VectorType>())
tools/clang/lib/AST/Expr.cpp 4039 if (const VectorType *VT = getType()->getAs<VectorType>())
4039 if (const VectorType *VT = getType()->getAs<VectorType>())
tools/clang/lib/AST/ExprConstant.cpp 2426 QualType EltTy = VecTy->castAs<VectorType>()->getElementType();
9260 const VectorType *VTy = E->getType()->castAs<VectorType>();
9260 const VectorType *VTy = E->getType()->castAs<VectorType>();
9331 const VectorType *VT = E->getType()->castAs<VectorType>();
9331 const VectorType *VT = E->getType()->castAs<VectorType>();
9380 const auto *VT = E->getType()->castAs<VectorType>();
9380 const auto *VT = E->getType()->castAs<VectorType>();
11915 unsigned n = Ty->castAs<VectorType>()->getNumElements();
tools/clang/lib/AST/ItaniumMangle.cpp 528 void mangleNeonVectorType(const VectorType *T);
530 void mangleAArch64NeonVectorType(const VectorType *T);
3045 void CXXNameMangler::mangleNeonVectorType(const VectorType *T) {
3049 if (T->getVectorKind() == VectorType::NeonPolyVector) {
3136 void CXXNameMangler::mangleAArch64NeonVectorType(const VectorType *T) {
3147 if (T->getVectorKind() == VectorType::NeonPolyVector) {
3185 void CXXNameMangler::mangleType(const VectorType *T) {
3186 if ((T->getVectorKind() == VectorType::NeonVector ||
3187 T->getVectorKind() == VectorType::NeonPolyVector)) {
3199 if (T->getVectorKind() == VectorType::AltiVecPixel)
3201 else if (T->getVectorKind() == VectorType::AltiVecBool)
3208 if ((T->getVectorKind() == VectorType::NeonVector ||
3209 T->getVectorKind() == VectorType::NeonPolyVector)) {
3224 if (T->getVectorKind() == VectorType::AltiVecPixel)
3226 else if (T->getVectorKind() == VectorType::AltiVecBool)
tools/clang/lib/AST/JSONNodeDumper.cpp 584 void JSONNodeDumper::VisitVectorType(const VectorType *VT) {
587 case VectorType::GenericVector:
589 case VectorType::AltiVecVector:
592 case VectorType::AltiVecPixel:
595 case VectorType::AltiVecBool:
598 case VectorType::NeonVector:
601 case VectorType::NeonPolyVector:
tools/clang/lib/AST/MicrosoftMangle.cpp 2686 void MicrosoftCXXNameMangler::mangleType(const VectorType *T, Qualifiers Quals,
tools/clang/lib/AST/ODRHash.cpp 1094 void VisitVectorType(const VectorType *T) {
tools/clang/lib/AST/PrintfFormatString.cpp 731 const VectorType *VT = QT->getAs<VectorType>();
731 const VectorType *VT = QT->getAs<VectorType>();
tools/clang/lib/AST/TextNodeDumper.cpp 1108 void TextNodeDumper::VisitVectorType(const VectorType *T) {
1110 case VectorType::GenericVector:
1112 case VectorType::AltiVecVector:
1115 case VectorType::AltiVecPixel:
1118 case VectorType::AltiVecBool:
1121 case VectorType::NeonVector:
1124 case VectorType::NeonPolyVector:
tools/clang/lib/AST/Type.cpp 222 Expr *SizeExpr, SourceLocation Loc, VectorType::VectorKind VecKind)
235 VectorType::VectorKind VecKind) {
933 QualType VisitVectorType(const VectorType *T) {
1769 Type *VisitVectorType(const VectorType *T) {
1817 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
1817 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
1958 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
1958 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
1998 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
1998 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
2014 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
2014 if (const auto *VT = dyn_cast<VectorType>(CanonicalType))
3686 return Cache::get(cast<VectorType>(T)->getElementType());
3771 return computeTypeLinkageInfo(cast<VectorType>(T)->getElementType());
tools/clang/lib/AST/TypePrinter.cpp 620 void TypePrinter::printVectorBefore(const VectorType *T, raw_ostream &OS) {
622 case VectorType::AltiVecPixel:
625 case VectorType::AltiVecBool:
629 case VectorType::AltiVecVector:
633 case VectorType::NeonVector:
638 case VectorType::NeonPolyVector:
643 case VectorType::GenericVector: {
657 void TypePrinter::printVectorAfter(const VectorType *T, raw_ostream &OS) {
664 case VectorType::AltiVecPixel:
667 case VectorType::AltiVecBool:
671 case VectorType::AltiVecVector:
675 case VectorType::NeonVector:
682 case VectorType::NeonPolyVector:
689 case VectorType::GenericVector: {
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGAtomic.cpp 111 ValueTy = lvalue.getType()->castAs<VectorType>()->getElementType();
tools/clang/lib/CodeGen/CGDebugInfo.cpp 2608 llvm::DIType *CGDebugInfo::CreateType(const VectorType *Ty,
3015 return CreateType(cast<VectorType>(Ty), Unit);
tools/clang/lib/CodeGen/CGDebugInfo.h 178 llvm::DIType *CreateType(const VectorType *Ty, llvm::DIFile *F);
tools/clang/lib/CodeGen/CGExpr.cpp 930 if (const VectorType *VT = Base->getType()->getAs<VectorType>()) {
930 if (const VectorType *VT = Base->getType()->getAs<VectorType>()) {
1860 const VectorType *ExprVT = LV.getType()->getAs<VectorType>();
1860 const VectorType *ExprVT = LV.getType()->getAs<VectorType>();
1883 const VectorType *ExprVT = LV.getType()->getAs<VectorType>();
1883 const VectorType *ExprVT = LV.getType()->getAs<VectorType>();
2101 if (const VectorType *VTy = Dst.getType()->getAs<VectorType>()) {
2101 if (const VectorType *VTy = Dst.getType()->getAs<VectorType>()) {
3498 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType();
tools/clang/lib/CodeGen/CGExprScalar.cpp 1667 QualType SrcEltType = SrcType->castAs<VectorType>()->getElementType(),
1668 DstEltType = DstType->castAs<VectorType>()->getElementType();
3757 QualType ElTy = LHSTy->castAs<VectorType>()->getElementType();
tools/clang/lib/CodeGen/CodeGenTypes.cpp 607 const VectorType *VT = cast<VectorType>(Ty);
607 const VectorType *VT = cast<VectorType>(Ty);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 820 if (isa<VectorType>(type)) {
tools/clang/lib/CodeGen/TargetInfo.cpp 962 } else if (const VectorType *VT = Ty->getAs<VectorType>()) {
962 } else if (const VectorType *VT = Ty->getAs<VectorType>()) {
1393 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
1393 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
1465 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128;
1708 if (const VectorType *VT = Ty->getAs<VectorType>()) {
1708 if (const VectorType *VT = Ty->getAs<VectorType>()) {
2634 if (const VectorType *VT = Ty->getAs<VectorType>()) {
2634 if (const VectorType *VT = Ty->getAs<VectorType>()) {
2919 if (const VectorType *VecTy = Ty->getAs<VectorType>()) {
2919 if (const VectorType *VecTy = Ty->getAs<VectorType>()) {
4398 if (const VectorType *VT = Ty->getAs<VectorType>()) {
4398 if (const VectorType *VT = Ty->getAs<VectorType>()) {
4679 if (const VectorType *VT = Base->getAs<VectorType>()) {
4679 if (const VectorType *VT = Base->getAs<VectorType>()) {
4710 if (const VectorType *VT = Ty->getAs<VectorType>()) {
4710 if (const VectorType *VT = Ty->getAs<VectorType>()) {
5255 if (const VectorType *VT = Ty->getAs<VectorType>()) {
5255 if (const VectorType *VT = Ty->getAs<VectorType>()) {
5286 } else if (const VectorType *VT = Ty->getAs<VectorType>()) {
5286 } else if (const VectorType *VT = Ty->getAs<VectorType>()) {
5846 if (const VectorType *VT = Base->getAs<VectorType>()) {
5846 if (const VectorType *VT = Base->getAs<VectorType>()) {
6074 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
6074 if (const VectorType *VT = RetTy->getAs<VectorType>()) {
6177 if (const VectorType *VT = Ty->getAs<VectorType> ()) {
6177 if (const VectorType *VT = Ty->getAs<VectorType> ()) {
6233 if (const VectorType *VT = Ty->getAs<VectorType>())
6233 if (const VectorType *VT = Ty->getAs<VectorType>())
6262 } else if (const VectorType *VT = Ty->getAs<VectorType>()) {
6262 } else if (const VectorType *VT = Ty->getAs<VectorType>()) {
7717 if (const VectorType *VT = Ty->getAs<VectorType>()) {
7717 if (const VectorType *VT = Ty->getAs<VectorType>()) {
tools/clang/lib/Index/USRGeneration.cpp 863 if (const auto *VT = T->getAs<VectorType>()) {
863 if (const auto *VT = T->getAs<VectorType>()) {
tools/clang/lib/Sema/SemaCast.cpp 2452 if (const VectorType *vecTy = DestType->getAs<VectorType>())
2452 if (const VectorType *vecTy = DestType->getAs<VectorType>())
2453 if (vecTy->getVectorKind() == VectorType::AltiVecVector
2698 if (const VectorType *DestVecTy = DestType->getAs<VectorType>()) {
2698 if (const VectorType *DestVecTy = DestType->getAs<VectorType>()) {
2699 if (DestVecTy->getVectorKind() == VectorType::AltiVecVector &&
tools/clang/lib/Sema/SemaChecking.cpp 5895 numElements = LHSType->castAs<VectorType>()->getNumElements();
5903 RHSType->castAs<VectorType>()->getNumElements() != numElements)
5916 QualType eltType = LHSType->castAs<VectorType>()->getElementType();
5918 VectorType::GenericVector);
5973 unsigned SrcElts = SrcTy->castAs<VectorType>()->getNumElements();
5974 unsigned DstElts = DstTy->castAs<VectorType>()->getNumElements();
10081 if (const VectorType *VT = dyn_cast<VectorType>(T))
10081 if (const VectorType *VT = dyn_cast<VectorType>(T))
10126 if (const VectorType *VT = dyn_cast<VectorType>(T))
10126 if (const VectorType *VT = dyn_cast<VectorType>(T))
11611 if (isa<VectorType>(Source)) {
11612 if (!isa<VectorType>(Target)) {
11623 Source = cast<VectorType>(Source)->getElementType().getTypePtr();
11624 Target = cast<VectorType>(Target)->getElementType().getTypePtr();
11626 if (auto VecTy = dyn_cast<VectorType>(Target))
tools/clang/lib/Sema/SemaDeclAttr.cpp 3967 if (const auto *VT = OldTy->getAs<VectorType>())
3967 if (const auto *VT = OldTy->getAs<VectorType>())
4015 VectorType::GenericVector);
4016 } else if (const auto *OldVT = OldTy->getAs<VectorType>()) {
4016 } else if (const auto *OldVT = OldTy->getAs<VectorType>()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp 924 const VectorType *VT) {
1438 if (auto *VT = DecompType->getAs<VectorType>()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp 3159 if (isa<VectorType>(left)) return isa<VectorType>(right);
3159 if (isa<VectorType>(left)) return isa<VectorType>(right);
3160 if (isa<VectorType>(right)) return false;
tools/clang/lib/Sema/SemaExpr.cpp 4631 if (!LHSExp->getType()->getAs<VectorType>()) {
4686 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) {
4686 } else if (const VectorType *VTy = LHSTy->getAs<VectorType>()) {
6483 if (const VectorType *vecType = type->getAs<VectorType>()) {
6483 if (const VectorType *vecType = type->getAs<VectorType>()) {
6542 auto *Vec = srcTy->getAs<VectorType>();
6547 auto *Vec = destTy->getAs<VectorType>();
6582 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType();
6750 const VectorType *VTy = Ty->castAs<VectorType>();
6750 const VectorType *VTy = Ty->castAs<VectorType>();
6757 if (VTy->getVectorKind() == VectorType::AltiVecVector) {
6782 VTy->getVectorKind() == VectorType::GenericVector &&
7204 const VectorType *CV = CondTy->getAs<VectorType>();
7204 const VectorType *CV = CondTy->getAs<VectorType>();
7237 const VectorType *CondTy = Cond->getType()->getAs<VectorType>();
7237 const VectorType *CondTy = Cond->getType()->getAs<VectorType>();
7255 const VectorType *CV = CondTy->getAs<VectorType>();
7255 const VectorType *CV = CondTy->getAs<VectorType>();
7256 const VectorType *RV = VecResTy->getAs<VectorType>();
7256 const VectorType *RV = VecResTy->getAs<VectorType>();
8136 if (const VectorType *VT = QT->getAs<VectorType>())
8136 if (const VectorType *VT = QT->getAs<VectorType>())
8241 const VectorType *VecType = RHSType->getAs<VectorType>();
8241 const VectorType *VecType = RHSType->getAs<VectorType>();
8825 const auto *VecTy = E->getType()->getAs<VectorType>();
8825 const auto *VecTy = E->getType()->getAs<VectorType>();
8929 const VectorType *VT = VectorTy->getAs<VectorType>();
8929 const VectorType *VT = VectorTy->getAs<VectorType>();
9018 const VectorType *LHSVecType = LHSType->getAs<VectorType>();
9018 const VectorType *LHSVecType = LHSType->getAs<VectorType>();
9019 const VectorType *RHSVecType = RHSType->getAs<VectorType>();
9019 const VectorType *RHSVecType = RHSType->getAs<VectorType>();
9025 LHSVecType && LHSVecType->getVectorKind() == VectorType::AltiVecBool &&
9026 RHSVecType && RHSVecType->getVectorKind() == VectorType::AltiVecBool)
9053 if (LHSVecType->getVectorKind() == VectorType::AltiVecVector &&
9055 RHSVecType->getVectorKind() == VectorType::AltiVecBool) {
9060 LHSVecType->getVectorKind() == VectorType::AltiVecBool &&
9061 RHSVecType->getVectorKind() == VectorType::AltiVecVector &&
9099 const VectorType *VT = LHSVecType ? LHSVecType : RHSVecType;
9899 const VectorType *LHSVecTy = LHSType->getAs<VectorType>();
9899 const VectorType *LHSVecTy = LHSType->getAs<VectorType>();
9904 const VectorType *RHSVecTy = RHSType->getAs<VectorType>();
9904 const VectorType *RHSVecTy = RHSType->getAs<VectorType>();
9975 if (auto LHSVecType = LHS.get()->getType()->getAs<VectorType>())
9976 if (LHSVecType->getVectorKind() == VectorType::AltiVecBool)
9978 if (auto RHSVecType = RHS.get()->getType()->getAs<VectorType>())
9979 if (RHSVecType->getVectorKind() == VectorType::AltiVecBool)
11090 const VectorType *VTy = V->castAs<VectorType>();
11090 const VectorType *VTy = V->castAs<VectorType>();
11109 VectorType::GenericVector);
11112 VectorType::GenericVector);
11115 VectorType::GenericVector);
11118 VectorType::GenericVector);
11122 VectorType::GenericVector);
11145 vType->castAs<VectorType>()->getVectorKind() == VectorType::AltiVecVector)
11145 vType->castAs<VectorType>()->getVectorKind() == VectorType::AltiVecVector)
11294 !(isa<ExtVectorType>(vType->getAs<VectorType>())))
12169 (ResType->castAs<VectorType>()->getVectorKind() !=
12170 VectorType::AltiVecBool)) {
12173 ResType->castAs<VectorType>()->getElementType()->isIntegerType()) {
12765 return convertVector(BO, ResultTy->castAs<VectorType>()->getElementType(), S);
13528 resultType->castAs<VectorType>()->getVectorKind() !=
13529 VectorType::AltiVecBool))
tools/clang/lib/Sema/SemaInit.cpp 844 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) {
844 } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) {
1036 maxElements = T->castAs<VectorType>()->getNumElements();
1639 const VectorType *VT = DeclType->castAs<VectorType>();
1639 const VectorType *VT = DeclType->castAs<VectorType>();
1709 const VectorType *T = Entity.getType()->castAs<VectorType>();
1709 const VectorType *T = Entity.getType()->castAs<VectorType>();
1710 if (isBigEndian && (T->getVectorKind() == VectorType::NeonVector ||
1711 T->getVectorKind() == VectorType::NeonPolyVector)) {
1765 const VectorType *IVT = IType->castAs<VectorType>();
1765 const VectorType *IVT = IType->castAs<VectorType>();
3062 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) {
3062 } else if (const VectorType *VType = CurrentObjectType->getAs<VectorType>()) {
3228 } else if (const VectorType *VT = Parent.getType()->getAs<VectorType>()) {
3228 } else if (const VectorType *VT = Parent.getType()->getAs<VectorType>()) {
tools/clang/lib/Sema/SemaTemplate.cpp 5557 bool UnnamedLocalNoLinkageFinder::VisitVectorType(const VectorType* T) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 1944 if (const auto *VectorArg = dyn_cast<VectorType>(Arg)) {
1944 if (const auto *VectorArg = dyn_cast<VectorType>(Arg)) {
5410 cast<VectorType>(T)->getElementType(),
tools/clang/lib/Sema/SemaType.cpp 1669 VectorType::VectorKind VecKind = VectorType::AltiVecVector;
1669 VectorType::VectorKind VecKind = VectorType::AltiVecVector;
1671 VecKind = VectorType::AltiVecPixel;
1673 VecKind = VectorType::AltiVecBool;
2362 VectorType::GenericVector);
2374 VectorType::GenericVector);
2391 if (VectorType::isVectorSizeTooLarge(VectorSize / TypeSize)) {
2398 VectorType::GenericVector);
2439 if (VectorType::isVectorSizeTooLarge(vectorSize)) {
7208 VectorType::VectorKind VecKind, Sema &S) {
7219 if (VecKind == VectorType::NeonPolyVector) {
7263 Sema &S, VectorType::VectorKind VecKind) {
7607 VectorType::NeonVector);
7612 VectorType::NeonPolyVector);
tools/clang/lib/Sema/TreeTransform.h 840 VectorType::VectorKind VecKind);
849 VectorType::VectorKind);
5051 const VectorType *T = TL.getTypePtr();
5051 const VectorType *T = TL.getTypePtr();
5056 QualType Result = TL.getType();
5065 VectorTypeLoc NewTL = TLB.push<VectorTypeLoc>(Result);
5066 NewTL.setNameLoc(TL.getNameLoc());
5074 const VectorType *T = TL.getTypePtr();
12991 VectorType::VectorKind VecKind) {
12999 VectorType::VectorKind VecKind) {
tools/clang/lib/Serialization/ASTWriter.cpp 258 void ASTTypeWriter::VisitVectorType(const VectorType *T) {
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 2294 const VectorType *VT = T->castAs<VectorType>(); // Use castAs for typedefs.
2294 const VectorType *VT = T->castAs<VectorType>(); // Use castAs for typedefs.
tools/clang/tools/libclang/CXType.cpp 809 ET = cast<VectorType> (TP)->getElementType();
835 result = cast<VectorType> (TP)->getNumElements();
tools/lldb/source/Symbol/ClangASTContext.cpp 2922 const clang::VectorType *vector_type =
2923 qual_type->getAs<clang::VectorType>();
3562 } else if (const clang::VectorType *VT = llvm::dyn_cast<clang::VectorType>(
3562 } else if (const clang::VectorType *VT = llvm::dyn_cast<clang::VectorType>(
4161 const clang::VectorType *vector_type = llvm::dyn_cast<clang::VectorType>(
4161 const clang::VectorType *vector_type = llvm::dyn_cast<clang::VectorType>(
5625 llvm::cast<clang::VectorType>(qual_type.getTypePtr())->getNumElements();
6889 const clang::VectorType *array =
6890 llvm::cast<clang::VectorType>(parent_qual_type.getTypePtr());
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
1447 : public __and_<is_destructible<_Tp>, integral_constant<bool,
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };