Home
last modified time | relevance | path

Searched refs:raw_fd_ostream (Results 1 – 25 of 221) sorted by relevance

123456789

/llvm-project-15.0.7/llvm/lib/Support/
H A Draw_ostream.cpp592 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 DTarWriter.cpp82 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 DTimer.cpp96 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 DToolOutputFile.h46 Optional<raw_fd_ostream> OSHolder;
49 raw_fd_ostream *OS;
60 raw_fd_ostream &os() { return *OS; } in os()
H A Draw_ostream.h444 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 DInstrProfWriter.h34 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 DClangOffloadBundler.cpp264 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 DMemoryBufferTest.cpp107 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 Draw_pwrite_stream_test.cpp69 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 DBitWriter.cpp22 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 DLTO.cpp45 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 DMapFile.cpp149 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 Dwriting-to-stdout.ll4 ; 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 DMachOUtils.h21 class raw_fd_ostream; variable
60 SymbolMapTranslator &Translator, MCStreamer &MS, raw_fd_ostream &OutFile,
H A DDwarfLinkerForBinary.h37 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 DCompilerInstanceTest.cpp29 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 DFixItRewriter.cpp101 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 Dllvm-profdata.cpp220 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 DReproducerProvider.cpp42 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 DStatistic.h47 class raw_fd_ostream; variable
182 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp50 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 DModuleAssistant.cpp49 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 DReproducerProvider.h50 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 DFindAllSymbolsMain.cpp73 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 DDOTGraphTraitsPass.h94 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()

123456789