diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-13 14:21:16 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-13 12:21:16 +0000 |
commit | 09ce36608d268b1a3124411a3ad2f701e5cf24ec (patch) | |
tree | e903dc537f27c5dd690cb3a98029321225e8f7b4 /gcc/configure | |
parent | 537e035c48955b3ea88dcb3a4b0ff03ef4bb2e31 (diff) | |
download | gcc-09ce36608d268b1a3124411a3ad2f701e5cf24ec.zip gcc-09ce36608d268b1a3124411a3ad2f701e5cf24ec.tar.gz gcc-09ce36608d268b1a3124411a3ad2f701e5cf24ec.tar.bz2 |
cgraph.c (cgraph_turn_edge_to_speculative): Return newly introduced edge; fix typo in sanity check.
* cgraph.c (cgraph_turn_edge_to_speculative): Return newly
introduced edge; fix typo in sanity check.
(cgraph_resolve_speculation): Export; improve diagnostic.
(cgraph_redirect_edge_call_stmt_to_callee): Better diagnostic; cancel
speculation at type mismatch.
* cgraph.h (cgraph_turn_edge_to_speculative): Update.
(cgraph_resolve_speculation): Declare.
(symtab_can_be_discarded): New function.
* value-prof.c (gimple_ic_transform): Remove actual transform code.
* ipa-inline-transform.c (speculation_removed): New global var.
(clone_inlined_nodes): See if speculation can be removed.
(inline_call): If speculations was removed, we growths may not match.
* ipa-inline.c (can_inline_edge_p): Add DISREGARD_LIMITS parameter.
(speculation_useful_p): New function.
(resolve_noninline_speculation): New function.
(inline_small_functions): Resolve useless speculations.
* ipa-inline.h (speculation_useful_p): Declare
* ipa.c (can_replace_by_local_alias): Simplify.
(ipa_profile): Produce speculative calls in non-lto, too;
add simple cost model; produce local aliases.
From-SVN: r201683
Diffstat (limited to 'gcc/configure')
0 files changed, 0 insertions, 0 deletions