Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp593 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC) in raw_fd_ostream() function in raw_fd_ostream
594 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream()
597 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
599 : raw_fd_ostream(Filename, EC, Disp, sys::fs::FA_Write, sys::fs::OF_None) {} in raw_fd_ostream()
601 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(Filename, EC, sys::fs::CD_CreateAlways, Access, in raw_fd_ostream()
606 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
608 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream()
611 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
615 : raw_fd_ostream(getFD(Filename, EC, Disp, Access, Flags), true) {} in raw_fd_ostream()
[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/contrib/llvm-project/llvm/include/llvm/Support/
H A DToolOutputFile.h48 std::optional<raw_fd_ostream> OSHolder;
51 raw_fd_ostream *OS;
62 raw_fd_ostream &os() { return *OS; } in os()
H A Draw_ostream.h460 class raw_fd_ostream : public raw_pwrite_stream {
514 raw_fd_ostream(StringRef Filename, std::error_code &EC);
515 raw_fd_ostream(StringRef Filename, std::error_code &EC,
517 raw_fd_ostream(StringRef Filename, std::error_code &EC,
519 raw_fd_ostream(StringRef Filename, std::error_code &EC,
521 raw_fd_ostream(StringRef Filename, std::error_code &EC,
528 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered = false,
531 ~raw_fd_ostream() override;
610 raw_fd_ostream &outs();
617 raw_fd_ostream &errs();
[all …]
H A DTarWriter.h27 raw_fd_ostream OS;
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h35 class raw_fd_ostream; variable
129 Error write(raw_fd_ostream &OS);
135 Error writeText(raw_fd_ostream &OS);
138 void writeTextTemporalProfTraceData(raw_fd_ostream &OS,
146 InstrProfSymtab &Symtab, raw_fd_ostream &OS);
/freebsd/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/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()
172 raw_fd_ostream os(config->mapFile, ec, sys::fs::OF_None); in writeMapFile()
H A DLTO.cpp176 std::unique_ptr<raw_fd_ostream> os = openFile(path + ".thinlto.bc"); in thinLTOCreateEmptyIndexFiles()
H A DLTO.h40 std::unique_ptr<llvm::raw_fd_ostream> indexFile;
/freebsd/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/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp630 raw_fd_ostream &OS, bool IsCS) { in overlapInput()
887 raw_fd_ostream Output(OutputFilename.data(), EC, in writeInstrProfile()
1722 raw_fd_ostream &OS, bool IsCS) { in overlapInstrProfile()
1908 bool detectZeroSampleProfile(raw_fd_ostream &OS) const;
1912 void dumpFuncSimilarity(raw_fd_ostream &OS) const;
1915 void dumpProgramSummary(raw_fd_ostream &OS) const;
1923 void dumpHotFuncAndBlockOverlap(raw_fd_ostream &OS) const;
1936 void computeSampleProfileOverlap(raw_fd_ostream &OS);
2062 raw_fd_ostream &OS) const { in detectZeroSampleProfile()
2333 void SampleOverlapAggregator::computeSampleProfileOverlap(raw_fd_ostream &OS) { in computeSampleProfileOverlap()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h114 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in printGraphForFunction()
301 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in runOnModule()
332 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in WriteDOTGraphToFile()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp148 static std::unique_ptr<raw_fd_ostream> getOrCreateLogFile() { in getOrCreateLogFile()
152 auto Result = std::make_unique<raw_fd_ostream>(CoroElideInfoOutputFilename, in getOrCreateLogFile()
158 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in getOrCreateLogFile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp504 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC, in createCombinedModuleSummaryIndex()
594 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::OF_None); in writeModuleToFile()
666 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None); in thinLink()
705 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in distributedIndexes()
888 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in codegen()
934 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in runAll()
1132 std::make_unique<raw_fd_ostream>(PartFilename, EC, sys::fs::OF_None); in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/WindowsResource/
H A DResourceProcessor.h39 std::unique_ptr<raw_fd_ostream> OutputStream);
/freebsd/contrib/llvm-project/lld/COFF/
H A DLTO.h54 std::unique_ptr<llvm::raw_fd_ostream> indexFile;
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DCompilation.cpp169 std::unique_ptr<llvm::raw_fd_ostream> OwnedStream; in ExecuteCommand()
176 OwnedStream.reset(new llvm::raw_fd_ostream( in ExecuteCommand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCFGPrinter.cpp46 raw_fd_ostream File(Filename, EC, sys::fs::OF_Text); in writeMCFGToDotFile()
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp70 raw_fd_ostream OS(FD, /*shouldClose*/ false); in writeProgramToFile()
156 raw_fd_ostream OS(Temp->FD, /*shouldClose*/ false); in runPasses()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp52 ProfOStream(raw_fd_ostream &FD) in ProfOStream()
69 raw_fd_ostream &FDOStream = static_cast<raw_fd_ostream &>(OS); in patch()
1010 Error InstrProfWriter::write(raw_fd_ostream &OS) { in write()
1055 raw_fd_ostream &OS) { in writeRecordInText()
1103 Error InstrProfWriter::writeText(raw_fd_ostream &OS) { in writeText()
1157 void InstrProfWriter::writeTextTemporalProfTraceData(raw_fd_ostream &OS, in writeTextTemporalProfTraceData()
/freebsd/contrib/llvm-project/lld/Common/
H A DStrings.cpp74 raw_fd_ostream os(path.str(), ec, sys::fs::OpenFlags::OF_None); in saveBuffer()

123456