Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DType.cpp171 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, in VectorType() argument
173 : Type(Vector, canonType, vecType->isDependentType(), in VectorType()
174 vecType->isInstantiationDependentType(), in VectorType()
175 vecType->isVariablyModifiedType(), in VectorType()
176 vecType->containsUnexpandedParameterPack()), in VectorType()
177 ElementType(vecType) in VectorType()
183 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, in VectorType() argument
185 : Type(tc, canonType, vecType->isDependentType(), in VectorType()
186 vecType->isInstantiationDependentType(), in VectorType()
187 vecType->isVariablyModifiedType(), in VectorType()
[all …]
H A DASTContext.cpp2740 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts, in getVectorType() argument
2742 assert(vecType->isBuiltinType()); in getVectorType()
2746 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind); in getVectorType()
2755 if (!vecType.isCanonical()) { in getVectorType()
2756 Canonical = getVectorType(getCanonicalType(vecType), NumElts, VecKind); in getVectorType()
2763 VectorType(vecType, NumElts, Canonical, VecKind); in getVectorType()
2772 ASTContext::getExtVectorType(QualType vecType, unsigned NumElts) const { in getExtVectorType() argument
2773 assert(vecType->isBuiltinType() || vecType->isDependentType()); in getExtVectorType()
2777 VectorType::Profile(ID, vecType, NumElts, Type::ExtVector, in getExtVectorType()
2786 if (!vecType.isCanonical()) { in getExtVectorType()
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaExprMember.cpp286 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>(); in CheckExtVectorComponent() local
311 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
316 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
319 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
343 if (!vecType->isAccessorWithinNumElements(*compStr++)) { in CheckExtVectorComponent()
356 unsigned CompSize = HalvingSwizzle ? (vecType->getNumElements() + 1) / 2 in CheckExtVectorComponent()
362 return vecType->getElementType(); in CheckExtVectorComponent()
366 QualType VT = S.Context.getExtVectorType(vecType->getElementType(), CompSize); in CheckExtVectorComponent()
H A DSemaExpr.cpp5197 if (const VectorType *vecType = type->getAs<VectorType>()) { in breakDownVectorType() local
5198 len = vecType->getNumElements(); in breakDownVectorType()
5199 eltType = vecType->getElementType(); in breakDownVectorType()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp653 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in SelectLoad() local
657 vecType = NVPTX::PTXLdStInstCode::V2; in SelectLoad()
659 vecType = NVPTX::PTXLdStInstCode::V4; in SelectLoad()
713 getI32Imm(vecType), getI32Imm(fromType), in SelectLoad()
742 getI32Imm(vecType), getI32Imm(fromType), in SelectLoad()
796 getI32Imm(vecType), getI32Imm(fromType), in SelectLoad()
848 getI32Imm(vecType), getI32Imm(fromType), in SelectLoad()
2028 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in SelectStore() local
2032 vecType = NVPTX::PTXLdStInstCode::V2; in SelectStore()
2034 vecType = NVPTX::PTXLdStInstCode::V4; in SelectStore()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DType.h2584 VectorType(QualType vecType, unsigned nElements, QualType canonType,
2587 VectorType(TypeClass tc, QualType vecType, unsigned nElements,
2631 ExtVectorType(QualType vecType, unsigned nElements, QualType canonType) :
2632 VectorType(ExtVector, vecType, nElements, canonType, GenericVector) {}