diff options
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r-- | gcc/tree-data-ref.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index d9eac29..9d819e4 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -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 |