Home
last modified time | relevance | path

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

123456

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Draw_ostream.cpp591 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC) in raw_fd_ostream() function in raw_fd_ostream
592 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream()
595 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
597 : raw_fd_ostream(Filename, EC, Disp, sys::fs::FA_Write, sys::fs::OF_None) {} in raw_fd_ostream()
599 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
601 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, Access, in raw_fd_ostream()
604 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
606 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream()
609 raw_fd_ostream::raw_fd_ostream(StringRef Filename, std::error_code &EC, in raw_fd_ostream() function in raw_fd_ostream
613 : 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.cpp68 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
70 return std::make_unique<raw_fd_ostream>(1, false); // stdout. in CreateInfoOutputFile()
77 auto Result = std::make_unique<raw_fd_ostream>( in CreateInfoOutputFile()
84 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in CreateInfoOutputFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/CGData/
H A DCodeGenDataWriter.h36 CGDataOStream(raw_fd_ostream &FD) in CGDataOStream()
80 LLVM_ABI Error write(raw_fd_ostream &OS);
83 LLVM_ABI Error writeText(raw_fd_ostream &OS);
110 Error writeHeaderText(raw_fd_ostream &OS);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DToolOutputFile.h49 std::optional<raw_fd_ostream> OSHolder;
52 raw_fd_ostream *OS;
63 raw_fd_ostream &os() { return *OS; } in os()
H A Draw_ostream.h461 class LLVM_ABI raw_fd_ostream : public raw_pwrite_stream {
515 raw_fd_ostream(StringRef Filename, std::error_code &EC);
516 raw_fd_ostream(StringRef Filename, std::error_code &EC,
518 raw_fd_ostream(StringRef Filename, std::error_code &EC,
520 raw_fd_ostream(StringRef Filename, std::error_code &EC,
522 raw_fd_ostream(StringRef Filename, std::error_code &EC,
529 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered = false,
532 ~raw_fd_ostream() override;
611 LLVM_ABI raw_fd_ostream &outs();
618 LLVM_ABI raw_fd_ostream &errs();
[all …]
H A DTarWriter.h28 raw_fd_ostream OS;
/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DCodeGenDataWriter.cpp24 raw_fd_ostream &FDOStream = static_cast<raw_fd_ostream &>(OS); in patch()
79 Error CodeGenDataWriter::write(raw_fd_ostream &OS) { in write()
145 Error CodeGenDataWriter::writeHeaderText(raw_fd_ostream &OS) { in writeHeaderText()
157 Error CodeGenDataWriter::writeText(raw_fd_ostream &OS) { in writeText()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h38 class raw_fd_ostream; variable
143 LLVM_ABI Error write(raw_fd_ostream &OS);
149 LLVM_ABI Error writeText(raw_fd_ostream &OS);
152 LLVM_ABI void writeTextTemporalProfTraceData(raw_fd_ostream &OS,
161 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/clang/lib/Frontend/
H A DHeaderIncludeGen.cpp205 llvm::raw_fd_ostream *OS = new llvm::raw_fd_ostream( in AttachHeaderIncludeGen()
334 llvm::raw_fd_ostream *FDS = static_cast<llvm::raw_fd_ostream *>(OutputFile); in EndOfMainFile()
408 llvm::raw_fd_ostream *FDS = static_cast<llvm::raw_fd_ostream *>(OutputFile); in EndOfMainFile()
/freebsd/contrib/llvm-project/lld/MachO/
H A DMapFile.cpp125 static void printFileName(raw_fd_ostream &os, const InputFile *f) { in printFileName()
134 raw_fd_ostream &os, in printStubsEntries()
144 static void printNonLazyPointerSection(raw_fd_ostream &os, in printNonLazyPointerSection()
170 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/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/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDOTGraphTraitsPass.h111 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in printGraphForFunction()
298 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in runOnModule()
329 raw_fd_ostream File(Filename, EC, sys::fs::OF_TextWithCRLF); in WriteDOTGraphToFile()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp671 raw_fd_ostream &OS, bool IsCS) { in overlapInput()
948 raw_fd_ostream Output(OutputFilename.data(), EC, in writeInstrProfile()
1818 raw_fd_ostream &OS, bool IsCS) { in overlapInstrProfile()
2004 bool detectZeroSampleProfile(raw_fd_ostream &OS) const;
2008 void dumpFuncSimilarity(raw_fd_ostream &OS) const;
2011 void dumpProgramSummary(raw_fd_ostream &OS) const;
2019 void dumpHotFuncAndBlockOverlap(raw_fd_ostream &OS) const;
2032 void computeSampleProfileOverlap(raw_fd_ostream &OS);
2158 raw_fd_ostream &OS) const { in detectZeroSampleProfile()
2429 void SampleOverlapAggregator::computeSampleProfileOverlap(raw_fd_ostream &OS) { in computeSampleProfileOverlap()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DMapFile.cpp150 static void writeMapFile(Ctx &ctx, raw_fd_ostream &os) { in writeMapFile()
228 static void writeCref(Ctx &ctx, raw_fd_ostream &os) { in writeCref()
270 raw_fd_ostream os = ctx.openAuxiliaryFile(mapFile, ec); in writeMapAndCref()
H A DLTO.h55 std::unique_ptr<llvm::raw_fd_ostream> indexFile;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp132 static std::unique_ptr<raw_fd_ostream> getOrCreateLogFile() { in getOrCreateLogFile()
136 auto Result = std::make_unique<raw_fd_ostream>(CoroElideInfoOutputFilename, in getOrCreateLogFile()
142 return std::make_unique<raw_fd_ostream>(2, false); // stderr. in getOrCreateLogFile()
/freebsd/contrib/llvm-project/llvm/include/llvm/WindowsResource/
H A DResourceProcessor.h39 std::unique_ptr<raw_fd_ostream> OutputStream);
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/
H A Dllvm-lto.cpp558 raw_fd_ostream OS(OutputFilename + ".thinlto.bc", EC, in createCombinedModuleSummaryIndex()
648 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::OF_None); in writeModuleToFile()
720 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None); in thinLink()
759 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in distributedIndexes()
942 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in codegen()
988 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::OF_None); in runAll()
1168 std::make_unique<raw_fd_ostream>(PartFilename, EC, sys::fs::OF_None); in main()
/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.cpp166 std::unique_ptr<llvm::raw_fd_ostream> OwnedStream; in ExecuteCommand()
173 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/clang/lib/Serialization/
H A DModuleCache.cpp48 llvm::raw_fd_ostream OS( in updateModuleTimestamp()

123456