/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 188 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 …]
|
D | TableGenBackends.h | 28 void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS); 29 void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS, 32 void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS); 33 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); 34 void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS); 35 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS); 36 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS); 37 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS); 38 void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS); 39 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); [all …]
|
D | TableGen.cpp | 143 bool ClangTableGenMain(raw_ostream &OS, RecordKeeper &Records) { in ClangTableGenMain() argument 146 EmitClangAttrClass(Records, OS); in ClangTableGenMain() 149 EmitClangAttrParserStringSwitches(Records, OS); in ClangTableGenMain() 152 EmitClangAttrImpl(Records, OS); in ClangTableGenMain() 155 EmitClangAttrList(Records, OS); in ClangTableGenMain() 158 EmitClangAttrPCHRead(Records, OS); in ClangTableGenMain() 161 EmitClangAttrPCHWrite(Records, OS); in ClangTableGenMain() 164 EmitClangAttrHasAttrImpl(Records, OS); in ClangTableGenMain() 167 EmitClangAttrSpellingListIndex(Records, OS); in ClangTableGenMain() 170 EmitClangAttrASTVisitor(Records, OS); in ClangTableGenMain() [all …]
|
D | ClangASTNodesEmitter.cpp | 53 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/ |
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 | 35 raw_ostream &OS; member in __anon226305b60111::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 …]
|
D | ASTDumper.cpp | 94 raw_ostream &OS; member in __anon6c9e827f0111::ASTDumper 144 Dumper.OS.changeColor(Color.Color, Color.Bold); in ColorScope() 148 Dumper.OS.resetColor(); in ~ColorScope() 185 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument 187 : OS(OS), Traits(Traits), SM(SM), IsFirstLine(true), MoreChildren(false), in ASTDumper() 191 ASTDumper(raw_ostream &OS, const CommandTraits *Traits, in ASTDumper() argument 193 : OS(OS), Traits(Traits), SM(SM), IsFirstLine(true), MoreChildren(false), in ASTDumper() 198 OS << "\n"; in ~ASTDumper() 396 OS << "\n"; in indent() 405 OS << "|-"; in indent() [all …]
|
/external/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 | 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 uint16_t 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, 69 void RegisterInfoEmitter::runEnums(raw_ostream &OS, in runEnums() argument 78 emitSourceFileHeader("Target Register Enum Values", OS); in runEnums() 80 OS << "\n#ifdef GET_REGINFO_ENUM\n"; in runEnums() 81 OS << "#undef GET_REGINFO_ENUM\n"; in runEnums() 83 OS << "namespace llvm {\n\n"; in runEnums() 85 OS << "class MCRegisterClass;\n" in runEnums() 90 OS << "namespace " << Namespace << " {\n"; in runEnums() 91 OS << "enum {\n NoRegister,\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 | FastISelEmitter.cpp | 100 void printManglingSuffix(raw_ostream &OS, ImmPredicateSet &ImmPredicates, in printManglingSuffix() argument 103 OS << 'r'; in printManglingSuffix() 105 OS << 'f'; in printManglingSuffix() 107 OS << 'i'; in printManglingSuffix() 110 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix() 146 void emitImmediatePredicate(raw_ostream &OS, ImmPredicateSet &ImmPredicates) { in emitImmediatePredicate() 155 OS << " &&\n "; in emitImmediatePredicate() 160 OS << "VT == " in emitImmediatePredicate() 165 OS << PredFn.getFnName() << "(imm" << i <<')'; in emitImmediatePredicate() 283 void PrintParameters(raw_ostream &OS) const { in PrintParameters() [all …]
|
D | SubtargetEmitter.cpp | 65 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 …]
|
D | AsmMatcherEmitter.cpp | 1707 raw_ostream &OS) { in emitConvertFuncs() argument 1960 OS << "namespace {\n"; in emitConvertFuncs() 1963 OS << "enum OperatorConversionKind {\n"; in emitConvertFuncs() 1965 OS << " " << OperandConversionKinds[i] << ",\n"; in emitConvertFuncs() 1966 OS << " CVT_NUM_CONVERTERS\n"; in emitConvertFuncs() 1967 OS << "};\n\n"; in emitConvertFuncs() 1970 OS << "enum InstructionConversionKind {\n"; in emitConvertFuncs() 1974 OS << " " << *i << ",\n"; in emitConvertFuncs() 1975 OS << " CVT_NUM_SIGNATURES\n"; in emitConvertFuncs() 1976 OS << "};\n\n"; in emitConvertFuncs() [all …]
|
/external/llvm/lib/MC/ |
D | MCSectionELF.cpp | 35 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument 39 OS << Name; in printName() 42 OS << '"'; in printName() 45 OS << "\\\""; in printName() 47 OS << *B; in printName() 49 OS << "\\\\"; in printName() 51 OS << B[0] << B[1]; // Quoted character in printName() 55 OS << '"'; in printName() 59 raw_ostream &OS, in PrintSwitchToSection() argument 63 OS << '\t' << getSectionName(); in PrintSwitchToSection() [all …]
|
D | MCAsmStreamer.cpp | 42 formatted_raw_ostream &OS; member in __anonad315bfc0111::MCAsmStreamer 65 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in MCAsmStreamer() 76 OS << '\n'; in EmitEOL() 266 OS << '\n'; in EmitCommentsAndEOL() 277 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL() 279 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL() 296 OS << '\t'; in emitRawComment() 297 OS << MAI->getCommentString() << T; in emitRawComment() 304 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection() 311 OS << *Symbol << MAI->getLabelSuffix(); in EmitLabel() [all …]
|
D | MCInst.cpp | 18 void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print() argument 19 OS << "<MCOperand "; in print() 21 OS << "INVALID"; in print() 23 OS << "Reg:" << getReg(); in print() 25 OS << "Imm:" << getImm(); in print() 27 OS << "Expr:(" << *getExpr() << ")"; in print() 29 OS << "Inst:(" << *getInst() << ")"; in print() 31 OS << "UNDEFINED"; in print() 32 OS << ">"; in print() 42 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print() argument [all …]
|
/external/clang/lib/Basic/ |
D | Module.cpp | 200 static void printModuleId(raw_ostream &OS, const ModuleId &Id) { in printModuleId() argument 203 OS << "."; in printModuleId() 204 OS << Id[I].first; in printModuleId() 288 void Module::print(raw_ostream &OS, unsigned Indent) const { in print() argument 289 OS.indent(Indent); in print() 291 OS << "framework "; in print() 293 OS << "explicit "; in print() 294 OS << "module " << Name; in print() 297 OS.indent(Indent + 2); in print() 298 OS << " [system]"; in print() [all …]
|
/external/llvm/lib/Support/ |
D | Twine.cpp | 27 raw_svector_ostream OS(Out); in toVector() local 28 print(OS); in toVector() 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 64 Ptr.twine->print(OS); in printOneChild() 67 OS << Ptr.cString; in printOneChild() 70 OS << *Ptr.stdString; in printOneChild() 73 OS << *Ptr.stringRef; in printOneChild() 76 OS << Ptr.character; in printOneChild() 79 OS << Ptr.decUI; in printOneChild() 82 OS << Ptr.decI; in printOneChild() [all …]
|
/external/chromium_org/third_party/mesa/src/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/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/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 345 void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const { in print_types() argument 346 OS << (const void*)this << ": "; in print_types() 349 if (i) OS << ","; in print_types() 351 OS << "ch"; in print_types() 353 OS << getValueType(i).getEVTString(); in print_types() 355 OS << " = " << getOperationName(G); in print_types() 358 void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const { in print_details() argument 361 OS << "<"; in print_details() 362 OS << "Mem:"; in print_details() 365 OS << **i; in print_details() [all …]
|
/external/llvm/lib/Target/Mips/InstPrinter/ |
D | MipsInstPrinter.cpp | 75 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 …]
|