Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExprMember.cpp306 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>(); in CheckExtVectorComponent() local
331 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
340 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
353 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
377 if (!vecType->isAccessorWithinNumElements(*compStr++, HexSwizzle)) { in CheckExtVectorComponent()
405 unsigned CompSize = HalvingSwizzle ? (vecType->getNumElements() + 1) / 2 in CheckExtVectorComponent()
411 return vecType->getElementType(); in CheckExtVectorComponent()
416 QualType VT = S.Context.getExtVectorType(vecType->getElementType(), CompSize); in CheckExtVectorComponent()
H A DSemaExpr.cpp7907 if (const VectorType *vecType = type->getAs<VectorType>()) { in breakDownVectorType() local
7908 len = vecType->getNumElements(); in breakDownVectorType()
7909 eltType = vecType->getElementType(); in breakDownVectorType()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp916 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in tryLoad() local
945 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
957 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
975 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
993 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
1755 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in tryStore() local
1791 getI32Imm(vecType, dl), in tryStore()
1809 getI32Imm(vecType, dl), in tryStore()
1835 getI32Imm(vecType, dl), in tryStore()
1859 getI32Imm(vecType, dl), in tryStore()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp4040 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts, in getVectorType() argument
4042 assert(vecType->isBuiltinType() || in getVectorType()
4043 (vecType->isBitIntType() && in getVectorType()
4045 llvm::isPowerOf2_32(vecType->getAs<BitIntType>()->getNumBits()) && in getVectorType()
4046 vecType->getAs<BitIntType>()->getNumBits() >= 8)); in getVectorType()
4050 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind); in getVectorType()
4059 if (!vecType.isCanonical()) { in getVectorType()
4060 Canonical = getVectorType(getCanonicalType(vecType), NumElts, VecKind); in getVectorType()
4067 VectorType(vecType, NumElts, Canonical, VecKind); in getVectorType()
4114 QualType ASTContext::getExtVectorType(QualType vecType, in getExtVectorType() argument
[all …]
H A DType.cpp330 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, in VectorType() argument
332 : VectorType(Vector, vecType, nElements, canonType, vecKind) {} in VectorType()
334 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, in VectorType() argument
336 : Type(tc, canonType, vecType->getDependence()), ElementType(vecType) { in VectorType()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DType.h3397 VectorType(QualType vecType, unsigned nElements, QualType canonType,
3400 VectorType(TypeClass tc, QualType vecType, unsigned nElements,
3487 ExtVectorType(QualType vecType, unsigned nElements, QualType canonType)
3488 : VectorType(ExtVector, vecType, nElements, canonType, GenericVector) {}