Home
last modified time | relevance | path

Searched refs:BitcodeFile (Results 1 – 7 of 7) sorted by relevance

/external/llvm/tools/bugpoint/
DExecutionDriver.cpp275 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()
[all …]
DBugDriver.h121 std::string compileSharedObject(const std::string &BitcodeFile,
197 const std::string &BitcodeFile = "",
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DExecutionDriver.cpp312 sys::Path BitcodeFile (OutputPrefix + "-test-program.bc"); in compileProgram() local
314 if (BitcodeFile.makeUnique(true, &ErrMsg)) { in compileProgram()
319 if (writeProgramToFile(BitcodeFile.str(), M)) { in compileProgram()
321 << BitcodeFile.str() << "'!\n"; in compileProgram()
326 FileRemover BitcodeFileRemover(BitcodeFile.str(), !SaveTemps); in compileProgram()
329 Interpreter->compileProgram(BitcodeFile.str(), Error, Timeout, MemoryLimit); in compileProgram()
339 std::string BitcodeFile, in executeProgram() argument
347 if (BitcodeFile.empty()) { in executeProgram()
355 BitcodeFile = uniqueFilename.str(); in executeProgram()
357 if (writeProgramToFile(BitcodeFile, Program)) { in executeProgram()
[all …]
DBugDriver.h120 std::string compileSharedObject(const std::string &BitcodeFile,
202 const std::string &BitcodeFile = "",
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DExecutionDriver.cpp296 std::string BitcodeFile, in executeProgram() argument
302 if (BitcodeFile.empty()) { in executeProgram()
313 BitcodeFile = File->TmpName; in executeProgram()
316 errs() << ToolName << ": Error emitting bitcode to file '" << BitcodeFile in executeProgram()
340 Expected<int> RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, in executeProgram()
382 BugDriver::compileSharedObject(const std::string &BitcodeFile) { in compileSharedObject() argument
388 SafeInterpreter->OutputCode(BitcodeFile, OutputFile); in compileSharedObject()
434 const std::string &BitcodeFile, in diffProgram() argument
439 executeProgram(Program, "", BitcodeFile, SharedObject, nullptr); in diffProgram()
459 sys::fs::remove(BitcodeFile); in diffProgram()
DBugDriver.h120 Expected<std::string> compileSharedObject(const std::string &BitcodeFile);
179 const std::string &BitcodeFile = "",
/external/swiftshader/third_party/LLVM/tools/llvm-prof/
Dllvm-prof.cpp43 BitcodeFile(cl::Positional, cl::desc("<program bitcode file>"), variable
270 if (!(ec = MemoryBuffer::getFileOrSTDIN(BitcodeFile, Buffer))) { in main()
275 errs() << argv[0] << ": " << BitcodeFile << ": " in main()