/external/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 24 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/ |
D | ClangAttrEmitter.cpp | 193 virtual void writeAccessors(raw_ostream &OS) const = 0; 194 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} in writeAccessorDefinitions() 195 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} in writeASTVisitorTraversal() 196 virtual void writeCloneArgs(raw_ostream &OS) const = 0; 197 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0; 198 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} in writeTemplateInstantiation() 199 virtual void writeCtorBody(raw_ostream &OS) const {} in writeCtorBody() 200 virtual void writeCtorInitializers(raw_ostream &OS) const = 0; 201 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0; 202 virtual void writeCtorParameters(raw_ostream &OS) const = 0; [all …]
|
D | TableGenBackends.h | 31 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 …]
|
/external/clang/lib/AST/ |
D | TypePrinter.cpp | 91 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 …]
|
D | StmtPrinter.cpp | 36 raw_ostream &OS; member in __anon7f41149f0111::StmtPrinter 45 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter() 57 OS << ";\n"; in PrintStmt() 80 OS << "<null expr>"; in PrintExpr() 85 OS << " "; in Indent() 86 return OS; in Indent() 90 if (Helper && Helper->handledStmt(S,OS)) in Visit() 99 OS << "<<unknown expr type>>"; in VisitExpr() 117 OS << "{\n"; in PrintRawCompoundStmt() 125 D->print(OS, Policy, IndentLevel); in PrintRawDecl() [all …]
|
D | ASTDumper.cpp | 96 raw_ostream &OS; member in __anon59a9c3280111::ASTDumper 134 OS << "\n"; in dumpChild() 154 OS << '\n'; in dumpChild() 156 OS << Prefix << (isLastChild ? '`' : '|') << '-'; in dumpChild() 193 Dumper.OS.changeColor(Color.Color, Color.Bold); in ColorScope() 197 Dumper.OS.resetColor(); in ~ColorScope() 202 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument 204 : OS(OS), Traits(Traits), SM(SM), TopLevel(true), FirstChild(true), in ASTDumper() 208 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument 210 : OS(OS), Traits(Traits), SM(SM), TopLevel(true), FirstChild(true), in ASTDumper() [all …]
|
/external/llvm/utils/TableGen/ |
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(Uses[i]) << ", "; in PrintDefList() 80 OS << "0 };\n"; in PrintDefList() [all …]
|
D | RegisterInfoEmitter.cpp | 61 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 …]
|
D | IntrinsicEmitter.cpp | 36 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 …]
|
D | OptParserEmitter.cpp | 97 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 …]
|
D | DAGISelMatcher.cpp | 24 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 …]
|
D | AsmMatcherEmitter.cpp | 1740 raw_ostream &OS) { in emitConvertFuncs() argument 1992 OS << "namespace {\n"; in emitConvertFuncs() 1995 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs() 1997 OS << " " << OperandConversionKinds[i] << ",\n"; in emitConvertFuncs() 1998 OS << " CVT_NUM_CONVERTERS\n"; in emitConvertFuncs() 1999 OS << "};\n\n"; in emitConvertFuncs() 2002 OS << "enum InstructionConversionKind {\n"; in emitConvertFuncs() 2004 OS << " " << Signature << ",\n"; in emitConvertFuncs() 2005 OS << " CVT_NUM_SIGNATURES\n"; in emitConvertFuncs() 2006 OS << "};\n\n"; in emitConvertFuncs() [all …]
|
D | SubtargetEmitter.cpp | 67 void Enumeration(raw_ostream &OS, const char *ClassName); 68 unsigned FeatureKeyValues(raw_ostream &OS); 69 unsigned CPUKeyValues(raw_ostream &OS); 78 void EmitStageAndOperandCycleData(raw_ostream &OS, 81 void EmitItineraries(raw_ostream &OS, 84 void EmitProcessorProp(raw_ostream &OS, const Record *R, const char *Name, 87 raw_ostream &OS); 96 void EmitSchedClassTables(SchedClassTables &SchedTables, raw_ostream &OS); 97 void EmitProcessorModels(raw_ostream &OS); 98 void EmitProcessorLookup(raw_ostream &OS); [all …]
|
D | FastISelEmitter.cpp | 102 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/ |
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 …]
|
D | MCAsmStreamer.cpp | 43 formatted_raw_ostream &OS; member in __anon0a0f6ae50111::MCAsmStreamer 65 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer() 78 OS << '\n'; in EmitEOL() 270 OS << '\n'; in EmitCommentsAndEOL() 280 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL() 282 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL() 297 OS << '\t'; in emitRawComment() 298 OS << MAI->getCommentString() << T; in emitRawComment() 305 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection() 312 Symbol->print(OS, MAI); in EmitLabel() [all …]
|
/external/llvm/lib/ProfileData/ |
D | SampleProf.cpp | 62 void LineLocation::print(raw_ostream &OS) const { in print() 63 OS << LineOffset; in print() 65 OS << "." << Discriminator; in print() 68 raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, in operator <<() argument 70 Loc.print(OS); in operator <<() 71 return OS; in operator <<() 76 void CallsiteLocation::print(raw_ostream &OS) const { in print() 77 LineLocation::print(OS); in print() 78 OS << ": inlined callee: " << CalleeName; in print() 83 inline raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, in operator <<() argument [all …]
|
/external/llvm/lib/Support/ |
D | Twine.cpp | 27 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/llvm/lib/CodeGen/ |
D | MIRPrinter.cpp | 68 raw_ostream &OS; member in llvm::MIRPrinter 75 MIRPrinter(raw_ostream &OS) : OS(OS) {} in MIRPrinter() argument 99 raw_ostream &OS; member in llvm::MIPrinter 105 MIPrinter(raw_ostream &OS, ModuleSlotTracker &MST, in MIPrinter() argument 108 : OS(OS), MST(MST), RegisterMaskIds(RegisterMaskIds), in MIPrinter() 134 static void output(const Module &Mod, void *Ctxt, raw_ostream &OS) { in output() 135 Mod.print(OS, nullptr); in output() 146 static void printReg(unsigned Reg, raw_ostream &OS, in printReg() argument 150 OS << '_'; in printReg() 152 OS << '%' << TargetRegisterInfo::virtReg2Index(Reg); in printReg() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
D | R600MCCodeEmitter.cpp | 53 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/ |
D | DIARawSymbol.cpp | 125 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/clang/lib/Basic/ |
D | Module.cpp | 233 static void printModuleId(raw_ostream &OS, const ModuleId &Id) { in printModuleId() argument 236 OS << "."; in printModuleId() 237 OS << Id[I].first; in printModuleId() 321 void Module::print(raw_ostream &OS, unsigned Indent) const { in print() argument 322 OS.indent(Indent); in print() 324 OS << "framework "; in print() 326 OS << "explicit "; in print() 327 OS << "module " << Name; in print() 330 OS.indent(Indent + 2); in print() 332 OS << " [system]"; in print() [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 372 return Printable([&Node](raw_ostream &OS) { in PrintNodeId() argument 374 OS << 't' << Node.PersistentId; in PrintNodeId() 376 OS << (const void*)&Node; in PrintNodeId() 387 void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const { in print_types() argument 389 if (i) OS << ","; in print_types() 391 OS << "ch"; in print_types() 393 OS << getValueType(i).getEVTString(); in print_types() 397 void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const { in print_details() argument 400 OS << "<"; in print_details() 401 OS << "Mem:"; in print_details() [all …]
|
/external/llvm/tools/llvm-cov/ |
D | CoverageReport.cpp | 45 void render(raw_ostream &OS) const; 48 raw_ostream &operator<<(raw_ostream &OS, const Column &Value) { in operator <<() argument 49 Value.render(OS); in operator <<() 50 return OS; in operator <<() 54 void Column::render(raw_ostream &OS) const { in render() 57 OS.indent(Width - Str.size()); in render() 58 OS << Str; in render() 61 OS << Str; in render() 62 OS.indent(Width - Str.size()); in render() 68 OS << Str; in render() [all …]
|