/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | PCHContainerOperations.cpp | 30 std::unique_ptr<raw_pwrite_stream> OS; member in class:__anon735::RawPCHContainerGenerator 33 RawPCHContainerGenerator(std::unique_ptr<llvm::raw_pwrite_stream> OS, argument 35 : Buffer(std::move(Buffer)), OS(std::move(OS)) {} 42 *OS << Buffer->Data; 43 OS->flush(); 55 const std::string &OutputFileName, std::unique_ptr<llvm::raw_pwrite_stream> OS, 57 return std::make_unique<RawPCHContainerGenerator>(std::move(OS), Buffer); 53 CreatePCHContainerGenerator( CompilerInstance &CI, const std::string &MainFileName, const std::string &OutputFileName, std::unique_ptr<llvm::raw_pwrite_stream> OS, std::shared_ptr<PCHBuffer> Buffer) const argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | RemarkSerializer.cpp | 22 raw_ostream &OS) { 28 return std::make_unique<YAMLRemarkSerializer>(OS, Mode); 30 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode); 32 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode); 39 raw_ostream &OS, remarks::StringTable StrTab) { 45 return std::make_unique<YAMLRemarkSerializer>(OS, Mode, std::move(StrTab)); 47 return std::make_unique<YAMLStrTabRemarkSerializer>(OS, Mode, 50 return std::make_unique<BitstreamRemarkSerializer>(OS, Mode, 21 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, raw_ostream &OS) argument 38 createRemarkSerializer(Format RemarksFormat, SerializerMode Mode, raw_ostream &OS, remarks::StringTable StrTab) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangCommentCommandInfoEmitter.cpp | 23 void clang::EmitClangCommentCommandInfo(RecordKeeper &Records, raw_ostream &OS) { argument 25 "comments", OS); 27 OS << "namespace {\n" 32 OS << " { " 57 OS << ","; 58 OS << "\n"; 60 OS << "};\n" 72 OS << "const CommandInfo *CommandTraits::getBuiltinCommandInfo(\n" 74 StringMatcher("Name", Matches, OS).Emit(); 75 OS << " retur 109 EmitClangCommentCommandList(RecordKeeper &Records, raw_ostream &OS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86WinCOFFTargetStreamer.cpp | 25 formatted_raw_ostream &OS; member in class:__anon2474::X86WinCOFFAsmTargetStreamer 29 X86WinCOFFAsmTargetStreamer(MCStreamer &S, formatted_raw_ostream &OS, argument 31 : X86TargetStreamer(S), OS(OS), InstPrinter(InstPrinter) {} 101 OS << "\t.cv_fpo_proc\t"; 102 ProcSym->print(OS, getStreamer().getContext().getAsmInfo()); 103 OS << ' ' << ParamsSize << '\n'; 108 OS << "\t.cv_fpo_endprologue\n"; 113 OS << "\t.cv_fpo_endproc\n"; 119 OS << "\ [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/ |
H A D | DispatchStatistics.h | 60 void printDispatchHistogram(llvm::raw_ostream &OS) const; 62 void printDispatchStalls(llvm::raw_ostream &OS) const; 77 void printView(llvm::raw_ostream &OS) const override { 78 printDispatchStalls(OS); variable 79 printDispatchHistogram(OS); variable
|
H A D | ResourcePressureView.h | 86 void printResourcePressurePerIter(llvm::raw_ostream &OS) const; 87 void printResourcePressurePerInst(llvm::raw_ostream &OS) const; 95 void printView(llvm::raw_ostream &OS) const override { 96 printResourcePressurePerIter(OS); variable 97 printResourcePressurePerInst(OS); variable
|
H A D | TimelineView.h | 150 void printTimelineViewEntry(llvm::formatted_raw_ostream &OS, 153 void printWaitTimeEntry(llvm::formatted_raw_ostream &OS, 179 void printTimeline(llvm::raw_ostream &OS) const; 180 void printAverageWaitTimes(llvm::raw_ostream &OS) const; 181 void printView(llvm::raw_ostream &OS) const override { 182 printTimeline(OS); variable 183 printAverageWaitTimes(OS); variable
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCSectionXCOFF.cpp | 20 raw_ostream &OS, 26 OS << "\t.csect " << QualName->getName() << '\n'; 33 OS << "\t.csect " << QualName->getName() << '\n'; 41 OS << "\t.csect " << QualName->getName() << '\n'; 46 OS << "\t.toc\n"; 19 PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const argument
|
H A D | MCSymbol.cpp | 59 void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const { argument 65 OS << Name; 72 OS << '"'; 75 OS << "\\n"; 77 OS << "\\\""; 79 OS << C; 81 OS << '"';
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Diagnostics.cpp | 133 llvm::raw_ostream &OS) { 136 OS << Pieces.first.str(); 144 OS << Args[Index]; 146 OS << "<Argument_Not_Provided>"; 153 llvm::raw_ostream &OS) { 155 OS << Range.Start.Line << ":" << Range.Start.Column << ": "; 160 llvm::raw_ostream &OS) { 161 maybeAddLineAndColumn(Frame.Range, OS); 162 formatErrorString(contextTypeToFormatString(Frame.Type), Frame.Args, OS); local 167 const Twine Prefix, llvm::raw_ostream &OS) { 131 formatErrorString(StringRef FormatString, ArrayRef<std::string> Args, llvm::raw_ostream &OS) argument 152 maybeAddLineAndColumn(SourceRange Range, llvm::raw_ostream &OS) argument 159 printContextFrameToStream(const Diagnostics::ContextFrame &Frame, llvm::raw_ostream &OS) argument 166 printMessageToStream(const Diagnostics::ErrorContent::Message &Message, const Twine Prefix, llvm::raw_ostream &OS) argument 170 formatErrorString(errorTypeToFormatString(Message.Type), Message.Args, OS); local 173 printErrorContentToStream(const Diagnostics::ErrorContent &Content, llvm::raw_ostream &OS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/ |
H A D | FDRTraceWriter.cpp | 27 static size_t write(support::endian::Writer &OS, Tuple &&T) { 28 OS.write(std::get<Index>(T)); 29 return sizeof(std::get<Index>(T)) + IndexedWriter<Index + 1>::write(OS, T); 38 static size_t write(support::endian::Writer &OS, Tuple &&) { argument 44 Error writeMetadata(support::endian::Writer &OS, Values &&... Ds) { argument 50 OS.write(FirstByte); 51 auto Bytes = IndexedWriter<0>::write(OS, T); 55 OS.write('\0'); 62 : OS(O, support::endianness::native) { 70 OS [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCExpr.cpp | 37 void MipsMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { argument 48 getSubExpr()->print(OS, MAI, true); 51 OS << "%call_hi"; 54 OS << "%call_lo"; 57 OS << "%dtprel_hi"; 60 OS << "%dtprel_lo"; 63 OS << "%got"; 66 OS << "%gottprel"; 69 OS << "%call16"; 72 OS << " [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | TarWriter.cpp | 82 static void pad(raw_fd_ostream &OS) { argument 83 uint64_t Pos = OS.tell(); 84 OS.seek(alignTo(Pos, BlockSize)); 101 static void writePaxHeader(raw_fd_ostream &OS, StringRef Path) { argument 113 OS << StringRef(reinterpret_cast<char *>(&Hdr), sizeof(Hdr)); 114 OS << PaxAttr; 115 pad(OS); 147 static void writeUstarHeader(raw_fd_ostream &OS, StringRef Prefix, argument 155 OS << StringRef(reinterpret_cast<char *>(&Hdr), sizeof(Hdr)); 170 : OS(F [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVAsmPrinter.cpp | 50 const char *ExtraCode, raw_ostream &OS) override; 52 const char *ExtraCode, raw_ostream &OS) override; 91 const char *ExtraCode, raw_ostream &OS) { 93 if (!AsmPrinter::PrintAsmOperand(MI, OpNo, ExtraCode, OS)) 106 OS << RISCVInstPrinter::getRegisterName(RISCV::X0); 112 OS << 'i'; 119 OS << MO.getImm(); 122 OS << RISCVInstPrinter::getRegisterName(MO.getReg()); 125 PrintSymbolOperand(MO, OS); 129 Sym->print(OS, MA 90 PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, const char *ExtraCode, raw_ostream &OS) argument 139 PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo, const char *ExtraCode, raw_ostream &OS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 72 static void printDebugLoc(const DebugLoc &DL, formatted_raw_ostream &OS) { argument 73 OS << DL.getLine() << ":" << DL.getCol(); 75 OS << "@"; 76 printDebugLoc(IDL, OS); 82 formatted_raw_ostream &OS) override { 83 OS << "; [#uses=" << F->getNumUses() << ']'; // Output # uses 84 OS << '\n'; 86 void printInfoComment(const Value &V, formatted_raw_ostream &OS) override { 89 OS.PadToColumn(50); 92 OS << "; [#use 127 raw_ostream &OS = errs(); variable [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | StringMatcher.cpp | 64 OS << Indent << Split.first << "\t // \"" << Matches[0]->first << "\"\n"; 69 OS << Indent << Split.first << "\n"; 92 OS << Indent << "if (" << StrVariableName << "[" << CharNo << "] != '" 94 OS << Indent << " break;\n"; 98 OS << Indent << "if (memcmp(" << StrVariableName << ".data()+" << CharNo 101 OS << Indent << " break;\n"; 110 OS << Indent << "switch (" << StrVariableName << "[" << CharNo << "]) {\n"; 111 OS << Indent << "default: break;\n"; 116 OS << Indent << "case '" << LI->first << "':\t // " 118 if (LI->second.size() != 1) OS << ' [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IRPrintingPasses.h | 36 ModulePass *createPrintModulePass(raw_ostream &OS, 42 FunctionPass *createPrintFunctionPass(raw_ostream &OS, 49 void printLLVMNameWithoutPrefix(raw_ostream &OS, StringRef Name); 75 raw_ostream &OS; member in class:llvm::PrintModulePass 81 PrintModulePass(raw_ostream &OS, const std::string &Banner = "", 94 raw_ostream &OS; member in class:llvm::PrintFunctionPass 99 PrintFunctionPass(raw_ostream &OS, const std::string &Banner = "");
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemDerefPrinter.cpp | 34 void print(raw_ostream &OS, const Module * = nullptr) const override; 67 void MemDerefPrinter::print(raw_ostream &OS, const Module *M) const { argument 68 OS << "The following are dereferenceable:\n"; 70 V->print(OS); 72 OS << "\t(aligned)"; 74 OS << "\t(unaligned)"; 75 OS << "\n\n";
|
H A D | DominanceFrontier.cpp | 59 void DominanceFrontierWrapperPass::print(raw_ostream &OS, const Module *) const { argument 60 DF.print(OS); 88 DominanceFrontierPrinterPass::DominanceFrontierPrinterPass(raw_ostream &OS) argument 89 : OS(OS) {} 93 OS << "DominanceFrontier for function: " << F.getName() << "\n"; 94 AM.getResult<DominanceFrontierAnalysis>(F).print(OS);
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DisassemblerEmitter.cpp | 98 extern void EmitFixedLenDecoder(RecordKeeper &RK, raw_ostream &OS, 105 void EmitDisassembler(RecordKeeper &Records, raw_ostream &OS) { argument 107 emitSourceFileHeader(" * " + Target.getName().str() + " Disassembler", OS); 124 Tables.emit(OS); 132 emitWebAssemblyDisassemblerTables(OS, Target.getInstructionsByEnumValue()); 143 EmitFixedLenDecoder(Records, OS, PredicateNamespace, 151 EmitFixedLenDecoder(Records, OS, Target.getName(),
|
H A D | CTagsEmitter.cpp | 36 void emit(raw_ostream &OS) const { 41 OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n"; 51 void run(raw_ostream &OS); 64 void CTagsEmitter::run(raw_ostream &OS) { argument 76 OS << "!_TAG_FILE_FORMAT\t1\t/original ctags format/\n"; 77 OS << "!_TAG_FILE_SORTED\t1\t/0=unsorted, 1=sorted, 2=foldcase/\n"; 79 T.emit(OS); 84 void EmitCTags(RecordKeeper &RK, raw_ostream &OS) { CTagsEmitter(RK).run(OS); } argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | StackMaps.cpp | 174 void StackMaps::print(raw_ostream &OS) { argument 177 OS << WSMP << "callsites:\n"; 182 OS << WSMP << "callsite " << CSI.ID << "\n"; 183 OS << WSMP << " has " << CSLocs.size() << " locations\n"; 187 OS << WSMP << "\t\tLoc " << Idx << ": "; 190 OS << "<Unprocessed operand>"; 193 OS << "Register "; 195 OS << printReg(Loc.Reg, TRI); 197 OS << Loc.Reg; 200 OS << "Direc 414 emitStackmapHeader(MCStreamer &OS) argument 438 emitFunctionFrameRecords(MCStreamer &OS) argument 454 emitConstantPoolEntries(MCStreamer &OS) argument 492 emitCallsiteEntries(MCStreamer &OS) argument 559 MCStreamer &OS = *AP.OutStreamer; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugPubTable.cpp | 48 void DWARFDebugPubTable::dump(raw_ostream &OS) const { 50 OS << "length = " << format("0x%08x", S.Length); 51 OS << " version = " << format("0x%04x", S.Version); 52 OS << " unit_offset = " << format("0x%08" PRIx64, S.Offset); 53 OS << " unit_size = " << format("0x%08x", S.Size) << '\n'; 54 OS << (GnuStyle ? "Offset Linkage Kind Name\n" 58 OS << format("0x%8.8" PRIx64 " ", E.SecOffset); 63 OS << format("%-8s", EntryLinkage.data()) << ' ' 66 OS << '\"' << E.Name << "\"\n";
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | CodeExpander.cpp | 21 void CodeExpander::emit(raw_ostream &OS) const { 27 OS << Current; 32 OS << Current.substr(0, Pos); 36 OS << "\n" << Indent; 42 OS << Current[1]; 78 OS << "/*$" << Var << "{*/"; 79 OS << Expansions.lookup(Var); 81 OS << "/*}*/"; 90 OS << "$";
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeSymbolEnumerator.cpp | 27 void NativeSymbolEnumerator::dump(raw_ostream &OS, int Indent, argument 30 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); 31 dumpSymbolIdField(OS, "classParentId", getClassParentId(), Indent, Session, 34 dumpSymbolIdField(OS, "lexicalParentId", getLexicalParentId(), Indent, 37 dumpSymbolField(OS, "name", getName(), Indent); 38 dumpSymbolIdField(OS, "typeId", getTypeId(), Indent, Session, 40 dumpSymbolField(OS, "dataKind", getDataKind(), Indent); 41 dumpSymbolField(OS, "locationType", getLocationType(), Indent); 42 dumpSymbolField(OS, "constType", isConstType(), Indent); 43 dumpSymbolField(OS, "unalignedTyp [all...] |