clang 8.0.0

RISCV.h
Go to the documentation of this file.
1 //===--- RISCV.h - RISCV-specific Tool Helpers ------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_RISCV_H
11 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_RISCV_H
12
13 #include "clang/Driver/Driver.h"
14 #include "llvm/ADT/StringRef.h"
15 #include "llvm/Option/Option.h"
16 #include <string>
17 #include <vector>
18
19 namespace clang {
20 namespace driver {
21 namespace tools {
22 namespace riscv {
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
28 } // namespace tools
29 } // end namespace driver
30 } // end namespace clang
31
32 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_RISCV_H
clang::driver::tools::riscv::getRISCVTargetFeatures
void getRISCVTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args, std::vector< llvm::StringRef > &Features)
clang::driver::Driver
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition: Driver.h:58
Driver.h
clang::driver::tools::riscv::getRISCVABI
StringRef getRISCVABI(const llvm::opt::ArgList &Args, const llvm::Triple &Triple)
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:22