Lines Matching defs:os_
274 : os_(os),
283 os_ << "{\"name\":\"" << phase_name << "\",\"type\":\"graph\",\"data\":";
285 os_ << "},\n";
296 os_ << "{\n\"nodes\":[";
298 os_ << "\n";
299 os_ << "],\n\"edges\":[";
301 os_ << "\n";
302 os_ << "]}";
310 os_ << ",\n";
316 os_ << "{\"id\":" << SafeId(node) << ",\"label\":\"" << JSONEscaped(label)
323 os_ << ",\"rankInputs\":[0," << NodeProperties::FirstControlIndex(node)
325 os_ << ",\"rankWithInput\":[" << NodeProperties::FirstControlIndex(node)
329 os_ << ",\"rankInputs\":[" << NodeProperties::FirstControlIndex(node)
333 os_ << ",\"rankInputs\":[0]";
338 os_ << ", \"sourcePosition\" : " << AsJSON(position);
344 os_ << ", \"origin\" : " << AsJSON(origin);
347 os_ << ",\"opcode\":\"" << IrOpcode::Mnemonic(node->opcode()) << "\"";
348 os_ << ",\"control\":"
350 os_ << ",\"opinfo\":\"" << node->op()->ValueInputCount() << " v "
359 os_ << ",\"type\":\"" << JSONEscaped(type_out) << "\"";
361 os_ << "}";
376 os_ << ",\n";
392 os_ << "{\"source\":" << SafeId(to) << ",\"target\":" << SafeId(from)
444 visualizer_->os_ << "begin_" << name << "\n";
451 visualizer_->os_ << "end_" << name_ << "\n";
460 std::ostream& os_;
468 os_ << " ";
474 : os_(os), indent_(0), zone_(zone) {}
480 os_ << name << " \"" << value << "\"\n";
486 os_ << name << " " << static_cast<int>(value / 1000) << "\n";
492 os_ << name << " \"B" << rpo_number << "\"\n";
498 os_ << name << " " << value << "\n";
507 os_ << "method \"" << name.get() << ":" << info->optimization_id()
519 void GraphC1Visualizer::PrintNodeId(Node* n) { os_ << "n" << SafeId(n); }
524 os_ << " " << *n->op() << " ";
533 os_ << prefix;
536 os_ << " ";
559 os_ << " type:" << type;
579 os_ << "predecessors";
581 os_ << " \"B" << predecessor->rpo_number() << "\"";
583 os_ << "\n";
586 os_ << "successors";
588 os_ << " \"B" << successor->rpo_number() << "\"";
590 os_ << "\n";
593 os_ << "xhandlers\n";
596 os_ << "flags\n";
633 os_ << index << " ";
635 os_ << " [";
637 os_ << "]\n";
650 os_ << "0 " << uses << " ";
653 os_ << " ";
659 os_ << " pos:";
661 os_ << "inlining(" << position.InliningId() << "),";
663 os_ << position.ScriptOffset();
666 os_ << " <|@\n";
672 os_ << "0 0 ";
676 os_ << -1 - current->rpo_number() << " Goto";
678 os_ << " ->";
680 os_ << " B" << successor->rpo_number();
683 os_ << " ";
686 os_ << " <|@\n";
695 os_ << j << " " << *instructions->InstructionAt(j) << " <|@\n";
733 os_ << vreg << ":" << range->relative_id() << " " << type;
737 os_ << " \"" << Register::from_code(op.register_code()) << "\"";
739 os_ << " \"" << DoubleRegister::from_code(op.register_code()) << "\"";
741 os_ << " \"" << FloatRegister::from_code(op.register_code()) << "\"";
744 os_ << " \"" << Simd128Register::from_code(op.register_code()) << "\"";
752 os_ << " \"const(nostack):"
758 os_ << " \"fp_stack:" << index << "\"";
760 os_ << " \"stack:" << index << "\"";
766 os_ << " " << parent->vreg() << ":" << parent->relative_id();
770 os_ << " B" << range->get_bundle()->id();
772 os_ << " unknown";
777 os_ << " [" << interval->start().value() << ", "
784 os_ << " " << current_pos->pos().value() << " M";
789 os_ << " \"\"\n";