diff options
author | Richard Guenther <rguenther@suse.de> | 2010-07-05 14:51:16 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-07-05 14:51:16 +0000 |
commit | a41e5e86c0bbcb0dca6311a5e6dab8d7e005a076 (patch) | |
tree | 26e22ad4b9ee130b7097d46360e487d9f427ecf0 /gcc/tree.h | |
parent | 5c144a5fadc5f5d8df422e6f85e8464c1b918780 (diff) | |
download | gcc-a41e5e86c0bbcb0dca6311a5e6dab8d7e005a076.zip gcc-a41e5e86c0bbcb0dca6311a5e6dab8d7e005a076.tar.gz gcc-a41e5e86c0bbcb0dca6311a5e6dab8d7e005a076.tar.bz2 |
tree.c (reference_alias_ptr_type): New function.
2010-07-05 Richard Guenther <rguenther@suse.de>
* tree.c (reference_alias_ptr_type): New function.
* tree.h (reference_alias_ptr_type): Declare.
* tree-ssa-loop-ivopts.c (copy_ref_info): Restructure to
allow non-TARGET_MEM_REF new refs.
(rewrite_use_address): Pass old alias pointer type to
create_mem_ref.
* tree-ssa-address.c (create_mem_ref_raw): Get alias pointer type.
Build a MEM_REF instead of a TARGET_MEM_REF if possible.
(create_mem_ref): Get alias pointer type. Adjust calls to
create_mem_ref_raw.
(maybe_fold_tmr): Likewise.
* tree-flow.h (create_mem_ref): Adjust prototype.
From-SVN: r161840
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4965,6 +4965,7 @@ extern tree build_simple_mem_ref_loc (location_t, tree); #define build_simple_mem_ref(T)\ build_simple_mem_ref_loc (UNKNOWN_LOCATION, T) extern double_int mem_ref_offset (const_tree); +extern tree reference_alias_ptr_type (const_tree); extern tree constant_boolean_node (int, tree); extern tree div_if_zero_remainder (enum tree_code, const_tree, const_tree); |