Lines Matching defs:OutputName
760 std::string OutputName = OutputFilename;
761 if (OutputName.empty()) {
762 OutputName = Filename + ".thinlto.bc";
764 OutputName = getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix);
766 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None);
767 error(EC, "error opening the file '" + OutputName + "'");
790 std::string OutputName = OutputFilename;
791 if (OutputName.empty()) {
792 OutputName = Filename + ".imports";
794 OutputName =
795 getThinLTOOutputFile(OutputName, OldPrefix, NewPrefix);
796 ThinGenerator.emitImports(*TheModule, OutputName, *Index, *Input);
820 std::string OutputName = OutputFilename;
821 if (OutputName.empty()) {
822 OutputName = Filename + ".thinlto.promoted.bc";
824 writeModuleToFile(*TheModule, OutputName);
853 std::string OutputName = OutputFilename;
854 if (OutputName.empty()) {
855 OutputName = Filename + ".thinlto.imported.bc";
857 writeModuleToFile(*TheModule, OutputName);
886 std::string OutputName = OutputFilename;
887 if (OutputName.empty()) {
888 OutputName = Filename + ".thinlto.internalized.bc";
890 writeModuleToFile(*TheModule, OutputName);
911 std::string OutputName = OutputFilename;
912 if (OutputName.empty()) {
913 OutputName = Filename + ".thinlto.imported.bc";
915 writeModuleToFile(*TheModule, OutputName);
940 std::string OutputName = OutputFilename;
941 if (OutputName.empty())
942 OutputName = std::get<1>(BinName) + ".thinlto.o";
943 else if (OutputName == "-") {
949 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None);
950 error(EC, "error opening the file '" + OutputName + "'");
993 auto OutputName = InputFilenames[BufID] + ".thinlto.o";
995 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None);
996 error(EC, "error opening the file '" + OutputName + "'");
1210 const char *OutputName = nullptr;
1211 if (!CodeGen.compile_to_file(&OutputName))
1215 outs() << "Wrote native object file '" << OutputName << "'\n";