Lines Matching refs:string
22 #include <string>
49 std::string ReferenceOutputFile; // Name of `good' output file
51 std::vector<std::string> PassesToRun;
77 bool addSources(const std::vector<std::string> &FileNames);
78 void addPass(std::string p) { PassesToRun.push_back(p); }
79 void setPassesToRun(const std::vector<std::string> &PTR) {
82 const std::vector<std::string> &getPassesToRun() const {
90 bool run(std::string &ErrMsg);
96 bool debugOptimizerCrash(const std::string &ID = "passes");
101 bool debugCodeGeneratorCrash(std::string &Error);
106 void debugMiscompilation(std::string *Error);
115 const std::string &ReferenceOutput);
120 std::string compileSharedObject(const std::string &BitcodeFile,
121 std::string &Error);
126 bool debugCodeGenerator(std::string *Error);
167 void compileProgram(Module *M, std::string *Error) const;
172 std::string executeProgram(const Module *Program,
173 std::string OutputFilename,
174 std::string Bitcode,
175 const std::string &SharedObjects,
177 std::string *Error) const;
184 std::string executeProgramSafely(const Module *Program,
185 std::string OutputFile,
186 std::string *Error) const;
193 bool createReferenceFile(Module *M, const std::string &Filename
202 const std::string &BitcodeFile = "",
203 const std::string &SharedObj = "",
205 std::string *Error = 0) const;
210 void EmitProgressBitcode(const Module *M, const std::string &ID,
245 Module *runPassesOn(Module *M, const std::vector<std::string> &Passes,
253 /// deleted on success, and the filename string is undefined. This prints to
259 const std::vector<std::string> &PassesToRun,
260 std::string &OutputFilename, bool DeleteOutput = false,
271 bool runManyPasses(const std::vector<std::string> &AllPasses,
272 std::string &ErrMsg);
277 bool writeProgramToFile(const std::string &Filename, const Module *M) const;
285 const std::vector<std::string> &PassesToRun,
287 std::string Filename;
300 Module *ParseInputFile(const std::string &InputFilename,
304 /// getPassesString - Turn a list of passes into a string which indicates the
307 std::string getPassesString(const std::vector<std::string> &Passes);