/external/llvm/utils/TableGen/ |
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) { 44 OS << "#ifdef GET_ATTR_ENUM\n"; 45 OS << "#undef GET_ATTR_ENUM\n"; 51 OS << A->getName() << ",\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...] |
/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() << '"';
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
TableGenBackend.cpp | 19 raw_ostream &OS) const { 20 OS << "//===- TableGen'erated file -------------------------------------*-"
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCValue.cpp | 17 void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const { 19 OS << getConstant(); 23 getSymA()->print(OS); 26 OS << " - "; 27 getSymB()->print(OS); 31 OS << " + " << getConstant();
|
MCSectionELF.cpp | 35 raw_ostream &OS) const { 38 OS << '\t' << getSectionName() << '\n'; 46 OS << "\t.section\t" << name; 48 OS << "\t.section\t\""; 51 OS << "\\\""; 53 OS << *b; 55 OS << "\\\\"; 57 OS << b[0] << b[1]; // Quoted character 61 OS << '"'; 68 OS << ",#alloc" [all...] |
MCInst.cpp | 18 void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const { 19 OS << "<MCOperand "; 21 OS << "INVALID"; 23 OS << "Reg:" << getReg(); 25 OS << "Imm:" << getImm(); 27 OS << "Expr:(" << *getExpr() << ")"; 29 OS << "UNDEFINED"; 30 OS << ">"; 38 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const { 39 OS << "<MCInst " << getOpcode() [all...] |
MCSectionCOFF.cpp | 32 raw_ostream &OS) const { 36 OS << '\t' << getSectionName() << '\n'; 40 OS << "\t.section\t" << getSectionName() << ",\""; 42 OS << 'x'; 44 OS << 'w'; 46 OS << 'r'; 48 OS << 'n'; 49 OS << "\"\n"; 54 OS << "\t.linkonce one_only\n"; 57 OS << "\t.linkonce discard\n" [all...] |
MCLabel.cpp | 15 void MCLabel::print(raw_ostream &OS) const { 16 OS << '"' << getInstance() << '"';
|
/external/llvm/lib/DebugInfo/PDB/ |
PDBExtras.cpp | 25 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, 28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) 29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) 30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) 31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) 32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) 33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) 34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) 35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) 36 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) [all...] |
IPDBSourceFile.cpp | 21 void IPDBSourceFile::dump(raw_ostream &OS, int Indent) const { 22 OS.indent(Indent); 24 OS << "["; 26 OS << ChecksumType << ": "; 29 OS << format_hex_no_prefix(c, 2, true); 31 OS << "No checksum"; 32 OS << "] " << getFileName() << "\n";
|
/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/Analysis/ |
Interval.cpp | 40 void Interval::print(raw_ostream &OS) const { 41 OS << "-------------------------------------------------------------\n" 46 OS << *Node << "\n"; 48 OS << "Interval Predecessors:\n"; 50 OS << *Predecessor << "\n"; 52 OS << "Interval Successors:\n"; 54 OS << *Successor << "\n";
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
InstrEnumEmitter.cpp | 22 void InstrEnumEmitter::run(raw_ostream &OS) { 23 EmitSourceFileHeader("Target Instruction Enum Values", OS); 24 OS << "namespace llvm {\n\n"; 39 OS << "namespace " << Namespace << " {\n"; 40 OS << " enum {\n"; 42 OS << " " << NumberedInstructions[i]->TheDef->getName() 45 OS << " INSTRUCTION_LIST_END = " << NumberedInstructions.size() << "\n"; 46 OS << " };\n}\n"; 47 OS << "} // End llvm namespace \n";
|
IntrinsicEmitter.cpp | 26 void IntrinsicEmitter::run(raw_ostream &OS) { 27 EmitSourceFileHeader("Intrinsic Function Source Fragment", OS); 34 EmitPrefix(OS); 37 EmitEnumInfo(Ints, OS); 40 EmitIntrinsicToNameTable(Ints, OS); 43 EmitIntrinsicToOverloadTable(Ints, OS); 46 EmitFnNameRecognizer(Ints, OS); 49 EmitVerifier(Ints, OS); 52 EmitGenerator(Ints, OS); 55 EmitAttributes(Ints, OS); [all...] |
/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(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/swiftshader/third_party/LLVM/lib/Target/Mips/ |
MipsMCSymbolRefExpr.cpp | 23 void MipsMCSymbolRefExpr::PrintImpl(raw_ostream &OS) const { 27 case VK_Mips_GPREL: OS << "%gp_rel("; break; 28 case VK_Mips_GOT_CALL: OS << "%call16("; break; 29 case VK_Mips_GOT: OS << "%got("; break; 30 case VK_Mips_ABS_HI: OS << "%hi("; break; 31 case VK_Mips_ABS_LO: OS << "%lo("; break; 32 case VK_Mips_TLSGD: OS << "%tlsgd("; break; 33 case VK_Mips_GOTTPREL: OS << "%gottprel("; break; 34 case VK_Mips_TPREL_HI: OS << "%tprel_hi("; break; 35 case VK_Mips_TPREL_LO: OS << "%tprel_lo("; break [all...] |
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 216 virtual void writeAccessors(raw_ostream &OS) const = 0; 217 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} 218 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} 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 {} 222 virtual void writeCtorBody(raw_ostream &OS) const {} 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...] |
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/ |
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...] |
/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...] |
/external/llvm/lib/ProfileData/ |
SampleProf.cpp | 65 void LineLocation::print(raw_ostream &OS) const { 66 OS << LineOffset; 68 OS << "." << Discriminator; 71 raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, 73 Loc.print(OS); 74 return OS; 79 /// \brief Print the sample record to the stream \p OS indented by \p Indent. 80 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { 81 OS << NumSamples; 83 OS << ", calls:" [all...] |