Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTargetBuiltins.h149 enum EltType { enum
165 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags()
172 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType()
174 EltType ET = getEltType(); in isPoly()
194 enum EltType { enum
225 EltType getEltType() const { in getEltType()
226 return (EltType)((Flags & EltTypeMask) >> EltTypeShift); in getEltType()
H A Darm_sve.td134 class EltType<int val> {
137 def EltTyInvalid : EltType<0>;
138 def EltTyInt8 : EltType<1>;
139 def EltTyInt16 : EltType<2>;
140 def EltTyInt32 : EltType<3>;
141 def EltTyInt64 : EltType<4>;
142 def EltTyFloat16 : EltType<5>;
143 def EltTyFloat32 : EltType<6>;
144 def EltTyFloat64 : EltType<7>;
145 def EltTyBool8 : EltType<8>;
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp133 unsigned NumElements, Type *EltType, in computeVectorAddr() argument
153 auto *VecType = FixedVectorType::get(EltType, NumElements); in computeVectorAddr()
753 Type *EltPtrType = PointerType::get(EltType, AS); in createElementPtr()
1199 EltType->getPrimitiveSizeInBits().getFixedSize(), in isFusionProfitable()
1221 auto *ColumType = FixedVectorType::get(EltType, R); in getZeroMatrix()
1315 MatrixTy Res = getZeroMatrix(EltType, TileR, TileC); in emitSIMDTiling()
1322 {TileR, TileM}, EltType, Builder); in emitSIMDTiling()
1326 {TileM, TileC}, EltType, Builder); in emitSIMDTiling()
1392 MatrixTy Result(R, C, EltType); in LowerMatrixMultiplyFused()
1406 Inst2ColumnMatrix[Transpose] = MatrixTy(M, C, EltType); in LowerMatrixMultiplyFused()
[all …]
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DDenseMapInfo.h253 using EltType = typename std::tuple_element<I, Tuple>::type;
256 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)),
272 using EltType = typename std::tuple_element<I, Tuple>::type;
274 return DenseMapInfo<EltType>::isEqual(std::get<I>(lhs), std::get<I>(rhs)) &&
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DItaniumMangle.cpp3394 QualType EltType = T->getElementType(); in mangleNeonVectorType() local
3398 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3414 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3433 getASTContext().getTypeSize(EltType)); in mangleNeonVectorType()
3453 switch (EltType->getKind()) { in mangleAArch64VectorBase()
3489 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local
3500 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleAArch64NeonVectorType()
3515 EltName = mangleAArch64VectorBase(cast<BuiltinType>(EltType)); in mangleAArch64NeonVectorType()
3558 QualType EltType = T->getElementType(); in mangleAArch64FixedSveVectorType() local
3559 assert(EltType->isBuiltinType() && in mangleAArch64FixedSveVectorType()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp1204 QualType EltType = CAT->getElementType(); in EmitArrayInitialization() local
1209 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization()
1224 llvm::Constant *C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization()
H A DCGExpr.cpp3559 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local
3561 if (TBAAInfo) *TBAAInfo = CGM.getTBAAAccessInfo(EltType); in EmitArrayToPointerDecay()
3563 return Builder.CreateElementBitCast(Addr, ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay()
3756 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local
3757 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true, in EmitArraySubscriptExpr()
3759 return MakeAddrLValue(Addr, EltType, LV.getBaseInfo(), in EmitArraySubscriptExpr()
3760 CGM.getTBAAInfoForSubobject(LV, EltType)); in EmitArraySubscriptExpr()
H A DTargetInfo.cpp4649 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() local
4650 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
4651 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
4653 AlignTy = EltType; in getParamTypeAlignment()
5026 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local
5027 if (EltType) { in getParamTypeAlignment()
5028 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
5029 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
5031 AlignAsType = EltType; in getParamTypeAlignment()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1771 EVT EltType = Ins[i].VT; in LowerCall() local
1775 EltType = MVT::i32; in LowerCall()
1780 EltType = MVT::i16; in LowerCall()
1789 LoadVTs.push_back(EltType); in LowerCall()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp4646 EVT EltType = LoadVT.getScalarType(); in lowerIntrinsicLoad() local
4649 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in lowerIntrinsicLoad()
4659 if (!IsD16 && !LoadVT.isVector() && EltType.getSizeInBits() < 32) in lowerIntrinsicLoad()
7705 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local
7706 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID()
7737 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
7751 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local
7752 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID()
7786 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp8167 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local
8168 return EltType.getSizeInBits() / 8; in getExtFactor()
8935 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument
8936 if (EltType == MVT::i8) in getDUPLANEOp()
8938 if (EltType == MVT::i16 || EltType == MVT::f16 || EltType == MVT::bf16) in getDUPLANEOp()
8940 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp()
8942 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/
H A DNeonEmitter.cpp91 enum EltType { enum
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaType.cpp7893 QualType EltType = CurType->getSveEltType(S.Context); in HandleArmSveVectorBitsTypeAttr() local
7894 unsigned TypeSize = S.Context.getTypeSize(EltType); in HandleArmSveVectorBitsTypeAttr()
7902 CurType = S.Context.getVectorType(EltType, VecSize, VecKind); in HandleArmSveVectorBitsTypeAttr()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp8868 MVT EltType = MVT::getIntegerVT(VT.getScalarSizeInBits() * SeqLen); in lowerBuildVectorAsBroadcast() local
8869 if ((EltType == MVT::i64 && MaskVT == MVT::v8i1) || // for broadcastmb2q in lowerBuildVectorAsBroadcast()
8870 (EltType == MVT::i32 && MaskVT == MVT::v16i1)) { // for broadcastmw2d in lowerBuildVectorAsBroadcast()
8871 MVT BcstVT = MVT::getVectorVT(EltType, NumElts / SeqLen); in lowerBuildVectorAsBroadcast()
8874 BcstVT = MVT::getVectorVT(EltType, Scale * (NumElts / SeqLen)); in lowerBuildVectorAsBroadcast()
10393 Type *EltType = Op.getValueType().getScalarType().getTypeForEVT(Context); in LowerBUILD_VECTOR() local
10394 SmallVector<Constant *, 16> ConstVecOps(NumElems, UndefValue::get(EltType)); in LowerBUILD_VECTOR()