Lines Matching refs:os_
274 : os_(os), in JSONGraphNodeWriter()
285 os_ << "\n"; in Print()
292 os_ << ",\n"; in PrintNode()
298 os_ << "{\"id\":" << SafeId(node) << ",\"label\":\"" << JSONEscaped(label) in PrintNode()
305 os_ << ",\"rankInputs\":[0," << NodeProperties::FirstControlIndex(node) in PrintNode()
307 os_ << ",\"rankWithInput\":[" << NodeProperties::FirstControlIndex(node) in PrintNode()
311 os_ << ",\"rankInputs\":[" << NodeProperties::FirstControlIndex(node) in PrintNode()
315 os_ << ",\"rankInputs\":[0]"; in PrintNode()
320 os_ << ", \"sourcePosition\" : " << AsJSON(position); in PrintNode()
326 os_ << ", \"origin\" : " << AsJSON(origin); in PrintNode()
329 os_ << ",\"opcode\":\"" << IrOpcode::Mnemonic(node->opcode()) << "\""; in PrintNode()
330 os_ << ",\"control\":" << (NodeProperties::IsControl(node) ? "true" in PrintNode()
332 os_ << ",\"opinfo\":\"" << node->op()->ValueInputCount() << " v " in PrintNode()
342 os_ << ",\"type\":\"" << JSONEscaped(type_out) << "\""; in PrintNode()
344 os_ << "}"; in PrintNode()
348 std::ostream& os_; member in v8::internal::compiler::JSONGraphNodeWriter
360 : os_(os), all_(zone, graph, false), first_edge_(true) {} in JSONGraphEdgeWriter()
366 os_ << "\n"; in Print()
381 os_ << ",\n"; in PrintEdge()
397 os_ << "{\"source\":" << SafeId(to) << ",\"target\":" << SafeId(from) in PrintEdge()
402 std::ostream& os_; member in v8::internal::compiler::JSONGraphEdgeWriter
456 visualizer_->os_ << "begin_" << name << "\n"; in Tag()
463 visualizer_->os_ << "end_" << name_ << "\n"; in ~Tag()
472 std::ostream& os_; member in v8::internal::compiler::GraphC1Visualizer
480 os_ << " "; in PrintIndent()
486 : os_(os), indent_(0), zone_(zone) {} in GraphC1Visualizer()
492 os_ << name << " \"" << value << "\"\n"; in PrintStringProperty()
498 os_ << name << " " << static_cast<int>(value / 1000) << "\n"; in PrintLongProperty()
504 os_ << name << " \"B" << rpo_number << "\"\n"; in PrintBlockProperty()
510 os_ << name << " " << value << "\n"; in PrintIntProperty()
519 os_ << "method \"" << name.get() << ":" << info->optimization_id() in PrintCompilation()
531 void GraphC1Visualizer::PrintNodeId(Node* n) { os_ << "n" << SafeId(n); } in PrintNodeId()
536 os_ << " " << *n->op() << " "; in PrintNode()
545 os_ << prefix; in PrintInputs()
548 os_ << " "; in PrintInputs()
571 os_ << " type:" << type; in PrintType()
591 os_ << "predecessors"; in PrintSchedule()
593 os_ << " \"B" << predecessor->rpo_number() << "\""; in PrintSchedule()
595 os_ << "\n"; in PrintSchedule()
598 os_ << "successors"; in PrintSchedule()
600 os_ << " \"B" << successor->rpo_number() << "\""; in PrintSchedule()
602 os_ << "\n"; in PrintSchedule()
605 os_ << "xhandlers\n"; in PrintSchedule()
608 os_ << "flags\n"; in PrintSchedule()
645 os_ << index << " "; in PrintSchedule()
647 os_ << " ["; in PrintSchedule()
649 os_ << "]\n"; in PrintSchedule()
662 os_ << "0 " << uses << " "; in PrintSchedule()
665 os_ << " "; in PrintSchedule()
671 os_ << " pos:"; in PrintSchedule()
673 os_ << "inlining(" << position.InliningId() << "),"; in PrintSchedule()
675 os_ << position.ScriptOffset(); in PrintSchedule()
678 os_ << " <|@\n"; in PrintSchedule()
684 os_ << "0 0 "; in PrintSchedule()
688 os_ << -1 - current->rpo_number() << " Goto"; in PrintSchedule()
690 os_ << " ->"; in PrintSchedule()
692 os_ << " B" << successor->rpo_number(); in PrintSchedule()
695 os_ << " "; in PrintSchedule()
698 os_ << " <|@\n"; in PrintSchedule()
707 os_ << j << " " << *instructions->InstructionAt(j) << " <|@\n"; in PrintSchedule()
745 os_ << vreg << ":" << range->relative_id() << " " << type; in PrintLiveRange()
749 os_ << " \"" << Register::from_code(op.register_code()) << "\""; in PrintLiveRange()
751 os_ << " \"" << DoubleRegister::from_code(op.register_code()) << "\""; in PrintLiveRange()
753 os_ << " \"" << FloatRegister::from_code(op.register_code()) << "\""; in PrintLiveRange()
756 os_ << " \"" << Simd128Register::from_code(op.register_code()) << "\""; in PrintLiveRange()
764 os_ << " \"const(nostack):" in PrintLiveRange()
770 os_ << " \"fp_stack:" << index << "\""; in PrintLiveRange()
772 os_ << " \"stack:" << index << "\""; in PrintLiveRange()
778 os_ << " " << parent->vreg() << ":" << parent->relative_id(); in PrintLiveRange()
782 os_ << " B" << range->get_bundle()->id(); in PrintLiveRange()
784 os_ << " unknown"; in PrintLiveRange()
789 os_ << " [" << interval->start().value() << ", " in PrintLiveRange()
796 os_ << " " << current_pos->pos().value() << " M"; in PrintLiveRange()
801 os_ << " \"\"\n"; in PrintLiveRange()