Lines Matching refs:OutputName
699 std::string OutputName = OutputFilename; in distributedIndexes() local
700 if (OutputName.empty()) { in distributedIndexes()
701 OutputName = Filename + ".thinlto.bc"; in distributedIndexes()
703 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in distributedIndexes()
705 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in distributedIndexes()
706 error(EC, "error opening the file '" + OutputName + "'"); in distributedIndexes()
729 std::string OutputName = OutputFilename; in emitImports() local
730 if (OutputName.empty()) { in emitImports()
731 OutputName = Filename + ".imports"; in emitImports()
733 OutputName = in emitImports()
734 getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix); in emitImports()
735 ThinGenerator.emitImports(*TheModule, OutputName, *Index, *Input); in emitImports()
759 std::string OutputName = OutputFilename; in promote() local
760 if (OutputName.empty()) { in promote()
761 OutputName = Filename + ".thinlto.promoted.bc"; in promote()
763 writeModuleToFile(*TheModule, OutputName); in promote()
792 std::string OutputName = OutputFilename; in import() local
793 if (OutputName.empty()) { in import()
794 OutputName = Filename + ".thinlto.imported.bc"; in import()
796 writeModuleToFile(*TheModule, OutputName); in import()
825 std::string OutputName = OutputFilename; in internalize() local
826 if (OutputName.empty()) { in internalize()
827 OutputName = Filename + ".thinlto.internalized.bc"; in internalize()
829 writeModuleToFile(*TheModule, OutputName); in internalize()
850 std::string OutputName = OutputFilename; in optimize() local
851 if (OutputName.empty()) { in optimize()
852 OutputName = Filename + ".thinlto.imported.bc"; in optimize()
854 writeModuleToFile(*TheModule, OutputName); in optimize()
879 std::string OutputName = OutputFilename; in codegen() local
880 if (OutputName.empty()) in codegen()
881 OutputName = std::get<1>(BinName) + ".thinlto.o"; in codegen()
882 else if (OutputName == "-") { in codegen()
888 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in codegen()
889 error(EC, "error opening the file '" + OutputName + "'"); in codegen()
932 auto OutputName = InputFilenames[BufID] + ".thinlto.o"; in runAll() local
934 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in runAll()
935 error(EC, "error opening the file '" + OutputName + "'"); in runAll()
1149 const char *OutputName = nullptr; in main() local
1150 if (!CodeGen.compile_to_file(&OutputName)) in main()
1154 outs() << "Wrote native object file '" << OutputName << "'\n"; in main()