/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCExpr.cpp | 22 void ARMMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { argument 25 case VK_ARM_HI16: OS << ":upper16:"; break; 26 case VK_ARM_LO16: OS << ":lower16:"; break; 31 OS << '('; 32 Expr->print(OS, MAI); 34 OS << ')';
|
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | TableGen.cpp | 210 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { argument 213 OS << Records; // No argument, dump all contents 216 EmitJSON(Records, OS); 219 EmitClangAttrClass(Records, OS); 222 EmitClangAttrParserStringSwitches(Records, OS); 225 EmitClangAttrSubjectMatchRulesParserStringSwitches(Records, OS); 228 EmitClangAttrImpl(Records, OS); 231 EmitClangAttrList(Records, OS); 234 EmitClangAttrSubjectMatchRuleList(Records, OS); 237 EmitClangAttrPCHRead(Records, OS); [all...] |
H A D | ClangSACheckersEmitter.cpp | 141 static void printChecker(llvm::raw_ostream &OS, const Record &R) { argument 142 OS << "CHECKER(" << "\""; 143 OS.write_escaped(getCheckerFullName(&R)) << "\", "; 144 OS << R.getName() << ", "; 145 OS << "\""; 146 OS.write_escaped(getStringValue(R, "HelpText")) << "\", "; 147 OS << "\""; 148 OS.write_escaped(getCheckerDocs(R)); 149 OS << "\", "; 152 OS << "fals 159 printOption(llvm::raw_ostream &OS, StringRef FullName, const Record &R) argument 178 EmitClangSACheckers(RecordKeeper &Records, raw_ostream &OS) argument [all...] |
H A D | ClangCommentHTMLTagsEmitter.cpp | 22 void clang::EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS) { argument 29 emitSourceFileHeader("HTML tag name matcher", OS); 31 OS << "bool isHTMLTagName(StringRef Name) {\n"; 32 StringMatcher("Name", Matches, OS).Emit(); 33 OS << " return false;\n" 38 raw_ostream &OS) { 51 emitSourceFileHeader("HTML tag properties", OS); 53 OS << "bool isHTMLEndTagOptional(StringRef Name) {\n"; 54 StringMatcher("Name", MatchesEndTagOptional, OS).Emit(); 55 OS << " retur 37 EmitClangCommentHTMLTagsProperties(RecordKeeper &Records, raw_ostream &OS) argument [all...] |
H A D | TableGenBackends.h | 27 void EmitClangDeclContext(llvm::RecordKeeper &RK, llvm::raw_ostream &OS); 28 void EmitClangASTNodes(llvm::RecordKeeper &RK, llvm::raw_ostream &OS, 30 void EmitClangBasicReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 31 void EmitClangBasicWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 32 void EmitClangTypeNodes(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 33 void EmitClangTypeReader(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 34 void EmitClangTypeWriter(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 36 llvm::raw_ostream &OS); 38 llvm::RecordKeeper &Records, llvm::raw_ostream &OS); 39 void EmitClangAttrClass(llvm::RecordKeeper &Records, llvm::raw_ostream &OS); [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 83 void debugDump(raw_ostream &OS); 91 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank, 93 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank, 95 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank, 102 void RegisterInfoEmitter::runEnums(raw_ostream &OS, argument 111 emitSourceFileHeader("Target Register Enum Values", OS); 113 OS << "\n#ifdef GET_REGINFO_ENUM\n"; 114 OS << "#undef GET_REGINFO_ENUM\n\n"; 116 OS << "namespace llvm {\n\n"; 118 OS << "clas 189 printInt(raw_ostream &OS, int Val) argument 194 EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank, const std::string &ClassName) argument 370 EmitRegMappingTables( raw_ostream &OS, const std::deque<CodeGenRegister> &Regs, bool isCtor) argument 505 EmitRegMapping( raw_ostream &OS, const std::deque<CodeGenRegister> &Regs, bool isCtor) argument 586 printBitVectorAsHex(raw_ostream &OS, const BitVector &Bits, unsigned Width) argument 609 print(raw_ostream &OS) argument 614 printSimpleValueType(raw_ostream &OS, MVT::SimpleValueType VT) argument 618 printSubRegIndex(raw_ostream &OS, const CodeGenSubRegIndex *Idx) argument 662 printDiff16(raw_ostream &OS, uint16_t Val) argument 666 printMask(raw_ostream &OS, LaneBitmask Val) argument 692 emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank, const std::string &ClName) argument 762 emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank, const std::string &ClName) argument 863 runMCDesc(raw_ostream &OS, CodeGenTarget &Target, CodeGenRegBank &RegBank) argument 1130 runTargetHeader(raw_ostream &OS, CodeGenTarget &Target, CodeGenRegBank &RegBank) argument 1200 runTargetDesc(raw_ostream &OS, CodeGenTarget &Target, CodeGenRegBank &RegBank) argument 1604 run(raw_ostream &OS) argument 1615 debugDump(raw_ostream &OS) argument 1677 EmitRegisterInfo(RecordKeeper &RK, raw_ostream &OS) argument [all...] |
H A D | DAGISelMatcher.cpp | 22 void Matcher::print(raw_ostream &OS, unsigned indent) const { argument 23 printImpl(OS, indent); 25 return Next->print(OS, indent); 28 void Matcher::printOne(raw_ostream &OS) const { 29 printImpl(OS, 0); 116 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { 117 OS.indent(indent) << "Scope\n"; 120 OS.indent(indent+1) << "NULL POINTER\n"; 122 C->print(OS, indent+2); 126 void RecordMatcher::printImpl(raw_ostream &OS, unsigne [all...] |
H A D | IntrinsicEmitter.cpp | 40 void run(raw_ostream &OS, bool Enums); 42 void EmitEnumInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 43 void EmitTargetInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 45 raw_ostream &OS); 47 raw_ostream &OS); 48 void EmitGenerator(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 49 void EmitAttributes(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 51 raw_ostream &OS); 59 void IntrinsicEmitter::run(raw_ostream &OS, bool Enums) { argument 60 emitSourceFileHeader("Intrinsic Function Source Fragment", OS); 91 EmitEnumInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS) argument 149 EmitTargetInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS) argument 166 EmitIntrinsicToNameTable( const CodeGenIntrinsicTable &Ints, raw_ostream &OS) argument 176 EmitIntrinsicToOverloadTable( const CodeGenIntrinsicTable &Ints, raw_ostream &OS) argument 481 printIITEntry(raw_ostream &OS, unsigned char X) argument 485 EmitGenerator(const CodeGenIntrinsicTable &Ints, raw_ostream &OS) argument 607 EmitAttributes(const CodeGenIntrinsicTable &Ints, raw_ostream &OS) argument [all...] |
H A D | ExegesisEmitter.cpp | 39 void run(raw_ostream &OS) const; 50 void emitPfmCounters(raw_ostream &OS) const; 54 raw_ostream &OS) const; 56 void emitPfmCountersLookupTable(raw_ostream &OS) const; 109 raw_ostream &OS) const { 117 OS << "\nstatic const PfmCountersInfo " << Target << Def.getName() 122 OS << " nullptr, // No cycle counter.\n"; 124 OS << " " << Target << "PfmCounterNames[" << getPfmCounterId(CycleCounter) 129 OS << " nullptr, // No uops counter.\n"; 131 OS << " " << Targe 211 EmitExegesis(RecordKeeper &RK, raw_ostream &OS) argument [all...] |
H A D | WebAssemblyDisassemblerEmitter.h | 24 raw_ostream &OS,
|
H A D | PredicateExpander.h | 56 void expandTrue(raw_ostream &OS); 57 void expandFalse(raw_ostream &OS); 58 void expandCheckImmOperand(raw_ostream &OS, int OpIndex, int ImmVal, 60 void expandCheckImmOperand(raw_ostream &OS, int OpIndex, StringRef ImmVal, 62 void expandCheckImmOperandSimple(raw_ostream &OS, int OpIndex, 64 void expandCheckRegOperand(raw_ostream &OS, int OpIndex, const Record *Reg, 66 void expandCheckRegOperandSimple(raw_ostream &OS, int OpIndex, 68 void expandCheckSameRegOperand(raw_ostream &OS, int First, int Second); 69 void expandCheckNumOperands(raw_ostream &OS, int NumOps); 70 void expandCheckOpcode(raw_ostream &OS, cons [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsABIFlagsSection.cpp | 58 MCStreamer &operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection) { argument 60 OS.EmitIntValue(ABIFlagsSection.getVersionValue(), 2); // version 61 OS.EmitIntValue(ABIFlagsSection.getISALevelValue(), 1); // isa_level 62 OS.EmitIntValue(ABIFlagsSection.getISARevisionValue(), 1); // isa_rev 63 OS.EmitIntValue(ABIFlagsSection.getGPRSizeValue(), 1); // gpr_size 64 OS.EmitIntValue(ABIFlagsSection.getCPR1SizeValue(), 1); // cpr1_size 65 OS.EmitIntValue(ABIFlagsSection.getCPR2SizeValue(), 1); // cpr2_size 66 OS.EmitIntValue(ABIFlagsSection.getFpABIValue(), 1); // fp_abi 67 OS.EmitIntValue(ABIFlagsSection.getISAExtensionValue(), 4); // isa_ext 68 OS [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | WithColor.h | 38 raw_ostream &OS; member in class:llvm::WithColor 42 /// To be used like this: WithColor(OS, HighlightColor::String) << "text"; 43 /// @param OS The output stream 46 /// and support in OS 47 WithColor(raw_ostream &OS, HighlightColor S, bool DisableColors = false); 48 /// To be used like this: WithColor(OS, raw_ostream::Black) << "text"; 49 /// @param OS The output stream 55 /// and support in OS 56 WithColor(raw_ostream &OS, argument 59 : OS(O [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | ScopedPrinter.cpp | 10 raw_ostream &operator<<(raw_ostream &OS, const HexNumber &Value) { argument 11 OS << "0x" << to_hexString(Value.Value); 12 return OS; 31 OS << ": " << Str; 32 OS << " (\n"; 34 OS << format_bytes_with_ascii(Data, StartOffset, 16, 4, 41 OS << " " << Str; 42 OS << " (" << format_bytes(Data, None, Data.size(), 1, 0, true) << ")\n";
|
H A D | raw_os_ostream.cpp | 26 OS.write(Ptr, Size); 29 uint64_t raw_os_ostream::current_pos() const { return OS.tellp(); }
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFLocationExpression.cpp | 15 raw_ostream &llvm::operator<<(raw_ostream &OS, argument 17 return OS << Loc.Range << ": "
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | IRPrintingPasses.cpp | 23 PrintModulePass::PrintModulePass() : OS(dbgs()) {} 24 PrintModulePass::PrintModulePass(raw_ostream &OS, const std::string &Banner, argument 26 : OS(OS), Banner(Banner), 32 OS << Banner << "\n"; 33 M.print(OS, nullptr, ShouldPreserveUseListOrder); 40 OS << Banner << "\n"; 43 F.print(OS); 50 PrintFunctionPass::PrintFunctionPass() : OS(dbgs()) {} 51 PrintFunctionPass::PrintFunctionPass(raw_ostream &OS, cons argument 73 PrintModulePassWrapper(raw_ostream &OS, const std::string &Banner, bool ShouldPreserveUseListOrder) argument 96 PrintFunctionPassWrapper(raw_ostream &OS, const std::string &Banner) argument 122 createPrintModulePass(llvm::raw_ostream &OS, const std::string &Banner, bool ShouldPreserveUseListOrder) argument 128 createPrintFunctionPass(llvm::raw_ostream &OS, const std::string &Banner) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.h | 26 raw_ostream &OS; member in class:llvm::ThinLTOBitcodeWriterPass 30 // Writes bitcode to OS. Also write thin link file to ThinLinkOS, if 32 ThinLTOBitcodeWriterPass(raw_ostream &OS, raw_ostream *ThinLinkOS) argument 33 : OS(OS), ThinLinkOS(ThinLinkOS) {}
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/ |
H A D | CoverageExporter.h | 33 raw_ostream &OS; member in class:llvm::CoverageExporter 36 const CoverageViewOptions &Options, raw_ostream &OS) 37 : Coverage(CoverageMapping), Options(Options), OS(OS) {} 35 CoverageExporter(const coverage::CoverageMapping &CoverageMapping, const CoverageViewOptions &Options, raw_ostream &OS) argument
|
H A D | SourceCoverageViewText.h | 28 void closeViewFile(OwnedStream OS) override; 40 void renderViewHeader(raw_ostream &OS) override; 42 void renderViewFooter(raw_ostream &OS) override; 44 void renderSourceName(raw_ostream &OS, bool WholeFile) override; 46 void renderLinePrefix(raw_ostream &OS, unsigned ViewDepth) override; 48 void renderLineSuffix(raw_ostream &OS, unsigned ViewDepth) override; 50 void renderViewDivider(raw_ostream &OS, unsigned ViewDepth) override; 52 void renderLine(raw_ostream &OS, LineRef L, const LineCoverageStats &LCS, 55 void renderExpansionSite(raw_ostream &OS, LineRef L, 59 void renderExpansionView(raw_ostream &OS, ExpansionVie [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | LogDiagnosticPrinter.cpp | 23 : OS(os), StreamOwner(std::move(StreamOwner)), LangOpts(nullptr), 39 LogDiagnosticPrinter::EmitDiagEntry(llvm::raw_ostream &OS, argument 41 OS << " <dict>\n"; 42 OS << " <key>level</key>\n" 44 EmitString(OS, getLevelName(DE.DiagnosticLevel)) << '\n'; 46 OS << " <key>filename</key>\n" 48 EmitString(OS, DE.Filename) << '\n'; 51 OS << " <key>line</key>\n" 53 EmitInteger(OS, DE.Line) << '\n'; 56 OS << " <ke [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Index/ |
H A D | USRGeneration.h | 35 void generateUSRForObjCClass(StringRef Cls, raw_ostream &OS, 40 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS, 47 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS); 51 raw_ostream &OS); 54 void generateUSRForObjCProperty(StringRef Prop, bool isClassProp, raw_ostream &OS); 57 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS, 61 void generateUSRForGlobalEnum(StringRef EnumName, raw_ostream &OS, 65 void generateUSRForEnumConstant(StringRef EnumConstantName, raw_ostream &OS); 82 bool generateFullUSRForModule(const Module *Mod, raw_ostream &OS); 86 bool generateFullUSRForTopLevelModuleName(StringRef ModName, raw_ostream &OS); [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/ |
H A D | Rewriters.h | 23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS); 26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS); 29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Disasm.cpp | 25 LLVM_DUMP_METHOD void Function::dump(llvm::raw_ostream &OS) const { 29 OS << Name << "::" << Name << ":\n"; 31 OS << F->getNameAsString() << ":\n"; 34 OS << "<<expr>>\n"; 37 OS << "frame size: " << getFrameSize() << "\n"; 38 OS << "arg size: " << getArgSize() << "\n"; 39 OS << "rvo: " << hasRVO() << "\n"; 41 auto PrintName = [&OS](const char *Name) { 42 OS << Name; 44 OS << ' '; [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyTargetStreamer.cpp | 35 MCStreamer &S, formatted_raw_ostream &OS) 36 : WebAssemblyTargetStreamer(S), OS(OS) {} 41 static void printTypes(formatted_raw_ostream &OS, argument 48 OS << ", "; 49 OS << WebAssembly::typeToString(Type); 51 OS << '\n'; 56 OS << "\t.local \t"; 57 printTypes(OS, Types); 61 void WebAssemblyTargetAsmStreamer::emitEndFunc() { OS << "\ 34 WebAssemblyTargetAsmStreamer( MCStreamer &S, formatted_raw_ostream &OS) argument [all...] |