| /freebsd-12.1/contrib/llvm/tools/llvm-lto/ |
| H A D | llvm-lto.cpp | 390 assert(!OutputFilename.empty()); in createCombinedModuleSummaryIndex() 525 if (OutputFilename.empty()) in thinLink() 574 std::string OutputName = OutputFilename; in distributedIndexes() 602 std::string OutputName = OutputFilename; in emitImports() 629 std::string OutputName = OutputFilename; in promote() 660 std::string OutputName = OutputFilename; in import() 691 std::string OutputName = OutputFilename; in internalize() 714 std::string OutputName = OutputFilename; in optimize() 743 std::string OutputName = OutputFilename; in codegen() 760 if (!OutputFilename.empty()) in runAll() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | Main.cpp | 33 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable 64 if (OutputFilename == "-") in createDependencyFile() 72 DepOut.os() << OutputFilename << ":"; in createDependencyFile() 121 if (auto ExistingOrErr = MemoryBuffer::getFile(OutputFilename)) in TableGenMain() 126 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::F_Text); in TableGenMain() 128 return reportError(argv0, "error opening " + OutputFilename + ":" + in TableGenMain()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-as/ |
| H A D | llvm-as.cpp | 38 static cl::opt<std::string> OutputFilename("o", variable 69 if (OutputFilename.empty()) { in WriteOutputFile() 71 OutputFilename = "-"; in WriteOutputFile() 74 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile() 75 OutputFilename += ".bc"; in WriteOutputFile() 81 new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in WriteOutputFile()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-dis/ |
| H A D | llvm-dis.cpp | 43 OutputFilename("o", cl::desc("Override output filename"), variable 176 OutputFilename = "-"; in main() 178 if (OutputFilename.empty()) { // Unspecified output, infer it. in main() 180 OutputFilename = "-"; in main() 183 OutputFilename = (IFN.endswith(".bc") ? IFN.drop_back(3) : IFN).str(); in main() 184 OutputFilename += ".ll"; in main() 190 new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in main()
|
| /freebsd-12.1/contrib/llvm/tools/llc/ |
| H A D | llc.cpp | 179 if (OutputFilename.empty()) { in GetOutputStream() 181 OutputFilename = "-"; in GetOutputStream() 186 OutputFilename = IFN.drop_back(3); in GetOutputStream() 190 OutputFilename = IFN; in GetOutputStream() 196 OutputFilename += ".cbe.c"; in GetOutputStream() 198 OutputFilename += ".cpp"; in GetOutputStream() 200 OutputFilename += ".s"; in GetOutputStream() 202 OutputFilename += ".s"; in GetOutputStream() 206 OutputFilename += ".obj"; in GetOutputStream() 208 OutputFilename += ".o"; in GetOutputStream() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | GraphWriter.cpp | 228 std::string OutputFilename = in DisplayGraph() local 241 args.push_back(OutputFilename); in DisplayGraph() 257 args.push_back(OutputFilename); in DisplayGraph() 261 args.push_back(OutputFilename); in DisplayGraph() 265 args.push_back(OutputFilename); in DisplayGraph() 271 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str(); in DisplayGraph() 279 return ExecGraphViewer(ViewerPath, args, OutputFilename, wait, ErrMsg); in DisplayGraph()
|
| H A D | Timer.cpp | 56 const std::string &OutputFilename = getLibSupportInfoOutputFilename(); in CreateInfoOutputFile() local 57 if (OutputFilename.empty()) in CreateInfoOutputFile() 59 if (OutputFilename == "-") in CreateInfoOutputFile() 68 OutputFilename, EC, sys::fs::F_Append | sys::fs::F_Text); in CreateInfoOutputFile() 73 << OutputFilename << " for appending!\n"; in CreateInfoOutputFile()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 164 if (Error E = deepWriteArchive(Config.OutputFilename, NewArchiveMembers, in executeObjcopyOnArchive() 167 reportError(Config.OutputFilename, std::move(E)); in executeObjcopyOnArchive() 199 FileBuffer FB(Config.OutputFilename); in executeObjcopy() 210 FileBuffer FB(Config.OutputFilename); in executeObjcopy() 216 restoreDateOnFile(Config.OutputFilename, Stat); in executeObjcopy()
|
| H A D | CopyConfig.h | 46 StringRef OutputFilename; member
|
| H A D | CopyConfig.cpp | 266 Config.OutputFilename = Positional[Positional.size() == 1 ? 0 : 1]; in parseObjcopyOptions() 459 Config.OutputFilename = in parseStripOptions() 465 Config.OutputFilename = Filename; in parseStripOptions()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 284 StringRef OutputFilename, in mergeInstrProfile() argument 287 if (OutputFilename.compare("-") == 0) in mergeInstrProfile() 297 exitWithErrorCode(EC, OutputFilename); in mergeInstrProfile() 407 StringRef OutputFilename, in mergeSampleProfile() argument 413 exitWithErrorCode(EC, OutputFilename); in mergeSampleProfile() 553 cl::aliasopt(OutputFilename)); in merge_main() 909 cl::aliasopt(OutputFilename)); in show_main() 927 if (OutputFilename.empty()) in show_main() 928 OutputFilename = "-"; in show_main() 931 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::F_Text); in show_main() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-cxxmap/ |
| H A D | llvm-cxxmap.cpp | 35 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), variable 37 cl::alias OutputFilenameA("o", cl::aliasopt(OutputFilename)); 149 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::F_Text); in main() 151 exitWithErrorCode(EC, OutputFilename); in main()
|
| /freebsd-12.1/contrib/llvm/tools/bugpoint/ |
| H A D | OptimizerDriver.cpp | 133 std::string &OutputFilename, bool DeleteOutput, in runPasses() argument 146 OutputFilename = UniqueFilename.str(); in runPasses() 212 Args.push_back(OutputFilename); in runPasses() 249 sys::fs::remove(OutputFilename); in runPasses()
|
| H A D | BugDriver.h | 156 std::string OutputFilename, 234 std::string &OutputFilename, bool DeleteOutput = false,
|
| /freebsd-12.1/contrib/llvm/tools/opt/ |
| H A D | opt.cpp | 86 OutputFilename("o", cl::desc("Override output filename"), variable 554 if (!OutputFilename.empty()) in main() 559 if (OutputFilename.empty()) in main() 560 OutputFilename = "-"; in main() 563 Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in main() 662 if (OutputFilename.empty()) in main() 663 OutputFilename = "-"; in main() 666 Out = llvm::make_unique<ToolOutputFile>(OutputFilename, EC, in main()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-modextract/ |
| H A D | llvm-modextract.cpp | 28 static cl::opt<std::string> OutputFilename("o", cl::Required, variable 58 new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in main()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-cov/ |
| H A D | TestingSupport.cpp | 25 cl::opt<std::string> OutputFilename( in convertForTestingMain() local 78 if (auto Err = sys::fs::openFileForWrite(OutputFilename, FD)) { in convertForTestingMain()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/COFF/ |
| H A D | COFFObjcopy.cpp | 52 reportError(Config.OutputFilename, in handleArgs() 93 reportError(Config.OutputFilename, std::move(E)); in executeObjcopyOnBinary()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 66 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"), variable 200 if (OutputFilename == "") in getOutputStream() 201 OutputFilename = "-"; in getOutputStream() 204 llvm::make_unique<ToolOutputFile>(OutputFilename, EC, sys::fs::F_None); in getOutputStream()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-dwarfdump/ |
| H A D | llvm-dwarfdump.cpp | 163 OutputFilename("out-file", cl::init(""), variable 167 aliasopt(OutputFilename), 583 if (!OutputFilename.empty()) { in main() 585 OutputFile = llvm::make_unique<ToolOutputFile>(OutputFilename, EC, in main() 587 error("Unable to open output file" + OutputFilename, EC); in main()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 46 static cl::opt<std::string> OutputFilename("o", cl::Required, variable 210 check(Conf.addSaveTemps(OutputFilename + "."), in run() 301 std::string Path = OutputFilename + "." + utostr(Task); in run()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-extract/ |
| H A D | llvm-extract.cpp | 43 OutputFilename("o", cl::desc("Specify output filename"), variable 334 ToolOutputFile Out(OutputFilename, EC, sys::fs::F_None); in main()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 65 OutputFilename("o", cl::desc("Override output filename"), variable 752 if (OutputFilename.empty()) in main() 753 OutputFilename = "-"; in main() 756 Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::F_None)); in main()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-link/ |
| H A D | llvm-link.cpp | 69 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"), variable 385 ToolOutputFile Out(OutputFilename, EC, sys::fs::F_None); in main()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/IPO/ |
| H A D | FunctionImport.h | 209 StringRef ModulePath, StringRef OutputFilename,
|