Lines Matching defs:Args
56 ArrayRef<StringRef> Args, StringRef StdInFile,
62 return sys::ExecuteAndWait(ProgramPath, Args, std::nullopt, Redirects,
73 StringRef RemoteClientPath, ArrayRef<StringRef> Args, StringRef StdInFile,
79 int ReturnCode = sys::ExecuteAndWait(RemoteClientPath, Args, std::nullopt,
86 for (StringRef Arg : Args)
106 static Error ProcessFailure(StringRef ProgPath, ArrayRef<StringRef> Args,
110 for (StringRef Arg : Args)
123 RunProgramWithTimeout(ProgPath, Args, "", ErrorFilename.str(),
146 std::vector<std::string> ToolArgs; // Args to pass to LLI
148 LLI(const std::string &Path, const std::vector<std::string> *Args)
151 if (Args) {
152 ToolArgs = *Args;
157 const std::string &Bitcode, const std::vector<std::string> &Args,
166 const std::vector<std::string> &Args,
189 for (unsigned i = 0, e = Args.size(); i != e; ++i)
190 LLIArgs.push_back(Args[i]);
253 const std::string &Bitcode, const std::vector<std::string> &Args,
302 const std::string &Bitcode, const std::vector<std::string> &Args,
311 const std::string &Bitcode, const std::vector<std::string> &Args,
325 for (unsigned i = 0, e = Args.size(); i != e; ++i)
326 ProgramArgs.push_back(Args[i]);
355 std::vector<std::string> &Args) {
381 Args.push_back(Token);
406 std::vector<std::string> Args;
407 lexCommand(Argv0, Message, CompileCommandLine, CmdPath, Args);
411 return new CustomCompiler(CmdPath, Args);
422 std::vector<std::string> Args;
423 lexCommand(Argv0, Message, ExecCommandLine, CmdPath, Args);
427 return new CustomExecutor(CmdPath, Args);
483 const std::vector<std::string> &Args,
501 return cc->ExecuteProgram(OutputAsmFile, Args, *FileKind, InputFile,
509 const std::vector<std::string> *Args,
525 return new LLC(*LLCPath, cc, Args, UseIntegratedAssembler);
534 std::vector<std::string> ToolArgs; // Args to pass to LLI
536 JIT(const std::string &Path, const std::vector<std::string> *Args)
539 if (Args) {
540 ToolArgs = *Args;
545 const std::string &Bitcode, const std::vector<std::string> &Args,
554 const std::vector<std::string> &Args,
575 for (unsigned i = 0, e = Args.size(); i != e; ++i)
576 JITArgs.push_back(Args[i]);
593 const std::vector<std::string> *Args) {
597 return new JIT(*LLIPath, Args);
608 static bool IsARMArchitecture(std::vector<StringRef> Args) {
609 for (size_t I = 0; I < Args.size(); ++I) {
610 if (!Args[I].equals_insensitive("-arch"))
613 if (I == Args.size())
615 if (Args[I].starts_with_insensitive("arm"))
623 const std::vector<std::string> &Args,
728 for (unsigned i = 0, e = Args.size(); i != e; ++i)
729 ProgramArgs.push_back(Args[i]);
844 const std::vector<std::string> *Args) {
864 return new CC(*CCPath, RemoteClientPath, Args);