summaryrefslogtreecommitdiff
path: root/gcc/alias.h
diff options
context:
space:
mode:
authormeibf <meibf@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-09 14:44:03 +0000
committermeibf <meibf@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-09 14:44:03 +0000
commita84256aaf1a2f9bd1f4b29935232a52b11a068b6 (patch)
treee1019cb9c50fe10a946e21114e247d48c6ccc78a /gcc/alias.h
parent43f0f599fa1a8068f992e360c96194a12a3390ca (diff)
downloadgcc-a84256aaf1a2f9bd1f4b29935232a52b11a068b6.tar.gz
2010-08-09 Bingfeng Mei <bmei@broadcom.com>
* ddg.c (walk_mems_2): Moved from alias.c, use may_alias_p instead of alias_sets_conflict_p. (walk_mems_1): Moved from alias.c. (insns_may_alias_p): New function, originally insn_alias_sets_conflict_p in alias.c. (add_inter_loop_mem_dep): Use insns_may_alias_p now. * cse.c (cse_insn): New argument in calling nonoverlapping_memrefs_p. * alias.c (walk_mems_2): Moved to ddg.c. (walk_mems_1): Ditto. (insn_alias_sets_conflict_p): Renamed to insns_may_alias_p and moved to ddg.c. (nonoverlapping_memrefs_p): Add flag to guard offset-based memory disambiguation. *(may_alias_p): New function to check whether two memory expression may alias or not. Currently used in buidling inter-iteration memory dependence. *alias.h (nonoverlapping_memrefs_p): New flag as third argument. (insn_alias_sets_conflict_p): Removed *rtl.h (may_alias_p): New function prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163037 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/alias.h')
-rw-r--r--gcc/alias.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/alias.h b/gcc/alias.h
index 5907215824d..58945524e9a 100644
--- a/gcc/alias.h
+++ b/gcc/alias.h
@@ -42,8 +42,7 @@ extern void record_component_aliases (tree);
extern int alias_sets_conflict_p (alias_set_type, alias_set_type);
extern int alias_sets_must_conflict_p (alias_set_type, alias_set_type);
extern int objects_must_conflict_p (tree, tree);
-extern int nonoverlapping_memrefs_p (const_rtx, const_rtx);
-extern bool insn_alias_sets_conflict_p (rtx, rtx);
+extern int nonoverlapping_memrefs_p (const_rtx, const_rtx, bool);
/* This alias set can be used to force a memory to conflict with all
other memories, creating a barrier across which no memory reference