reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/RemarkStreamer.cpp
  173           *Format, remarks::SerializerMode::Separate, RemarksFile->os());
lib/LTO/LTO.cpp
  948     PrintStatisticsJSON(StatsFile->os());
lib/LTO/LTOBackend.cpp
  344                               DwoOut ? &DwoOut->os() : nullptr,
  423   DiagOutputFile->os().flush();
lib/LTO/LTOCodeGenerator.cpp
  241   WriteBitcodeToFile(*MergedModule, Out.os(), ShouldEmbedUselists);
  242   Out.os().close();
  244   if (Out.os().has_error()) {
  246     ErrMsg += Path.str() + ": " + Out.os().error().message();
  248     Out.os().clear_error();
  274   bool genResult = compileOptimized(&objFile.os());
  275   objFile.os().close();
  276   if (objFile.os().has_error()) {
  278                objFile.os().error().message())
  280     objFile.os().clear_error();
  517     DiagnosticOutputFile->os().flush();
  614     PrintStatisticsJSON(StatsFile->os());
lib/Support/CodeGenCoverage.cpp
  112     CoverageFile->os() << BackendName;
  113     CoverageFile->os().write((const char *)&Zero, sizeof(unsigned char));
  115       CoverageFile->os().write((const char *)&I, sizeof(uint64_t));
  116     CoverageFile->os().write((const char *)&InvZero, sizeof(uint64_t));
lib/TableGen/Main.cpp
   74   DepOut.os() << OutputFilename << ":";
   76     DepOut.os() << ' ' << Dep.first;
   78   DepOut.os() << "\n";
  134   OutFile.os() << Out.str();
tools/bugpoint/OptimizerDriver.cpp
   54   WriteBitcodeToFile(M, Out.os(), PreserveBitcodeUseListOrder);
   55   Out.os().close();
   56   if (!Out.os().has_error()) {
tools/clang/lib/CodeGen/BackendUtil.cpp
  853           *OS, ThinLinkOS ? &ThinLinkOS->os() : nullptr));
  886                        DwoOS ? &DwoOS->os() : nullptr))
 1275       MPM.addPass(ThinLTOBitcodeWriterPass(*OS, ThinLinkOS ? &ThinLinkOS->os()
 1312                        DwoOS ? &DwoOS->os() : nullptr))
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  362                      Out.os());
  363   if (Out.os().has_error()) {
  364     reportError(createFileError(Output, Out.os().error()));
tools/clang/tools/extra/modularize/ModuleAssistant.cpp
  279   llvm::raw_fd_ostream &OS = Out.os();
tools/clang/tools/extra/pp-trace/PPTrace.cpp
  158   PPTraceFrontendActionFactory Factory(Filters, Out.os());
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   58     IndexFile.os() << "c:@F@f#I# " << ASTFileName << "\n";
   59     IndexFile.os().flush();
   69     SourceFile.os() << SourceText;
   70     SourceFile.os().flush();
  161   IndexFile.os() << IndexText;
  162   IndexFile.os().flush();
  186   IndexFile.os() << IndexText;
  187   IndexFile.os().flush();
tools/clang/unittests/Frontend/ASTUnitTest.cpp
   38     input_file->os() << "";
tools/clang/unittests/Frontend/CompilerInstanceTest.cpp
   47   File.os() << format(VFSYaml, CurrentPathStr.c_str(), FileName.c_str());
   48   File.os().flush();
tools/llc/llc.cpp
  527     raw_pwrite_stream *OS = &Out->os();
  534          !Out->os().supportsSeeking()) ||
  573                                            DwoOut ? &DwoOut->os() : nullptr,
  619         Out->os() << Buffer;
  626       Out->os() << Buffer;
tools/llvm-as/llvm-as.cpp
   91   if (Force || !CheckBitcodeOutputToConsole(Out->os(), true)) {
  102       WriteBitcodeToFile(*M, Out->os(), PreserveBitcodeUseListOrder,
  107       WriteIndexToFile(*IndexToWrite, Out->os());
tools/llvm-cov/CodeCoverage.cpp
  458     InputTOF.os() << Function.Name << '\n';
  461   InputTOF.os().close();
  473   OutputTOF.os().close();
tools/llvm-dis/llvm-dis.cpp
  201     M->print(Out->os(), Annotator.get(), PreserveAssemblyUseListOrder);
  203       Index->print(Out->os());
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  635           return handleFile(Object, verifyObjectFile, OutputFile.os());
  640       handleFile(Object, collectStatsForObjectFile, OutputFile.os());
  643       handleFile(Object, dumpObjectFile, OutputFile.os());
tools/llvm-dwp/llvm-dwp.cpp
  714   if (OutFile.os().supportsSeeking()) {
  715     OS = &OutFile.os();
  717     BOS.emplace(OutFile.os());
tools/llvm-extract/llvm-extract.cpp
  371         createPrintModulePass(Out.os(), "", PreserveAssemblyUseListOrder));
  372   else if (Force || !CheckBitcodeOutputToConsole(Out.os(), true))
  373     Passes.add(createBitcodeWriterPass(Out.os(), PreserveBitcodeUseListOrder));
tools/llvm-link/llvm-link.cpp
  399     Composite->print(Out.os(), nullptr, PreserveAssemblyUseListOrder);
  400   } else if (Force || !CheckBitcodeOutputToConsole(Out.os(), true))
  401     WriteBitcodeToFile(*Composite, Out.os(), PreserveBitcodeUseListOrder);
tools/llvm-lto/llvm-lto.cpp
 1026       OSPtrs.push_back(&OSs.back().os());
tools/llvm-mc/llvm-mc.cpp
  436   raw_pwrite_stream *OS = &Out->os();
  480     if (!Out->os().supportsSeeking()) {
  481       BOS = std::make_unique<buffer_ostream>(Out->os());
  489         DwoOut ? MAB->createDwoObjectWriter(*OS, DwoOut->os())
  505     Res = AsLexInput(SrcMgr, *MAI, Out->os());
  522                                     SrcMgr, Ctx, Out->os(), MCOptions);
tools/llvm-mca/llvm-mca.cpp
  456       TOF->os() << "\n[" << RegionIdx++ << "] Code Region";
  459         TOF->os() << " - " << Desc;
  460       TOF->os() << "\n\n";
  511       Printer.printReport(TOF->os());
  559     Printer.printReport(TOF->os());
tools/llvm-modextract/llvm-modextract.cpp
   66     Out->os() << Result;
   72   WriteBitcodeToFile(*M, Out->os());
tools/llvm-reduce/deltas/Delta.cpp
   35   M.print(Out.os(), /*AnnotationWriter=*/nullptr);
   36   Out.os().close();
   37   if (Out.os().has_error()) {
tools/llvm-split/llvm-split.cpp
   65     WriteBitcodeToFile(*MPart, Out->os());
tools/llvm-stress/llvm-stress.cpp
  763   Passes.add(createPrintModulePass(Out->os()));
tools/opt/NewPMDriver.cpp
  343         PrintModulePass(Out->os(), "", ShouldPreserveAssemblyUseListOrder));
  346     MPM.addPass(BitcodeWriterPass(Out->os(), ShouldPreserveBitcodeUseListOrder,
  351         Out->os(), ThinLTOLinkOut ? &ThinLTOLinkOut->os() : nullptr));
  351         Out->os(), ThinLTOLinkOut ? &ThinLTOLinkOut->os() : nullptr));
tools/opt/opt.cpp
  658     if (CheckBitcodeOutputToConsole(Out->os(), !Quiet))
  731     Passes.add(createBreakpointPrinter(Out->os()));
  794           Passes.add(createBasicBlockPassPrinter(PassInf, Out->os(), Quiet));
  797           Passes.add(createRegionPassPrinter(PassInf, Out->os(), Quiet));
  800           Passes.add(createLoopPassPrinter(PassInf, Out->os(), Quiet));
  803           Passes.add(createFunctionPassPrinter(PassInf, Out->os(), Quiet));
  806           Passes.add(createCallGraphPassPrinter(PassInf, Out->os(), Quiet));
  809           Passes.add(createModulePassPrinter(PassInf, Out->os(), Quiet));
  869     OS = &Out->os();
  882           *OS, ThinLinkOut ? &ThinLinkOut->os() : nullptr));
  915       Out->os() << BOS->str();
  921     Out->os() << BOS->str();
tools/polly/lib/Exchange/JSONExporter.cpp
  188     F.os() << formatv("{0:3}", jscop);
  189     F.os().close();
  190     if (!F.os().has_error()) {
  198   F.os().clear_error();
tools/polly/lib/Support/DumpModulePass.cpp
   72     M.print(Out->os(), nullptr);
tools/yaml2obj/yaml2obj.cpp
   66   if (!convertYAML(YIn, Out->os(), ErrHandler, DocNum))
   70   Out->os().flush();