@@ -2383,10 +2383,6 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
2383
2383
// / Check if the type is the CUDA device builtin texture type.
2384
2384
bool isCUDADeviceBuiltinTextureType () const ;
2385
2385
2386
- bool isRVVType (unsigned ElementCount) const ;
2387
-
2388
- bool isRVVType (unsigned Bitwidth, bool IsFloat, bool IsBFloat = false ) const ;
2389
-
2390
2386
// / Return the implicit lifetime for this type, which must not be dependent.
2391
2387
Qualifiers::ObjCLifetime getObjCARCImplicitLifetime () const ;
2392
2388
@@ -7283,28 +7279,6 @@ inline bool Type::isOpenCLSpecificType() const {
7283
7279
isQueueT () || isReserveIDT () || isPipeType () || isOCLExtOpaqueType ();
7284
7280
}
7285
7281
7286
- inline bool Type::isRVVType (unsigned ElementCount) const {
7287
- bool Ret = false ;
7288
- #define RVV_VECTOR_TYPE (Name, Id, SingletonId, NumEls, ElBits, NF, IsSigned, \
7289
- IsFP, IsBF) \
7290
- if (NumEls == ElementCount) \
7291
- Ret |= isSpecificBuiltinType (BuiltinType::Id);
7292
- #include " clang/Basic/RISCVVTypes.def"
7293
- return Ret;
7294
- }
7295
-
7296
- inline bool Type::isRVVType (unsigned Bitwidth, bool IsFloat,
7297
- bool IsBFloat) const {
7298
- bool Ret = false ;
7299
- #define RVV_TYPE (Name, Id, SingletonId )
7300
- #define RVV_VECTOR_TYPE (Name, Id, SingletonId, NumEls, ElBits, NF, IsSigned, \
7301
- IsFP, IsBF) \
7302
- if (ElBits == Bitwidth && IsFloat == IsFP && IsBFloat == IsBF) \
7303
- Ret |= isSpecificBuiltinType (BuiltinType::Id);
7304
- #include " clang/Basic/RISCVVTypes.def"
7305
- return Ret;
7306
- }
7307
-
7308
7282
inline bool Type::isTemplateTypeParmType () const {
7309
7283
return isa<TemplateTypeParmType>(CanonicalType);
7310
7284
}
0 commit comments