Skip to content

Commit 6cd41dd

Browse files
committed
[RISCV] Remove isRVVType from Type.h. NFC
These are no longer used.
1 parent 2af186f commit 6cd41dd

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

clang/include/clang/AST/Type.h

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,10 +2383,6 @@ class alignas(TypeAlignment) Type : public ExtQualsTypeCommonBase {
23832383
/// Check if the type is the CUDA device builtin texture type.
23842384
bool isCUDADeviceBuiltinTextureType() const;
23852385

2386-
bool isRVVType(unsigned ElementCount) const;
2387-
2388-
bool isRVVType(unsigned Bitwidth, bool IsFloat, bool IsBFloat = false) const;
2389-
23902386
/// Return the implicit lifetime for this type, which must not be dependent.
23912387
Qualifiers::ObjCLifetime getObjCARCImplicitLifetime() const;
23922388

@@ -7283,28 +7279,6 @@ inline bool Type::isOpenCLSpecificType() const {
72837279
isQueueT() || isReserveIDT() || isPipeType() || isOCLExtOpaqueType();
72847280
}
72857281

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-
73087282
inline bool Type::isTemplateTypeParmType() const {
73097283
return isa<TemplateTypeParmType>(CanonicalType);
73107284
}

0 commit comments

Comments
 (0)