| /freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | InterfaceStubs.cpp | 36 SmallString<128> OutputFilename(Output.getFilename()); in ConstructJob() local 37 if (OutputFilename != "-") { in ConstructJob() 39 llvm::sys::path::replace_extension(OutputFilename, in ConstructJob() 42 OutputFilename += (WriteBin ? ".ifso" : ".ifs"); in ConstructJob() 45 CmdArgs.push_back(Args.MakeArgString(OutputFilename.c_str())); in ConstructJob()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | Main.cpp | 32 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"), variable 69 if (OutputFilename == "-") in createDependencyFile() 77 DepOut.os() << OutputFilename << ":"; in createDependencyFile() 141 MemoryBuffer::getFile(OutputFilename, /*IsText=*/true)) in TableGenMain() 147 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); in TableGenMain() 149 return reportError(argv0, "error opening " + OutputFilename + ": " + in TableGenMain()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-as/ |
| H A D | llvm-as.cpp | 39 static cl::opt<std::string> OutputFilename("o", variable 73 if (OutputFilename.empty()) { in WriteOutputFile() 75 OutputFilename = "-"; in WriteOutputFile() 78 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str(); in WriteOutputFile() 79 OutputFilename += ".bc"; in WriteOutputFile() 85 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in WriteOutputFile()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-lto/ |
| H A D | llvm-lto.cpp | 482 assert(!OutputFilename.empty()); in createCombinedModuleSummaryIndex() 628 if (OutputFilename.empty()) in thinLink() 679 std::string OutputName = OutputFilename; in distributedIndexes() 709 std::string OutputName = OutputFilename; in emitImports() 739 std::string OutputName = OutputFilename; in promote() 772 std::string OutputName = OutputFilename; in import() 805 std::string OutputName = OutputFilename; in internalize() 830 std::string OutputName = OutputFilename; in optimize() 859 std::string OutputName = OutputFilename; in codegen() 876 if (!OutputFilename.empty()) in runAll() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llc/ |
| H A D | llc.cpp | 227 if (OutputFilename.empty()) { in GetOutputStream() 229 OutputFilename = "-"; in GetOutputStream() 234 OutputFilename = std::string(IFN.drop_back(3)); in GetOutputStream() 238 OutputFilename = std::string(IFN); in GetOutputStream() 244 OutputFilename += ".cbe.c"; in GetOutputStream() 246 OutputFilename += ".cpp"; in GetOutputStream() 248 OutputFilename += ".s"; in GetOutputStream() 250 OutputFilename += ".s"; in GetOutputStream() 254 OutputFilename += ".obj"; in GetOutputStream() 256 OutputFilename += ".o"; in GetOutputStream() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | GraphWriter.cpp | 268 std::string OutputFilename = in DisplayGraph() local 281 args.push_back(OutputFilename); in DisplayGraph() 297 args.push_back(OutputFilename); in DisplayGraph() 301 args.push_back(OutputFilename); in DisplayGraph() 305 args.push_back(OutputFilename); in DisplayGraph() 311 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str(); in DisplayGraph() 319 return ExecGraphViewer(ViewerPath, args, OutputFilename, wait, ErrMsg); in DisplayGraph()
|
| H A D | Timer.cpp | 97 const std::string &OutputFilename = getLibSupportInfoOutputFilename(); in CreateInfoOutputFile() local 98 if (OutputFilename.empty()) in CreateInfoOutputFile() 100 if (OutputFilename == "-") in CreateInfoOutputFile() 109 OutputFilename, EC, sys::fs::OF_Append | sys::fs::OF_TextWithCRLF); in CreateInfoOutputFile() 114 << OutputFilename << " for appending!\n"; in CreateInfoOutputFile()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cxxmap/ |
| H A D | llvm-cxxmap.cpp | 41 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"), variable 44 cl::alias OutputFilenameA("o", cl::aliasopt(OutputFilename), 160 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::OF_TextWithCRLF); in main() 162 exitWithErrorCode(EC, OutputFilename); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dis/ |
| H A D | llvm-dis.cpp | 44 static cl::opt<std::string> OutputFilename("o", variable 170 } else if (InputFilenames.size() > 1 && !OutputFilename.empty()) { in main() 184 if (OutputFilename == "-" && N > 1) in main() 201 std::string FinalFilename(OutputFilename); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ |
| H A D | llvm-objcopy.cpp | 259 return deepWriteArchive(Config.OutputFilename, *NewArchiveMembersOrErr, in executeObjcopyOnArchive() 290 if (Config.InputFilename == Config.OutputFilename && OStat.getUser() == 0) in restoreStatOnFile() 295 if (Config.InputFilename != Config.OutputFilename) in restoreStatOnFile() 373 if (Error E = writeToOutput(Config.OutputFilename, ObjcopyFunc)) in executeObjcopy() 387 if (Error E = writeToOutput(Config.OutputFilename, ObjcopyFunc)) in executeObjcopy() 392 if (Error E = restoreStatOnFile(Config.OutputFilename, Stat, ConfigMgr)) in executeObjcopy()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | OptimizerDriver.cpp | 132 std::string &OutputFilename, bool DeleteOutput, in runPasses() argument 144 OutputFilename = std::string(UniqueFilename.str()); in runPasses() 213 Args.push_back(OutputFilename); in runPasses() 249 sys::fs::remove(OutputFilename); in runPasses()
|
| H A D | BugDriver.h | 155 std::string OutputFilename, 232 std::string &OutputFilename, bool DeleteOutput = false,
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-modextract/ |
| H A D | llvm-modextract.cpp | 30 static cl::opt<std::string> OutputFilename("o", cl::Required, variable 65 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/opt/ |
| H A D | opt.cpp | 98 OutputFilename("o", cl::desc("Override output filename"), variable 477 if (auto E = timeTraceProfilerWrite(TimeTraceFile, OutputFilename)) { in ~TimeTracerRAII() 697 if (!OutputFilename.empty()) in main() 702 if (OutputFilename.empty()) in main() 703 OutputFilename = "-"; in main() 708 Out.reset(new ToolOutputFile(OutputFilename, EC, Flags)); in main() 888 if (OutputFilename.empty()) in main() 889 OutputFilename = "-"; in main() 892 Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-cov/ |
| H A D | TestingSupport.cpp | 26 cl::opt<std::string> OutputFilename( in convertForTestingMain() local 103 if (auto Err = sys::fs::openFileForWrite(OutputFilename, FD)) { in convertForTestingMain()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwp/ |
| H A D | llvm-dwp.cpp | 45 static cl::opt<std::string> OutputFilename(cl::Required, "o", variable 171 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None); in main() 175 return error(Twine(OutputFilename) + ": " + EC.message(), Context); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-sim/ |
| H A D | llvm-sim.cpp | 29 static cl::opt<std::string> OutputFilename("o", cl::desc("Output Filename"), variable 142 exportToFile(OutputFilename, SimilaritySections, LLVMInstNum); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 305 static void writeInstrProfile(StringRef OutputFilename, in writeInstrProfile() argument 309 raw_fd_ostream Output(OutputFilename.data(), EC, in writeInstrProfile() 313 exitWithErrorCode(EC, OutputFilename); in writeInstrProfile() 328 StringRef OutputFilename, in mergeInstrProfile() argument 553 if (OutputFilename.compare("-") == 0) in supplementInstrProfile() 583 writeInstrProfile(OutputFilename, OutputFormat, WC->Writer); in supplementInstrProfile() 768 exitWithErrorCode(EC, OutputFilename); in mergeSampleProfile() 867 cl::aliasopt(OutputFilename)); in merge_main() 2485 cl::aliasopt(OutputFilename)); in show_main() 2514 if (Filename == OutputFilename) { in show_main() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-mca/ |
| H A D | llvm-mca.cpp | 78 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"), variable 255 if (OutputFilename == "") in getOutputStream() 256 OutputFilename = "-"; in getOutputStream() 258 auto Out = std::make_unique<ToolOutputFile>(OutputFilename, EC, in getOutputStream()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-dwarfdump/ |
| H A D | llvm-dwarfdump.cpp | 190 OutputFilename("o", cl::init("-"), variable 194 aliasopt(OutputFilename)); 642 ToolOutputFile OutputFile(OutputFilename, EC, sys::fs::OF_TextWithCRLF); in main() 643 error("unable to open output file " + OutputFilename, EC); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-lto2/ |
| H A D | llvm-lto2.cpp | 51 static cl::opt<std::string> OutputFilename("o", cl::Required, variable 257 check(Conf.addSaveTemps(OutputFilename + "."), in run() 367 std::string Path = OutputFilename + "." + utostr(Task); in run()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/ |
| H A D | COFFObjcopy.cpp | 193 "'" + Config.OutputFilename + "': not stripping symbol '" + in handleArgs() 267 return createFileError(Config.OutputFilename, std::move(E)); in executeObjcopyOnBinary()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 65 static cl::opt<std::string> OutputFilename("o", variable 761 if (OutputFilename.empty()) in main() 762 OutputFilename = "-"; in main() 765 Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-extract/ |
| H A D | llvm-extract.cpp | 45 static cl::opt<std::string> OutputFilename("o", variable 375 ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None); in main()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | FunctionImport.h | 214 StringRef ModulePath, StringRef OutputFilename,
|