Home
last modified time | relevance | path

Searched refs:OutputFilename (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp390 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 DMain.cpp33 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 Dllvm-as.cpp38 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 Dllvm-dis.cpp43 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 Dllc.cpp179 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 DGraphWriter.cpp228 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 DTimer.cpp56 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 Dllvm-objcopy.cpp164 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 DCopyConfig.h46 StringRef OutputFilename; member
H A DCopyConfig.cpp266 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 Dllvm-profdata.cpp284 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 Dllvm-cxxmap.cpp35 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 DOptimizerDriver.cpp133 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 DBugDriver.h156 std::string OutputFilename,
234 std::string &OutputFilename, bool DeleteOutput = false,
/freebsd-12.1/contrib/llvm/tools/opt/
H A Dopt.cpp86 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 Dllvm-modextract.cpp28 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 DTestingSupport.cpp25 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 DCOFFObjcopy.cpp52 reportError(Config.OutputFilename, in handleArgs()
93 reportError(Config.OutputFilename, std::move(E)); in executeObjcopyOnBinary()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp66 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 Dllvm-dwarfdump.cpp163 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 Dllvm-lto2.cpp46 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 Dllvm-extract.cpp43 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 Dllvm-stress.cpp65 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 Dllvm-link.cpp69 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 DFunctionImport.h209 StringRef ModulePath, StringRef OutputFilename,

12