OSDN Git Service

2010-05-04 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 17:34:01 +0000 (17:34 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:58:46 +0000 (13:58 +0900)
commitd8ef7e26a3908c22b082c423b9fc12e258c1cb1b
tree8df07d89e5cd600891030bfdfed468dfb7b6f847
parent9e1bfb920d97bd699cd1d4b4f530d197807b898f
2010-05-04  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (build_access_from_expr_1): The first parameter type
changed to simple tree.
(build_access_from_expr): Likewise, gsi parameter was eliminated.
(scan_assign_result): Renamed to assignment_mod_result, enum elements
renamed as well.
(build_accesses_from_assign): Removed all parameters except for a
simple gimple statement.  Now returns a simple bool.
(scan_function): All non-analysis parts moved to separate functions
sra_modify_function_body and ipa_sra_modify_function_body.  Removed all
parameters and updated both callers.
(sra_modify_expr): Removed parameter data.
(sra_modify_function_body): New function.
(perform_intra_sra): Call sra_modify_function_body to modify the
function body.
(replace_removed_params_ssa_names): Parameter data changed into
adjustments vector.
(sra_ipa_modify_expr): Likewise.  Also removed unused parameter gsi and
changed the parameter dont_convert to convert with the opposite
meaning.
(sra_ipa_modify_assign): Parameter data changed into adjustments
vector, return value changed to bool.
(ipa_sra_modify_function_body): New function.
(sra_ipa_reset_debug_stmts): Updated a comment.
(modify_function): Use ipa_sra_modify_function_body to modify function
body.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159038 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-sra.c