Lines Matching refs:os
148 std::ostringstream os; in DumpHex() local
151 os << StringPrintf("0x%04x", insn[i]) << " "; in DumpHex()
154 os << " "; in DumpHex()
156 return os.str(); in DumpHex()
164 std::ostringstream os; in DumpHexLE() local
167 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF), in DumpHexLE()
171 os << " "; in DumpHexLE()
173 return os.str(); in DumpHexLE()
177 std::ostringstream os; in DumpString() local
180 case k10x: os << opcode; break; in DumpString()
181 case k12x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_12x(), VRegB_12x()); break; in DumpString()
182 case k11n: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_11n(), VRegB_11n()); break; in DumpString()
183 case k11x: os << StringPrintf("%s v%d", opcode, VRegA_11x()); break; in DumpString()
184 case k10t: os << StringPrintf("%s %+d", opcode, VRegA_10t()); break; in DumpString()
185 case k20t: os << StringPrintf("%s %+d", opcode, VRegA_20t()); break; in DumpString()
186 case k22x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_22x(), VRegB_22x()); break; in DumpString()
187 case k21t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_21t(), VRegB_21t()); break; in DumpString()
188 case k21s: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_21s(), VRegB_21s()); break; in DumpString()
193 os << StringPrintf("%s v%d, #int %+d // 0x%x", opcode, VRegA_21h(), value, value); in DumpString()
196 os << StringPrintf("%s v%d, #long %+" PRId64 " // 0x%" PRIx64, opcode, VRegA_21h(), in DumpString()
207 os << StringPrintf( in DumpString()
213 os << StringPrintf("const-string v%d, <<invalid-string-idx-%d>> // string@%d", in DumpString()
226 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " in DumpString()
240 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, tru… in DumpString()
254 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, true) in DumpString()
260 os << StringPrintf("%s v%d, thing@%d", opcode, VRegA_21c(), VRegB_21c()); in DumpString()
265 …case k23x: os << StringPrintf("%s v%d, v%d, v%d", opcode, VRegA_23x(), VRegB_23x(), VRegC_23x());… in DumpString()
266 …case k22b: os << StringPrintf("%s v%d, v%d, #%+d", opcode, VRegA_22b(), VRegB_22b(), VRegC_22b())… in DumpString()
267 …case k22t: os << StringPrintf("%s v%d, v%d, %+d", opcode, VRegA_22t(), VRegB_22t(), VRegC_22t());… in DumpString()
268 …case k22s: os << StringPrintf("%s v%d, v%d, #%+d", opcode, VRegA_22s(), VRegB_22s(), VRegC_22s())… in DumpString()
280 …os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
294 …os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) <<… in DumpString()
302 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" in DumpString()
311 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" in DumpString()
318 … os << StringPrintf("%s v%d, v%d, thing@%d", opcode, VRegA_22c(), VRegB_22c(), VRegC_22c()); in DumpString()
323 case k32x: os << StringPrintf("%s v%d, v%d", opcode, VRegA_32x(), VRegB_32x()); break; in DumpString()
324 case k30t: os << StringPrintf("%s %+d", opcode, VRegA_30t()); break; in DumpString()
325 case k31t: os << StringPrintf("%s v%d, %+d", opcode, VRegA_31t(), VRegB_31t()); break; in DumpString()
326 case k31i: os << StringPrintf("%s v%d, #%+d", opcode, VRegA_31i(), VRegB_31i()); break; in DumpString()
332 os << StringPrintf( in DumpString()
339 os << StringPrintf("%s v%d, <<invalid-string-idx-%d>> // string@%d", in DumpString()
346 os << StringPrintf("%s v%d, string@%d", opcode, VRegA_31c(), string_idx); in DumpString()
349 os << StringPrintf("%s v%d, thing@%d", opcode, VRegA_31c(), VRegB_31c()); break; in DumpString()
358 os << ", "; in DumpString()
360 os << "v" << arg[i]; in DumpString()
366 os << opcode << " {"; in DumpString()
368 os << "}, type@" << VRegB_35c(); in DumpString()
378 os << opcode << " {"; in DumpString()
381 os << "}, " << file->PrettyMethod(method_idx) << " // method@" << method_idx; in DumpString()
387 os << opcode << " {"; in DumpString()
390 os << "}, // call_site@" << call_site_idx; in DumpString()
395 os << opcode << " {"; in DumpString()
397 os << "}, thing@" << VRegB_35c(); in DumpString()
413 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
421 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
427 os << StringPrintf("%s, {v%d .. v%d}, ", opcode, first_reg, last_reg) in DumpString()
438 os << opcode << " {"; in DumpString()
441 os << ", "; in DumpString()
443 os << "v" << arg[i]; in DumpString()
445 os << "}"; in DumpString()
447 os << ", " << file->PrettyMethod(method_idx) in DumpString()
451 os << ", "; in DumpString()
453 os << "method@" << method_idx << ", proto@" << proto_idx; in DumpString()
462 os << opcode << ", {v" << VRegC_4rcc() << " .. v" << (VRegC_4rcc() + VRegA_4rcc()) in DumpString()
473 os << opcode << ", {v" << VRegC_4rcc() << " .. v" << (VRegC_4rcc() + VRegA_4rcc()) in DumpString()
478 case k51l: os << StringPrintf("%s v%d, #%+" PRId64, opcode, VRegA_51l(), VRegB_51l()); break; in DumpString()
479 case kInvalidFormat: os << "<invalid-opcode-format>"; in DumpString()
481 return os.str(); in DumpString()
516 std::ostream& operator<<(std::ostream& os, Instruction::Code code) { in operator <<() argument
517 return os << Instruction::Name(code); in operator <<()