]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-pure-const.c
gimple.h (walk_stmt_load_store_addr_ops): Declare.
authorRichard Guenther <rguenther@suse.de>
Thu, 16 Apr 2009 13:22:03 +0000 (13:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 16 Apr 2009 13:22:03 +0000 (13:22 +0000)
commit346ef3faa0225ae51f85931a0a259b144347b5e3
tree23dd4190a75ec3d4a003945074976a4b867c0cdf
parent9fbb3ae64a8d1c6103f4d4a91e60f1ee8312b3f3
gimple.h (walk_stmt_load_store_addr_ops): Declare.

2009-04-16  Richard Guenther  <rguenther@suse.de>

* gimple.h (walk_stmt_load_store_addr_ops): Declare.
(walk_stmt_load_store_ops): Likewise.
* gimple.c (get_base_loadstore): New function.
(walk_stmt_load_store_addr_ops): Likewise.
(walk_stmt_load_store_ops): Likewise.
* ipa-pure-const.c (check_op): Simplify.
(check_load, check_store): New functions.
(check_stmt): Use walk_stmt_load_store_ops.
* ipa-reference.c (mark_load): Adjust signature.
(mark_store): Likewise.
(scan_stmt_for_static_refs): Use walk_stmt_load_store_addr_ops.

From-SVN: r146190
gcc/ChangeLog
gcc/gimple.c
gcc/gimple.h
gcc/ipa-pure-const.c
gcc/ipa-reference.c