1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_X86_H |
10 | #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_X86_H |
11 | |
12 | #include "clang/Driver/Driver.h" |
13 | #include "llvm/ADT/StringRef.h" |
14 | #include "llvm/ADT/Triple.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 x86 { |
23 | |
24 | const char *getX86TargetCPU(const llvm::opt::ArgList &Args, |
25 | const llvm::Triple &Triple); |
26 | |
27 | void getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple, |
28 | const llvm::opt::ArgList &Args, |
29 | std::vector<llvm::StringRef> &Features); |
30 | |
31 | } |
32 | } |
33 | } |
34 | } |
35 | |
36 | #endif |
37 | |