Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestBuiltinAttributeInterfaces.cpp46 case DenseArrayBaseAttr::EltType::I8: in runOnOperation()
49 case DenseArrayBaseAttr::EltType::I16: in runOnOperation()
52 case DenseArrayBaseAttr::EltType::I32: in runOnOperation()
55 case DenseArrayBaseAttr::EltType::I64: in runOnOperation()
58 case DenseArrayBaseAttr::EltType::F32: in runOnOperation()
61 case DenseArrayBaseAttr::EltType::F64: in runOnOperation()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetBuiltins.h165 enum EltType { enum
181 NeonTypeFlags(EltType ET, bool IsUnsigned, bool IsQuad) : Flags(ET) { in NeonTypeFlags()
188 EltType getEltType() const { return (EltType)(Flags & EltTypeMask); } in getEltType()
190 EltType ET = getEltType(); in isPoly()
210 enum EltType { enum
241 EltType getEltType() const { in getEltType()
242 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 …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DDenseMapInfo.h255 using EltType = typename std::tuple_element<I, Tuple>::type;
258 DenseMapInfo<EltType>::getHashValue(std::get<I>(values)),
274 using EltType = typename std::tuple_element<I, Tuple>::type;
276 return DenseMapInfo<EltType>::isEqual(std::get<I>(lhs), std::get<I>(rhs)) &&
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp134 unsigned NumElements, Type *EltType, in computeVectorAddr() argument
154 auto *VecType = FixedVectorType::get(EltType, NumElements); in computeVectorAddr()
923 Type *EltPtrType = PointerType::get(EltType, AS); in createElementPtr()
1382 EltType->getPrimitiveSizeInBits().getFixedSize(), in isFusionProfitable()
1405 auto *ColumType = FixedVectorType::get(EltType, R); in getZeroMatrix()
1446 {TileSize, TileSize}, EltType, Builder); in createTiledLoops()
1449 {TileSize, TileSize}, EltType, Builder); in createTiledLoops()
1505 {TileR, TileM}, EltType, Builder); in emitSIMDTiling()
1509 {TileM, TileC}, EltType, Builder); in emitSIMDTiling()
1576 MatrixTy Result(R, C, EltType); in LowerMatrixMultiplyFused()
[all …]
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp691 using KeyTy = std::tuple<ShapedType, DenseArrayBaseAttr::EltType,
694 DenseArrayBaseAttr::EltType eltType, in DenseArrayBaseAttrStorage()
724 DenseArrayBaseAttr::EltType eltType;
762 case DenseArrayBaseAttr::EltType::I8: in printWithoutBraces()
765 case DenseArrayBaseAttr::EltType::I16: in printWithoutBraces()
768 case DenseArrayBaseAttr::EltType::I32: in printWithoutBraces()
771 case DenseArrayBaseAttr::EltType::I64: in printWithoutBraces()
774 case DenseArrayBaseAttr::EltType::F32: in printWithoutBraces()
777 case DenseArrayBaseAttr::EltType::F64: in printWithoutBraces()
881 constexpr static auto eltType = DenseArrayBaseAttr::EltType::I8;
[all …]
H A DAsmPrinter.cpp1876 case DenseArrayBaseAttr::EltType::I8: in printAttribute()
1879 case DenseArrayBaseAttr::EltType::I16: in printAttribute()
1882 case DenseArrayBaseAttr::EltType::I32: in printAttribute()
1885 case DenseArrayBaseAttr::EltType::I64: in printAttribute()
1888 case DenseArrayBaseAttr::EltType::F32: in printAttribute()
1891 case DenseArrayBaseAttr::EltType::F64: in printAttribute()
/llvm-project-15.0.7/clang/lib/AST/
H A DItaniumMangle.cpp3481 QualType EltType = T->getElementType(); in mangleNeonVectorType() local
3485 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3501 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleNeonVectorType()
3520 getASTContext().getTypeSize(EltType)); in mangleNeonVectorType()
3540 switch (EltType->getKind()) { in mangleAArch64VectorBase()
3576 QualType EltType = T->getElementType(); in mangleAArch64NeonVectorType() local
3587 switch (cast<BuiltinType>(EltType)->getKind()) { in mangleAArch64NeonVectorType()
3602 EltName = mangleAArch64VectorBase(cast<BuiltinType>(EltType)); in mangleAArch64NeonVectorType()
3645 QualType EltType = T->getElementType(); in mangleAArch64FixedSveVectorType() local
3646 assert(EltType->isBuiltinType() && in mangleAArch64FixedSveVectorType()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinAttributes.td179 "DenseArrayBaseAttr::EltType":$eltType,
183 enum class EltType { I8, I16, I32, I64, F32, F64 };
201 EltType getElementType() const;
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp1233 QualType EltType = CAT->getElementType(); in EmitArrayInitialization() local
1238 fillC = Emitter.tryEmitAbstractForMemory(filler, EltType); in EmitArrayInitialization()
1253 llvm::Constant *C = Emitter.tryEmitPrivateForMemory(Init, EltType); in EmitArrayInitialization()
H A DCGExpr.cpp3649 QualType EltType = E->getType()->castAsArrayTypeUnsafe()->getElementType(); in EmitArrayToPointerDecay() local
3651 if (TBAAInfo) *TBAAInfo = CGM.getTBAAAccessInfo(EltType); in EmitArrayToPointerDecay()
3653 return Builder.CreateElementBitCast(Addr, ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay()
3846 QualType EltType = LV.getType()->castAs<VectorType>()->getElementType(); in EmitArraySubscriptExpr() local
3847 Addr = emitArraySubscriptGEP(*this, Addr, Idx, EltType, /*inbounds*/ true, in EmitArraySubscriptExpr()
3849 return MakeAddrLValue(Addr, EltType, LV.getBaseInfo(), in EmitArraySubscriptExpr()
3850 CGM.getTBAAInfoForSubobject(LV, EltType)); in EmitArraySubscriptExpr()
H A DTargetInfo.cpp4763 if (const Type *EltType = isSingleElementStruct(Ty, getContext())) { in getParamTypeAlignment() local
4764 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
4765 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
4767 AlignTy = EltType; in getParamTypeAlignment()
5144 const Type *EltType = isSingleElementStruct(Ty, getContext()); in getParamTypeAlignment() local
5145 if (EltType) { in getParamTypeAlignment()
5146 const BuiltinType *BT = EltType->getAs<BuiltinType>(); in getParamTypeAlignment()
5147 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
5149 AlignAsType = EltType; in getParamTypeAlignment()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1820 EVT EltType = Ins[i].VT; in LowerCall() local
1826 EltType = EVT(PromotedVT); in LowerCall()
1832 EltType = MVT::i32; in LowerCall()
1837 EltType = MVT::i16; in LowerCall()
1846 LoadVTs.push_back(EltType); in LowerCall()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp4839 EVT EltType = LoadVT.getScalarType(); in lowerIntrinsicLoad() local
4842 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in lowerIntrinsicLoad()
4852 if (!IsD16 && !LoadVT.isVector() && EltType.getSizeInBits() < 32) in lowerIntrinsicLoad()
8141 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local
8142 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID()
8173 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
8187 EVT EltType = VDataVT.getScalarType(); in LowerINTRINSIC_VOID() local
8188 bool IsD16 = IsFormat && (EltType.getSizeInBits() == 16); in LowerINTRINSIC_VOID()
8221 if (!IsD16 && !VDataVT.isVector() && EltType.getSizeInBits() < 32) in LowerINTRINSIC_VOID()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DNeonEmitter.cpp91 enum EltType { enum
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp9336 EVT EltType = V.getValueType().getVectorElementType(); in getExtFactor() local
9337 return EltType.getSizeInBits() / 8; in getExtFactor()
10298 static unsigned getDUPLANEOp(EVT EltType) { in getDUPLANEOp() argument
10299 if (EltType == MVT::i8) in getDUPLANEOp()
10301 if (EltType == MVT::i16 || EltType == MVT::f16 || EltType == MVT::bf16) in getDUPLANEOp()
10303 if (EltType == MVT::i32 || EltType == MVT::f32) in getDUPLANEOp()
10305 if (EltType == MVT::i64 || EltType == MVT::f64) in getDUPLANEOp()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp8083 QualType EltType = CurType->getSveEltType(S.Context); in HandleArmSveVectorBitsTypeAttr() local
8084 unsigned TypeSize = S.Context.getTypeSize(EltType); in HandleArmSveVectorBitsTypeAttr()
8092 CurType = S.Context.getVectorType(EltType, VecSize, VecKind); in HandleArmSveVectorBitsTypeAttr()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp9599 MVT EltType = MVT::getIntegerVT(VT.getScalarSizeInBits() * SeqLen); in lowerBuildVectorAsBroadcast() local
9600 if ((EltType == MVT::i64 && MaskVT == MVT::v8i1) || // for broadcastmb2q in lowerBuildVectorAsBroadcast()
9601 (EltType == MVT::i32 && MaskVT == MVT::v16i1)) { // for broadcastmw2d in lowerBuildVectorAsBroadcast()
9602 MVT BcstVT = MVT::getVectorVT(EltType, NumElts / SeqLen); in lowerBuildVectorAsBroadcast()
9605 BcstVT = MVT::getVectorVT(EltType, Scale * (NumElts / SeqLen)); in lowerBuildVectorAsBroadcast()
11134 Type *EltType = Op.getValueType().getScalarType().getTypeForEVT(Context); in LowerBUILD_VECTOR() local
11135 SmallVector<Constant *, 16> ConstVecOps(NumElems, UndefValue::get(EltType)); in LowerBUILD_VECTOR()