/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/ |
H A D | AMDGPUInstPrinter.cpp | 7 void AMDGPUInstPrinter::printInst(const MCInst *MI, raw_ostream &OS, argument 9 printInstruction(MI, OS); 11 printAnnotation(OS, Annot);
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
H A D | AMDGPUAsmBackend.cpp | 24 AMDGPUMCObjectWriter(raw_ostream &OS) : MCObjectWriter(OS, true) { } argument 46 virtual AMDGPUMCObjectWriter *createObjectWriter(raw_ostream &OS) const; 78 raw_ostream &OS) const { 79 return new AMDGPUMCObjectWriter(OS);
|
H A D | R600MCCodeEmitter.cpp | 52 /// EncodeInstruction - Encode the instruction and write it to the OS. 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) cons 150 EncodeInstruction(const MCInst &MI, raw_ostream &OS, SmallVectorImpl<MCFixup> &Fixups) const argument 247 EmitTwoBytes(getHWReg(reg), OS); local 265 EmitByte(getHWRegChan(MO.getReg()), OS); local 303 EmitByte(getHWReg(MO.getReg()), OS); local 306 EmitByte(getHWRegChan(MO.getReg()), OS); local 336 EmitTwoBytes(getBinaryCodeForInstr(MI, Fixups), OS); local 408 EmitByte(getBinaryCodeForInstr(MI, Fixups), OS); local 414 EmitByte(getHWReg(MI.getOperand(1).getReg()), OS); local 420 EmitByte(getHWReg(MI.getOperand(0).getReg()), OS); local [all...] |
H A D | SIMCCodeEmitter.cpp | 73 /// EncodeInstruction - Encode the instruction and write it to the OS. 74 virtual void EncodeInstruction(const MCInst &MI, raw_ostream &OS, 131 void SIMCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS, argument 136 OS.write((uint8_t) ((Encoding >> (8 * i)) & 0xff));
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
H A D | svga_types.h | 44 #include <OS.h>
|
/external/llvm/unittests/MC/ |
H A D | YAMLTest.cpp | 34 llvm::raw_svector_ostream OS(Buf); 35 yaml::Output YOut(OS); 37 EXPECT_NE(OS.str().find("''"), StringRef::npos);
|
/external/llvm/unittests/Support/ |
H A D | SourceMgrTest.cpp | 42 raw_string_ostream OS(Output); 43 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts);
|
H A D | raw_ostream_test.cpp | 34 llvm::raw_svector_ostream OS(SVec); 37 OS << '?'; 38 OS << Value; 39 return OS.str().substr(StartIndex); 44 llvm::raw_string_ostream OS(res); 45 OS.SetUnbuffered(); 46 OS << Value; 122 raw_string_ostream OS(Str); 123 OS.SetBufferSize(1); 124 OS << "hell [all...] |
/external/llvm/utils/FileCheck/ |
H A D | FileCheck.cpp | 462 raw_svector_ostream OS(Msg); 467 OS << "with expression \""; 468 OS.write_escaped(Var) << "\" equal to \""; 469 OS.write_escaped(Value) << "\""; 471 OS << "uses incorrect expression \""; 472 OS.write_escaped(Var) << "\""; 479 OS << "uses undefined variable \""; 480 OS.write_escaped(Var) << "\""; 482 OS << "with variable \""; 483 OS [all...] |
/external/llvm/utils/PerfectShuffle/ |
H A D | PerfectShuffle.cpp | 78 static void PrintMask(unsigned i, std::ostream &OS) { argument 79 OS << "<" << (char)(getMaskElt(i, 0) == 8 ? 'u' : ('0'+getMaskElt(i, 0)))
|
/external/llvm/utils/TableGen/ |
H A D | AsmMatcherEmitter.cpp | 1707 raw_ostream &OS) { 1960 OS << "namespace {\n"; 1963 OS << "enum OperatorConversionKind {\n"; 1965 OS << " " << OperandConversionKinds[i] << ",\n"; 1966 OS << " CVT_NUM_CONVERTERS\n"; 1967 OS << "};\n\n"; 1970 OS << "enum InstructionConversionKind {\n"; 1974 OS << " " << *i << ",\n"; 1975 OS << " CVT_NUM_SIGNATURES\n"; 1976 OS << "};\ [all...] |
H A D | AsmWriterEmitter.cpp | 699 raw_svector_ostream OS(OutString); 701 OS << *I; 711 OS << format("\\x%02X", (unsigned char)OpIndex + 1); 715 OS << format("\\xFF\\x%02X\\x%02X", OpIndex + 1, PrintIndex + 1); 720 OS.flush(); 945 << " *MI, raw_ostream &OS) {\n"; 1012 O << " OS << '\\t' << StringRef(AsmString, I);\n"; 1015 O << " OS << '\\t';\n"; 1023 O << " printCustomAliasOperand(MI, OpIdx, PrintMethodIdx, OS);\n"; 1025 O << " printOperand(MI, unsigned(AsmString[I++]) - 1, OS);\ 1114 EmitAsmWriter(RecordKeeper &RK, raw_ostream &OS) argument [all...] |
H A D | CTagsEmitter.cpp | 39 void emit(raw_ostream &OS) const { 44 OS << *Id << "\t" << BufferName << "\t" << LineAndColumn.first << "\n"; 54 void run(raw_ostream &OS); 71 void CTagsEmitter::run(raw_ostream &OS) { argument 87 OS << "!_TAG_FILE_FORMAT\t1\t/original ctags format/\n"; 88 OS << "!_TAG_FILE_SORTED\t1\t/0=unsorted, 1=sorted, 2=foldcase/\n"; 91 I->emit(OS); 96 void EmitCTags(RecordKeeper &RK, raw_ostream &OS) { CTagsEmitter(RK).run(OS); } argument
|
H A D | CallingConvEmitter.cpp | 259 void EmitCallingConv(RecordKeeper &RK, raw_ostream &OS) { argument 260 emitSourceFileHeader("Calling Convention Implementation Fragment", OS); 261 CallingConvEmitter(RK).run(OS);
|
H A D | CodeEmitterGen.cpp | 335 void EmitCodeEmitter(RecordKeeper &RK, raw_ostream &OS) { argument 336 emitSourceFileHeader("Machine Code Emitter", OS); 337 CodeEmitterGen(RK).run(OS);
|
H A D | CodeGenDAGPatterns.cpp | 1137 void TreePatternNode::print(raw_ostream &OS) const { 1139 OS << *getLeafValue(); 1141 OS << '(' << getOperator()->getName(); 1144 OS << ':' << getExtType(i).getName(); 1148 OS << " "; 1149 getChild(0)->print(OS); 1151 OS << ", "; 1152 getChild(i)->print(OS); 1155 OS << ")"; 1159 OS << "<< [all...] |
H A D | CodeGenDAGPatterns.h | 429 void print(raw_ostream &OS) const; 498 inline raw_ostream &operator<<(raw_ostream &OS, const TreePatternNode &TPN) { 499 TPN.print(OS); 500 return OS; 608 void print(raw_ostream &OS) const;
|
H A D | CodeGenMapTable.cpp | 222 void emitBinSearch(raw_ostream &OS, unsigned TableSize); 223 void emitTablesWithFunc(raw_ostream &OS); 224 unsigned emitBinSearchTable(raw_ostream &OS); 227 void emitMapFuncBody(raw_ostream &OS, unsigned TableSize); 360 unsigned MapTableEmitter::emitBinSearchTable(raw_ostream &OS) { argument 370 OS << "static const uint16_t "<<InstrMapDesc.getName(); 373 OS << "Table[]["<< NumCol+1 << "] = {\n"; 391 OS << " { " << TargetName << "::" << CurInstr->getName(); 392 OS << OutStr <<" },\n"; 398 OS << " { " << TargetNam 410 emitBinSearch(raw_ostream &OS, unsigned TableSize) argument 432 emitMapFuncBody(raw_ostream &OS, unsigned TableSize) argument 469 emitTablesWithFunc(raw_ostream &OS) argument 498 emitEnums(raw_ostream &OS, RecordKeeper &Records) argument 564 EmitMapTable(RecordKeeper &Records, raw_ostream &OS) argument [all...] |
H A D | CodeGenRegisters.cpp | 771 raw_ostream &operator<<(raw_ostream &OS, const CodeGenRegisterClass::Key &K) { argument 772 OS << "{ S=" << K.SpillSize << ", A=" << K.SpillAlignment; 775 OS << ", " << (*I)->getName(); 776 return OS << " }";
|
H A D | DAGISelEmitter.cpp | 30 void run(raw_ostream &OS); 122 void DAGISelEmitter::run(raw_ostream &OS) { argument 124 CGP.getTargetInfo().getName() + " target", OS); 126 OS << "// *** NOTE: This file is #included into the middle of the target\n" 164 EmitMatcherTable(TheMatcher, CGP, OS); 170 void EmitDAGISel(RecordKeeper &RK, raw_ostream &OS) { argument 171 DAGISelEmitter(RK).run(OS);
|
H A D | DAGISelMatcher.cpp | 24 void Matcher::print(raw_ostream &OS, unsigned indent) const { argument 25 printImpl(OS, indent); 27 return Next->print(OS, indent); 30 void Matcher::printOne(raw_ostream &OS) const { 31 printImpl(OS, 0); 108 void ScopeMatcher::printImpl(raw_ostream &OS, unsigned indent) const { argument 109 OS.indent(indent) << "Scope\n"; 112 OS.indent(indent+1) << "NULL POINTER\n"; 114 getChild(i)->print(OS, indent+2); 118 void RecordMatcher::printImpl(raw_ostream &OS, unsigne argument 122 printImpl(raw_ostream &OS, unsigned indent) const argument 126 printImpl(raw_ostream &OS, unsigned indent) const argument 130 printImpl(raw_ostream &OS, unsigned indent) const argument 134 printImpl(raw_ostream &OS, unsigned indent) const argument 138 printImpl(raw_ostream &OS, unsigned indent) const argument 142 printImpl(raw_ostream &OS, unsigned indent) const argument 146 printImpl(raw_ostream &OS, unsigned indent) const argument 151 printImpl(raw_ostream &OS, unsigned indent) const argument 155 printImpl(raw_ostream &OS, unsigned indent) const argument 159 printImpl(raw_ostream &OS, unsigned indent) const argument 163 printImpl(raw_ostream &OS, unsigned indent) const argument 173 printImpl(raw_ostream &OS, unsigned indent) const argument 178 printImpl(raw_ostream &OS, unsigned indent) const argument 187 printImpl(raw_ostream &OS, unsigned indent) const argument 193 printImpl(raw_ostream &OS, unsigned indent) const argument 197 printImpl(raw_ostream &OS, unsigned indent) const argument 202 printImpl(raw_ostream &OS, unsigned indent) const argument 206 printImpl(raw_ostream &OS, unsigned indent) const argument 210 printImpl(raw_ostream &OS, unsigned indent) const argument 214 printImpl(raw_ostream &OS, unsigned indent) const argument 218 printImpl(raw_ostream &OS, unsigned indent) const argument 222 printImpl(raw_ostream &OS, unsigned indent) const argument 227 printImpl(raw_ostream &OS, unsigned indent) const argument 232 printImpl(raw_ostream &OS, unsigned indent) const argument 236 printImpl(raw_ostream &OS, unsigned indent) const argument 246 printImpl(raw_ostream &OS, unsigned indent) const argument 251 printImpl(raw_ostream &OS, unsigned indent) const argument 255 printImpl(raw_ostream &OS, unsigned indent) const argument 259 printImpl(raw_ostream &OS, unsigned indent) const argument 265 printImpl(raw_ostream &OS, unsigned indent) const argument 278 printImpl(raw_ostream &OS, unsigned indent) const argument 282 printImpl(raw_ostream &OS, unsigned indent) const argument [all...] |
H A D | DAGISelMatcher.h | 35 raw_ostream &OS); 177 void print(raw_ostream &OS, unsigned indent = 0) const; 178 void printOne(raw_ostream &OS) const; 181 virtual void printImpl(raw_ostream &OS, unsigned indent) const = 0; 228 void printImpl(raw_ostream &OS, unsigned indent) const override; 255 void printImpl(raw_ostream &OS, unsigned indent) const override; 290 void printImpl(raw_ostream &OS, unsigned indent) const override; 309 void printImpl(raw_ostream &OS, unsigned indent) const override; 328 void printImpl(raw_ostream &OS, unsigned indent) const override; 349 void printImpl(raw_ostream &OS, unsigne [all...] |
H A 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) { argument 117 OS << Val << ", "; 124 OS << (Val&127) << "|128,"; 128 OS << Val; 130 OS << "/*" << InVal << "*/"; 131 OS << ", "; 138 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, formatted_raw_ostream &OS) argument 598 EmitMatcherList(const Matcher *N, unsigned Indent, unsigned CurrentIdx, formatted_raw_ostream &OS) argument 615 EmitPredicateFunctions(formatted_raw_ostream &OS) argument 749 EmitHistogram(const Matcher *M, formatted_raw_ostream &OS) argument [all...] |
H A D | DFAPacketizerEmitter.cpp | 53 raw_ostream &OS); 55 void run(raw_ostream &OS); 147 void writeTableAndAPI(raw_ostream &OS, const std::string &ClassName); 266 void DFA::writeTableAndAPI(raw_ostream &OS, const std::string &TargetName) { argument 273 OS << "namespace llvm {\n\n"; 274 OS << "const int " << TargetName << "DFAStateInputTable[][2] = {\n"; 285 OS << "{" << II->first << ", " 294 OS << SentinelEntry << ","; 298 OS << "\n"; 303 OS << SentinelEntr 338 collectAllInsnClasses(const std::string &Name, Record *ItinData, unsigned &NStages, raw_ostream &OS) argument 394 run(raw_ostream &OS) argument 502 EmitDFAPacketizer(RecordKeeper &RK, raw_ostream &OS) argument [all...] |
H A D | DisassemblerEmitter.cpp | 98 extern void EmitFixedLenDecoder(RecordKeeper &RK, raw_ostream &OS, 106 void EmitDisassembler(RecordKeeper &Records, raw_ostream &OS) { argument 108 emitSourceFileHeader(" * " + Target.getName() + " Disassembler", OS); 125 Tables.emit(OS); 136 EmitFixedLenDecoder(Records, OS, PredicateNamespace, 144 EmitFixedLenDecoder(Records, OS, Target.getName(),
|