/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | arm_sve_sme_incl.td | 146 class EltType<int val> { 149 def EltTyInvalid : EltType<0>; 150 def EltTyInt8 : EltType<1>; 151 def EltTyInt16 : EltType<2>; 152 def EltTyInt32 : EltType<3>; 153 def EltTyInt64 : EltType<4>; 154 def EltTyInt128 : EltType<5>; 155 def EltTyFloat16 : EltType<6>; 156 def EltTyFloat32 : EltType<7>; 157 def EltTyFloat64 : EltType<8>; [all …]
|
H A D | TargetBuiltins.h | 189 enum EltType { enum 205 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags() 212 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType() 214 EltType ET = getEltType(); in isPoly() 234 enum EltType { enum 265 EltType getEltType() const { in getEltType() 266 return (EltType)((Flags & EltTypeMask) >> EltTypeShift); in getEltType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 269 using EltType = std::tuple_element_t<I, Tuple>; 272 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)), 288 using EltType = std::tuple_element_t<I, Tuple>; 290 return DenseMapInfo<EltType>::isEqual(std::get<I>(lhs), std::get<I>(rhs)) &&
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | PPC.cpp | 384 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() local 385 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() 386 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 388 AlignTy = EltType; in getParamTypeAlignment() 756 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local 757 if (EltType) { in getParamTypeAlignment() 758 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment() 759 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 761 AlignAsType = EltType; in getParamTypeAlignment()
|
H A D | RISCV.cpp | 330 llvm::Type *EltType; in coerceVLSVector() local 333 EltType = llvm::Type::getInt1Ty(getVMContext()); in coerceVLSVector() 337 EltType = CGT.ConvertType(VT->getElementType()); in coerceVLSVector() 345 llvm::ScalableVectorType::get(EltType, NumElts / VScale->first); in coerceVLSVector()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 176 unsigned NumElements, Type *EltType, in computeVectorAddr() argument 191 VecStart = Builder.CreateGEP(EltType, BasePtr, VecStart, "vec.gep"); in computeVectorAddr() 1702 auto *EltType = cast<VectorType>(MatMul->getType())->getElementType(); in isFusionProfitable() local 1707 EltType->getPrimitiveSizeInBits().getFixedValue(), in isFusionProfitable() 1728 MatrixTy getZeroMatrix(Type *EltType, unsigned R, unsigned C) { in getZeroMatrix() argument 1730 auto *ColumType = FixedVectorType::get(EltType, R); in getZeroMatrix() 1738 auto *EltType = cast<VectorType>(MatMul->getType())->getElementType(); in createTiledLoops() local 1771 {TileSize, TileSize}, EltType, Builder); in createTiledLoops() 1774 {TileSize, TileSize}, EltType, Builder); in createTiledLoops() 1781 TI.RowLoop.Index, TI.ColumnLoop.Index, EltType, Builder); in createTiledLoops() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 3774 QualType EltType = T->getElementType(); in mangleNeonVectorType() local 3775 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleNeonVectorType() 3778 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType() 3794 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType() 3813 getASTContext().getTypeSize(EltType)); in mangleNeonVectorType() 3832 static StringRef mangleAArch64VectorBase(const BuiltinType *EltType) { in mangleAArch64VectorBase() argument 3833 switch (EltType->getKind()) { in mangleAArch64VectorBase() 3869 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local 3870 assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); in mangleAArch64NeonVectorType() 3872 (T->getNumElements() * getASTContext().getTypeSize(EltType)); in mangleAArch64NeonVectorType() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1310 QualType EltType = CAT->getElementType(); in EmitArrayInitialization() local 1315 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization() 1330 C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization() 1360 EltType); in EmitArrayInitialization()
|
H A D | CGExpr.cpp | 3915 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local 3917 if (TBAAInfo) *TBAAInfo = CGM.getTBAAAccessInfo(EltType); in EmitArrayToPointerDecay() 3919 return Addr.withElementType(ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay() 4211 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local 4212 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true, in EmitArraySubscriptExpr() 4214 return MakeAddrLValue(Addr, EltType, LV.getBaseInfo(), in EmitArraySubscriptExpr() 4215 CGM.getTBAAInfoForSubobject(LV, EltType)); in EmitArraySubscriptExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 8268 QualType EltType = CurType->getSveEltType(S.Context); in HandleArmSveVectorBitsTypeAttr() local 8269 unsigned TypeSize = S.Context.getTypeSize(EltType); in HandleArmSveVectorBitsTypeAttr() 8277 CurType = S.Context.getVectorType(EltType, VecSize, VecKind); in HandleArmSveVectorBitsTypeAttr() 8347 QualType EltType = CurType->getRVVEltType(S.Context); in HandleRISCVRVVVectorBitsTypeAttr() local 8348 unsigned EltSize = S.Context.getTypeSize(EltType); in HandleRISCVRVVVectorBitsTypeAttr() 8366 CurType = S.Context.getVectorType(EltType, NumElts, VecKind); in HandleRISCVRVVVectorBitsTypeAttr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 2079 EVT EltType = Ins[i].VT; in LowerCall() local 2085 EltType = EVT(PromotedVT); in LowerCall() 2091 EltType = MVT::i32; in LowerCall() 2096 EltType = MVT::i16; in LowerCall() 2121 LoadVTs.push_back(EltType); in LowerCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIISelLowering.cpp | 5977 EVT EltType = LoadVT.getScalarType(); in lowerIntrinsicLoad() local 5980 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in lowerIntrinsicLoad() 5995 if (!IsD16 && !LoadVT.isVector() && EltType.getSizeInBits() < 32) in lowerIntrinsicLoad() 9613 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local 9614 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID() 9646 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID() 9663 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local 9664 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID() 9698 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 90 enum EltType { enum
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 11946 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local 11947 return EltType.getSizeInBits() / 8; in getExtFactor() 12919 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument 12920 if (EltType == MVT::i8) in getDUPLANEOp() 12922 if (EltType == MVT::i16 || EltType == MVT::f16 || EltType == MVT::bf16) in getDUPLANEOp() 12924 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp() 12926 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 7325 MVT EltType = MVT::getIntegerVT(VT.getScalarSizeInBits() * SeqLen); in lowerBuildVectorAsBroadcast() local 7326 if ((EltType == MVT::i64 && MaskVT == MVT::v8i1) || // for broadcastmb2q in lowerBuildVectorAsBroadcast() 7327 (EltType == MVT::i32 && MaskVT == MVT::v16i1)) { // for broadcastmw2d in lowerBuildVectorAsBroadcast() 7328 MVT BcstVT = MVT::getVectorVT(EltType, NumElts / SeqLen); in lowerBuildVectorAsBroadcast() 7331 BcstVT = MVT::getVectorVT(EltType, Scale * (NumElts / SeqLen)); in lowerBuildVectorAsBroadcast() 8911 Type *EltType = Op.getValueType().getScalarType().getTypeForEVT(Context); in LowerBUILD_VECTOR() local 8912 SmallVector<Constant *, 16> ConstVecOps(NumElems, UndefValue::get(EltType)); in LowerBUILD_VECTOR()
|