Lines Matching refs:string

34   cl::opt<std::string>
38 cl::opt<std::string>
42 cl::opt<std::string>
46 cl::opt<std::string>
50 cl::opt<std::string>
65 std::string *ErrMsg = nullptr) { in RunProgramWithTimeout()
118 std::string StdOutFileName = StdOutFile.str(); in RunProgramRemotelyWithTimeout()
133 static std::string ProcessFailure(StringRef ProgPath, const char** Args, in ProcessFailure()
173 std::string LLIPath; // The path to the LLI executable
174 std::vector<std::string> ToolArgs; // Args to pass to LLI
176 LLI(const std::string &Path, const std::vector<std::string> *Args) in LLI()
182 int ExecuteProgram(const std::string &Bitcode,
183 const std::vector<std::string> &Args,
184 const std::string &InputFile,
185 const std::string &OutputFile,
186 std::string *Error,
187 const std::vector<std::string> &GCCArgs,
188 const std::vector<std::string> &SharedLibs =
189 std::vector<std::string>(),
195 int LLI::ExecuteProgram(const std::string &Bitcode, in ExecuteProgram()
196 const std::vector<std::string> &Args, in ExecuteProgram()
197 const std::string &InputFile, in ExecuteProgram()
198 const std::string &OutputFile, in ExecuteProgram()
199 std::string *Error, in ExecuteProgram()
200 const std::vector<std::string> &GCCArgs, in ExecuteProgram()
201 const std::vector<std::string> &SharedLibs, in ExecuteProgram()
208 for (std::vector<std::string>::const_iterator i = SharedLibs.begin(), in ExecuteProgram()
249 static std::string PrependMainExecutablePath(const std::string &ExeName, in PrependMainExecutablePath()
255 std::string Main = sys::fs::getMainExecutable(Argv0, MainAddr); in PrependMainExecutablePath()
270 std::string &Message, in createLLI()
271 const std::vector<std::string> *ToolArgs) { in createLLI()
272 std::string LLIPath = in createLLI()
291 std::string CompilerCommand;
292 std::vector<std::string> CompilerArgs;
295 const std::string &CompilerCmd, std::vector<std::string> CompArgs) : in CustomCompiler()
298 void compileProgram(const std::string &Bitcode,
299 std::string *Error,
303 int ExecuteProgram(const std::string &Bitcode, in ExecuteProgram()
304 const std::vector<std::string> &Args, in ExecuteProgram()
305 const std::string &InputFile, in ExecuteProgram()
306 const std::string &OutputFile, in ExecuteProgram()
307 std::string *Error, in ExecuteProgram()
308 const std::vector<std::string> &GCCArgs = in ExecuteProgram()
309 std::vector<std::string>(), in ExecuteProgram()
310 const std::vector<std::string> &SharedLibs = in ExecuteProgram()
311 std::vector<std::string>(), in ExecuteProgram()
320 void CustomCompiler::compileProgram(const std::string &Bitcode, in compileProgram()
321 std::string *Error, in compileProgram()
352 std::string ExecutionCommand;
353 std::vector<std::string> ExecutorArgs;
356 const std::string &ExecutionCmd, std::vector<std::string> ExecArgs) : in CustomExecutor()
359 int ExecuteProgram(const std::string &Bitcode,
360 const std::vector<std::string> &Args,
361 const std::string &InputFile,
362 const std::string &OutputFile,
363 std::string *Error,
364 const std::vector<std::string> &GCCArgs,
365 const std::vector<std::string> &SharedLibs =
366 std::vector<std::string>(),
372 int CustomExecutor::ExecuteProgram(const std::string &Bitcode, in ExecuteProgram()
373 const std::vector<std::string> &Args, in ExecuteProgram()
374 const std::string &InputFile, in ExecuteProgram()
375 const std::string &OutputFile, in ExecuteProgram()
376 std::string *Error, in ExecuteProgram()
377 const std::vector<std::string> &GCCArgs, in ExecuteProgram()
378 const std::vector<std::string> &SharedLibs, in ExecuteProgram()
409 static void lexCommand(std::string &Message, const std::string &CommandLine, in lexCommand()
410 std::string &CmdPath, std::vector<std::string> &Args) { in lexCommand()
412 std::string Command = ""; in lexCommand()
413 std::string delimiters = " "; in lexCommand()
415 std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0); in lexCommand()
416 std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos); in lexCommand()
418 while (std::string::npos != pos || std::string::npos != lastPos) { in lexCommand()
419 std::string token = CommandLine.substr(lastPos, pos - lastPos); in lexCommand()
433 std::string("Cannot find '") + Command + in lexCommand()
445 std::string &Message, in createCustomCompiler()
446 const std::string &CompileCommandLine) { in createCustomCompiler()
448 std::string CmdPath; in createCustomCompiler()
449 std::vector<std::string> Args; in createCustomCompiler()
460 std::string &Message, in createCustomExecutor()
461 const std::string &ExecCommandLine) { in createCustomExecutor()
464 std::string CmdPath; in createCustomExecutor()
465 std::vector<std::string> Args; in createCustomExecutor()
476 GCC::FileType LLC::OutputCode(const std::string &Bitcode, in OutputCode()
477 std::string &OutputAsmFile, std::string &Error, in OutputCode()
520 void LLC::compileProgram(const std::string &Bitcode, std::string *Error, in compileProgram()
522 std::string OutputAsmFile; in compileProgram()
527 int LLC::ExecuteProgram(const std::string &Bitcode, in ExecuteProgram()
528 const std::vector<std::string> &Args, in ExecuteProgram()
529 const std::string &InputFile, in ExecuteProgram()
530 const std::string &OutputFile, in ExecuteProgram()
531 std::string *Error, in ExecuteProgram()
532 const std::vector<std::string> &ArgsForGCC, in ExecuteProgram()
533 const std::vector<std::string> &SharedLibs, in ExecuteProgram()
537 std::string OutputAsmFile; in ExecuteProgram()
542 std::vector<std::string> GCCArgs(ArgsForGCC); in ExecuteProgram()
554 std::string &Message, in createLLC()
555 const std::string &GCCBinary, in createLLC()
556 const std::vector<std::string> *Args, in createLLC()
557 const std::vector<std::string> *GCCArgs, in createLLC()
559 std::string LLCPath = in createLLC()
580 std::string LLIPath; // The path to the LLI executable
581 std::vector<std::string> ToolArgs; // Args to pass to LLI
583 JIT(const std::string &Path, const std::vector<std::string> *Args) in JIT()
589 int ExecuteProgram(const std::string &Bitcode,
590 const std::vector<std::string> &Args,
591 const std::string &InputFile,
592 const std::string &OutputFile,
593 std::string *Error,
594 const std::vector<std::string> &GCCArgs =
595 std::vector<std::string>(),
596 const std::vector<std::string> &SharedLibs =
597 std::vector<std::string>(),
603 int JIT::ExecuteProgram(const std::string &Bitcode, in ExecuteProgram()
604 const std::vector<std::string> &Args, in ExecuteProgram()
605 const std::string &InputFile, in ExecuteProgram()
606 const std::string &OutputFile, in ExecuteProgram()
607 std::string *Error, in ExecuteProgram()
608 const std::vector<std::string> &GCCArgs, in ExecuteProgram()
609 const std::vector<std::string> &SharedLibs, in ExecuteProgram()
646 std::string &Message, const std::vector<std::string> *Args) { in createJIT()
647 std::string LLIPath = in createJIT()
675 int GCC::ExecuteProgram(const std::string &ProgramFile, in ExecuteProgram()
676 const std::vector<std::string> &Args, in ExecuteProgram()
678 const std::string &InputFile, in ExecuteProgram()
679 const std::string &OutputFile, in ExecuteProgram()
680 std::string *Error, in ExecuteProgram()
681 const std::vector<std::string> &ArgsForGCC, in ExecuteProgram()
691 for (std::vector<std::string>::const_iterator in ExecuteProgram()
758 std::string Exec; in ExecuteProgram()
824 int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, in MakeSharedObject()
825 std::string &OutputFile, in MakeSharedObject()
826 const std::vector<std::string> &ArgsForGCC, in MakeSharedObject()
827 std::string &Error) { in MakeSharedObject()
844 for (std::vector<std::string>::const_iterator in MakeSharedObject()
908 GCC *GCC::create(std::string &Message, in create()
909 const std::string &GCCBinary, in create()
910 const std::vector<std::string> *Args) { in create()
918 std::string RemoteClientPath; in create()