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