Use DR_IS_WRITE instead of !DR_IS_READ.
authorSebastian Pop <sebastian.pop@amd.com>
Fri, 3 Sep 2010 20:05:42 +0000 (20:05 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Fri, 3 Sep 2010 20:05:42 +0000 (20:05 +0000)
commitb0af49c40cd2d6ada19aebd5cdb6fe232ebe199b
tree3121c570d8493a5ae6a5f6645bb5df55a57f04dd
parent0edf45a3f9e04e29a2ad83d9fbd3075c5f8a00cb
Use DR_IS_WRITE instead of !DR_IS_READ.

2010-09-03  Sebastian Pop  <sebastian.pop@amd.com>

* tree-data-ref.c (dr_may_alias_p): Replace !DR_IS_READ with
DR_IS_WRITE.
(compute_all_dependences): Same.
(create_rdg_edge_for_ddr): Same.
* tree-data-ref.h (DR_IS_WRITE): New.
(ddr_is_anti_dependent): Replace !DR_IS_READ with DR_IS_WRITE.
* tree-if-conv.c (write_memrefs_written_at_least_once): Same.
(write_memrefs_written_at_least_once): Same.
* tree-predcom.c (suitable_component_p): Same.
(determine_roots_comp): Same.
(execute_load_motion): Same.
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Same.
(vect_enhance_data_refs_alignment): Same.
(vect_analyze_group_access): Same.

From-SVN: r163841
gcc/ChangeLog
gcc/tree-data-ref.c
gcc/tree-data-ref.h
gcc/tree-if-conv.c
gcc/tree-predcom.c
gcc/tree-vect-data-refs.c