Searched refs:OutputFilename (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DInterfaceStubs.cpp35 SmallString<128> OutputFilename(Output.getFilename());
36 if (OutputFilename != "-") {
38 llvm::sys::path::replace_extension(OutputFilename,
41 OutputFilename += (WriteBin ? ".ifso" : ".ifs");
44 CmdArgs.push_back(Args.MakeArgString(OutputFilename.c_str()));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DMain.cpp32 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"),
66 if (OutputFilename == "-")
74 DepOut.os() << OutputFilename << ":";
124 if (auto ExistingOrErr = MemoryBuffer::getFile(OutputFilename))
130 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None);
132 return reportError(argv0, "error opening " + OutputFilename + ":" +
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp39 static cl::opt<std::string> OutputFilename("o",
73 if (OutputFilename.empty()) {
75 OutputFilename = "-";
78 OutputFilename = (IFN.endswith(".ll") ? IFN.drop_back(3) : IFN).str();
79 OutputFilename += ".bc";
85 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-modextract/
H A Dllvm-modextract.cpp27 static cl::opt<std::string> OutputFilename("o", cl::Required,
57 new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DGraphWriter.cpp227 std::string OutputFilename = local
240 args.push_back(OutputFilename);
256 args.push_back(OutputFilename);
260 args.push_back(OutputFilename);
264 args.push_back(OutputFilename);
270 (StringRef("start ") + (wait ? "/WAIT " : "") + OutputFilename).str();
278 return ExecGraphViewer(ViewerPath, args, OutputFilename, wait, ErrMsg);
H A DTimer.cpp59 const std::string &OutputFilename = getLibSupportInfoOutputFilename(); local
60 if (OutputFilename.empty())
62 if (OutputFilename == "-")
71 OutputFilename, EC, sys::fs::OF_Append | sys::fs::OF_Text);
76 << OutputFilename << " for appending!\n";
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp34 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"),
36 cl::alias OutputFilenameA("o", cl::aliasopt(OutputFilename));
148 raw_fd_ostream OS(OutputFilename.data(), EC, sys::fs::OF_Text);
150 exitWithErrorCode(EC, OutputFilename);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp189 static cl::opt<std::string> OutputFilename("o", cl::init(""),
421 assert(!OutputFilename.empty());
422 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC,
424 error(EC, "error opening the file '" + OutputFilename + ".thinlto.bc'");
565 if (OutputFilename.empty())
567 "OutputFilename is necessary to store the combined index.\n");
584 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None);
585 error(EC, "error opening the file '" + OutputFilename + "'");
594 if (InputFilenames.size() != 1 && !OutputFilename.empty())
616 std::string OutputName = OutputFilename;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp25 cl::opt<std::string> OutputFilename(
92 if (auto Err = sys::fs::openFileForWrite(OutputFilename, FD)) {
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp69 OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"));
192 if (OutputFilename.empty()) {
194 OutputFilename = "-";
199 OutputFilename = IFN.drop_back(3);
201 OutputFilename = IFN.drop_back(4);
203 OutputFilename = IFN;
209 OutputFilename += ".cbe.c";
211 OutputFilename += ".cpp";
213 OutputFilename += ".s";
215 OutputFilename
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp132 std::string &OutputFilename, bool DeleteOutput,
144 OutputFilename = UniqueFilename.str();
210 Args.push_back(OutputFilename);
246 sys::fs::remove(OutputFilename);
130 runPasses(Module &Program, const std::vector<std::string> &Passes, std::string &OutputFilename, bool DeleteOutput, bool Quiet, ArrayRef<std::string> ExtraArgs) const argument
H A DBugDriver.h155 std::string OutputFilename,
232 std::string &OutputFilename, bool DeleteOutput = false,
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp295 StringRef OutputFilename,
298 if (OutputFilename.compare("-") == 0)
366 raw_fd_ostream Output(OutputFilename.data(), EC, sys::fs::OF_None);
368 exitWithErrorCode(EC, OutputFilename);
468 StringRef OutputFilename,
519 SampleProfileWriter::create(OutputFilename, FormatMap[OutputFormat]);
521 exitWithErrorCode(EC, OutputFilename);
616 cl::opt<std::string> OutputFilename("output", cl::value_desc("output"),
620 cl::aliasopt(OutputFilename));
685 mergeInstrProfile(WeightedInputs, Remapper.get(), OutputFilename,
293 mergeInstrProfile(const WeightedFileVector &Inputs, SymbolRemapper *Remapper, StringRef OutputFilename, ProfileFormat OutputFormat, bool OutputSparse, unsigned NumThreads, FailureMode FailMode) argument
466 mergeSampleProfile(const WeightedFileVector &Inputs, SymbolRemapper *Remapper, StringRef OutputFilename, ProfileFormat OutputFormat, StringRef ProfileSymbolListFile, bool CompressAllSections, FailureMode FailMode) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dis/
H A Dllvm-dis.cpp42 OutputFilename("o", cl::desc("Override output filename"),
166 if (OutputFilename == "-" && N > 1)
183 std::string FinalFilename(OutputFilename);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionImport.h206 /// Emit into \p OutputFilename the files module \p ModulePath will import from.
208 StringRef ModulePath, StringRef OutputFilename,
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp208 return deepWriteArchive(Config.OutputFilename, NewArchiveMembers,
282 FileBuffer FB(Config.OutputFilename);
295 FileBuffer FB(Config.OutputFilename);
303 restoreStatOnFile(Config.OutputFilename, Stat, Config.PreserveDates))
H A DCopyConfig.h154 StringRef OutputFilename; member in struct:llvm::objcopy::CopyConfig
/freebsd-11-stable/contrib/llvm-project/llvm/tools/opt/
H A Dopt.cpp86 OutputFilename("o", cl::desc("Override output filename"),
632 if (!OutputFilename.empty())
637 if (OutputFilename.empty())
638 OutputFilename = "-";
643 Out.reset(new ToolOutputFile(OutputFilename, EC, Flags));
760 if (OutputFilename.empty())
761 OutputFilename = "-";
764 Out = std::make_unique<ToolOutputFile>(OutputFilename, EC,
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-lto2/
H A Dllvm-lto2.cpp45 static cl::opt<std::string> OutputFilename("o", cl::Required,
230 check(Conf.addSaveTemps(OutputFilename + "."),
335 std::string Path = OutputFilename + "." + utostr(Task);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp72 static cl::opt<std::string> OutputFilename("o", cl::desc("Output filename"),
237 if (OutputFilename == "")
238 OutputFilename = "-";
241 std::make_unique<ToolOutputFile>(OutputFilename, EC, sys::fs::OF_Text);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp160 OutputFilename("o", cl::init("-"),
164 aliasopt(OutputFilename));
587 ToolOutputFile OutputFile(OutputFilename, EC, sys::fs::OF_Text);
588 error("Unable to open output file" + OutputFilename, EC);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-link/
H A Dllvm-link.cpp68 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"),
384 ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-extract/
H A Dllvm-extract.cpp44 static cl::opt<std::string> OutputFilename("o",
363 ToolOutputFile Out(OutputFilename, EC, sys::fs::OF_None);
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp150 reportError(Config.OutputFilename,
233 return createFileError(Config.OutputFilename, std::move(E));
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp64 OutputFilename("o", cl::desc("Override output filename"),
751 if (OutputFilename.empty())
752 OutputFilename = "-";
755 Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));

Completed in 288 milliseconds

12