Lines Matching refs:OutputName

478       std::string OutputName = OutputFilename;  in distributedIndexes()  local
479 if (OutputName.empty()) { in distributedIndexes()
480 OutputName = Filename + ".thinlto.bc"; in distributedIndexes()
482 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes()
484 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in distributedIndexes()
485 error(EC, "error opening the file '" + OutputName + "'"); in distributedIndexes()
504 std::string OutputName = OutputFilename; in emitImports() local
505 if (OutputName.empty()) { in emitImports()
506 OutputName = Filename + ".imports"; in emitImports()
508 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in emitImports()
509 ThinLTOCodeGenerator::emitImports(Filename, OutputName, *Index); in emitImports()
531 std::string OutputName = OutputFilename; in promote() local
532 if (OutputName.empty()) { in promote()
533 OutputName = Filename + ".thinlto.promoted.bc"; in promote()
535 writeModuleToFile(*TheModule, OutputName); in promote()
562 std::string OutputName = OutputFilename; in import() local
563 if (OutputName.empty()) { in import()
564 OutputName = Filename + ".thinlto.imported.bc"; in import()
566 writeModuleToFile(*TheModule, OutputName); in import()
593 std::string OutputName = OutputFilename; in internalize() local
594 if (OutputName.empty()) { in internalize()
595 OutputName = Filename + ".thinlto.internalized.bc"; in internalize()
597 writeModuleToFile(*TheModule, OutputName); in internalize()
616 std::string OutputName = OutputFilename; in optimize() local
617 if (OutputName.empty()) { in optimize()
618 OutputName = Filename + ".thinlto.imported.bc"; in optimize()
620 writeModuleToFile(*TheModule, OutputName); in optimize()
638 std::string OutputName = OutputFilename; in codegen() local
639 if (OutputName.empty()) { in codegen()
640 OutputName = Filename + ".thinlto.o"; in codegen()
642 if (OutputName == "-") { in codegen()
648 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in codegen()
649 error(EC, "error opening the file '" + OutputName + "'"); in codegen()
683 auto OutputName = InputFilenames[BufID] + ".thinlto.o"; in runAll() local
685 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in runAll()
686 error(EC, "error opening the file '" + OutputName + "'"); in runAll()
868 const char *OutputName = nullptr; in main() local
869 if (!CodeGen.compile_to_file(&OutputName, DisableVerify, DisableInline, in main()
874 outs() << "Wrote native object file '" << OutputName << "'\n"; in main()