1 //===--- RISCV.h - RISCV-specific Tool Helpers ------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_RISCV_H
11 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_RISCV_H
13 #include "clang/Driver/Driver.h"
14 #include "llvm/ADT/StringRef.h"
15 #include "llvm/Option/Option.h"
23 void getRISCVTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,
24 std::vector<llvm::StringRef> &Features);
25 StringRef getRISCVABI(const llvm::opt::ArgList &Args,
26 const llvm::Triple &Triple);
27 } // end namespace riscv
29 } // end namespace driver
30 } // end namespace clang
32 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_RISCV_H