Home
last modified time | relevance | path

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

123456

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp599 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC) in raw_fd_ostream() function in raw_fd_ostream
603 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
607 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
612 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
617 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
625 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered, in raw_fd_ostream() function in raw_fd_ostream
667 raw_fd_ostream::~raw_fd_ostream() { in ~raw_fd_ostream()
809 void raw_fd_ostream::close() { in close()
890 void raw_fd_ostream::anchor() {} in anchor()
896 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h35 class raw_fd_ostream; variable
110 Error write(raw_fd_ostream &OS);
116 Error writeText(raw_fd_ostream &OS);
119 void writeTextTemporalProfTraceData(raw_fd_ostream &OS,
127 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
/freebsd-14.2/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp135 std::unique_ptr<raw_fd_ostream> lld::openFile(StringRef file) { in openFile()
138 std::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::OF_None); in openFile()
150 std::unique_ptr<raw_fd_ostream> lld::openLTOOutputFile(StringRef file) { in openLTOOutputFile()
152 std::unique_ptr<raw_fd_ostream> fs = in openLTOOutputFile()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DToolOutputFile.h46 std::optional<raw_fd_ostream> OSHolder;
49 raw_fd_ostream *OS;
60 raw_fd_ostream &os() { return *OS; } in os()
H A Draw_ostream.h454 class raw_fd_ostream : public raw_pwrite_stream {
504 raw_fd_ostream(StringRef Filename, std::error_code &EC);
505 raw_fd_ostream(StringRef Filename, std::error_code &EC,
507 raw_fd_ostream(StringRef Filename, std::error_code &EC,
509 raw_fd_ostream(StringRef Filename, std::error_code &EC,
511 raw_fd_ostream(StringRef Filename, std::error_code &EC,
518 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered = false,
521 ~raw_fd_ostream() override;
593 raw_fd_ostream &outs();
600 raw_fd_ostream &errs();
[all …]
H A DTarWriter.h27 raw_fd_ostream OS;
/freebsd-14.2/contrib/llvm-project/lld/include/lld/Common/
H A DFilesystem.h20 std::unique_ptr<llvm::raw_fd_ostream> openFile(StringRef file);
21 std::unique_ptr<llvm::raw_fd_ostream> openLTOOutputFile(StringRef file);
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DMapFile.cpp127 static void printFileName(raw_fd_ostream &os, const InputFile *f) { in printFileName()
136 raw_fd_ostream &os, in printStubsEntries()
146 static void printNonLazyPointerSection(raw_fd_ostream &os, in printNonLazyPointerSection()
166 raw_fd_ostream os(config->mapFile, ec, sys::fs::OF_None); in writeMapFile()
H A DLTO.h40 std::unique_ptr<llvm::raw_fd_ostream> indexFile;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp162 llvm::raw_fd_ostream *OS = new llvm::raw_fd_ostream( in AttachHeaderIncludeGen()
281 llvm::raw_fd_ostream *FDS = static_cast<llvm::raw_fd_ostream *>(OutputFile); in EndOfMainFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp102 std::unique_ptr<llvm::raw_fd_ostream> OS; in WriteFixedFiles()
104 OS.reset(new llvm::raw_fd_ostream(fd, /*shouldClose=*/true)); in WriteFixedFiles()
106 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::OF_None)); in WriteFixedFiles()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStatistic.h47 class raw_fd_ostream; variable
182 std::unique_ptr<raw_fd_ostream> CreateInfoOutputFile();
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp592 raw_fd_ostream &OS, bool IsCS) { in overlapInput()
829 raw_fd_ostream Output(OutputFilename.data(), EC, in writeInstrProfile()
1849 bool detectZeroSampleProfile(raw_fd_ostream &OS) const;
1853 void dumpFuncSimilarity(raw_fd_ostream &OS) const;
1856 void dumpProgramSummary(raw_fd_ostream &OS) const;
1864 void dumpHotFuncAndBlockOverlap(raw_fd_ostream &OS) const;
1877 void computeSampleProfileOverlap(raw_fd_ostream &OS);
2003 raw_fd_ostream &OS) const { in detectZeroSampleProfile()
2522 raw_fd_ostream &OS) const { in dumpHotFuncAndBlockOverlap()
2923 raw_fd_ostream &OS) { in showSectionInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/lld/ELF/
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 = ctx.openAuxiliaryFile(mapFile, ec); in writeMapAndCref()
H A DLTO.h54 std::unique_ptr<llvm::raw_fd_ostream> indexFile;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp51 ProfOStream(raw_fd_ostream &FD) in ProfOStream()
67 raw_fd_ostream &FDOStream = static_cast<raw_fd_ostream &>(OS); in patch()
666 Error InstrProfWriter::write(raw_fd_ostream &OS) { in write()
713 raw_fd_ostream &OS) { in writeRecordInText()
762 Error InstrProfWriter::writeText(raw_fd_ostream &OS) { in writeText()
812 void InstrProfWriter::writeTextTemporalProfTraceData(raw_fd_ostream &OS, in writeTextTemporalProfTraceData()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h115 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in printGraphForFunction()
302 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in runOnModule()
333 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in WriteDOTGraphToFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DFileRemapper.cpp124 llvm::raw_fd_ostream infoOut(infoFile, EC, llvm::sys::fs::OF_Text); in flushToFile()
151 llvm::raw_fd_ostream newOut(fd, /*shouldClose=*/true); in flushToFile()
181 llvm::raw_fd_ostream Out(origFE.getName(), EC, llvm::sys::fs::OF_None); in overwriteOriginal()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/WindowsResource/
H A DResourceProcessor.h39 std::unique_ptr<raw_fd_ostream> OutputStream);
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp495 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC, in createCombinedModuleSummaryIndex()
585 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::OF_None); in writeModuleToFile()
657 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None); in thinLink()
695 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in distributedIndexes()
878 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in codegen()
924 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in runAll()
1108 std::make_unique<raw_fd_ostream>(PartFilename, EC, sys::fs::OF_None); in main()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DLTO.h54 std::unique_ptr<llvm::raw_fd_ostream> indexFile;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp125 static std::unique_ptr<raw_fd_ostream> getOrCreateLogFile() { in getOrCreateLogFile()
129 auto Result = std::make_unique<raw_fd_ostream>(CoroElideInfoOutputFilename, in getOrCreateLogFile()
135 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in getOrCreateLogFile()

123456