Home
last modified time | relevance | path

Searched refs:EltType (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_sve_sme_incl.td146 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 DTargetBuiltins.h189 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 DDenseMapInfo.h264 using EltType = std::tuple_element_t<I, Tuple>;
267 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)),
283 using EltType = std::tuple_element_t<I, Tuple>;
285 return DenseMapInfo<EltType>::isEqual(std::get<I>(lhs), std::get<I>(rhs)) &&
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp328 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() local
329 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
330 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
332 AlignTy = EltType; in getParamTypeAlignment()
699 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local
700 if (EltType) { in getParamTypeAlignment()
701 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
702 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
704 AlignAsType = EltType; in getParamTypeAlignment()
H A DRISCV.cpp330 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 DLowerMatrixIntrinsics.cpp175 unsigned NumElements, Type *EltType, in computeVectorAddr() argument
1660 EltType->getPrimitiveSizeInBits().getFixedValue(), in isFusionProfitable()
1683 auto *ColumType = FixedVectorType::get(EltType, R); in getZeroMatrix()
1724 {TileSize, TileSize}, EltType, Builder); in createTiledLoops()
1727 {TileSize, TileSize}, EltType, Builder); in createTiledLoops()
1776 MatrixTy Res = getZeroMatrix(EltType, TileR, TileC); in emitSIMDTiling()
1783 {TileR, TileM}, EltType, Builder); in emitSIMDTiling()
1787 {TileM, TileC}, EltType, Builder); in emitSIMDTiling()
1854 MatrixTy Result(R, C, EltType); in LowerMatrixMultiplyFused()
1865 Inst2ColumnMatrix[Transpose] = MatrixTy(M, C, EltType); in LowerMatrixMultiplyFused()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumMangle.cpp3764 QualType EltType = T->getElementType(); in mangleNeonVectorType() local
3768 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3784 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3823 switch (EltType->getKind()) { in mangleAArch64VectorBase()
3859 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local
3928 QualType EltType = T->getElementType(); in mangleAArch64FixedSveVectorType() local
3929 assert(EltType->isBuiltinType() && in mangleAArch64FixedSveVectorType()
3933 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleAArch64FixedSveVectorType()
4001 QualType EltType = T->getElementType(); in mangleRISCVFixedRVVVectorType() local
4002 assert(EltType->isBuiltinType() && in mangleRISCVFixedRVVVectorType()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1257 QualType EltType = CAT->getElementType(); in EmitArrayInitialization() local
1262 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization()
1277 llvm::Constant *C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization()
H A DCGExpr.cpp3887 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local
3889 if (TBAAInfo) *TBAAInfo = CGM.getTBAAAccessInfo(EltType); in EmitArrayToPointerDecay()
3891 return Addr.withElementType(ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay()
4169 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local
4170 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true, in EmitArraySubscriptExpr()
4172 return MakeAddrLValue(Addr, EltType, LV.getBaseInfo(), in EmitArraySubscriptExpr()
4173 CGM.getTBAAInfoForSubobject(LV, EltType)); in EmitArraySubscriptExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2124 EVT EltType = Ins[i].VT; in LowerCall() local
2130 EltType = EVT(PromotedVT); in LowerCall()
2136 EltType = MVT::i32; in LowerCall()
2141 EltType = MVT::i16; in LowerCall()
2150 LoadVTs.push_back(EltType); in LowerCall()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp8574 QualType EltType = CurType->getSveEltType(S.Context); in HandleArmSveVectorBitsTypeAttr() local
8575 unsigned TypeSize = S.Context.getTypeSize(EltType); in HandleArmSveVectorBitsTypeAttr()
8583 CurType = S.Context.getVectorType(EltType, VecSize, VecKind); in HandleArmSveVectorBitsTypeAttr()
8653 QualType EltType = CurType->getRVVEltType(S.Context); in HandleRISCVRVVVectorBitsTypeAttr() local
8654 unsigned EltSize = S.Context.getTypeSize(EltType); in HandleRISCVRVVVectorBitsTypeAttr()
8672 CurType = S.Context.getVectorType(EltType, NumElts, VecKind); in HandleRISCVRVVVectorBitsTypeAttr()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp5738 EVT EltType = LoadVT.getScalarType(); in lowerIntrinsicLoad() local
5741 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in lowerIntrinsicLoad()
5762 if (!IsD16 && !LoadVT.isVector() && EltType.getSizeInBits() < 32) in lowerIntrinsicLoad()
9443 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local
9444 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID()
9476 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
9493 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local
9494 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID()
9528 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp90 enum EltType { enum
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10925 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local
10926 return EltType.getSizeInBits() / 8; in getExtFactor()
11968 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument
11969 if (EltType == MVT::i8) in getDUPLANEOp()
11971 if (EltType == MVT::i16 || EltType == MVT::f16 || EltType == MVT::bf16) in getDUPLANEOp()
11973 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp()
11975 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp7180 MVT EltType = MVT::getIntegerVT(VT.getScalarSizeInBits() * SeqLen); in lowerBuildVectorAsBroadcast() local
7181 if ((EltType == MVT::i64 && MaskVT == MVT::v8i1) || // for broadcastmb2q in lowerBuildVectorAsBroadcast()
7182 (EltType == MVT::i32 && MaskVT == MVT::v16i1)) { // for broadcastmw2d in lowerBuildVectorAsBroadcast()
7183 MVT BcstVT = MVT::getVectorVT(EltType, NumElts / SeqLen); in lowerBuildVectorAsBroadcast()
7186 BcstVT = MVT::getVectorVT(EltType, Scale * (NumElts / SeqLen)); in lowerBuildVectorAsBroadcast()
8769 Type *EltType = Op.getValueType().getScalarType().getTypeForEVT(Context); in LowerBUILD_VECTOR() local
8770 SmallVector<Constant *, 16> ConstVecOps(NumElems, UndefValue::get(EltType)); in LowerBUILD_VECTOR()