aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-04-18 08:54:33 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2012-04-18 06:54:33 +0000
commit8f940ee6546bc5411d4f65174c87c20a424c7ca1 (patch)
treed617998b8e72778558a170df59931a3bd122e04c /gcc/ipa.c
parentcc8e7b1f5829ad7afddaee8b5c867305af6fbcc8 (diff)
downloadgcc-8f940ee6546bc5411d4f65174c87c20a424c7ca1.zip
gcc-8f940ee6546bc5411d4f65174c87c20a424c7ca1.tar.gz
gcc-8f940ee6546bc5411d4f65174c87c20a424c7ca1.tar.bz2
cgraph.c (cgraph_node_name): Remove.
* 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. From-SVN: r186559
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index b466188..51a1dc0 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -989,7 +989,7 @@ struct simple_ipa_opt_pass pass_ipa_function_and_variable_visibility =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_remove_functions | TODO_dump_cgraph
+ TODO_remove_functions | TODO_dump_symtab
| TODO_ggc_collect /* todo_flags_finish */
}
};
@@ -1047,7 +1047,7 @@ struct ipa_opt_pass_d pass_ipa_whole_program_visibility =
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
- TODO_remove_functions | TODO_dump_cgraph
+ TODO_remove_functions | TODO_dump_symtab
| TODO_ggc_collect /* todo_flags_finish */
},
NULL, /* generate_summary */