9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_COMMONARGS_H
10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_COMMONARGS_H
18#include "llvm/ADT/StringRef.h"
19#include "llvm/Option/Arg.h"
20#include "llvm/Option/ArgList.h"
21#include "llvm/Support/CodeGen.h"
31 const llvm::opt::ArgList &Args,
32 llvm::opt::ArgStringList &CmdArgs,
const JobAction &JA);
35 const llvm::opt::ArgList &Args,
36 llvm::opt::ArgStringList &CmdArgs);
39 llvm::opt::ArgStringList &CmdArgs);
44 llvm::opt::ArgStringList &CmdArgs);
47 const llvm::opt::ArgList &Args,
48 llvm::opt::ArgStringList &CmdArgs);
51 llvm::opt::ArgStringList &CmdArgs);
54 llvm::opt::ArgStringList &CmdArgs);
57 llvm::opt::ArgStringList &CmdArgs,
58 const llvm::opt::ArgList &Args);
63 const llvm::opt::ArgList &DriverArgs,
64 llvm::opt::ArgStringList &CmdArgs,
65 StringRef Arch, StringRef
Target,
69 const llvm::opt::ArgList &DriverArgs,
70 llvm::opt::ArgStringList &CmdArgs, StringRef Arch,
71 StringRef
Target,
bool isBitCodeSDL);
77 const JobAction &JA,
const llvm::opt::ArgList &Args,
78 const InputInfo &Output,
const char *OutFile);
81 llvm::opt::ArgStringList &CmdArgs,
const InputInfo &Output,
86std::tuple<llvm::Reloc::Model, unsigned, bool>
90 const llvm::opt::ArgList &Args);
93 llvm::codegenoptions::DebugInfoKind DebugInfoKind);
95llvm::codegenoptions::DebugInfoKind
108 const llvm::opt::ArgList &Args,
109 llvm::opt::ArgStringList &CmdArgs);
112 llvm::opt::ArgStringList &CmdArgs);
114 const llvm::opt::ArgList &Args,
115 llvm::opt::ArgStringList &CmdArgs);
118 const ToolChain &TC,
const llvm::opt::ArgList &Args,
119 bool ForceStaticHostRuntime =
false,
120 bool IsOffloadingHost =
false,
bool GompNeedsRT =
false);
124 const llvm::opt::ArgList &Args,
125 llvm::opt::ArgStringList &CmdArgs);
129 llvm::opt::ArgStringList &CmdArgs);
133 const llvm::opt::ArgList &Args,
134 llvm::opt::ArgStringList &CmdArgs);
137 const llvm::opt::ArgList &Args,
138 llvm::opt::ArgStringList &CmdArgs);
141 llvm::opt::ArgStringList &CmdArgs,
bool as_needed);
165 llvm::opt::ArgStringList &CmdArgs,
const char *ArgName,
169 std::vector<StringRef> &Features,
170 llvm::opt::OptSpecifier OnOpt,
171 llvm::opt::OptSpecifier OffOpt, StringRef FeatureName);
174 const llvm::Triple &
T,
bool FromAs =
false);
177 const llvm::opt::ArgList &Args,
178 llvm::opt::ArgStringList &CmdArgs,
bool ForAS,
188 const llvm::opt::ArgList &Args,
189 std::vector<StringRef> &Features,
190 llvm::opt::OptSpecifier Group);
206 llvm::opt::ArgStringList &CmdArgs,
bool IsLTO,
207 const StringRef PluginOptPrefix =
"");
210 const llvm::opt::ArgList &Args);
213 const llvm::opt::ArgList &Args);
216 const llvm::opt::ArgList &Args);
219 llvm::opt::ArgStringList &CmdArgs,
220 const llvm::Triple &Triple,
bool IsLTO,
221 const StringRef PluginOptPrefix =
"");
224 llvm::opt::ArgStringList &CC1Args,
225 StringRef BitcodeSuffix,
const llvm::Triple &Triple,
229 const llvm::opt::ArgList &Args,
230 llvm::opt::ArgStringList &CmdArgs,
231 const llvm::Triple &Triple);
233 llvm::opt::ArgStringList &CmdArgs);
235 const llvm::Triple &Triple,
236 const llvm::Reloc::Model &RelocationModel,
237 llvm::opt::ArgStringList &CmdArgs);
clang::CodeGenOptions::FramePointerKind getFramePointerKind(const llvm::opt::ArgList &Args, const llvm::Triple &Triple)
llvm::MachO::Target Target
Compilation - A set of tasks to perform for a single driver invocation.
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
std::vector< std::string > flags_list
The JSON file list parser is used to communicate input to InstallAPI.
const FunctionProtoType * T