/external/llvm/lib/MC/ |
MCSectionELF.cpp | 33 static void printName(raw_ostream &OS, StringRef Name) { 37 OS << Name; 40 OS << '"'; 43 OS << "\\\""; 45 OS << *B; 47 OS << "\\\\"; 49 OS << B[0] << B[1]; // Quoted character 53 OS << '"'; 57 raw_ostream &OS, 61 OS << '\t' << getSectionName() [all...] |
MCSectionCOFF.cpp | 41 raw_ostream &OS, 46 OS << '\t' << getSectionName() << '\n'; 50 OS << "\t.section\t" << getSectionName() << ",\""; 52 OS << 'd'; 54 OS << 'b'; 56 OS << 'x'; 58 OS << 'w'; 60 OS << 'r'; 62 OS << 'y'; 64 OS << 'n' [all...] |
MCInst.cpp | 18 void MCOperand::print(raw_ostream &OS) const { 19 OS << "<MCOperand "; 21 OS << "INVALID"; 23 OS << "Reg:" << getReg(); 25 OS << "Imm:" << getImm(); 27 OS << "FPImm:" << getFPImm(); 29 OS << "Expr:(" << *getExpr() << ")"; 31 OS << "Inst:(" << *getInst() << ")"; 33 OS << "UNDEFINED"; 34 OS << ">"; [all...] |
MCLabel.cpp | 15 void MCLabel::print(raw_ostream &OS) const { 16 OS << '"' << getInstance() << '"';
|
MCValue.cpp | 18 void MCValue::print(raw_ostream &OS) const { 20 OS << getConstant(); 27 OS << ':' << getRefKind() << ':'; 29 OS << *getSymA(); 32 OS << " - "; 33 OS << *getSymB(); 37 OS << " + " << getConstant();
|
/external/llvm/utils/TableGen/ |
Attributes.cpp | 26 void emit(raw_ostream &OS); 29 void emitTargetIndependentEnums(raw_ostream &OS); 36 void Attributes::emitTargetIndependentEnums(raw_ostream &OS) { 37 OS << "#ifdef GET_ATTR_ENUM\n"; 38 OS << "#undef GET_ATTR_ENUM\n"; 44 OS << A->getName() << ",\n"; 46 OS << "#endif\n"; 49 void Attributes::emit(raw_ostream &OS) { 50 emitTargetIndependentEnums(OS); 55 void EmitAttributes(RecordKeeper &RK, raw_ostream &OS) { [all...] |
OptParserEmitter.cpp | 97 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { 98 OS << '"'; 99 OS.write_escaped(Str); 100 OS << '"'; 101 return OS; 108 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) { 114 emitSourceFileHeader("Option Parsing Definitions", OS); 135 OS << "/////////\n"; 136 OS << "// Prefixes\n\n"; 137 OS << "#ifdef PREFIX\n" [all...] |
TableGenBackends.h | 21 // EmitFoo(RecordKeeper &RK, raw_ostream &OS /*, anything else you need */ ) 42 // that involved a class and an invocation like `FooEmitter(RK).run(OS)`. 65 void EmitIntrinsics(RecordKeeper &RK, raw_ostream &OS, bool TargetOnly = false); 66 void EmitAsmMatcher(RecordKeeper &RK, raw_ostream &OS); 67 void EmitAsmWriter(RecordKeeper &RK, raw_ostream &OS); 68 void EmitCallingConv(RecordKeeper &RK, raw_ostream &OS); 69 void EmitCodeEmitter(RecordKeeper &RK, raw_ostream &OS); 70 void EmitDAGISel(RecordKeeper &RK, raw_ostream &OS); 71 void EmitDFAPacketizer(RecordKeeper &RK, raw_ostream &OS); 72 void EmitDisassembler(RecordKeeper &RK, raw_ostream &OS); [all...] |
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) { 77 OS << "static const MCPhysReg ImplicitList" << Num << "[] = { "; 79 OS << getQualifiedName(Uses[i]) << ", "; 80 OS << "0 };\n" [all...] |
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, 81 emitSourceFileHeader("Target Register Enum Values", OS); 83 OS << "\n#ifdef GET_REGINFO_ENUM\n"; 84 OS << "#undef GET_REGINFO_ENUM\n"; 86 OS << "namespace llvm {\n\n"; 88 OS << "class MCRegisterClass;\n" 93 OS << "namespace " << Namespace << " {\n" [all...] |
/external/llvm/lib/ProfileData/ |
SampleProf.cpp | 62 void LineLocation::print(raw_ostream &OS) const { 63 OS << LineOffset; 65 OS << "." << Discriminator; 68 raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, 70 Loc.print(OS); 71 return OS; 76 void CallsiteLocation::print(raw_ostream &OS) const { 77 LineLocation::print(OS); 78 OS << ": inlined callee: " << CalleeName; 83 inline raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, [all...] |
/external/llvm/tools/llvm-cov/ |
RenderingSupport.h | 21 ColoredRawOstream(const ColoredRawOstream &OS) = delete; 24 raw_ostream &OS; 27 ColoredRawOstream(raw_ostream &OS, bool IsColorUsed) 28 : OS(OS), IsColorUsed(IsColorUsed) {} 31 : OS(Other.OS), IsColorUsed(Other.IsColorUsed) { 39 OS.resetColor(); 44 inline raw_ostream &operator<<(const ColoredRawOstream &OS, T &&Value) { 45 return OS.OS << std::forward<T>(Value) [all...] |
/external/llvm/lib/DebugInfo/PDB/ |
PDBExtras.cpp | 24 raw_ostream &llvm::operator<<(raw_ostream &OS, const PDB_VariantType &Type) { 26 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) 27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) 28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) 29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) 30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) 31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) 32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) 33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) 34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) [all...] |
IPDBSourceFile.cpp | 20 void IPDBSourceFile::dump(raw_ostream &OS, int Indent) const { 21 OS.indent(Indent); 23 OS << "["; 25 OS << ChecksumType << ": "; 28 OS << format_hex_no_prefix(c, 2, true); 30 OS << "No checksum"; 31 OS << "] " << getFileName() << "\n";
|
/external/llvm/include/llvm/Support/ |
Printable.h | 28 /// return Printable([Register](raw_ostream &OS) { 29 /// OS << getRegisterName(Register); 32 /// ... OS << PrintRegister(Register); ... 40 std::function<void(raw_ostream &OS)> Print; 41 Printable(const std::function<void(raw_ostream &OS)> Print) 45 static inline raw_ostream &operator<<(raw_ostream &OS, const Printable &P) { 46 P.Print(OS); 47 return OS;
|
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 193 virtual void writeAccessors(raw_ostream &OS) const = 0; 194 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} 195 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} 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 {} 199 virtual void writeCtorBody(raw_ostream &OS) const {} 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...] |
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/llvm/lib/DebugInfo/DWARF/ |
SyntaxHighlighting.cpp | 21 WithColor::WithColor(llvm::raw_ostream &OS, enum HighlightColor Type) : OS(OS) { 23 if (UseColor == cl::BOU_UNSET ? OS.has_colors() : UseColor == cl::BOU_TRUE) { 25 case Address: OS.changeColor(llvm::raw_ostream::YELLOW); break; 26 case String: OS.changeColor(llvm::raw_ostream::GREEN); break; 27 case Tag: OS.changeColor(llvm::raw_ostream::BLUE); break; 28 case Attribute: OS.changeColor(llvm::raw_ostream::CYAN); break; 29 case Enumerator: OS.changeColor(llvm::raw_ostream::MAGENTA); break; 30 case Macro: OS.changeColor(llvm::raw_ostream::RED); break [all...] |
DWARFCompileUnit.cpp | 16 void DWARFCompileUnit::dump(raw_ostream &OS) { 17 OS << format("0x%08x", getOffset()) << ": Compile Unit:" 26 CU->dump(OS, this, -1U); 28 OS << "<compile unit can't be parsed!>\n\n";
|
SyntaxHighlighting.h | 25 llvm::raw_ostream &OS; 28 /// To be used like this: WithColor(OS, syntax::String) << "text"; 29 WithColor(llvm::raw_ostream &OS, enum HighlightColor Type); 32 llvm::raw_ostream& get() { return OS; } 33 operator llvm::raw_ostream& () { return OS; }
|
/external/clang/lib/AST/ |
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...] |
/external/llvm/tools/llvm-readobj/ |
StackMapPrinter.h | 19 void prettyPrintStackMap(OStreamT &OS, const StackMapParserT &SMP) { 21 OS << "LLVM StackMap Version: " << SMP.getVersion() 26 OS << "\n Function address: " << F.getFunctionAddress() 30 OS << "\nNum Constants: " << SMP.getNumConstants(); 33 OS << "\n #" << ++ConstantIndex << ": " << C.getValue(); 36 OS << "\nNum Records: " << SMP.getNumRecords(); 38 OS << "\n Record ID: " << R.getID() 44 OS << "\n #" << ++LocationIndex << ": "; 47 OS << "Register R#" << Loc.getDwarfRegNum(); 50 OS << "Direct R#" << Loc.getDwarfRegNum() << " + [all...] |
/external/llvm/lib/Support/ |
Twine.cpp | 27 raw_svector_ostream OS(Out); 28 print(OS); 51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 57 Ptr.twine->print(OS); 60 OS << Ptr.cString; 63 OS << *Ptr.stdString; 66 OS << *Ptr.stringRef; 69 OS << *Ptr.smallString; 72 OS << Ptr.character; 75 OS << Ptr.decUI [all...] |
/external/llvm/include/llvm/MC/ |
MCLabel.h | 44 /// \brief Print the value to the stream \p OS. 45 void print(raw_ostream &OS) const; 51 inline raw_ostream &operator<<(raw_ostream &OS, const MCLabel &Label) { 52 Label.print(OS); 53 return OS;
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
PDBExtras.h | 20 raw_ostream &operator<<(raw_ostream &OS, const PDB_VariantType &Value); 21 raw_ostream &operator<<(raw_ostream &OS, const PDB_CallingConv &Conv); 22 raw_ostream &operator<<(raw_ostream &OS, const PDB_DataKind &Data); 23 raw_ostream &operator<<(raw_ostream &OS, const PDB_RegisterId &Reg); 24 raw_ostream &operator<<(raw_ostream &OS, const PDB_LocType &Loc); 25 raw_ostream &operator<<(raw_ostream &OS, const PDB_ThunkOrdinal &Thunk); 26 raw_ostream &operator<<(raw_ostream &OS, const PDB_Checksum &Checksum); 27 raw_ostream &operator<<(raw_ostream &OS, const PDB_Lang &Lang); 28 raw_ostream &operator<<(raw_ostream &OS, const PDB_SymType &Tag); 29 raw_ostream &operator<<(raw_ostream &OS, const PDB_MemberAccess &Access) [all...] |