/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | InterfaceStubs.cpp | 35 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 D | Main.cpp | 32 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 D | llvm-as.cpp | 39 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 D | llvm-modextract.cpp | 27 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 D | GraphWriter.cpp | 227 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 D | Timer.cpp | 59 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 D | llvm-cxxmap.cpp | 34 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 D | llvm-lto.cpp | 189 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 D | TestingSupport.cpp | 25 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 D | llc.cpp | 69 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 D | OptimizerDriver.cpp | 132 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 D | BugDriver.h | 155 std::string OutputFilename, 232 std::string &OutputFilename, bool DeleteOutput = false,
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 295 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 D | llvm-dis.cpp | 42 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 D | FunctionImport.h | 206 /// 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 D | llvm-objcopy.cpp | 208 return deepWriteArchive(Config.OutputFilename, NewArchiveMembers, 282 FileBuffer FB(Config.OutputFilename); 295 FileBuffer FB(Config.OutputFilename); 303 restoreStatOnFile(Config.OutputFilename, Stat, Config.PreserveDates))
|
H A D | CopyConfig.h | 154 StringRef OutputFilename; member in struct:llvm::objcopy::CopyConfig
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/opt/ |
H A D | opt.cpp | 86 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 D | llvm-lto2.cpp | 45 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 D | llvm-mca.cpp | 72 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 D | llvm-dwarfdump.cpp | 160 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 D | llvm-link.cpp | 68 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 D | llvm-extract.cpp | 44 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 D | COFFObjcopy.cpp | 150 reportError(Config.OutputFilename, 233 return createFileError(Config.OutputFilename, std::move(E));
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 64 OutputFilename("o", cl::desc("Override output filename"), 751 if (OutputFilename.empty()) 752 OutputFilename = "-"; 755 Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None));
|