clang 8.0.0

X86.h
Go to the documentation of this file.
1 //===--- X86.h - X86-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_X86_H
11 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_X86_H
12
13 #include "clang/Driver/Driver.h"
14 #include "llvm/ADT/StringRef.h"
15 #include "llvm/ADT/Triple.h"
16 #include "llvm/Option/Option.h"
17 #include <string>
18 #include <vector>
19
20 namespace clang {
21 namespace driver {
22 namespace tools {
23 namespace x86 {
24
25 const char *getX86TargetCPU(const llvm::opt::ArgList &Args,
26 const llvm::Triple &Triple);
27
28 void getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple,
29 const llvm::opt::ArgList &Args,
30 std::vector<llvm::StringRef> &Features);
31
32 } // end namespace x86
33 } // end namespace target
34 } // end namespace driver
35 } // end namespace clang
36
37 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_X86_H
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::x86::getX86TargetCPU
const char * getX86TargetCPU(const llvm::opt::ArgList &Args, const llvm::Triple &Triple)
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:22
clang::driver::tools::x86::getX86TargetFeatures
void getX86TargetFeatures(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, std::vector< llvm::StringRef > &Features)