Home
last modified time | relevance | path

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

12345678910>>...303

/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument
27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<()
[all …]
/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-project/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument
27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
35 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 …]
/external/llvm-project/llvm/utils/TableGen/
DInstrInfoEmitter.cpp49 void run(raw_ostream &OS);
52 void emitEnums(raw_ostream &OS);
68 void emitTIIHelperMethods(raw_ostream &OS, StringRef TargetName,
73 void emitMCIIHelperMethods(raw_ostream &OS, StringRef TargetName);
78 raw_ostream &OS);
80 raw_ostream &OS, const CodeGenTarget &Target,
87 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target,
91 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs);
98 unsigned Num, raw_ostream &OS) { in PrintDefList() argument
99 OS << "static const MCPhysReg ImplicitList" << Num << "[] = { "; in PrintDefList()
[all …]
DPredicateExpander.cpp18 void PredicateExpander::expandTrue(raw_ostream &OS) { OS << "true"; } in expandTrue() argument
19 void PredicateExpander::expandFalse(raw_ostream &OS) { OS << "false"; } in expandFalse() argument
21 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
25 OS << FunctionMapper << "("; in expandCheckImmOperand()
26 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand()
29 OS << ")"; in expandCheckImmOperand()
30 OS << (shouldNegate() ? " != " : " == ") << ImmVal; in expandCheckImmOperand()
33 void PredicateExpander::expandCheckImmOperand(raw_ostream &OS, int OpIndex, in expandCheckImmOperand() argument
37 expandCheckImmOperandSimple(OS, OpIndex, FunctionMapper); in expandCheckImmOperand()
40 OS << FunctionMapper << "("; in expandCheckImmOperand()
[all …]
DDirectiveEmitter.cpp28 IfDefScope(StringRef Name, raw_ostream &OS) : Name(Name), OS(OS) { in IfDefScope() argument
29 OS << "#ifdef " << Name << "\n" in IfDefScope()
33 ~IfDefScope() { OS << "\n#endif // " << Name << "\n\n"; } in ~IfDefScope()
37 raw_ostream &OS; member in __anon993f590b0111::IfDefScope
44 void GenerateEnumClass(const std::vector<Record *> &Records, raw_ostream &OS, in GenerateEnumClass() argument
47 OS << "\n"; in GenerateEnumClass()
48 OS << "enum class " << Enum << " {\n"; in GenerateEnumClass()
51 OS << " " << Prefix << Rec.getFormattedName() << ",\n"; in GenerateEnumClass()
53 OS << "};\n"; in GenerateEnumClass()
54 OS << "\n"; in GenerateEnumClass()
[all …]
DDAGISelMatcherEmitter.cpp90 unsigned StartIdx, raw_ostream &OS);
92 unsigned SizeMatcherList(Matcher *N, raw_ostream &OS);
94 void EmitPredicateFunctions(raw_ostream &OS);
96 void EmitHistogram(const Matcher *N, raw_ostream &OS);
98 void EmitPatternMatchTable(raw_ostream &OS);
102 StringRef Decl, raw_ostream &OS);
104 unsigned SizeMatcher(Matcher *N, raw_ostream &OS);
107 raw_ostream &OS);
189 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument
191 OS << Val << ", "; in EmitVBRValue()
[all …]
DOptParserEmitter.cpp31 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { in write_cstring() argument
32 OS << '"'; in write_cstring()
33 OS.write_escaped(Str); in write_cstring()
34 OS << '"'; in write_cstring()
35 return OS; in write_cstring()
57 static void emitNameUsingSpelling(raw_ostream &OS, const Record &R) { in emitNameUsingSpelling() argument
59 OS << "&"; in emitNameUsingSpelling()
60 write_cstring(OS, StringRef(getOptionSpelling(R, PrefixLength))); in emitNameUsingSpelling()
61 OS << "[" << PrefixLength << "]"; in emitNameUsingSpelling()
102 void emit(raw_ostream &OS) const { in emit()
[all …]
DRegisterInfoEmitter.cpp83 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, in runEnums() argument
111 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums()
113 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums()
114 OS << "#undef GET_REGINFO_ENUM\n\n"; in runEnums()
116 OS << "namespace llvm {\n\n"; in runEnums()
118 OS << "class MCRegisterClass;\n" in runEnums()
[all …]
/external/llvm-project/clang/utils/TableGen/
DClangAttrEmitter.cpp230 virtual void writeAccessors(raw_ostream &OS) const = 0;
231 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions()
232 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal()
233 virtual void writeCloneArgs(raw_ostream &OS) const = 0;
234 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0;
235 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation()
236 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody()
237 virtual void writeCtorInitializers(raw_ostream &OS) const = 0;
238 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0;
239 virtual void writeCtorParameters(raw_ostream &OS) const = 0;
[all …]
DClangOpcodesEmitter.cpp32 void run(raw_ostream &OS);
37 void EmitEnum(raw_ostream &OS, StringRef N, Record *R);
40 void EmitInterp(raw_ostream &OS, StringRef N, Record *R);
43 void EmitDisasm(raw_ostream &OS, StringRef N, Record *R);
46 void EmitEmitter(raw_ostream &OS, StringRef N, Record *R);
49 void EmitProto(raw_ostream &OS, StringRef N, Record *R);
52 void EmitGroup(raw_ostream &OS, StringRef N, Record *R);
55 void EmitEval(raw_ostream &OS, StringRef N, Record *R);
57 void PrintTypes(raw_ostream &OS, ArrayRef<Record *> Types);
88 void ClangOpcodesEmitter::run(raw_ostream &OS) { in run() argument
[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 __anond33ff6c60111::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 …]
/external/llvm-project/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp24 OS << Desc; \
28 static void outputSpaceIfNecessary(OutputStream &OS) { in outputSpaceIfNecessary() argument
29 if (OS.empty()) in outputSpaceIfNecessary()
32 char C = OS.back(); in outputSpaceIfNecessary()
34 OS << " "; in outputSpaceIfNecessary()
37 static void outputSingleQualifier(OutputStream &OS, Qualifiers Q) { in outputSingleQualifier() argument
40 OS << "const"; in outputSingleQualifier()
43 OS << "volatile"; in outputSingleQualifier()
46 OS << "__restrict"; in outputSingleQualifier()
53 static bool outputQualifierIfPresent(OutputStream &OS, Qualifiers Q, in outputQualifierIfPresent() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp24 OS << Desc; \
28 static void outputSpaceIfNecessary(OutputStream &OS) { in outputSpaceIfNecessary() argument
29 if (OS.empty()) in outputSpaceIfNecessary()
32 char C = OS.back(); in outputSpaceIfNecessary()
34 OS << " "; in outputSpaceIfNecessary()
37 static void outputSingleQualifier(OutputStream &OS, Qualifiers Q) { in outputSingleQualifier() argument
40 OS << "const"; in outputSingleQualifier()
43 OS << "volatile"; in outputSingleQualifier()
46 OS << "__restrict"; in outputSingleQualifier()
53 static bool outputQualifierIfPresent(OutputStream &OS, Qualifiers Q, in outputQualifierIfPresent() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp39 void AsmToken::dump(raw_ostream &OS) const { in dump()
42 OS << "error"; in dump()
45 OS << "identifier: " << getString(); in dump()
48 OS << "int: " << getString(); in dump()
51 OS << "real: " << getString(); in dump()
54 OS << "string: " << getString(); in dump()
57 case AsmToken::Amp: OS << "Amp"; break; in dump()
58 case AsmToken::AmpAmp: OS << "AmpAmp"; break; in dump()
59 case AsmToken::At: OS << "At"; break; in dump()
60 case AsmToken::BackSlash: OS << "BackSlash"; break; in dump()
[all …]
/external/llvm-project/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp39 void AsmToken::dump(raw_ostream &OS) const { in dump()
42 OS << "error"; in dump()
45 OS << "identifier: " << getString(); in dump()
48 OS << "int: " << getString(); in dump()
51 OS << "real: " << getString(); in dump()
54 OS << "string: " << getString(); in dump()
57 case AsmToken::Amp: OS << "Amp"; break; in dump()
58 case AsmToken::AmpAmp: OS << "AmpAmp"; break; in dump()
59 case AsmToken::At: OS << "At"; break; in dump()
60 case AsmToken::BackSlash: OS << "BackSlash"; break; in dump()
[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/llvm-project/clang/lib/AST/
DTypePrinter.cpp111 void print(const Type *ty, Qualifiers qs, raw_ostream &OS,
113 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder);
116 void spaceBeforePlaceHolder(raw_ostream &OS);
117 void printTypeSpec(NamedDecl *D, raw_ostream &OS);
119 void printBefore(QualType T, raw_ostream &OS);
120 void printAfter(QualType T, raw_ostream &OS);
121 void AppendScope(DeclContext *DC, raw_ostream &OS,
123 void printTag(TagDecl *T, raw_ostream &OS);
124 void printFunctionAfter(const FunctionType::ExtInfo &Info, raw_ostream &OS);
127 void print##CLASS##Before(const CLASS##Type *T, raw_ostream &OS); \
[all …]
/external/llvm-project/llvm/tools/llvm-rc/
DResourceScriptStmt.cpp19 raw_ostream &operator<<(raw_ostream &OS, const IntOrString &Item) { in operator <<() argument
21 return OS << Item.Data.Int; in operator <<()
23 return OS << Item.Data.String; in operator <<()
26 raw_ostream &OptionalStmtList::log(raw_ostream &OS) const { in log()
28 OS << " Option: "; in log()
29 Stmt->log(OS); in log()
31 return OS; in log()
34 raw_ostream &LanguageResource::log(raw_ostream &OS) const { in log()
35 return OS << "Language: " << Lang << ", Sublanguage: " << SubLang << "\n"; in log()
46 raw_ostream &AcceleratorsResource::log(raw_ostream &OS) const { in log()
[all …]

12345678910>>...303