Lines Matching refs:Args
57 const char **Args,
72 for (unsigned i = 0; Args[i]; ++i)
73 errs() << " " << Args[i];
79 sys::Program::ExecuteAndWait(ProgramPath, Args, 0, redirects,
90 const char **Args,
104 for (unsigned i = 0; Args[i]; ++i)
105 errs() << " " << Args[i];
111 int ReturnCode = sys::Program::ExecuteAndWait(RemoteClientPath, Args,
118 for (const char **Arg = Args; *Arg; ++Arg)
137 static std::string ProcessFailure(sys::Path ProgPath, const char** Args,
142 for (const char **Arg = Args; *Arg; ++Arg)
153 RunProgramWithTimeout(ProgPath, Args, sys::Path(""), ErrorFilename,
176 std::vector<std::string> ToolArgs; // Args to pass to LLI
178 LLI(const std::string &Path, const std::vector<std::string> *Args)
181 if (Args) { ToolArgs = *Args; }
185 const std::vector<std::string> &Args,
198 const std::vector<std::string> &Args,
216 // Add any extra LLI args.
222 for (unsigned i=0, e = Args.size(); i != e; ++i)
223 LLIArgs.push_back(Args[i].c_str());
273 const std::vector<std::string> &Args,
329 const std::vector<std::string> &Args,
342 const std::vector<std::string> &Args,
360 for (unsigned i = 0, e = Args.size(); i != e; ++i)
361 ProgramArgs.push_back(Args[i].c_str());
369 // Tokenize the CommandLine to the command and the args to allow
379 std::string &CmdPath, std::vector<std::string> Args) {
392 Args.push_back(token);
417 std::vector<std::string> Args;
418 Args);
422 return new CustomCompiler(CmdPath, Args);
433 std::vector<std::string> Args;
434 lexCommand(Message, ExecCommandLine, CmdPath, Args);
438 return new CustomExecutor(CmdPath, Args);
458 // Add any extra LLC args.
494 const std::vector<std::string> &Args,
512 return gcc->ExecuteProgram(OutputAsmFile.str(), Args, FileKind,
522 const std::vector<std::string> *Args,
538 return new LLC(LLCPath, gcc, Args, UseIntegratedAssembler);
547 std::vector<std::string> ToolArgs; // Args to pass to LLI
549 JIT(const std::string &Path, const std::vector<std::string> *Args)
552 if (Args) { ToolArgs = *Args; }
556 const std::vector<std::string> &Args,
570 const std::vector<std::string> &Args,
583 // Add any extra LLI args.
593 for (unsigned i=0, e = Args.size(); i != e; ++i)
594 JITArgs.push_back(Args[i].c_str());
612 std::string &Message, const std::vector<std::string> *Args) {
617 return new JIT(LLIPath, Args);
637 // Add any extra LLC args.
667 const std::vector<std::string> &Args,
683 return gcc->ExecuteProgram(OutputCFile.str(), Args, GCC::CFile,
693 const std::vector<std::string> *Args,
709 return new CBE(LLCPath, gcc, Args);
716 static bool IsARMArchitecture(std::vector<const char*> Args) {
718 I = Args.begin(), E = Args.end(); I != E; ++I) {
730 const std::vector<std::string> &Args,
841 for (unsigned i = 0, e = Args.size(); i != e; ++i)
842 ProgramArgs.push_back(Args[i].c_str());
964 const std::vector<std::string> *Args) {
976 return new GCC(GCCPath, RemoteClientPath, Args);