87 elapsedTimer _build_blocks_time; 88 89 static int _file_count; 90 networkStream *_stream; 91 xmlStream *_xml; 92 outputStream *_output; 93 ciMethod *_current_method; 94 int _depth; 95 char buffer[128]; 96 bool _should_send_method; 97 PhaseChaitin* _chaitin; 98 bool _traverse_outs; 99 Compile *C; 100 101 static void pre_node(Node* node, void *env); 102 static void post_node(Node* node, void *env); 103 104 void print_indent(); 105 void print_method(ciMethod *method, int bci, InlineTree *tree); 106 void print_inline_tree(InlineTree *tree); 107 void visit_node(Node *n, void *param); 108 void walk_nodes(Node *start, void *param); 109 void begin_elem(const char *s); 110 void end_elem(); 111 void begin_head(const char *s); 112 void end_head(); 113 void print_attr(const char *name, const char *val); 114 void print_attr(const char *name, intptr_t val); 115 void print_prop(const char *name, const char *val); 116 void print_prop(const char *name, int val); 117 void tail(const char *name); 118 void head(const char *name); 119 void text(const char *s); 120 intptr_t get_node_id(Node *n); 121 IdealGraphPrinter(); 122 ~IdealGraphPrinter(); 123 124 public: 125 126 static void clean_up(); 127 static IdealGraphPrinter *printer(); 128 | 87 elapsedTimer _build_blocks_time; 88 89 static int _file_count; 90 networkStream *_stream; 91 xmlStream *_xml; 92 outputStream *_output; 93 ciMethod *_current_method; 94 int _depth; 95 char buffer[128]; 96 bool _should_send_method; 97 PhaseChaitin* _chaitin; 98 bool _traverse_outs; 99 Compile *C; 100 101 static void pre_node(Node* node, void *env); 102 static void post_node(Node* node, void *env); 103 104 void print_indent(); 105 void print_method(ciMethod *method, int bci, InlineTree *tree); 106 void print_inline_tree(InlineTree *tree); 107 void visit_node(Node *n, bool edges, VectorSet* temp_set); 108 void walk_nodes(Node *start, bool edges, VectorSet* temp_set); 109 void begin_elem(const char *s); 110 void end_elem(); 111 void begin_head(const char *s); 112 void end_head(); 113 void print_attr(const char *name, const char *val); 114 void print_attr(const char *name, intptr_t val); 115 void print_prop(const char *name, const char *val); 116 void print_prop(const char *name, int val); 117 void tail(const char *name); 118 void head(const char *name); 119 void text(const char *s); 120 intptr_t get_node_id(Node *n); 121 IdealGraphPrinter(); 122 ~IdealGraphPrinter(); 123 124 public: 125 126 static void clean_up(); 127 static IdealGraphPrinter *printer(); 128 |