| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | raw_ostream.cpp | 592 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC) in raw_fd_ostream() function in raw_fd_ostream 596 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream 600 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream 605 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream 610 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream 618 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered, in raw_fd_ostream() function in raw_fd_ostream 660 raw_fd_ostream::~raw_fd_ostream() { in ~raw_fd_ostream() 793 void raw_fd_ostream::close() { in close() 879 void raw_fd_ostream::anchor() {} in anchor() 885 raw_fd_ostream &llvm::outs() { in outs() [all …]
|
| H A D | TarWriter.cpp | 82 static void pad(raw_fd_ostream &OS) { in pad() 101 static void writePaxHeader(raw_fd_ostream &OS, StringRef Path) { in writePaxHeader() 157 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, in writeUstarHeader()
|
| H A D | Timer.cpp | 96 std::unique_ptr<raw_fd_ostream> llvm::CreateInfoOutputFile() { in CreateInfoOutputFile() 99 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile() 101 return std::make_unique<raw_fd_ostream>(1, false); // stdout. in CreateInfoOutputFile() 108 auto Result = std::make_unique<raw_fd_ostream>( in CreateInfoOutputFile() 115 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | ToolOutputFile.h | 46 Optional<raw_fd_ostream> OSHolder; 49 raw_fd_ostream *OS; 60 raw_fd_ostream &os() { return *OS; } in os()
|
| H A D | raw_ostream.h | 444 class raw_fd_ostream : public raw_pwrite_stream { 494 raw_fd_ostream(StringRef Filename, std::error_code &EC); 495 raw_fd_ostream(StringRef Filename, std::error_code &EC, 497 raw_fd_ostream(StringRef Filename, std::error_code &EC, 499 raw_fd_ostream(StringRef Filename, std::error_code &EC, 501 raw_fd_ostream(StringRef Filename, std::error_code &EC, 508 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered = false, 511 ~raw_fd_ostream() override; 583 raw_fd_ostream &outs(); 590 raw_fd_ostream &errs(); [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfWriter.h | 34 class raw_fd_ostream; variable 87 Error write(raw_fd_ostream &OS); 90 Error writeText(raw_fd_ostream &OS); 97 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
|
| /llvm-project-15.0.7/clang/tools/clang-offload-bundler/ |
| H A D | ClangOffloadBundler.cpp | 264 virtual Error WriteHeader(raw_fd_ostream &OS, 269 virtual Error WriteBundleStart(raw_fd_ostream &OS, 483 Error WriteHeader(raw_fd_ostream &OS, in WriteHeader() 528 Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) final { in WriteBundle() 557 raw_fd_ostream OS(File, EC); in Create() 651 Error WriteHeader(raw_fd_ostream &OS, in WriteHeader() 730 Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) final { in WriteBundle() 826 Error WriteHeader(raw_fd_ostream &OS, in WriteHeader() 841 Error WriteBundle(raw_fd_ostream &OS, MemoryBuffer &Input) final { in WriteBundle() 1082 raw_fd_ostream OutputFile(E.second, EC, sys::fs::OF_None); in UnbundleFiles() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | MemoryBufferTest.cpp | 107 raw_fd_ostream OF(FD, /*shouldClose*/ true); in TEST_F() 138 raw_fd_ostream OF(TestFD, true, /*unbuffered=*/true); in TEST_F() 241 raw_fd_ostream OF(TestFD, true, !Reopen); in testGetOpenFileSlice() 280 raw_fd_ostream OF(FD, true, /*unbuffered=*/true); in TEST_F() 328 raw_fd_ostream OF(FD, true); in TEST_F() 361 raw_fd_ostream OF(FD, true); in TEST_F() 396 raw_fd_ostream OF(FD, true); in TEST_F()
|
| H A D | raw_pwrite_stream_test.cpp | 69 raw_fd_ostream OS(FD, true); in TEST() 87 raw_fd_ostream OS(FD, true); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitWriter.cpp | 22 raw_fd_ostream OS(Path, EC, sys::fs::OF_None); in LLVMWriteBitcodeToFile() 33 raw_fd_ostream OS(FD, ShouldClose, Unbuffered); in LLVMWriteBitcodeToFD()
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | LTO.cpp | 45 static std::unique_ptr<raw_fd_ostream> openFile(StringRef file) { in openFile() 48 std::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::OF_None); in openFile() 60 static std::unique_ptr<raw_fd_ostream> openLTOOutputFile(StringRef file) { in openLTOOutputFile() 62 std::unique_ptr<raw_fd_ostream> fs = in openLTOOutputFile() 171 if (std::unique_ptr<raw_fd_ostream> os = in createConfig() 297 std::unique_ptr<raw_fd_ostream> os = openFile(path + ".thinlto.bc"); in thinLTOCreateEmptyIndexFiles()
|
| H A D | MapFile.cpp | 149 static void writeMapFile(raw_fd_ostream &os) { in writeMapFile() 224 static void writeCref(raw_fd_ostream &os) { in writeCref() 266 raw_fd_ostream os(mapFile, ec, sys::fs::OF_None); in writeMapAndCref()
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | writing-to-stdout.ll | 4 ; instead of a file. This behaviour is implemented by the raw_fd_ostream class. 7 ; long as they write to stdout using raw_fd_ostream.
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachOUtils.h | 21 class raw_fd_ostream; variable 60 SymbolMapTranslator &Translator, MCStreamer &MS, raw_fd_ostream &OutFile,
|
| H A D | DwarfLinkerForBinary.h | 37 DwarfLinkerForBinary(raw_fd_ostream &OutFile, BinaryHolder &BinHolder, in DwarfLinkerForBinary() 196 bool createStreamer(const Triple &TheTriple, raw_fd_ostream &OutFile); 219 raw_fd_ostream &OutFile;
|
| /llvm-project-15.0.7/flang/unittests/Frontend/ |
| H A D | CompilerInstanceTest.cpp | 29 std::unique_ptr<llvm::raw_fd_ostream> os{ in TEST() 30 new llvm::raw_fd_ostream(inputFile, ec, llvm::sys::fs::OF_None)}; in TEST()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | FixItRewriter.cpp | 101 std::unique_ptr<llvm::raw_fd_ostream> OS; in WriteFixedFiles() 103 OS.reset(new llvm::raw_fd_ostream(fd, /*shouldClose=*/true)); in WriteFixedFiles() 105 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::OF_None)); in WriteFixedFiles()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 220 raw_fd_ostream &OS, bool IsCS) { in overlapInput() 356 raw_fd_ostream Output(OutputFilename.data(), EC, in writeInstrProfile() 1269 void dumpFuncSimilarity(raw_fd_ostream &OS) const; 1272 void dumpProgramSummary(raw_fd_ostream &OS) const; 1419 raw_fd_ostream &OS) const { in detectZeroSampleProfile() 1938 raw_fd_ostream &OS) const { in dumpHotFuncAndBlockOverlap() 2145 raw_fd_ostream &OS) { in showInstrProfile() 2341 raw_fd_ostream &OS) { in showSectionInfo() 2424 raw_fd_ostream &OS) { in showHotFunctionList() 2491 raw_fd_ostream &OS) { in showSampleProfile() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ReproducerProvider.cpp | 42 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep() 84 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep() 129 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | Statistic.h | 47 class raw_fd_ostream; variable 182 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfWriter.cpp | 50 ProfOStream(raw_fd_ostream &FD) in ProfOStream() 65 raw_fd_ostream &FDOStream = static_cast<raw_fd_ostream &>(OS); in patch() 503 Error InstrProfWriter::write(raw_fd_ostream &OS) { in write() 549 raw_fd_ostream &OS) { in writeRecordInText() 587 Error InstrProfWriter::writeText(raw_fd_ostream &OS) { in writeText()
|
| /llvm-project-15.0.7/clang-tools-extra/modularize/ |
| H A D | ModuleAssistant.cpp | 49 bool output(llvm::raw_fd_ostream &OS, int Indent); 78 bool Module::output(llvm::raw_fd_ostream &OS, int Indent) { in output() 279 llvm::raw_fd_ostream &OS = Out.os(); in writeModuleMap()
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | ReproducerProvider.h | 50 llvm::raw_fd_ostream m_os; 154 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep() 275 llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_TextWithCRLF); in Keep() 329 std::unique_ptr<llvm::raw_fd_ostream> m_stream_up;
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/ |
| H A D | FindAllSymbolsMain.cpp | 73 llvm::raw_fd_ostream OS(FD, /*shouldClose=*/true); in reportSymbols() 117 llvm::raw_fd_ostream OS(OutputFile, EC, llvm::sys::fs::OF_None); in Merge()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | DOTGraphTraitsPass.h | 94 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in printGraphForFunction() 280 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in runOnModule() 309 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in WriteDOTGraphToFile()
|