/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsReginfo.cpp | 43 MipsReginfo::emitMipsReginfoSectionCG(MCStreamer &OS, 48 if (OS.hasRawTextSupport()) 53 OS.SwitchSection(TLOFELF.getReginfoSection()); 57 OS.EmitIntValue(0, 4); // ri_gprmask 58 OS.EmitIntValue(0, 4); // ri_cpr[0]mask 59 OS.EmitIntValue(0, 4); // ri_cpr[1]mask 60 OS.EmitIntValue(0, 4); // ri_cpr[2]mask 61 OS.EmitIntValue(0, 4); // ri_cpr[3]mask 62 OS.EmitIntValue(0, 4); // ri_gp_value 66 OS.EmitIntValue(1, 1); // kin [all...] |
/external/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 | 36 raw_ostream &OS, 40 OS << '\t' << getSectionName(); 42 OS << '\t' << *Subsection; 43 OS << '\n'; 51 OS << "\t.section\t" << name; 53 OS << "\t.section\t\""; 56 OS << "\\\""; 58 OS << *b; 60 OS << "\\\\"; 62 OS << b[0] << b[1]; // Quoted characte [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 << "Inst:(" << *getInst() << ")"; 31 OS << "UNDEFINED"; 32 OS << ">"; 42 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const [all...] |
MCLabel.cpp | 15 void MCLabel::print(raw_ostream &OS) const { 16 OS << '"' << getInstance() << '"';
|
MCSectionCOFF.cpp | 43 raw_ostream &OS, 48 OS << '\t' << getSectionName() << '\n'; 52 OS << "\t.section\t" << getSectionName() << ",\""; 54 OS << 'x'; 56 OS << 'w'; 58 OS << 'r'; 60 OS << 'n'; 61 OS << "\"\n"; 66 OS << "\t.linkonce one_only\n"; 69 OS << "\t.linkonce discard\n" [all...] |
/external/clang/utils/TableGen/ |
TableGenBackends.h | 28 void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS); 29 void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS, 32 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); 33 void EmitClangAttrExprArgsList(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 EmitClangAttrSpellingList(RecordKeeper &Records, raw_ostream &OS); 39 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); [all...] |
ClangAttrEmitter.cpp | 115 virtual void writeAccessors(raw_ostream &OS) const = 0; 116 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} 117 virtual void writeCloneArgs(raw_ostream &OS) const = 0; 118 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0; 119 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} 120 virtual void writeCtorBody(raw_ostream &OS) const {} 121 virtual void writeCtorInitializers(raw_ostream &OS) const = 0; 122 virtual void writeCtorParameters(raw_ostream &OS) const = 0; 123 virtual void writeDeclarations(raw_ostream &OS) const = 0; 124 virtual void writePCHReadArgs(raw_ostream &OS) const = 0 [all...] |
ClangCommentHTMLTagsEmitter.cpp | 23 void EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS) { 33 emitSourceFileHeader("HTML tag name matcher", OS); 35 OS << "bool isHTMLTagName(StringRef Name) {\n"; 36 StringMatcher("Name", Matches, OS).Emit(); 37 OS << " return false;\n" 42 raw_ostream &OS) { 57 emitSourceFileHeader("HTML tag properties", OS); 59 OS << "bool isHTMLEndTagOptional(StringRef Name) {\n"; 60 StringMatcher("Name", MatchesEndTagOptional, OS).Emit(); 61 OS << " return false;\n [all...] |
/external/llvm/lib/Support/ |
BranchProbability.cpp | 21 void BranchProbability::print(raw_ostream &OS) const { 22 OS << N << " / " << D << " = " << format("%g%%", ((double)N / D) * 100.0); 31 raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob) { 32 Prob.print(OS); 33 return OS;
|
Twine.cpp | 27 raw_svector_ostream OS(Out); 28 print(OS); 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 64 Ptr.twine->print(OS); 67 OS << Ptr.cString; 70 OS << *Ptr.stdString; 73 OS << *Ptr.stringRef; 76 OS << Ptr.character; 79 OS << Ptr.decUI; 82 OS << Ptr.decI [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ProcessID.h | 31 #if OS(UNIX) 35 #if OS(WINDOWS) 43 #if OS(WINDOWS)
|
Platform.h | 38 /* OS() - underlying operating system; only to be used for mandated low-level services like 40 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) 44 /* USE() - use a particular third-party library or optional OS service */ 49 /* ==== OS() - underlying operating system; only to be used for mandated low-level services like 52 /* OS(ANDROID) - Android */ 57 /* OS(DARWIN) - Any Darwin-based OS, including Mac OS X and iPhone OS */ 62 /* OS(FREEBSD) - FreeBSD * [all...] |
NumberOfCores.cpp | 29 #if OS(DARWIN) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD) 35 #elif OS(LINUX) || OS(SOLARIS) 37 #elif OS(WINDOWS) 52 #if OS(DARWIN) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD [all...] |
/external/llvm/utils/TableGen/ |
OptParserEmitter.cpp | 92 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { 93 OS << '"'; 94 OS.write_escaped(Str); 95 OS << '"'; 96 return OS; 103 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) { 109 emitSourceFileHeader("Option Parsing Definitions", OS); 130 OS << "/////////\n"; 131 OS << "// Prefixes\n\n"; 132 OS << "#ifdef PREFIX\n" [all...] |
TableGenBackends.h | 19 // EmitFoo(RecordKeeper &RK, raw_ostream &OS /*, anything else you need */ ) 40 // that involved a class and an invocation like `FooEmitter(RK).run(OS)`. 63 void EmitIntrinsics(RecordKeeper &RK, raw_ostream &OS, bool TargetOnly = false); 64 void EmitAsmMatcher(RecordKeeper &RK, raw_ostream &OS); 65 void EmitAsmWriter(RecordKeeper &RK, raw_ostream &OS); 66 void EmitCallingConv(RecordKeeper &RK, raw_ostream &OS); 67 void EmitCodeEmitter(RecordKeeper &RK, raw_ostream &OS); 68 void EmitDAGISel(RecordKeeper &RK, raw_ostream &OS); 69 void EmitDFAPacketizer(RecordKeeper &RK, raw_ostream &OS); 70 void EmitDisassembler(RecordKeeper &RK, raw_ostream &OS); [all...] |
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, 78 emitSourceFileHeader("Target Register Enum Values", OS); 80 OS << "\n#ifdef GET_REGINFO_ENUM\n"; 81 OS << "#undef GET_REGINFO_ENUM\n"; 83 OS << "namespace llvm {\n\n"; 85 OS << "class MCRegisterClass;\n" 90 OS << "namespace " << Namespace << " {\n"; 91 OS << "enum {\n NoRegister,\n" [all...] |
IntrinsicEmitter.cpp | 35 void run(raw_ostream &OS); 37 void EmitPrefix(raw_ostream &OS); 40 raw_ostream &OS); 43 raw_ostream &OS); 45 raw_ostream &OS); 47 raw_ostream &OS); 49 raw_ostream &OS); 51 raw_ostream &OS); 53 raw_ostream &OS); 55 raw_ostream &OS); [all...] |
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) { 117 OS << Val << ", "; 124 OS << (Val&127) << "|128,"; 128 OS << Val; 130 OS << "/*" << InVal << "*/"; 131 OS << ", "; [all...] |
InstrInfoEmitter.cpp | 42 void run(raw_ostream &OS); 45 void emitEnums(raw_ostream &OS); 59 raw_ostream &OS); 65 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target, 69 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs); 75 unsigned Num, raw_ostream &OS) { 76 OS << "static const uint16_t ImplicitList" << Num << "[] = { "; 78 OS << getQualifiedName(Uses[i]) << ", "; 79 OS << "0 };\n"; 171 void InstrInfoEmitter::EmitOperandInfo(raw_ostream &OS, [all...] |
/external/clang/lib/AST/ |
TypePrinter.cpp | 90 void print(const Type *ty, Qualifiers qs, raw_ostream &OS, 92 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder); 95 void spaceBeforePlaceHolder(raw_ostream &OS); 96 void printTypeSpec(const NamedDecl *D, raw_ostream &OS); 98 void printBefore(const Type *ty, Qualifiers qs, raw_ostream &OS); 99 void printBefore(QualType T, raw_ostream &OS); 100 void printAfter(const Type *ty, Qualifiers qs, raw_ostream &OS); 101 void printAfter(QualType T, raw_ostream &OS); 102 void AppendScope(DeclContext *DC, raw_ostream &OS); 103 void printTag(TagDecl *T, raw_ostream &OS); [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCExpr.cpp | 30 void AArch64MCExpr::PrintImpl(raw_ostream &OS) const { 33 case VK_AARCH64_GOT: OS << ":got:"; break; 34 case VK_AARCH64_GOT_LO12: OS << ":got_lo12:"; break; 35 case VK_AARCH64_LO12: OS << ":lo12:"; break; 36 case VK_AARCH64_ABS_G0: OS << ":abs_g0:"; break; 37 case VK_AARCH64_ABS_G0_NC: OS << ":abs_g0_nc:"; break; 38 case VK_AARCH64_ABS_G1: OS << ":abs_g1:"; break; 39 case VK_AARCH64_ABS_G1_NC: OS << ":abs_g1_nc:"; break; 40 case VK_AARCH64_ABS_G2: OS << ":abs_g2:"; break; 41 case VK_AARCH64_ABS_G2_NC: OS << ":abs_g2_nc:"; break [all...] |
/external/llvm/lib/TableGen/ |
TableGenBackend.cpp | 23 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, 25 size_t Pos = (size_t)OS.tell(); 28 OS << Prefix; 30 for (size_t i = (size_t)OS.tell() - Pos; i < e; ++i) 31 OS << Fill; 32 OS << Suffix << '\n'; 35 void llvm::emitSourceFileHeader(StringRef Desc, raw_ostream &OS) { 36 printLine(OS, "/*===- TableGen'erated file ", '-', "*- C++ -*-===*\\"); 37 printLine(OS, "|*", ' ', "*|"); 47 printLine(OS, Prefix + Desc.slice(Pos, PosE), ' ', Suffix) [all...] |
/external/llvm/tools/llvm-readobj/ |
StreamWriter.cpp | 10 raw_ostream &operator<<(raw_ostream &OS, const HexNumber& Value) { 14 return OS << "0x0"; 26 OS << "0x"; 27 return OS.write(CurPtr, EndPtr - CurPtr); 38 OS << ": " << Str; 39 OS << " (\n"; 45 OS << ' '; 47 OS << hexdigit((Data[addr + i] >> 4) & 0xF, false) 50 OS << " "; 53 OS << " |"; [all...] |
/external/llvm/lib/Target/Mips/InstPrinter/ |
MipsInstPrinter.cpp | 73 void MipsInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const { 74 OS << '$' << StringRef(getRegisterName(RegNo)).lower(); 102 static void printExpr(const MCExpr *Expr, raw_ostream &OS) { 120 case MCSymbolRefExpr::VK_Mips_GPREL: OS << "%gp_rel("; break; 121 case MCSymbolRefExpr::VK_Mips_GOT_CALL: OS << "%call16("; break; 122 case MCSymbolRefExpr::VK_Mips_GOT16: OS << "%got("; break; 123 case MCSymbolRefExpr::VK_Mips_GOT: OS << "%got("; break; 124 case MCSymbolRefExpr::VK_Mips_ABS_HI: OS << "%hi("; break; 125 case MCSymbolRefExpr::VK_Mips_ABS_LO: OS << "%lo("; break; 126 case MCSymbolRefExpr::VK_Mips_TLSGD: OS << "%tlsgd("; break [all...] |