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);
41 llvm::opt::ArgStringList &CmdArgs);
44 const llvm::opt::ArgList &Args,
45 llvm::opt::ArgStringList &CmdArgs);
48 llvm::opt::ArgStringList &CmdArgs);
51 llvm::opt::ArgStringList &CmdArgs);
54 llvm::opt::ArgStringList &CmdArgs,
55 const llvm::opt::ArgList &Args);
60 const llvm::opt::ArgList &DriverArgs,
61 llvm::opt::ArgStringList &CmdArgs,
62 StringRef Arch, StringRef
Target,
66 const llvm::opt::ArgList &DriverArgs,
67 llvm::opt::ArgStringList &CmdArgs, StringRef Arch,
68 StringRef
Target,
bool isBitCodeSDL);
74 const JobAction &JA,
const llvm::opt::ArgList &Args,
75 const InputInfo &Output,
const char *OutFile);
78 llvm::opt::ArgStringList &CmdArgs,
const InputInfo &Output,
83std::tuple<llvm::Reloc::Model, unsigned, bool>
87 const llvm::opt::ArgList &Args);
90 llvm::codegenoptions::DebugInfoKind DebugInfoKind);
92llvm::codegenoptions::DebugInfoKind
105 const llvm::opt::ArgList &Args,
106 llvm::opt::ArgStringList &CmdArgs);
109 llvm::opt::ArgStringList &CmdArgs);
111 const llvm::opt::ArgList &Args,
112 llvm::opt::ArgStringList &CmdArgs);
115 const ToolChain &TC,
const llvm::opt::ArgList &Args,
116 bool ForceStaticHostRuntime =
false,
117 bool IsOffloadingHost =
false,
bool GompNeedsRT =
false);
121 const llvm::opt::ArgList &Args,
122 llvm::opt::ArgStringList &CmdArgs);
126 llvm::opt::ArgStringList &CmdArgs);
130 const llvm::opt::ArgList &Args,
131 llvm::opt::ArgStringList &CmdArgs);
134 const llvm::opt::ArgList &Args,
135 llvm::opt::ArgStringList &CmdArgs);
138 llvm::opt::ArgStringList &CmdArgs,
bool as_needed);
162 llvm::opt::ArgStringList &CmdArgs,
const char *ArgName,
166 std::vector<StringRef> &Features,
167 llvm::opt::OptSpecifier OnOpt,
168 llvm::opt::OptSpecifier OffOpt, StringRef FeatureName);
171 const llvm::Triple &
T,
bool FromAs =
false);
174 const llvm::opt::ArgList &Args,
175 llvm::opt::ArgStringList &CmdArgs,
bool ForAS,
185 const llvm::opt::ArgList &Args,
186 std::vector<StringRef> &Features,
187 llvm::opt::OptSpecifier Group);
203 llvm::opt::ArgStringList &CmdArgs,
bool IsLTO,
204 const StringRef PluginOptPrefix =
"");
207 const llvm::opt::ArgList &Args);
210 const llvm::opt::ArgList &Args);
213 const llvm::opt::ArgList &Args);
216 llvm::opt::ArgStringList &CmdArgs,
217 const llvm::Triple &Triple,
bool IsLTO,
218 const StringRef PluginOptPrefix =
"");
221 llvm::opt::ArgStringList &CC1Args,
222 StringRef BitcodeSuffix,
const llvm::Triple &Triple,
226 const llvm::opt::ArgList &Args,
227 llvm::opt::ArgStringList &CmdArgs,
228 const llvm::Triple &Triple);
230 llvm::opt::ArgStringList &CmdArgs);
232 const llvm::Triple &Triple,
233 const llvm::Reloc::Model &RelocationModel,
234 llvm::opt::ArgStringList &CmdArgs);
238 llvm::opt::ArgStringList &CmdArgs);
252 const llvm::opt::ArgList &Args);
261 const llvm::opt::ArgList &Args,
262 bool &FRecordCommandLine,
263 bool &GRecordCommandLine);
266 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