Lines Matching refs:BitcodeFile
275 SmallString<128> BitcodeFile; in compileProgram() local
278 OutputPrefix + "-test-program-%%%%%%%.bc", BitcodeFD, BitcodeFile); in compileProgram()
284 if (writeProgramToFile(BitcodeFile.str(), BitcodeFD, M)) { in compileProgram()
285 errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile in compileProgram()
291 FileRemover BitcodeFileRemover(BitcodeFile.str(), !SaveTemps); in compileProgram()
294 Interpreter->compileProgram(BitcodeFile.str(), Error, Timeout, MemoryLimit); in compileProgram()
304 std::string BitcodeFile, in executeProgram() argument
311 if (BitcodeFile.empty()) { in executeProgram()
322 BitcodeFile = UniqueFilename.str(); in executeProgram()
324 if (writeProgramToFile(BitcodeFile, UniqueFD, Program)) { in executeProgram()
326 << BitcodeFile << "'!\n"; in executeProgram()
333 std::string BitcodePath(BitcodeFile); in executeProgram()
354 int RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, OutputFile, in executeProgram()
392 std::string BugDriver::compileSharedObject(const std::string &BitcodeFile, in compileSharedObject() argument
398 CC::FileType FT = SafeInterpreter->OutputCode(BitcodeFile, OutputFile, in compileSharedObject()
449 const std::string &BitcodeFile, in diffProgram() argument
455 executeProgram(Program, "", BitcodeFile, SharedObject, nullptr, ErrMsg)); in diffProgram()
477 sys::fs::remove(BitcodeFile); in diffProgram()