tree-data-ref.h (ddr_is_anti_dependent, [...]): Remove.

2014-01-28  Richard Biener  <rguenther@suse.de>

	* tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps):
	Remove.

From-SVN: r207181
This commit is contained in:
Richard Biener 2014-01-28 12:49:08 +00:00 committed by Richard Biener
parent 156b60e0b9
commit 6593260b3a
2 changed files with 5 additions and 26 deletions

View File

@ -1,3 +1,8 @@
2014-01-28 Richard Biener <rguenther@suse.de>
* tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps):
Remove.
2014-01-28 Richard Biener <rguenther@suse.de>
PR rtl-optimization/45364

View File

@ -457,32 +457,6 @@ same_access_functions (const struct data_dependence_relation *ddr)
return true;
}
/* Return true when DDR is an anti-dependence relation. */
static inline bool
ddr_is_anti_dependent (ddr_p ddr)
{
return (DDR_ARE_DEPENDENT (ddr) == NULL_TREE
&& DR_IS_READ (DDR_A (ddr))
&& DR_IS_WRITE (DDR_B (ddr))
&& !same_access_functions (ddr));
}
/* Return true when DEPENDENCE_RELATIONS contains an anti-dependence. */
static inline bool
ddrs_have_anti_deps (vec<ddr_p> dependence_relations)
{
unsigned i;
ddr_p ddr;
for (i = 0; dependence_relations.iterate (i, &ddr); i++)
if (ddr_is_anti_dependent (ddr))
return true;
return false;
}
/* Returns true when all the dependences are computable. */
inline bool