comparison gcc/tree-ssa-alias.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Tree based alias analysis and alias oracle. 1 /* Tree based alias analysis and alias oracle.
2 Copyright (C) 2008 Free Software Foundation, Inc. 2 Copyright (C) 2008, 2010 Free Software Foundation, Inc.
3 Contributed by Richard Guenther <rguenther@suse.de> 3 Contributed by Richard Guenther <rguenther@suse.de>
4 4
5 This file is part of GCC. 5 This file is part of GCC.
6 6
7 GCC is free software; you can redistribute it and/or modify 7 GCC is free software; you can redistribute it and/or modify
95 extern void ao_ref_init (ao_ref *, tree); 95 extern void ao_ref_init (ao_ref *, tree);
96 extern void ao_ref_init_from_ptr_and_size (ao_ref *, tree, tree); 96 extern void ao_ref_init_from_ptr_and_size (ao_ref *, tree, tree);
97 extern tree ao_ref_base (ao_ref *); 97 extern tree ao_ref_base (ao_ref *);
98 extern alias_set_type ao_ref_alias_set (ao_ref *); 98 extern alias_set_type ao_ref_alias_set (ao_ref *);
99 extern bool ptr_deref_may_alias_global_p (tree); 99 extern bool ptr_deref_may_alias_global_p (tree);
100 extern bool ptr_derefs_may_alias_p (tree, tree);
100 extern bool refs_may_alias_p (tree, tree); 101 extern bool refs_may_alias_p (tree, tree);
101 extern bool refs_may_alias_p_1 (ao_ref *, ao_ref *, bool); 102 extern bool refs_may_alias_p_1 (ao_ref *, ao_ref *, bool);
102 extern bool refs_anti_dependent_p (tree, tree); 103 extern bool refs_anti_dependent_p (tree, tree);
103 extern bool refs_output_dependent_p (tree, tree); 104 extern bool refs_output_dependent_p (tree, tree);
104 extern bool ref_maybe_used_by_stmt_p (gimple, tree); 105 extern bool ref_maybe_used_by_stmt_p (gimple, tree);
105 extern bool stmt_may_clobber_ref_p (gimple, tree); 106 extern bool stmt_may_clobber_ref_p (gimple, tree);
106 extern bool stmt_may_clobber_ref_p_1 (gimple, ao_ref *); 107 extern bool stmt_may_clobber_ref_p_1 (gimple, ao_ref *);
107 extern bool call_may_clobber_ref_p (gimple, tree); 108 extern bool call_may_clobber_ref_p (gimple, tree);
109 extern bool stmt_kills_ref_p (gimple, tree);
108 extern tree get_continuation_for_phi (gimple, ao_ref *, bitmap *); 110 extern tree get_continuation_for_phi (gimple, ao_ref *, bitmap *);
109 extern void *walk_non_aliased_vuses (ao_ref *, tree, 111 extern void *walk_non_aliased_vuses (ao_ref *, tree,
110 void *(*)(ao_ref *, tree, void *), 112 void *(*)(ao_ref *, tree, void *),
111 void *(*)(ao_ref *, tree, void *), void *); 113 void *(*)(ao_ref *, tree, void *), void *);
112 extern unsigned int walk_aliased_vdefs (ao_ref *, tree, 114 extern unsigned int walk_aliased_vdefs (ao_ref *, tree,
130 extern bool pt_solutions_intersect (struct pt_solution *, struct pt_solution *); 132 extern bool pt_solutions_intersect (struct pt_solution *, struct pt_solution *);
131 extern bool pt_solutions_same_restrict_base (struct pt_solution *, 133 extern bool pt_solutions_same_restrict_base (struct pt_solution *,
132 struct pt_solution *); 134 struct pt_solution *);
133 extern void pt_solution_reset (struct pt_solution *); 135 extern void pt_solution_reset (struct pt_solution *);
134 extern void pt_solution_set (struct pt_solution *, bitmap, bool, bool); 136 extern void pt_solution_set (struct pt_solution *, bitmap, bool, bool);
137 extern void pt_solution_set_var (struct pt_solution *, tree);
138
135 extern void dump_pta_stats (FILE *); 139 extern void dump_pta_stats (FILE *);
136 140
137 extern GTY(()) struct pt_solution ipa_escaped_pt; 141 extern GTY(()) struct pt_solution ipa_escaped_pt;
138 142
139 143