Home
last modified time | relevance | path

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

12345678910>>...173

/external/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp25 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
36 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<()
[all …]
/external/llvm/utils/TableGen/
DAttributes.cpp26 void emit(raw_ostream &OS);
29 void emitTargetIndependentEnums(raw_ostream &OS);
30 void emitConversionFn(raw_ostream &OS);
31 void emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr);
33 void printEnumAttrClasses(raw_ostream &OS,
35 void printStrBoolAttrClasses(raw_ostream &OS,
43 void Attributes::emitTargetIndependentEnums(raw_ostream &OS) { in emitTargetIndependentEnums() argument
44 OS << "#ifdef GET_ATTR_ENUM\n"; in emitTargetIndependentEnums()
45 OS << "#undef GET_ATTR_ENUM\n"; in emitTargetIndependentEnums()
51 OS << A->getName() << ",\n"; in emitTargetIndependentEnums()
[all …]
DDAGISelMatcherEmitter.cpp60 unsigned StartIdx, formatted_raw_ostream &OS);
62 void EmitPredicateFunctions(formatted_raw_ostream &OS);
64 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS);
67 formatted_raw_ostream &OS);
133 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument
135 OS << Val << ", "; in EmitVBRValue()
142 OS << (Val&127) << "|128,"; in EmitVBRValue()
146 OS << Val; in EmitVBRValue()
148 OS << "/*" << InVal << "*/"; in EmitVBRValue()
149 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 MCPhysReg ImplicitList" << Num << "[] = { "; in PrintDefList()
79 OS << getQualifiedName(U) << ", "; in PrintDefList()
80 OS << "0 };\n"; in PrintDefList()
[all …]
DRegisterInfoEmitter.cpp77 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
79 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank,
81 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank,
88 void RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument
98 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums()
100 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums()
101 OS << "#undef GET_REGINFO_ENUM\n\n"; in runEnums()
103 OS << "namespace llvm {\n\n"; in runEnums()
105 OS << "class MCRegisterClass;\n" in runEnums()
110 OS << "namespace " << Namespace << " {\n"; in runEnums()
[all …]
DIntrinsicEmitter.cpp37 void run(raw_ostream &OS);
39 void EmitPrefix(raw_ostream &OS);
42 raw_ostream &OS);
45 raw_ostream &OS);
47 raw_ostream &OS);
49 raw_ostream &OS);
51 raw_ostream &OS);
53 bool IsGCC, raw_ostream &OS);
54 void EmitSuffix(raw_ostream &OS);
62 void IntrinsicEmitter::run(raw_ostream &OS) { in run() argument
[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 …]
DSubtargetEmitter.cpp72 void Enumeration(raw_ostream &OS);
73 unsigned FeatureKeyValues(raw_ostream &OS);
74 unsigned CPUKeyValues(raw_ostream &OS);
83 void EmitStageAndOperandCycleData(raw_ostream &OS,
86 void EmitItineraries(raw_ostream &OS,
89 void EmitProcessorProp(raw_ostream &OS, const Record *R, const char *Name,
92 raw_ostream &OS);
101 void EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS);
102 void EmitProcessorModels(raw_ostream &OS);
103 void EmitProcessorLookup(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 …]
DAsmMatcherEmitter.cpp1833 raw_ostream &OS) { in emitConvertFuncs() argument
2122 OS << "namespace {\n"; in emitConvertFuncs()
2125 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs()
2127 OS << " " << Converter << ",\n"; in emitConvertFuncs()
2128 OS << " CVT_NUM_CONVERTERS\n"; in emitConvertFuncs()
2129 OS << "};\n\n"; in emitConvertFuncs()
2132 OS << "enum InstructionConversionKind {\n"; in emitConvertFuncs()
2134 OS << " " << Signature << ",\n"; in emitConvertFuncs()
2135 OS << " CVT_NUM_SIGNATURES\n"; in emitConvertFuncs()
2136 OS << "};\n\n"; in emitConvertFuncs()
[all …]
/external/clang/lib/AST/
DTypePrinter.cpp93 void print(const Type *ty, Qualifiers qs, raw_ostream &OS,
95 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder);
98 void spaceBeforePlaceHolder(raw_ostream &OS);
99 void printTypeSpec(const NamedDecl *D, raw_ostream &OS);
101 void printBefore(const Type *ty, Qualifiers qs, raw_ostream &OS);
102 void printBefore(QualType T, raw_ostream &OS);
103 void printAfter(const Type *ty, Qualifiers qs, raw_ostream &OS);
104 void printAfter(QualType T, raw_ostream &OS);
105 void AppendScope(DeclContext *DC, raw_ostream &OS);
106 void printTag(TagDecl *T, raw_ostream &OS);
[all …]
DStmtPrinter.cpp37 raw_ostream &OS; member in __anon2393461c0111::StmtPrinter
46 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter()
58 OS << ";\n"; in PrintStmt()
81 OS << "<null expr>"; in PrintExpr()
86 OS << " "; in Indent()
87 return OS; in Indent()
91 if (Helper && Helper->handledStmt(S,OS)) in Visit()
100 OS << "<<unknown expr type>>"; in VisitExpr()
118 OS << "{\n"; in PrintRawCompoundStmt()
126 D->print(OS, Policy, IndentLevel); in PrintRawDecl()
[all …]
DASTDumper.cpp98 raw_ostream &OS; member in __anonbbd771650111::ASTDumper
136 OS << "\n"; in dumpChild()
156 OS << '\n'; in dumpChild()
158 OS << Prefix << (isLastChild ? '`' : '|') << '-'; in dumpChild()
195 Dumper.OS.changeColor(Color.Color, Color.Bold); in ColorScope()
199 Dumper.OS.resetColor(); in ~ColorScope()
204 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument
206 : OS(OS), Traits(Traits), SM(SM), TopLevel(true), FirstChild(true), in ASTDumper()
210 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument
212 : OS(OS), Traits(Traits), SM(SM), TopLevel(true), FirstChild(true), in ASTDumper()
[all …]
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp216 virtual void writeAccessors(raw_ostream &OS) const = 0;
217 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions()
218 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal()
219 virtual void writeCloneArgs(raw_ostream &OS) const = 0;
220 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0;
221 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation()
222 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody()
223 virtual void writeCtorInitializers(raw_ostream &OS) const = 0;
224 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0;
225 virtual void writeCtorParameters(raw_ostream &OS) const = 0;
[all …]
/external/swiftshader/third_party/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 …]
DRegisterInfoEmitter.cpp30 RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument
36 EmitSourceFileHeader("Target Register Enum Values", OS); in runEnums()
38 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums()
39 OS << "#undef GET_REGINFO_ENUM\n"; in runEnums()
41 OS << "namespace llvm {\n\n"; in runEnums()
43 OS << "class MCRegisterClass;\n" in runEnums()
47 OS << "namespace " << Namespace << " {\n"; in runEnums()
48 OS << "enum {\n NoRegister,\n"; in runEnums()
51 OS << " " << Registers[i]->getName() << " = " << in runEnums()
55 OS << " NUM_TARGET_REGS \t// " << Registers.size()+1 << "\n"; in runEnums()
[all …]
DIntrinsicEmitter.cpp26 void IntrinsicEmitter::run(raw_ostream &OS) { in run() argument
27 EmitSourceFileHeader("Intrinsic Function Source Fragment", OS); in run()
34 EmitPrefix(OS); in run()
37 EmitEnumInfo(Ints, OS); in run()
40 EmitIntrinsicToNameTable(Ints, OS); in run()
43 EmitIntrinsicToOverloadTable(Ints, OS); in run()
46 EmitFnNameRecognizer(Ints, OS); in run()
49 EmitVerifier(Ints, OS); in run()
52 EmitGenerator(Ints, OS); in run()
55 EmitAttributes(Ints, OS); in run()
[all …]
DSubtargetEmitter.cpp25 void SubtargetEmitter::Enumeration(raw_ostream &OS, in Enumeration() argument
40 OS << "namespace " << Target << " {\n"; in Enumeration()
43 OS << "enum {\n"; in Enumeration()
51 OS << " " << Def->getName(); in Enumeration()
54 if (isBits) OS << " = " << " 1ULL << " << i; in Enumeration()
57 if (++i < N) OS << ","; in Enumeration()
59 OS << "\n"; in Enumeration()
63 OS << "};\n"; in Enumeration()
65 OS << "}\n"; in Enumeration()
72 unsigned SubtargetEmitter::FeatureKeyValues(raw_ostream &OS) { in FeatureKeyValues() argument
[all …]
DInstrInfoEmitter.cpp23 unsigned Num, raw_ostream &OS) { in PrintDefList() argument
24 OS << "static const unsigned ImplicitList" << Num << "[] = { "; in PrintDefList()
26 OS << getQualifiedName(Uses[i]) << ", "; in PrintDefList()
27 OS << "0 };\n"; in PrintDefList()
136 void InstrInfoEmitter::EmitOperandInfo(raw_ostream &OS, in EmitOperandInfo() argument
142 OS << "\n"; in EmitOperandInfo()
151 OS << "static const MCOperandInfo OperandInfo" << N << "[] = { "; in EmitOperandInfo()
153 OS << "{ " << OperandInfo[i] << " }, "; in EmitOperandInfo()
154 OS << "};\n"; in EmitOperandInfo()
163 void InstrInfoEmitter::run(raw_ostream &OS) { in run() argument
[all …]
DDAGISelMatcher.cpp22 void Matcher::print(raw_ostream &OS, unsigned indent) const { in print() argument
23 printImpl(OS, indent); in print()
25 return Next->print(OS, indent); in print()
28 void Matcher::printOne(raw_ostream &OS) const { in printOne()
29 printImpl(OS, 0); in printOne()
97 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
98 OS.indent(indent) << "Scope\n"; in printImpl()
101 OS.indent(indent+1) << "NULL POINTER\n"; in printImpl()
103 getChild(i)->print(OS, indent+2); in printImpl()
107 void RecordMatcher::printImpl(raw_ostream &OS, unsigned indent) const { in printImpl() argument
[all …]
/external/llvm/lib/MC/
DMCSectionELF.cpp33 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument
37 OS << Name; in printName()
40 OS << '"'; in printName()
43 OS << "\\\""; in printName()
45 OS << *B; in printName()
47 OS << "\\\\"; in printName()
49 OS << B[0] << B[1]; // Quoted character in printName()
53 OS << '"'; in printName()
57 raw_ostream &OS, in PrintSwitchToSection() argument
61 OS << '\t' << getSectionName(); in PrintSwitchToSection()
[all …]
DMCAsmStreamer.cpp43 formatted_raw_ostream &OS; member in __anonae619c620111::MCAsmStreamer
66 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer()
81 OS << '\n'; in EmitEOL()
302 OS << '\n'; in EmitCommentsAndEOL()
312 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
314 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
329 OS << '\t'; in emitRawComment()
330 OS << MAI->getCommentString() << T; in emitRawComment()
373 OS << Comments; in emitExplicitComments()
380 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/
DMCAsmStreamer.cpp39 formatted_raw_ostream &OS; member in __anon0e941e8e0111::MCAsmStreamer
69 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in MCAsmStreamer()
81 OS << '\n'; in EmitEOL()
279 OS << '\n'; in EmitCommentsAndEOL()
290 OS.PadToColumn(MAI.getCommentColumn()); in EmitCommentsAndEOL()
292 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n'; in EmitCommentsAndEOL()
309 Section->PrintSwitchToSection(MAI, OS); in ChangeSection()
331 OS << *Symbol << MAI.getLabelSuffix(); in EmitLabel()
338 case MCAF_SyntaxUnified: OS << "\t.syntax unified"; break; in EmitAssemblerFlag()
339 case MCAF_SubsectionsViaSymbols: OS << ".subsections_via_symbols"; break; in EmitAssemblerFlag()
[all …]
/external/llvm/tools/yaml2obj/
Dyaml2macho.cpp37 Error writeMachO(raw_ostream &OS);
40 Error writeHeader(raw_ostream &OS);
41 Error writeLoadCommands(raw_ostream &OS);
42 Error writeSectionData(raw_ostream &OS);
43 Error writeLinkEditData(raw_ostream &OS);
44 void writeBindOpcodes(raw_ostream &OS,
47 Error writeRebaseOpcodes(raw_ostream &OS);
48 Error writeBasicBindOpcodes(raw_ostream &OS);
49 Error writeWeakBindOpcodes(raw_ostream &OS);
50 Error writeLazyBindOpcodes(raw_ostream &OS);
[all …]
/external/llvm/lib/Target/Lanai/InstPrinter/
DLanaiInstPrinter.cpp32 void LanaiInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { in printRegName() argument
33 OS << StringRef(getRegisterName(RegNo)).lower(); in printRegName()
36 bool LanaiInstPrinter::printInst(const MCInst *MI, raw_ostream &OS, in printInst() argument
39 OS << "\t" << Alias << " "; in printInst()
40 printOperand(MI, OpNo0, OS); in printInst()
41 OS << ", "; in printInst()
42 printOperand(MI, OpNo1, OS); in printInst()
70 raw_ostream &OS, in printMemoryLoadIncrement() argument
74 OS << "\t" << Opcode << "\t[" << decIncOperator(MI) << "%" in printMemoryLoadIncrement()
80 OS << "\t" << Opcode << "\t[%" in printMemoryLoadIncrement()
[all …]

12345678910>>...173