diff options
author | Martin Jambor <mjambor@suse.cz> | 2009-08-07 02:51:34 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2009-08-07 02:51:34 +0200 |
commit | 3f84bf08c48ea4e037a74f1122c6420ce557518d (patch) | |
tree | e32de0fb2f6c7763918d428281ac22fa32a5626e /gcc/tree-sra.c | |
parent | 26ba353ea7d38958f52a7282c18ed08acf5cd29e (diff) | |
download | gcc-3f84bf08c48ea4e037a74f1122c6420ce557518d.zip gcc-3f84bf08c48ea4e037a74f1122c6420ce557518d.tar.gz gcc-3f84bf08c48ea4e037a74f1122c6420ce557518d.tar.bz2 |
ipa-prop.c (count_formal_params_1): New function.
2009-08-07 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (count_formal_params_1): New function.
(ipa_get_vector_of_formal_parms): New function.
(get_vector_of_formal_parm_types): New function.
(ipa_modify_formal_parameters): New function.
(ipa_modify_call_arguments): New function.
(index_in_adjustments_multiple_times_p): New function.
(ipa_combine_adjustments): New function.
(ipa_dump_param_adjustments): New function.
* ipa-prop.h (struct ipa_parm_adjustment): New type.
(ipa_get_vector_of_formal_parms): Declare.
(ipa_modify_formal_parameters): Declare.
(ipa_modify_call_arguments): Declare.
(ipa_combine_adjustments): Declare.
(ipa_dump_param_adjustments): Declare.
(build_ref_for_offset): Declare.
* Makefile.in (tree-sra.o): Add ipa-prop.h to dependencies.
* tree-sra.c: Include ipa-prop.c.
(build_ref_for_offset): Make public.
From-SVN: r150551
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r-- | gcc/tree-sra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index a7bb017..33be0f6 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -79,6 +79,7 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "gimple.h" #include "tree-flow.h" +#include "ipa-prop.h" #include "diagnostic.h" #include "statistics.h" #include "tree-dump.h" @@ -1119,7 +1120,7 @@ build_ref_for_offset_1 (tree *res, tree type, HOST_WIDE_INT offset, minor rewrite of fold_stmt. */ -static bool +bool build_ref_for_offset (tree *expr, tree type, HOST_WIDE_INT offset, tree exp_type, bool allow_ptr) { |