diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-19 12:00:27 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-19 12:00:27 +0000 |
commit | bee52153273af07da6c5f997a5820e36c19bf7c5 (patch) | |
tree | 48a1cde54c03eeceeb5712488b900a74b29947ac /gcc/ipa-prop.h | |
parent | 204c295fbca80918852ecdf06faa1451218fcded (diff) | |
download | gcc-bee52153273af07da6c5f997a5820e36c19bf7c5.tar.gz |
2013-04-19 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/56718
* ipa-cp.c (ipa_value_from_known_type_jfunc): Moved...
* ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed
and made public. Adjusted all callers.
(ipa_intraprocedural_devirtualization): New function.
* ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare.
(ipa_intraprocedural_devirtualization): Likewise.
* Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies.
testsuite/
* g++.dg/ipa/imm-devirt-1.C: New test.
* g++.dg/ipa/imm-devirt-2.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198088 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r-- | gcc/ipa-prop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 545ae1b68a6..5bc99be03b3 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -507,6 +507,8 @@ tree ipa_get_indirect_edge_target (struct cgraph_edge *ie, vec<tree> , vec<ipa_agg_jump_function_p> ); struct cgraph_edge *ipa_make_edge_direct_to_target (struct cgraph_edge *, tree); +tree ipa_binfo_from_known_type_jfunc (struct ipa_jump_func *); +tree ipa_intraprocedural_devirtualization (gimple); /* Functions related to both. */ void ipa_analyze_node (struct cgraph_node *); |