diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-18 06:54:33 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-18 06:54:33 +0000 |
commit | 18841b0c9fafa05cd7f09e00f8350bb6897eae70 (patch) | |
tree | d617998b8e72778558a170df59931a3bd122e04c /gcc/ipa-reference.c | |
parent | d81d043d2142e7098f3e5a4f14cd3e449ce1c215 (diff) | |
download | gcc-18841b0c9fafa05cd7f09e00f8350bb6897eae70.tar.gz |
* cgraph.c (cgraph_node_name): Remove.
(dump_cgraph_node): Use dump_symtab_base; reformat.
* cgraph.h (symtab_node_asm_name, symtab_node_name, dump_symtab,
debug_symtab, dump_symtab_node, debug_symtab_node, dump_symtab_base):
Declare.
(cgraph_node_name, varpool_node_name): Remove.
(cgraph_node_asm_name, varpool_node_asm_name,
cgraph_node_name, varpool_node_name): New.
* tree-pass.h (TODO_dump_cgraph): Rename to ...
(TODO_dump_symtab): ... this one.
* ipa-cp (pass_ipa_cp): Update.
* ia-reference.c (generate_summary, read_write_all_from_decl,
propagate, ipa_reference_read_optimization_summary): Update.
* cgraphunit.c (cgraph_analyze_functions): Update.
(cgraph_optimize): Update.
* ipa-ref.c (ipa_dump_references): Update.
(ipa_dump_refering): Update.
* ipa-inline.c (pass_ipa_inline): Update.
* matrix-reorg.c (pass_ipa_matrix_reorg): Update.
* ipa.c (pass_ipa_function_visibility,
pass_ipa_whole_program_visibility): Update.
* tree-sra.c (pass_early_ipa_sra): Update.
* symtab.c: Include langhooks.h
(symtab_node_asm_name): New.
(symtab_node_name): New.
(symtab_type_names): New static var.
(dump_symtab_base): New.
(dump_symtab_node, dump_symtab): New.
(debug_symtab_node, debug_symtab): New.
* tree-ssa-structalias.c: Dump symbol table.
* pases.c (execute_todo): Handle TODO_dump_symtab instead
of TODO_dump_cgraph.
* varpoo.c (varpool_node_name): Remove.
(dump_varpool_node): Use dump_symtab_base; reformat.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186559 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r-- | gcc/ipa-reference.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index d8fd796ea25..faf3a20ca83 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -553,7 +553,7 @@ generate_summary (void) l = &get_reference_vars_info (node)->local; fprintf (dump_file, "\nFunction name:%s/%i:", - cgraph_node_name (node), node->uid); + cgraph_node_asm_name (node), node->symbol.order); fprintf (dump_file, "\n locals read: "); if (l->statics_read) EXECUTE_IF_SET_IN_BITMAP (l->statics_read, @@ -592,7 +592,7 @@ read_write_all_from_decl (struct cgraph_node *node, bool * read_all, *read_all = true; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, " %s/%i -> read all\n", - cgraph_node_name (node), node->uid); + cgraph_node_asm_name (node), node->symbol.order); } else { @@ -602,7 +602,7 @@ read_write_all_from_decl (struct cgraph_node *node, bool * read_all, *write_all = true; if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, " %s/%i -> read all, write all\n", - cgraph_node_name (node), node->uid); + cgraph_node_asm_name (node), node->symbol.order); } } @@ -653,7 +653,7 @@ propagate (void) if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Starting cycle with %s/%i\n", - cgraph_node_name (node), node->uid); + cgraph_node_asm_name (node), node->symbol.order); node_l = &node_info->local; node_g = &node_info->global; @@ -697,7 +697,7 @@ propagate (void) { if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, " Visiting %s/%i\n", - cgraph_node_name (w), w->uid); + cgraph_node_asm_name (w), w->symbol.order); /* When function is overwritable, we can not assume anything. */ if (cgraph_function_body_availability (w) <= AVAIL_OVERWRITABLE) read_write_all_from_decl (w, &read_all, &write_all); @@ -811,7 +811,7 @@ propagate (void) node_l = &node_info->local; fprintf (dump_file, "\nFunction name:%s/%i:", - cgraph_node_name (node), node->uid); + cgraph_node_asm_name (node), node->symbol.order); fprintf (dump_file, "\n locals read: "); if (node_l->statics_read) EXECUTE_IF_SET_IN_BITMAP (node_l->statics_read, @@ -837,7 +837,7 @@ propagate (void) get_reference_vars_info (w); ipa_reference_local_vars_info_t w_l = &w_ri->local; fprintf (dump_file, "\n next cycle: %s/%i ", - cgraph_node_name (w), w->uid); + cgraph_node_asm_name (w), w->symbol.order); fprintf (dump_file, "\n locals read: "); if (w_l->statics_read) EXECUTE_IF_SET_IN_BITMAP (w_l->statics_read, @@ -1148,7 +1148,7 @@ ipa_reference_read_optimization_summary (void) if (dump_file) fprintf (dump_file, "\nFunction name:%s/%i:\n static not read:", - cgraph_node_name (node), node->uid); + cgraph_node_asm_name (node), node->symbol.order); /* Set the statics not read. */ v_count = streamer_read_hwi (ib); |