/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | SubtargetFeatureInfo.cpp | 52 SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS) { 53 OS << "// Bits for subtarget features that participate in " 55 OS << "enum SubtargetFeatureBits : " 59 OS << " " << SFI.getEnumBitName() << " = " << SFI.Index << ",\n"; 61 OS << "};\n\n"; 65 SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS) { 80 OS << "static const char *SubtargetFeatureNames[] = {\n"; 82 OS << " \"" << Names[I] << "\",\n"; 86 OS << " nullptr\n" 92 SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS, 51 emitSubtargetFeatureBitEnumeration( SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS) argument 64 emitNameTable( SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS) argument 90 emitComputeAvailableFeatures( StringRef TargetName, StringRef ClassName, StringRef FuncName, SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS, StringRef ExtraParams) argument 112 emitComputeAssemblerAvailableFeatures( StringRef TargetName, StringRef ClassName, StringRef FuncName, SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS) argument [all...] |
H A D | SubtargetEmitter.cpp | 76 void Enumeration(raw_ostream &OS, DenseMap<Record *, unsigned> &FeatureMap); 77 unsigned FeatureKeyValues(raw_ostream &OS, 79 unsigned CPUKeyValues(raw_ostream &OS, 89 void EmitStageAndOperandCycleData(raw_ostream &OS, 92 void EmitItineraries(raw_ostream &OS, 96 raw_ostream &OS); 98 raw_ostream &OS); 100 raw_ostream &OS); 101 void EmitProcessorProp(raw_ostream &OS, const Record *R, StringRef Name, 104 raw_ostream &OS); 142 Enumeration(raw_ostream &OS, DenseMap<Record *, unsigned> &FeatureMap) argument 180 printFeatureMask(raw_ostream &OS, RecVec &FeatureList, const DenseMap<Record *, unsigned> &FeatureMap) argument 201 FeatureKeyValues( raw_ostream &OS, const DenseMap<Record *, unsigned> &FeatureMap) argument 254 CPUKeyValues(raw_ostream &OS, const DenseMap<Record *, unsigned> &FeatureMap) argument 378 EmitStageAndOperandCycleData(raw_ostream &OS, std::vector<std::vector<InstrItinerary>> &ProcItinLists) argument 554 EmitItineraries(raw_ostream &OS, std::vector<std::vector<InstrItinerary>> &ProcItinLists) argument 608 EmitProcessorProp(raw_ostream &OS, const Record *R, StringRef Name, char Separator) argument 619 EmitProcessorResourceSubUnits( const CodeGenProcModel &ProcModel, raw_ostream &OS) argument 642 EmitRetireControlUnitInfo(const CodeGenProcModel &ProcModel, raw_ostream &OS) argument 656 EmitRegisterFileInfo(const CodeGenProcModel &ProcModel, unsigned NumRegisterFiles, unsigned NumCostEntries, raw_ostream &OS) argument 673 EmitRegisterFileTables(const CodeGenProcModel &ProcModel, raw_ostream &OS) argument 725 EmitLoadStoreQueueInfo(const CodeGenProcModel &ProcModel, raw_ostream &OS) argument 749 EmitExtraProcessorInfo(const CodeGenProcModel &ProcModel, raw_ostream &OS) argument 773 EmitProcessorResources(const CodeGenProcModel &ProcModel, raw_ostream &OS) argument 1244 EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS) argument 1338 EmitProcessorModels(raw_ostream &OS) argument 1398 EmitSchedModel(raw_ostream &OS) argument 1429 emitPredicateProlog(const RecordKeeper &Records, raw_ostream &OS) argument 1445 emitPredicates(const CodeGenSchedTransition &T, const CodeGenSchedClass &SC, PredicateExpander &PE, raw_ostream &OS) argument 1506 emitSchedModelHelperEpilogue(raw_ostream &OS, bool ShouldReturnZero) argument [all...] |
H A D | AsmMatcherEmitter.cpp | 1937 raw_ostream &OS) { 2269 OS << "enum {\n"; 2271 OS << " " << KV.second << ",\n"; 2273 OS << "};\n\n"; 2275 OS << "static const uint8_t TiedAsmOperandTable[][3] = {\n"; 2277 OS << " /* " << KV.second << " */ { " 2282 OS << "};\n\n"; 2284 OS << "static const uint8_t TiedAsmOperandTable[][3] = " 2287 OS << "namespace {\n"; 2290 OS << "enu [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcTargetStreamer.cpp | 25 formatted_raw_ostream &OS) 26 : SparcTargetStreamer(S), OS(OS) {} 29 OS << "\t.register " 35 OS << "\t.register " 24 SparcTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | StmtPrinter.cpp | 68 raw_ostream &OS; member in class:__anon269::StmtPrinter 80 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy), 93 OS << ";" << NL; 109 OS << "; "; 115 OS << " "; 117 OS << NL; 119 OS << NL; 139 OS << "<null expr>"; 144 OS << " "; 145 return OS; 1113 printExprAsWritten(raw_ostream &OS, Expr *E, const ASTContext *Context) argument 1173 PrintFloatingLiteral(raw_ostream &OS, FloatingLiteral *Node, bool PrintSuffix) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
H A D | VETargetStreamer.cpp | 25 formatted_raw_ostream &OS) 26 : VETargetStreamer(S), OS(OS) {} 29 OS << "\t.register " 35 OS << "\t.register " 24 VETargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | GIMatchDagEdge.cpp | 15 LLVM_DUMP_METHOD void GIMatchDagEdge::print(raw_ostream &OS) const { 16 OS << getFromMI()->getName() << "[" << getFromMO()->getName() << "] --[" 35 raw_ostream &llvm::operator<<(raw_ostream &OS, const GIMatchDagEdge &E) { argument 36 E.print(OS); 37 return OS;
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | SourceCoverageViewText.cpp | 26 void CoveragePrinterText::closeViewFile(OwnedStream OS) { argument 27 OS->operator<<('\n'); 36 auto OS = std::move(OSOrErr.get()); 37 raw_ostream &OSRef = *OS.get(); 71 void SourceCoverageViewText::renderSourceName(raw_ostream &OS, bool WholeFile) { argument 72 getOptions().colored_ostream(OS, raw_ostream::CYAN) << getSourceName() 76 void SourceCoverageViewText::renderLinePrefix(raw_ostream &OS, argument 79 OS << " |"; 84 void SourceCoverageViewText::renderViewDivider(raw_ostream &OS, argument 87 renderLinePrefix(OS, ViewDept 95 renderLine(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS, unsigned ExpansionCol, unsigned ViewDepth) argument 147 renderLineCoverageColumn( raw_ostream &OS, const LineCoverageStats &Line) argument 161 renderLineNumberColumn(raw_ostream &OS, unsigned LineNo) argument 172 renderRegionMarkers(raw_ostream &OS, const LineCoverageStats &Line, unsigned ViewDepth) argument 205 renderExpansionSite(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS, unsigned ExpansionCol, unsigned ViewDepth) argument 214 renderExpansionView(raw_ostream &OS, ExpansionView &ESV, unsigned ViewDepth) argument 225 renderInstantiationView(raw_ostream &OS, InstantiationView &ISV, unsigned ViewDepth) argument 238 renderTitle(raw_ostream &OS, StringRef Title) argument [all...] |
H A D | CoverageExporterLcov.cpp | 45 void renderFunctionSummary(raw_ostream &OS, argument 47 OS << "FNF:" << Summary.FunctionCoverage.getNumFunctions() << '\n' 52 raw_ostream &OS, 56 OS << "FN:" << StartLine << ',' << F.Name << '\n'; 59 OS << "FNDA:" << F.ExecutionCount << ',' << F.Name << '\n'; 62 void renderLineExecutionCounts(raw_ostream &OS, argument 69 OS << "DA:" << LCS.getLine() << ',' << LCS.getExecutionCount() << '\n'; 74 void renderLineSummary(raw_ostream &OS, const FileCoverageSummary &Summary) { argument 75 OS << "LF:" << Summary.LineCoverage.getNumLines() << '\n' 79 void renderFile(raw_ostream &OS, cons argument 51 renderFunctions( raw_ostream &OS, const iterator_range<coverage::FunctionRecordIterator> &Functions) argument 99 renderFiles(raw_ostream &OS, const coverage::CoverageMapping &Coverage, ArrayRef<std::string> SourceFiles, ArrayRef<FileCoverageSummary> FileReports, bool ExportSummaryOnly) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangASTNodesEmitter.cpp | 70 std::pair<ASTNode, ASTNode> EmitNode(raw_ostream& OS, ASTNode Base); 77 void run(raw_ostream &OS); 87 std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS, argument 103 OS << "#ifndef " << NodeName << "\n"; 104 OS << "# define " << NodeName << "(Type, Base) " 106 OS << "#endif\n"; 108 if (Abstract) OS << "ABSTRACT_" << macroHierarchyName() << "("; 109 OS << NodeName << "(" << Child.getName() << ", " << baseName(Base) << ")"; 110 if (Abstract) OS << ")"; 111 OS << "\ 169 run(raw_ostream &OS) argument 198 EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS, const std::string &N, const std::string &S) argument 205 EmitClangDeclContext(RecordKeeper &Records, raw_ostream &OS) argument [all...] |
H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 38 raw_svector_ostream OS(CLiteral); 39 OS << "\""; 41 OS << "\\x"; 42 OS.write_hex(static_cast<unsigned char>(UTF8[i])); 44 OS << "\""; 50 raw_ostream &OS) { 74 "translation", OS); 76 OS << "StringRef translateHTMLNamedCharacterReferenceToUTF8(\n" 78 StringMatcher("Name", NameToUTF8, OS).Emit(); 79 OS << " retur 49 EmitClangCommentHTMLNamedCharacterReferences(RecordKeeper &Records, raw_ostream &OS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | RemarkSerializer.h | 42 raw_ostream &OS; member in struct:llvm::remarks::RemarkSerializer 49 RemarkSerializer(Format SerializerFormat, raw_ostream &OS, argument 51 : SerializerFormat(SerializerFormat), OS(OS), Mode(Mode), StrTab() {} 59 metaSerializer(raw_ostream &OS, 66 raw_ostream &OS; member in struct:llvm::remarks::MetaSerializer 68 MetaSerializer(raw_ostream &OS) : OS(OS) {} argument 78 raw_ostream &OS); [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeTypeVTShape.cpp | 15 void NativeTypeVTShape::dump(raw_ostream &OS, int Indent, argument 18 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); 20 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, 23 dumpSymbolField(OS, "count", getCount(), Indent); 24 dumpSymbolField(OS, "constType", isConstType(), Indent); 25 dumpSymbolField(OS, "unalignedType", isUnalignedType(), Indent); 26 dumpSymbolField(OS, "volatileType", isVolatileType(), Indent);
|
H A D | NativeTypeArray.cpp | 26 void NativeTypeArray::dump(raw_ostream &OS, int Indent, argument 29 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields); 31 dumpSymbolField(OS, "arrayIndexTypeId", getArrayIndexTypeId(), Indent); 32 dumpSymbolIdField(OS, "elementTypeId", getTypeId(), Indent, Session, 35 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session, 38 dumpSymbolField(OS, "length", getLength(), Indent); 39 dumpSymbolField(OS, "count", getCount(), Indent); 40 dumpSymbolField(OS, "constType", isConstType(), Indent); 41 dumpSymbolField(OS, "unalignedType", isUnalignedType(), Indent); 42 dumpSymbolField(OS, "volatileTyp [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiMCExpr.cpp | 22 void LanaiMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { argument 24 Expr->print(OS, MAI); 32 OS << "hi"; 35 OS << "lo"; 39 OS << '('; 41 Expr->print(OS, MAI); 42 OS << ')';
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | BitWriter.cpp | 22 raw_fd_ostream OS(Path, EC, sys::fs::OF_None); 27 WriteBitcodeToFile(*unwrap(M), OS); 33 raw_fd_ostream OS(FD, ShouldClose, Unbuffered); 35 WriteBitcodeToFile(*unwrap(M), OS); local 45 raw_string_ostream OS(Data); 47 WriteBitcodeToFile(*unwrap(M), OS); local 48 return wrap(MemoryBuffer::getMemBufferCopy(OS.str()).release());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/ |
H A D | DIPrinter.cpp | 53 OS << format_decimal(L, MaxLineNumberWidth); 55 OS << " >: "; 57 OS << " : "; 58 OS << *I << "\n"; 71 OS << Prefix << FunctionName << Delimiter; 79 OS << Filename << ":" << Info.Line; 81 OS << ":" << Info.Column; 82 OS << "\n"; 86 OS << " Filename: " << Filename << "\n"; 88 OS << "Functio [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineFunctionPrinterPass.cpp | 31 raw_ostream &OS; member in struct:__anon1753::MachineFunctionPrinterPass 34 MachineFunctionPrinterPass() : MachineFunctionPass(ID), OS(dbgs()) { } 36 : MachineFunctionPass(ID), OS(os), Banner(banner) {} 49 OS << "# " << Banner << ":\n"; 50 MF.print(OS, getAnalysisIfAvailable<SlotIndexes>()); 66 MachineFunctionPass *createMachineFunctionPrinterPass(raw_ostream &OS, argument 68 return new MachineFunctionPrinterPass(OS, Banner);
|
H A D | FaultMaps.cpp | 52 MCStreamer &OS = *AP.OutStreamer; local 57 OS.SwitchSection(FaultMapSection); 60 OS.EmitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_FaultMaps"))); 65 OS.EmitIntValue(FaultMapVersion, 1); // Version. 66 OS.EmitIntValue(0, 1); // Reserved. 67 OS.EmitIntValue(0, 2); // Reserved. 70 OS.EmitIntValue(FunctionInfos.size(), 4); 80 MCStreamer &OS = *AP.OutStreamer; local 83 OS.EmitSymbolValue(FnLabel, 8); 86 OS 119 operator <<(raw_ostream &OS, const FaultMapParser::FunctionFaultInfoAccessor &FFI) argument 129 operator <<(raw_ostream &OS, const FaultMapParser::FunctionInfoAccessor &FI) argument 137 operator <<(raw_ostream &OS, const FaultMapParser &FMP) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFTypeUnit.cpp | 20 void DWARFTypeUnit::dump(raw_ostream &OS, DIDumpOptions DumpOpts) { argument 25 OS << "name = '" << Name << "'" 31 OS << format("0x%08" PRIx64, getOffset()) << ": Type Unit:" 35 OS << " unit_type = " << dwarf::UnitTypeString(getUnitType()); 36 OS << " abbr_offset = " 46 TU.dump(OS, 0, DumpOpts); 48 OS << "<type unit can't be parsed!>\n\n";
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | WasmEmitter.cpp | 30 bool writeWasm(raw_ostream &OS); 33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec, 36 void writeInitExpr(raw_ostream &OS, const wasm::WasmInitExpr &InitExpr); 38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section); 39 void writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section); 40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section); 41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section); 42 void writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section); 43 void writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section); 44 void writeSectionContent(raw_ostream &OS, WasmYAM 71 raw_ostream &OS; member in class:__anon1962::SubSectionWriter 76 SubSectionWriter(raw_ostream &OS) argument 90 writeUint64(raw_ostream &OS, uint64_t Value) argument 97 writeUint32(raw_ostream &OS, uint32_t Value) argument 104 writeUint8(raw_ostream &OS, uint8_t Value) argument 111 writeStringRef(const StringRef &Str, raw_ostream &OS) argument 117 writeLimits(const WasmYAML::Limits &Lim, raw_ostream &OS) argument 130 writeInitExpr(raw_ostream &OS, const wasm::WasmInitExpr &InitExpr) argument 156 writeSectionContent(raw_ostream &OS, WasmYAML::DylinkSection &Section) argument 168 writeSectionContent(raw_ostream &OS, WasmYAML::LinkingSection &Section) argument 255 writeSectionContent(raw_ostream &OS, WasmYAML::NameSection &Section) argument 273 writeSectionContent(raw_ostream &OS, WasmYAML::ProducersSection &Section) argument 295 writeSectionContent(raw_ostream &OS, WasmYAML::TargetFeaturesSection &Section) argument 305 writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section) argument 323 writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section) argument 343 writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section) argument 379 writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section) argument 386 writeSectionContent(raw_ostream &OS, WasmYAML::ExportSection &Section) argument 396 writeSectionContent(raw_ostream &OS, WasmYAML::StartSection &Section) argument 401 writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section) argument 410 writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section) argument 417 writeSectionContent(raw_ostream &OS, WasmYAML::GlobalSection &Section) argument 433 writeSectionContent(raw_ostream &OS, WasmYAML::EventSection &Section) argument 448 writeSectionContent(raw_ostream &OS, WasmYAML::ElemSection &Section) argument 461 writeSectionContent(raw_ostream &OS, WasmYAML::CodeSection &Section) argument 489 writeSectionContent(raw_ostream &OS, WasmYAML::DataSection &Section) argument 503 writeSectionContent(raw_ostream &OS, WasmYAML::DataCountSection &Section) argument 508 writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec, uint32_t SectionIndex) argument 544 writeWasm(raw_ostream &OS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | TextDiagnosticPrinter.cpp | 27 : OS(os), DiagOpts(diags), 33 delete &OS; 39 TextDiag.reset(new TextDiagnostic(OS, LO, &*DiagOpts)); 49 /// (via OS). Each relevant option is comma separated and all are enclosed in 51 static void printDiagnosticOptions(raw_ostream &OS, argument 59 OS << " [-ferror-limit=]"; 75 OS << " [-Werror"; 81 OS << (Started ? "," : " [") 85 OS << "=" << OptValue; 95 OS << (Starte [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/XRay/ |
H A D | BlockPrinter.cpp | 14 OS << "\n[New Block]\n"; 22 OS << "\n[New Block]\n"; 24 OS << "Preamble: \n"; 42 OS << "\nBody:\n"; 44 OS << "\nMetadata: "; 46 OS << " "; 53 OS << "\nMetadata:"; 55 OS << " "; 63 OS << "\n"; 65 OS << "* "; [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Version.cpp | 91 llvm::raw_string_ostream OS(buf); 95 OS << '('; 97 OS << Path; 100 OS << ' '; 101 OS << Revision; 103 OS << ')'; 108 OS << " ("; 111 OS << LLVMRepo << ' '; 112 OS << LLVMRev << ')'; 114 return OS [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGDumper.cpp | 465 return Printable([&Node](raw_ostream &OS) { 467 OS << 't' << Node.PersistentId; 469 OS << (const void*)&Node; 475 static void printMemOperand(raw_ostream &OS, const MachineMemOperand &MMO, 483 MMO.print(OS, MST, SSNs, Ctx, MFI, TII); 486 static void printMemOperand(raw_ostream &OS, const MachineMemOperand &MMO, 490 return printMemOperand(OS, MMO, MF, MF->getFunction().getParent(), 495 return printMemOperand(OS, MMO, /*MF=*/nullptr, /*M=*/nullptr, 509 void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const { 511 if (i) OS << ","; [all...] |