Home | History | Annotate | Download | only in bugpoint

Lines Matching refs:Args

59                                  const char **Args,
71 for (unsigned i = 0; Args[i]; ++i)
72 errs() << " " << Args[i];
77 return sys::ExecuteAndWait(ProgramPath, Args, nullptr, Redirects,
88 const char **Args,
99 for (unsigned i = 0; Args[i]; ++i)
100 errs() << " " << Args[i];
106 int ReturnCode = sys::ExecuteAndWait(RemoteClientPath, Args, nullptr,
113 for (const char **Arg = Args; *Arg; ++Arg)
133 static std::string ProcessFailure(StringRef ProgPath, const char** Args,
138 for (const char **Arg = Args; *Arg; ++Arg)
151 RunProgramWithTimeout(ProgPath, Args, "", ErrorFilename.str(),
174 std::vector<std::string> ToolArgs; // Args to pass to LLI
176 LLI(const std::string &Path, const std::vector<std::string> *Args)
179 if (Args) { ToolArgs = *Args; }
183 const std::vector<std::string> &Args,
196 const std::vector<std::string> &Args,
214 // Add any extra LLI args.
220 for (unsigned i=0, e = Args.size(); i != e; ++i)
221 LLIArgs.push_back(Args[i].c_str());
304 const std::vector<std::string> &Args,
360 const std::vector<std::string> &Args,
373 const std::vector<std::string> &Args,
391 for (unsigned i = 0, e = Args.size(); i != e; ++i)
392 ProgramArgs.push_back(Args[i].c_str());
400 // Tokenize the CommandLine to the command and the args to allow
410 std::string &CmdPath, std::vector<std::string> &Args) {
423 Args.push_back(token);
448 std::vector<std::string> Args;
449 lexCommand(Message, CompileCommandLine, CmdPath, Args);
453 return new CustomCompiler(CmdPath, Args);
464 std::vector<std::string> Args;
465 lexCommand(Message, ExecCommandLine, CmdPath, Args);
469 return new CustomExecutor(CmdPath, Args);
491 // Add any extra LLC args.
527 const std::vector<std::string> &Args,
545 return gcc->ExecuteProgram(OutputAsmFile, Args, FileKind,
555 const std::vector<std::string> *Args,
571 return new LLC(LLCPath, gcc, Args, UseIntegratedAssembler);
580 std::vector<std::string> ToolArgs; // Args to pass to LLI
582 JIT(const std::string &Path, const std::vector<std::string> *Args)
585 if (Args) { ToolArgs = *Args; }
589 const std::vector<std::string> &Args,
603 const std::vector<std::string> &Args,
616 // Add any extra LLI args.
626 for (unsigned i=0, e = Args.size(); i != e; ++i)
627 JITArgs.push_back(Args[i].c_str());
645 std::string &Message, const std::vector<std::string> *Args) {
650 return new JIT(LLIPath, Args);
661 static bool IsARMArchitecture(std::vector<const char*> Args) {
663 I = Args.begin(), E = Args.end(); I != E; ++I) {
675 const std::vector<std::string> &Args,
787 for (unsigned i = 0, e = Args.size(); i != e; ++i)
788 ProgramArgs.push_back(Args[i].c_str());
909 const std::vector<std::string> *Args) {
921 return new GCC(GCCPath, RemoteClientPath, Args);