-
- Downloads
cgraph.h (cgraph_node): Add profile_id.
* cgraph.h (cgraph_node): Add profile_id. * value-prof.c (cgraph_node_map): Turn into pointer_map. (init_node_map): Rewrite to handle hashes increas of incremental IDs. (del_node_map): Update. (find_func_by_funcdef_no): Replace by ... (find_func_by_profile_id): ... this one. (gimple_ic_transform): Do not remove useful histograms when speculation is not done; dump info when indirect call removal can happen at LTO. * value-prof.h (find_func_by_profile_id, gimple_ic): Declare. * gcov-io.h (__gcov_indirect_call_profiler): Replace by ... (__gcov_indirect_call_profiler_v2): .. this one. * profile.h (init_node_map): Update. * coverage.c (coverage_compute_profile_id): New function. * coverage.h (coverage_compute_profile_id): Declare. * tree-profile.c (init_ic_make_global_vars): Make __gcov_indirect_call_callee and __gcov_indirect_call_counters global. (gimple_init_edge_profiler): Update prototype of __gcov_indirect_call_profiler. (gimple_gen_ic_func_profiler): Simplify. (tree_profiling): Use init_node_map From-SVN: r201634
Showing
- gcc/ChangeLog 25 additions, 0 deletionsgcc/ChangeLog
- gcc/cgraph.h 2 additions, 0 deletionsgcc/cgraph.h
- gcc/coverage.c 22 additions, 0 deletionsgcc/coverage.c
- gcc/coverage.h 3 additions, 0 deletionsgcc/coverage.h
- gcc/gcov-io.h 1 addition, 1 deletiongcc/gcov-io.h
- gcc/profile.h 1 addition, 1 deletiongcc/profile.h
- gcc/tree-profile.c 19 additions, 24 deletionsgcc/tree-profile.c
- gcc/value-prof.c 86 additions, 33 deletionsgcc/value-prof.c
- gcc/value-prof.h 2 additions, 0 deletionsgcc/value-prof.h
- libgcc/ChangeLog 7 additions, 0 deletionslibgcc/ChangeLog
- libgcc/libgcov.c 20 additions, 6 deletionslibgcc/libgcov.c
Loading
Please register or sign in to comment