Home
last modified time | relevance | path

Searched refs:vecType (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/AST/
DType.cpp150 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, in VectorType() argument
152 : Type(Vector, canonType, vecType->isDependentType(), in VectorType()
153 vecType->isInstantiationDependentType(), in VectorType()
154 vecType->isVariablyModifiedType(), in VectorType()
155 vecType->containsUnexpandedParameterPack()), in VectorType()
156 ElementType(vecType) in VectorType()
162 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, in VectorType() argument
164 : Type(tc, canonType, vecType->isDependentType(), in VectorType()
165 vecType->isInstantiationDependentType(), in VectorType()
166 vecType->isVariablyModifiedType(), in VectorType()
[all …]
DASTContext.cpp1989 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts, in getVectorType() argument
1991 assert(vecType->isBuiltinType()); in getVectorType()
1995 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind); in getVectorType()
2004 if (!vecType.isCanonical()) { in getVectorType()
2005 Canonical = getVectorType(getCanonicalType(vecType), NumElts, VecKind); in getVectorType()
2012 VectorType(vecType, NumElts, Canonical, VecKind); in getVectorType()
2021 ASTContext::getExtVectorType(QualType vecType, unsigned NumElts) const { in getExtVectorType() argument
2022 assert(vecType->isBuiltinType() || vecType->isDependentType()); in getExtVectorType()
2026 VectorType::Profile(ID, vecType, NumElts, Type::ExtVector, in getExtVectorType()
2035 if (!vecType.isCanonical()) { in getExtVectorType()
[all …]
/external/clang/lib/Sema/
DSemaExprMember.cpp286 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>(); in CheckExtVectorComponent() local
311 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
321 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
324 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
348 if (!vecType->isAccessorWithinNumElements(*compStr++)) { in CheckExtVectorComponent()
361 unsigned CompSize = HalvingSwizzle ? (vecType->getNumElements() + 1) / 2 in CheckExtVectorComponent()
367 return vecType->getElementType(); in CheckExtVectorComponent()
371 QualType VT = S.Context.getExtVectorType(vecType->getElementType(), CompSize); in CheckExtVectorComponent()
/external/clang/include/clang/AST/
DType.h2395 VectorType(QualType vecType, unsigned nElements, QualType canonType,
2398 VectorType(TypeClass tc, QualType vecType, unsigned nElements,
2440 ExtVectorType(QualType vecType, unsigned nElements, QualType canonType) :
2441 VectorType(ExtVector, vecType, nElements, canonType, GenericVector) {}