diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h b/contrib/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h index da2ecd8c1339..f50576b8fee1 100644 --- a/contrib/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h +++ b/contrib/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h @@ -18,6 +18,9 @@ #include <vector> namespace llvm { + +class Triple; + namespace RISCV { // We use 64 bits as the known part in the scalable vector types. @@ -38,6 +41,8 @@ void fillValidCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64); void fillValidTuneCPUArchList(SmallVectorImpl<StringRef> &Values, bool IsRV64); bool getCPUFeaturesExceptStdExt(CPUKind Kind, std::vector<StringRef> &Features); +bool isX18ReservedByDefault(const Triple &TT); + } // namespace RISCV } // namespace llvm |