Searched refs:vecType (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRAttrs.cpp | 338 const auto vecType = mlir::cast<cir::VectorType>(type); in verify() local 340 if (vecType.getSize() != elts.size()) in verify() 354 typedElement.getType() != vecType.getElementType()) { in verify()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprMember.cpp | 380 const ExtVectorType *vecType = baseType->castAs<ExtVectorType>(); in CheckExtVectorComponent() local 405 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent() 414 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent() 427 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent() 454 if (!vecType->isAccessorWithinNumElements(*compStr++, HexSwizzle)) { in CheckExtVectorComponent() 482 unsigned CompSize = HalvingSwizzle ? (vecType->getNumElements() + 1) / 2 in CheckExtVectorComponent() 488 return vecType->getElementType(); in CheckExtVectorComponent() 493 QualType VT = S.Context.getExtVectorType(vecType->getElementType(), CompSize); in CheckExtVectorComponent()
|
| H A D | SemaExpr.cpp | 7584 if (const VectorType *vecType = type->getAs<VectorType>()) { in breakDownVectorType() local 7585 len = vecType->getNumElements(); in breakDownVectorType() 7586 eltType = vecType->getElementType(); in breakDownVectorType()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 4658 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts, in getVectorType() argument 4660 assert(vecType->isBuiltinType() || in getVectorType() 4661 (vecType->isBitIntType() && in getVectorType() 4663 llvm::isPowerOf2_32(vecType->castAs<BitIntType>()->getNumBits()))); in getVectorType() 4667 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind); in getVectorType() 4676 if (!vecType.isCanonical()) { in getVectorType() 4677 Canonical = getVectorType(getCanonicalType(vecType), NumElts, VecKind); in getVectorType() 4684 VectorType(vecType, NumElts, Canonical, VecKind); in getVectorType() 4730 QualType ASTContext::getExtVectorType(QualType vecType, in getExtVectorType() argument 4732 assert(vecType->isBuiltinType() || vecType->isDependentType() || in getExtVectorType() [all …]
|
| H A D | Type.cpp | 407 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, in VectorType() argument 409 : VectorType(Vector, vecType, nElements, canonType, vecKind) {} in VectorType() 411 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, in VectorType() argument 413 : Type(tc, canonType, vecType->getDependence()), ElementType(vecType) { in VectorType()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprScalar.cpp | 769 if (const auto *vecType = dyn_cast_or_null<VectorType>(result.fullType)) { in emitBinOps() local 770 result.compType = vecType->getElementType(); in emitBinOps() 1085 if (const auto *vecType = dyn_cast_or_null<VectorType>(opInfo.fullType)) in emitCompoundAssignLValue() local 1086 opInfo.compType = vecType->getElementType(); in emitCompoundAssignLValue()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 4108 VectorType(QualType vecType, unsigned nElements, QualType canonType, 4111 VectorType(TypeClass tc, QualType vecType, unsigned nElements, 4196 ExtVectorType(QualType vecType, unsigned nElements, QualType canonType) 4197 : VectorType(ExtVector, vecType, nElements, canonType,
|