/external/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 25 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/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 25 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/ |
D | Attributes.cpp | 26 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 …]
|
D | DAGISelMatcherEmitter.cpp | 60 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 …]
|
D | InstrInfoEmitter.cpp | 42 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 …]
|
D | RegisterInfoEmitter.cpp | 77 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 …]
|
D | IntrinsicEmitter.cpp | 37 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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | Attributes.cpp | 24 void emit(raw_ostream &OS); 27 void emitTargetIndependentEnums(raw_ostream &OS); 28 void emitConversionFn(raw_ostream &OS); 29 void emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr); 31 void printEnumAttrClasses(raw_ostream &OS, 33 void printStrBoolAttrClasses(raw_ostream &OS, 41 void Attributes::emitTargetIndependentEnums(raw_ostream &OS) { in emitTargetIndependentEnums() argument 42 OS << "#ifdef GET_ATTR_ENUM\n"; in emitTargetIndependentEnums() 43 OS << "#undef GET_ATTR_ENUM\n"; in emitTargetIndependentEnums() 49 OS << A->getName() << ",\n"; in emitTargetIndependentEnums() [all …]
|
D | DAGISelMatcherEmitter.cpp | 86 unsigned StartIdx, raw_ostream &OS); 88 void EmitPredicateFunctions(raw_ostream &OS); 90 void EmitHistogram(const Matcher *N, raw_ostream &OS); 92 void EmitPatternMatchTable(raw_ostream &OS); 96 raw_ostream &OS); 170 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument 172 OS << Val << ", "; in EmitVBRValue() 179 OS << (Val&127) << "|128,"; in EmitVBRValue() 183 OS << Val; in EmitVBRValue() 185 OS << "/*" << InVal << "*/"; in EmitVBRValue() [all …]
|
D | InstrInfoEmitter.cpp | 50 void run(raw_ostream &OS); 53 void emitEnums(raw_ostream &OS); 69 void emitTIIHelperMethods(raw_ostream &OS); 73 void emitMCIIHelperMethods(raw_ostream &OS); 78 raw_ostream &OS); 79 void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target); 85 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target, 89 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs); 96 unsigned Num, raw_ostream &OS) { in PrintDefList() argument 97 OS << "static const MCPhysReg ImplicitList" << Num << "[] = { "; in PrintDefList() [all …]
|
D | IntrinsicEmitter.cpp | 37 void run(raw_ostream &OS, bool Enums); 39 void EmitPrefix(raw_ostream &OS); 41 void EmitEnumInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 42 void EmitTargetInfo(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 44 raw_ostream &OS); 46 raw_ostream &OS); 47 void EmitGenerator(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 48 void EmitAttributes(const CodeGenIntrinsicTable &Ints, raw_ostream &OS); 50 raw_ostream &OS); 51 void EmitSuffix(raw_ostream &OS); [all …]
|
D | RegisterInfoEmitter.cpp | 84 void debugDump(raw_ostream &OS); 92 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank, 94 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank, 96 void emitComposeSubRegIndexLaneMask(raw_ostream &OS, CodeGenRegBank &RegBank, 103 void RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument 112 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums() 114 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums() 115 OS << "#undef GET_REGINFO_ENUM\n\n"; in runEnums() 117 OS << "namespace llvm {\n\n"; in runEnums() 119 OS << "class MCRegisterClass;\n" in runEnums() [all …]
|
D | AsmMatcherEmitter.cpp | 1934 raw_ostream &OS) { in emitConvertFuncs() argument 2266 OS << "enum {\n"; in emitConvertFuncs() 2268 OS << " " << KV.second << ",\n"; in emitConvertFuncs() 2270 OS << "};\n\n"; in emitConvertFuncs() 2272 OS << "static const uint8_t TiedAsmOperandTable[][3] = {\n"; in emitConvertFuncs() 2274 OS << " /* " << KV.second << " */ { " in emitConvertFuncs() 2279 OS << "};\n\n"; in emitConvertFuncs() 2281 OS << "static const uint8_t TiedAsmOperandTable[][3] = " in emitConvertFuncs() 2284 OS << "namespace {\n"; in emitConvertFuncs() 2287 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs() [all …]
|
D | PredicateExpander.cpp | 18 void PredicateExpander::expandTrue(formatted_raw_ostream &OS) { OS << "true"; } in expandTrue() argument 19 void PredicateExpander::expandFalse(formatted_raw_ostream &OS) { in expandFalse() argument 20 OS << "false"; in expandFalse() 23 void PredicateExpander::expandCheckImmOperand(formatted_raw_ostream &OS, in expandCheckImmOperand() argument 25 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand() 29 void PredicateExpander::expandCheckImmOperand(formatted_raw_ostream &OS, in expandCheckImmOperand() argument 31 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckImmOperand() 35 void PredicateExpander::expandCheckRegOperand(formatted_raw_ostream &OS, in expandCheckRegOperand() argument 39 OS << "MI" << (isByRef() ? "." : "->") << "getOperand(" << OpIndex in expandCheckRegOperand() 43 OS << Str << "::"; in expandCheckRegOperand() [all …]
|
D | OptParserEmitter.cpp | 99 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { in write_cstring() argument 100 OS << '"'; in write_cstring() 101 OS.write_escaped(Str); in write_cstring() 102 OS << '"'; in write_cstring() 103 return OS; in write_cstring() 110 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) { in EmitOptParser() argument 116 emitSourceFileHeader("Option Parsing Definitions", OS); in EmitOptParser() 137 OS << "/////////\n"; in EmitOptParser() 138 OS << "// Prefixes\n\n"; in EmitOptParser() 139 OS << "#ifdef PREFIX\n"; in EmitOptParser() [all …]
|
/external/clang/lib/AST/ |
D | TypePrinter.cpp | 93 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 …]
|
D | StmtPrinter.cpp | 37 raw_ostream &OS; member in __anon451ea2a80111::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/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 216 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/ |
D | DAGISelMatcherEmitter.cpp | 55 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 …]
|
D | RegisterInfoEmitter.cpp | 30 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 …]
|
D | IntrinsicEmitter.cpp | 26 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | MCAsmLexer.cpp | 40 void AsmToken::dump(raw_ostream &OS) const { in dump() 43 OS << "error"; in dump() 46 OS << "identifier: " << getString(); in dump() 49 OS << "int: " << getString(); in dump() 52 OS << "real: " << getString(); in dump() 55 OS << "string: " << getString(); in dump() 58 case AsmToken::Amp: OS << "Amp"; break; in dump() 59 case AsmToken::AmpAmp: OS << "AmpAmp"; break; in dump() 60 case AsmToken::At: OS << "At"; break; in dump() 61 case AsmToken::BackSlash: OS << "BackSlash"; break; in dump() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/ |
D | ResourceScriptStmt.cpp | 20 raw_ostream &operator<<(raw_ostream &OS, const IntOrString &Item) { in operator <<() argument 22 return OS << Item.Data.Int; in operator <<() 24 return OS << Item.Data.String; in operator <<() 27 raw_ostream &OptionalStmtList::log(raw_ostream &OS) const { in log() 29 OS << " Option: "; in log() 30 Stmt->log(OS); in log() 32 return OS; in log() 35 raw_ostream &LanguageResource::log(raw_ostream &OS) const { in log() 36 return OS << "Language: " << Lang << ", Sublanguage: " << SubLang << "\n"; in log() 47 raw_ostream &AcceleratorsResource::log(raw_ostream &OS) const { in log() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCSectionELF.cpp | 33 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 60 OS << '\t' << getSectionName(); in PrintSwitchToSection() [all …]
|
/external/llvm/lib/MC/ |
D | MCSectionELF.cpp | 33 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 …]
|