Home
last modified time | relevance | path

Searched refs:VectorKind (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAArch64ACLETypes.def12 // - (Name, BaseType, ElBits, NumEls, VectorKind)
67 #define NEON_VECTOR_TYPE(Name, BaseType, ElBits, NumEls, VectorKind)
126 NEON_VECTOR_TYPE(__Int8x8_t, SignedCharTy, 8, 8, VectorKind::Neon)
127 NEON_VECTOR_TYPE(__Int16x4_t, ShortTy, 16, 4, VectorKind::Neon)
128 NEON_VECTOR_TYPE(__Int32x2_t, IntTy, 32, 2, VectorKind::Neon)
129 NEON_VECTOR_TYPE(__Uint8x8_t, UnsignedCharTy, 8, 8, VectorKind::Neon)
130 NEON_VECTOR_TYPE(__Uint16x4_t, UnsignedShortTy, 16, 4, VectorKind::Neon)
131 NEON_VECTOR_TYPE(__Uint32x2_t, UnsignedIntTy, 32, 2, VectorKind::Neon)
132 NEON_VECTOR_TYPE(__Float16x4_t, HalfTy, 16, 4, VectorKind::Neon)
133 NEON_VECTOR_TYPE(__Float32x2_t, FloatTy, 32, 2, VectorKind::Neon)
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DRISCV.cpp528 case VectorKind::RVVFixedLengthMask_1: in coerceVLSVector()
530 case VectorKind::RVVFixedLengthMask_2: in coerceVLSVector()
533 case VectorKind::RVVFixedLengthMask_4: in coerceVLSVector()
536 case VectorKind::RVVFixedLengthMask: in coerceVLSVector()
540 assert((VT->getVectorKind() == VectorKind::Generic || in coerceVLSVector()
541 VT->getVectorKind() == VectorKind::RVVFixedLengthData) && in coerceVLSVector()
702 if (VT->getVectorKind() == VectorKind::RVVFixedLengthData || in classifyArgumentType()
703 VT->getVectorKind() == VectorKind::RVVFixedLengthMask || in classifyArgumentType()
704 VT->getVectorKind() == VectorKind::RVVFixedLengthMask_1 || in classifyArgumentType()
705 VT->getVectorKind() == VectorKind::RVVFixedLengthMask_2 || in classifyArgumentType()
[all …]
H A DAArch64.cpp233 if (VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) { in convertFixedToScalableVectorType()
241 if (VT->getVectorKind() == VectorKind::SveFixedLengthData) { in convertFixedToScalableVectorType()
294 if (VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) { in coerceIllegalVector()
304 if (VT->getVectorKind() == VectorKind::SveFixedLengthData) { in coerceIllegalVector()
537 if (VT->getVectorKind() == VectorKind::SveFixedLengthData || in classifyReturnType()
538 VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) { in classifyReturnType()
624 if (VT->getVectorKind() == VectorKind::SveFixedLengthData || in isIllegalVectorType()
625 VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) in isIllegalVectorType()
673 Kind == VectorKind::SveFixedLengthData || in isHomogeneousAggregateBaseType()
674 Kind == VectorKind::SveFixedLengthPredicate) in isHomogeneousAggregateBaseType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSPIRV.cpp167 << SemaRef.Context.getVectorType(ArgTyA, 2, VectorKind::Generic) << 1 in CheckSPIRVBuiltinFunctionCall()
179 << SemaRef.Context.getVectorType(ArgTyB, 2, VectorKind::Generic) << 1 in CheckSPIRVBuiltinFunctionCall()
198 << SemaRef.Context.getVectorType(ArgTyA, 2, VectorKind::Generic) << 1 in CheckSPIRVBuiltinFunctionCall()
217 << SemaRef.Context.getVectorType(ArgTyA, 2, VectorKind::Generic) << 1 in CheckSPIRVBuiltinFunctionCall()
229 << SemaRef.Context.getVectorType(ArgTyB, 2, VectorKind::Generic) << 1 in CheckSPIRVBuiltinFunctionCall()
H A DSemaARM.cpp1453 if (VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) in areCompatibleSveTypes()
1455 else if (VT->getVectorKind() == VectorKind::SveFixedLengthData) in areCompatibleSveTypes()
1458 else if (VT->getVectorKind() == VectorKind::Generic) in areCompatibleSveTypes()
1497 if (VecTy && (VecTy->getVectorKind() == VectorKind::SveFixedLengthData || in areLaxCompatibleSveTypes()
1498 VecTy->getVectorKind() == VectorKind::Generic)) { in areLaxCompatibleSveTypes()
1506 VecTy->getVectorKind() == VectorKind::SveFixedLengthData) in areLaxCompatibleSveTypes()
1514 if (VecTy->getVectorKind() == VectorKind::Generic && in areLaxCompatibleSveTypes()
H A DSemaType.cpp1433 VectorKind VecKind = VectorKind::AltiVecVector; in ConvertDeclSpecToType()
1435 VecKind = VectorKind::AltiVecPixel; in ConvertDeclSpecToType()
1437 VecKind = VectorKind::AltiVecBool; in ConvertDeclSpecToType()
2350 VectorKind::Generic); in BuildVectorType()
2363 VectorKind::Generic); in BuildVectorType()
2394 VectorKind::Generic); in BuildVectorType()
8244 static bool isPermittedNeonBaseType(QualType &Ty, VectorKind VecKind, Sema &S) { in isPermittedNeonBaseType()
8256 if (VecKind == VectorKind::NeonPoly) { in isPermittedNeonBaseType()
8317 Sema &S, VectorKind VecKind) { in HandleNeonVectorTypeAttr()
8323 VecKind == VectorKind::Neon && in HandleNeonVectorTypeAttr()
[all …]
H A DSemaExpr.cpp7608 return VecTy && VecTy->getVectorKind() == VectorKind::SveFixedLengthData; in isValidSveBitcast()
7651 VectorKind::AltiVecVector) || in anyAltivecTypes()
7653 VectorKind::AltiVecBool) || in anyAltivecTypes()
7655 VectorKind::AltiVecPixel)); in anyAltivecTypes()
7659 VectorKind::AltiVecVector) || in anyAltivecTypes()
7661 VectorKind::AltiVecBool) || in anyAltivecTypes()
7663 VectorKind::AltiVecPixel)); in anyAltivecTypes()
7947 if (getLangOpts().OpenCL && VTy->getVectorKind() == VectorKind::Generic && in BuildVectorLiteral()
9387 (VecType->getVectorKind() == VectorKind::AltiVecVector || in CheckAssignmentConstraints()
9388 VecType->getVectorKind() == VectorKind::AltiVecBool || in CheckAssignmentConstraints()
[all …]
H A DSemaPPC.cpp291 VectorKind::AltiVecVector); in DecodePPCMMATypeFromStr()
H A DSema.cpp545 #define NEON_VECTOR_TYPE(Name, BaseType, ElBits, NumEls, VectorKind) \ in Initialize() argument
547 #Name, Context.getVectorType(Context.BaseType, NumEls, VectorKind)); in Initialize()
2267 (VT->getVectorKind() == VectorKind::SveFixedLengthData || in checkTypeSupport()
2268 VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) && in checkTypeSupport()
H A DSemaCast.cpp2727 VectorKind VKind = VecTy->getVectorKind(); in ShouldSplatAltivecScalarInCast()
2729 if ((VKind == VectorKind::AltiVecVector) || in ShouldSplatAltivecScalarInCast()
2730 (SrcCompatXL && ((VKind == VectorKind::AltiVecBool) || in ShouldSplatAltivecScalarInCast()
2731 (VKind == VectorKind::AltiVecPixel)))) { in ShouldSplatAltivecScalarInCast()
H A DSemaRISCV.cpp1479 return VecTy && VecTy->getVectorKind() == VectorKind::RVVFixedLengthData; in isValidRVVBitcast()
H A DTreeTransform.h957 VectorKind VecKind);
965 SourceLocation AttributeLoc, VectorKind);
17245 VectorKind VecKind) { in RebuildVectorType()
17253 VectorKind VecKind) { in RebuildDependentVectorType()
H A DSemaInit.cpp1966 if (isBigEndian && (T->getVectorKind() == VectorKind::Neon || in CheckVectorType()
1967 T->getVectorKind() == VectorKind::NeonPoly)) { in CheckVectorType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypePrinter.cpp672 case VectorKind::AltiVecPixel: in printVectorBefore()
675 case VectorKind::AltiVecBool: in printVectorBefore()
679 case VectorKind::AltiVecVector: in printVectorBefore()
683 case VectorKind::Neon: in printVectorBefore()
688 case VectorKind::NeonPoly: in printVectorBefore()
693 case VectorKind::Generic: { in printVectorBefore()
704 case VectorKind::SveFixedLengthData: in printVectorBefore()
705 case VectorKind::SveFixedLengthPredicate: in printVectorBefore()
710 if (T->getVectorKind() == VectorKind::SveFixedLengthPredicate) in printVectorBefore()
723 case VectorKind::RVVFixedLengthData: in printVectorBefore()
[all …]
H A DItaniumMangle.cpp3970 if (T->getVectorKind() == VectorKind::NeonPoly) { in mangleNeonVectorType()
4077 if (T->getVectorKind() == VectorKind::NeonPoly) { in mangleAArch64NeonVectorType()
4132 assert((T->getVectorKind() == VectorKind::SveFixedLengthData || in mangleAArch64FixedSveVectorType()
4133 T->getVectorKind() == VectorKind::SveFixedLengthPredicate) && in mangleAArch64FixedSveVectorType()
4146 if (T->getVectorKind() == VectorKind::SveFixedLengthData) in mangleAArch64FixedSveVectorType()
4188 if (T->getVectorKind() == VectorKind::SveFixedLengthPredicate) in mangleAArch64FixedSveVectorType()
4206 assert((T->getVectorKind() == VectorKind::RVVFixedLengthData || in mangleRISCVFixedRVVVectorType()
4207 T->getVectorKind() == VectorKind::RVVFixedLengthMask || in mangleRISCVFixedRVVVectorType()
4208 T->getVectorKind() == VectorKind::RVVFixedLengthMask_1 || in mangleRISCVFixedRVVVectorType()
4209 T->getVectorKind() == VectorKind::RVVFixedLengthMask_2 || in mangleRISCVFixedRVVVectorType()
[all …]
H A DJSONNodeDumper.cpp712 case VectorKind::Generic: in VisitVectorType()
714 case VectorKind::AltiVecVector: in VisitVectorType()
717 case VectorKind::AltiVecPixel: in VisitVectorType()
720 case VectorKind::AltiVecBool: in VisitVectorType()
723 case VectorKind::Neon: in VisitVectorType()
726 case VectorKind::NeonPoly: in VisitVectorType()
729 case VectorKind::SveFixedLengthData: in VisitVectorType()
732 case VectorKind::SveFixedLengthPredicate: in VisitVectorType()
735 case VectorKind::RVVFixedLengthData: in VisitVectorType()
738 case VectorKind::RVVFixedLengthMask: in VisitVectorType()
[all …]
H A DTextNodeDumper.cpp1984 case VectorKind::Generic: in VisitVectorType()
1986 case VectorKind::AltiVecVector: in VisitVectorType()
1989 case VectorKind::AltiVecPixel: in VisitVectorType()
1992 case VectorKind::AltiVecBool: in VisitVectorType()
1995 case VectorKind::Neon: in VisitVectorType()
1998 case VectorKind::NeonPoly: in VisitVectorType()
2001 case VectorKind::SveFixedLengthData: in VisitVectorType()
2004 case VectorKind::SveFixedLengthPredicate: in VisitVectorType()
2007 case VectorKind::RVVFixedLengthData: in VisitVectorType()
2010 case VectorKind::RVVFixedLengthMask: in VisitVectorType()
[all …]
H A DASTContext.cpp2133 if (VT->getVectorKind() == VectorKind::SveFixedLengthData) in getTypeInfoImpl()
2137 else if (VT->getVectorKind() == VectorKind::SveFixedLengthPredicate) in getTypeInfoImpl()
2140 else if (VT->getVectorKind() == VectorKind::RVVFixedLengthData || in getTypeInfoImpl()
2141 VT->getVectorKind() == VectorKind::RVVFixedLengthMask || in getTypeInfoImpl()
2142 VT->getVectorKind() == VectorKind::RVVFixedLengthMask_1 || in getTypeInfoImpl()
2143 VT->getVectorKind() == VectorKind::RVVFixedLengthMask_2 || in getTypeInfoImpl()
2144 VT->getVectorKind() == VectorKind::RVVFixedLengthMask_4) in getTypeInfoImpl()
4659 VectorKind VecKind) const { in getVectorType()
4692 VectorKind VecKind) const { in getDependentVectorType()
4740 VectorKind::Generic); in getExtVectorType()
[all …]
H A DType.cpp303 SourceLocation Loc, VectorKind VecKind) in DependentVectorType()
316 VectorKind VecKind) { in Profile()
408 VectorKind vecKind) in VectorType()
412 QualType canonType, VectorKind vecKind) in VectorType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp289 template <RegKind VectorKind>
1445 template <RegKind VectorKind, unsigned NumRegs, bool IsConsecutive = false>
1449 VectorList.RegisterKind == VectorKind && in isImplicitlyTypedVectorList()
1453 template <RegKind VectorKind, unsigned NumRegs, unsigned NumElements,
1460 if (VectorList.RegisterKind != VectorKind) in isTypedVectorList()
1469 template <RegKind VectorKind, unsigned NumRegs, unsigned NumElements,
1473 isTypedVectorList<VectorKind, NumRegs, NumElements, ElementWidth>(); in isTypedVectorListMultiple()
1481 template <RegKind VectorKind, unsigned NumRegs, unsigned Stride,
1484 bool Res = isTypedVectorList<VectorKind, NumRegs, /*NumElements*/ 0, in isTypedVectorListStrided()
2739 RegKind VectorKind) { in parseVectorKind() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h1804 enum class VectorKind;
2080 LLVM_PREFERRED_TYPE(VectorKind)
4060 enum class VectorKind {
4109 VectorKind vecKind);
4112 QualType canonType, VectorKind vecKind);
4121 VectorKind getVectorKind() const {
4122 return VectorKind(VectorTypeBits.VecKind);
4132 VectorKind VecKind) {
4161 SourceLocation Loc, VectorKind vecKind);
4167 VectorKind getVectorKind() const {
[all …]
H A DTypeProperties.td183 def : Property<"vectorKind", VectorKind> {
202 def : Property<"vectorKind", VectorKind> {
H A DPropertiesBase.td149 def VectorKind : EnumPropertyType<"VectorKind">;
H A DASTContext.h1682 VectorKind VecKind) const;
1687 VectorKind VecKind) const;
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprScalar.cpp1896 VectorKind::Generic) { in VisitUnaryLNot()

12