Home | History | Annotate | Download | only in bugpoint

Lines Matching refs:string

42   extern cl::opt<std::string> OutputPrefix;
53 cl::opt<std::string> ChildOutput("child-output", cl::ReallyHidden);
54 cl::opt<std::string> OptCmd("opt-command", cl::init(""),
72 bool BugDriver::writeProgramToFile(const std::string &Filename, int FD,
78 bool BugDriver::writeProgramToFile(const std::string &Filename,
92 const std::string &ID,
97 std::string Filename = OutputPrefix + "-" + ID + ".bc";
117 static cl::list<std::string> OptArgs("opt-args", cl::Positional,
125 /// deleted on success, and the filename string is undefined. This prints to
130 const std::vector<std::string> &Passes,
131 std::string &OutputFilename, bool DeleteOutput,
167 std::string tool = OptCmd;
169 if (ErrorOr<std::string> Path = sys::findProgramByName("opt"))
179 std::string Prog;
181 if (ErrorOr<std::string> Path = sys::findProgramByName("valgrind"))
209 std::vector<std::string> pass_args;
211 pass_args.push_back( std::string("-load"));
214 for (std::vector<std::string>::const_iterator I = Passes.begin(),
216 pass_args.push_back( std::string("-") + (*I) );
217 for (std::vector<std::string>::const_iterator I = pass_args.begin(),
235 std::string ErrMsg;
269 BugDriver::runPassesOn(Module *M, const std::vector<std::string> &Passes,
272 std::string BitcodeResult;