Home
last modified time | relevance | path

Searched refs:OS (Results 1 – 25 of 1578) sorted by relevance

12345678910>>...64

/external/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp24 raw_ostream &llvm::operator<<(raw_ostream &OS, const PDB_VariantType &Type) { in operator <<() argument
26 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<()
[all …]
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp188 virtual void writeAccessors(raw_ostream &OS) const = 0;
189 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions()
190 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal()
191 virtual void writeCloneArgs(raw_ostream &OS) const = 0;
192 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0;
193 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation()
194 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody()
195 virtual void writeCtorInitializers(raw_ostream &OS) const = 0;
196 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0;
197 virtual void writeCtorParameters(raw_ostream &OS) const = 0;
[all …]
DTableGenBackends.h31 void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS);
32 void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS,
35 void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS);
36 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS);
37 void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS);
38 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS);
39 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS);
40 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS);
41 void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS);
42 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS);
[all …]
DClangASTNodesEmitter.cpp53 std::pair<Record *, Record *> EmitNode (const ChildMap &Tree, raw_ostream& OS,
62 void run(raw_ostream &OS);
74 raw_ostream &OS, in EmitNode() argument
91 OS << "#ifndef " << NodeName << "\n"; in EmitNode()
92 OS << "# define " << NodeName << "(Type, Base) " in EmitNode()
94 OS << "#endif\n"; in EmitNode()
97 OS << "ABSTRACT_" << macroName(Root.getName()) << "(" << NodeName << "(" in EmitNode()
100 OS << NodeName << "(" << R->getName() << ", " in EmitNode()
105 = EmitNode(Tree, OS, R); in EmitNode()
119 OS << "#undef " << NodeName << "\n\n"; in EmitNode()
[all …]
/external/clang/lib/AST/
DTypePrinter.cpp91 void print(const Type *ty, Qualifiers qs, raw_ostream &OS,
93 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder);
96 void spaceBeforePlaceHolder(raw_ostream &OS);
97 void printTypeSpec(const NamedDecl *D, raw_ostream &OS);
99 void printBefore(const Type *ty, Qualifiers qs, raw_ostream &OS);
100 void printBefore(QualType T, raw_ostream &OS);
101 void printAfter(const Type *ty, Qualifiers qs, raw_ostream &OS);
102 void printAfter(QualType T, raw_ostream &OS);
103 void AppendScope(DeclContext *DC, raw_ostream &OS);
104 void printTag(TagDecl *T, raw_ostream &OS);
[all …]
DStmtPrinter.cpp35 raw_ostream &OS; member in __anonb720263f0111::StmtPrinter
44 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter()
56 OS << ";\n"; in PrintStmt()
79 OS << "<null expr>"; in PrintExpr()
84 OS << " "; in Indent()
85 return OS; in Indent()
89 if (Helper && Helper->handledStmt(S,OS)) in Visit()
98 OS << "<<unknown expr type>>"; in VisitExpr()
116 OS << "{\n"; in PrintRawCompoundStmt()
124 D->print(OS, Policy, IndentLevel); in PrintRawDecl()
[all …]
DASTDumper.cpp95 raw_ostream &OS; member in __anoned57ecc80111::ASTDumper
133 OS << "\n"; in dumpChild()
153 OS << '\n'; in dumpChild()
155 OS << Prefix << (isLastChild ? '`' : '|') << '-'; in dumpChild()
192 Dumper.OS.changeColor(Color.Color, Color.Bold); in ColorScope()
196 Dumper.OS.resetColor(); in ~ColorScope()
201 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument
203 : OS(OS), Traits(Traits), SM(SM), TopLevel(true), FirstChild(true), in ASTDumper()
207 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument
209 : OS(OS), Traits(Traits), SM(SM), TopLevel(true), FirstChild(true), in ASTDumper()
[all …]
/external/llvm/utils/TableGen/
DDAGISelMatcherEmitter.cpp55 unsigned StartIdx, formatted_raw_ostream &OS);
57 void EmitPredicateFunctions(formatted_raw_ostream &OS);
59 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS);
62 formatted_raw_ostream &OS);
115 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument
117 OS << Val << ", "; in EmitVBRValue()
124 OS << (Val&127) << "|128,"; in EmitVBRValue()
128 OS << Val; in EmitVBRValue()
130 OS << "/*" << InVal << "*/"; in EmitVBRValue()
131 OS << ", "; in EmitVBRValue()
[all …]
DInstrInfoEmitter.cpp42 void run(raw_ostream &OS);
45 void emitEnums(raw_ostream &OS);
59 raw_ostream &OS);
60 void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target);
66 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target,
70 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs);
76 unsigned Num, raw_ostream &OS) { in PrintDefList() argument
77 OS << "static const uint16_t ImplicitList" << Num << "[] = { "; in PrintDefList()
79 OS << getQualifiedName(Uses[i]) << ", "; in PrintDefList()
80 OS << "0 };\n"; in PrintDefList()
[all …]
DRegisterInfoEmitter.cpp61 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
63 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank,
65 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank,
71 void RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument
81 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums()
83 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums()
84 OS << "#undef GET_REGINFO_ENUM\n"; in runEnums()
86 OS << "namespace llvm {\n\n"; in runEnums()
88 OS << "class MCRegisterClass;\n" in runEnums()
93 OS << "namespace " << Namespace << " {\n"; in runEnums()
[all …]
DIntrinsicEmitter.cpp36 void run(raw_ostream &OS);
38 void EmitPrefix(raw_ostream &OS);
41 raw_ostream &OS);
44 raw_ostream &OS);
46 raw_ostream &OS);
48 raw_ostream &OS);
50 raw_ostream &OS);
52 raw_ostream &OS);
54 raw_ostream &OS);
56 raw_ostream &OS);
[all …]
DOptParserEmitter.cpp97 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { in write_cstring() argument
98 OS << '"'; in write_cstring()
99 OS.write_escaped(Str); in write_cstring()
100 OS << '"'; in write_cstring()
101 return OS; in write_cstring()
108 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) { in EmitOptParser() argument
114 emitSourceFileHeader("Option Parsing Definitions", OS); in EmitOptParser()
135 OS << "/////////\n"; in EmitOptParser()
136 OS << "// Prefixes\n\n"; in EmitOptParser()
137 OS << "#ifdef PREFIX\n"; in EmitOptParser()
[all …]
DDAGISelMatcher.cpp24 void Matcher::print(raw_ostream &OS, unsigned indent) const { in print() argument
25 printImpl(OS, indent); in print()
27 return Next->print(OS, indent); in print()
30 void Matcher::printOne(raw_ostream &OS) const { in printOne()
31 printImpl(OS, 0); in printOne()
108 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
109 OS.indent(indent) << "Scope\n"; in printImpl()
112 OS.indent(indent+1) << "NULL POINTER\n"; in printImpl()
114 getChild(i)->print(OS, indent+2); in printImpl()
118 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
[all …]
DAsmMatcherEmitter.cpp1685 raw_ostream &OS) { in emitConvertFuncs() argument
1937 OS << "namespace {\n"; in emitConvertFuncs()
1940 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs()
1942 OS << " " << OperandConversionKinds[i] << ",\n"; in emitConvertFuncs()
1943 OS << " CVT_NUM_CONVERTERS\n"; in emitConvertFuncs()
1944 OS << "};\n\n"; in emitConvertFuncs()
1947 OS << "enum InstructionConversionKind {\n"; in emitConvertFuncs()
1951 OS << " " << *i << ",\n"; in emitConvertFuncs()
1952 OS << " CVT_NUM_SIGNATURES\n"; in emitConvertFuncs()
1953 OS << "};\n\n"; in emitConvertFuncs()
[all …]
DSubtargetEmitter.cpp65 void Enumeration(raw_ostream &OS, const char *ClassName, bool isBits);
66 unsigned FeatureKeyValues(raw_ostream &OS);
67 unsigned CPUKeyValues(raw_ostream &OS);
76 void EmitStageAndOperandCycleData(raw_ostream &OS,
79 void EmitItineraries(raw_ostream &OS,
82 void EmitProcessorProp(raw_ostream &OS, const Record *R, const char *Name,
85 raw_ostream &OS);
94 void EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS);
95 void EmitProcessorModels(raw_ostream &OS);
96 void EmitProcessorLookup(raw_ostream &OS);
[all …]
DFastISelEmitter.cpp102 void printManglingSuffix(raw_ostream &OS, ImmPredicateSet &ImmPredicates, in printManglingSuffix() argument
105 OS << 'r'; in printManglingSuffix()
107 OS << 'f'; in printManglingSuffix()
109 OS << 'i'; in printManglingSuffix()
112 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix()
148 void emitImmediatePredicate(raw_ostream &OS, ImmPredicateSet &ImmPredicates) { in emitImmediatePredicate()
157 OS << " &&\n "; in emitImmediatePredicate()
162 OS << "VT == " in emitImmediatePredicate()
167 OS << PredFn.getFnName() << "(imm" << i <<')'; in emitImmediatePredicate()
285 void PrintParameters(raw_ostream &OS) const { in PrintParameters()
[all …]
/external/llvm/lib/MC/
DMCSectionELF.cpp38 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument
42 OS << Name; in printName()
45 OS << '"'; in printName()
48 OS << "\\\""; in printName()
50 OS << *B; in printName()
52 OS << "\\\\"; in printName()
54 OS << B[0] << B[1]; // Quoted character in printName()
58 OS << '"'; in printName()
62 raw_ostream &OS, in PrintSwitchToSection() argument
66 OS << '\t' << getSectionName(); in PrintSwitchToSection()
[all …]
DMCAsmStreamer.cpp41 formatted_raw_ostream &OS; member in __anon41ee7c850111::MCAsmStreamer
63 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer()
75 OS << '\n'; in EmitEOL()
265 OS << '\n'; in EmitCommentsAndEOL()
276 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
278 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
295 OS << '\t'; in emitRawComment()
296 OS << MAI->getCommentString() << T; in emitRawComment()
303 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection()
310 OS << *Symbol << MAI->getLabelSuffix(); in EmitLabel()
[all …]
/external/llvm/lib/Support/
DTwine.cpp27 raw_svector_ostream OS(Out); in toVector() local
28 print(OS); in toVector()
51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument
57 Ptr.twine->print(OS); in printOneChild()
60 OS << Ptr.cString; in printOneChild()
63 OS << *Ptr.stdString; in printOneChild()
66 OS << *Ptr.stringRef; in printOneChild()
69 OS << *Ptr.smallString; in printOneChild()
72 OS << Ptr.character; in printOneChild()
75 OS << Ptr.decUI; in printOneChild()
[all …]
/external/clang/lib/Basic/
DModule.cpp218 static void printModuleId(raw_ostream &OS, const ModuleId &Id) { in printModuleId() argument
221 OS << "."; in printModuleId()
222 OS << Id[I].first; in printModuleId()
306 void Module::print(raw_ostream &OS, unsigned Indent) const { in print() argument
307 OS.indent(Indent); in print()
309 OS << "framework "; in print()
311 OS << "explicit "; in print()
312 OS << "module " << Name; in print()
315 OS.indent(Indent + 2); in print()
317 OS << " [system]"; in print()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
DR600MCCodeEmitter.cpp53 virtual void EncodeInstruction(const MCInst &MI, raw_ostream &OS,
62 raw_ostream &OS) const;
63 void EmitSrc(const MCInst &MI, unsigned OpIdx, raw_ostream &OS) const;
64 void EmitDst(const MCInst &MI, raw_ostream &OS) const;
67 raw_ostream &OS) const;
69 raw_ostream &OS) const;
70 void EmitFCInstr(const MCInst &MI, raw_ostream &OS) const;
72 void EmitNullBytes(unsigned int byteCount, raw_ostream &OS) const;
74 void EmitByte(unsigned int byte, raw_ostream &OS) const;
76 void EmitTwoBytes(uint32_t bytes, raw_ostream &OS) const;
[all …]
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIARawSymbol.cpp125 void DumpDIAValue(llvm::raw_ostream &OS, int Indent, StringRef Name, in DumpDIAValue() argument
130 OS << "\n"; in DumpDIAValue()
131 OS.indent(Indent); in DumpDIAValue()
132 OS << Name << ": " << Value; in DumpDIAValue()
136 void DumpDIAValue(llvm::raw_ostream &OS, int Indent, StringRef Name, in DumpDIAValue() argument
146 OS << "\n"; in DumpDIAValue()
147 OS.indent(Indent); in DumpDIAValue()
148 OS << Name << ": " << Result; in DumpDIAValue()
153 void DumpDIAValue(llvm::raw_ostream &OS, int Indent, StringRef Name, in DumpDIAValue() argument
160 OS << "\n"; in DumpDIAValue()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp352 void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const { in print_types() argument
353 OS << (const void*)this << ": "; in print_types()
356 if (i) OS << ","; in print_types()
358 OS << "ch"; in print_types()
360 OS << getValueType(i).getEVTString(); in print_types()
362 OS << " = " << getOperationName(G); in print_types()
365 void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const { in print_details() argument
368 OS << "<"; in print_details()
369 OS << "Mem:"; in print_details()
372 OS << **i; in print_details()
[all …]
/external/llvm/tools/llvm-cov/
DCoverageReport.cpp45 void render(raw_ostream &OS) const;
47 raw_ostream &operator<<(raw_ostream &OS, const Column &Value) { in operator <<() argument
48 Value.render(OS); in operator <<()
49 return OS; in operator <<()
53 void Column::render(raw_ostream &OS) const { in render()
56 OS.indent(Width - Str.size()); in render()
57 OS << Str; in render()
60 OS << Str; in render()
61 OS.indent(Width - Str.size()); in render()
67 OS << Str.substr(0, Width); in render()
[all …]
/external/llvm/lib/Target/Mips/InstPrinter/
DMipsInstPrinter.cpp75 void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { in printRegName() argument
76 OS << '$' << StringRef(getRegisterName(RegNo)).lower(); in printRegName()
125 static void printExpr(const MCExpr *Expr, raw_ostream &OS) { in printExpr() argument
135 ME->print(OS); in printExpr()
145 case MCSymbolRefExpr::VK_Mips_GPREL: OS << "%gp_rel("; break; in printExpr()
146 case MCSymbolRefExpr::VK_Mips_GOT_CALL: OS << "%call16("; break; in printExpr()
147 case MCSymbolRefExpr::VK_Mips_GOT16: OS << "%got("; break; in printExpr()
148 case MCSymbolRefExpr::VK_Mips_GOT: OS << "%got("; break; in printExpr()
149 case MCSymbolRefExpr::VK_Mips_ABS_HI: OS << "%hi("; break; in printExpr()
150 case MCSymbolRefExpr::VK_Mips_ABS_LO: OS << "%lo("; break; in printExpr()
[all …]

12345678910>>...64