diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-21 22:56:29 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-07-21 22:56:29 +0000 |
commit | 9f6fd65f08b832849e7bea06af55f44c9b988641 (patch) | |
tree | 58852f872382c1081c308a9b7db7a9db822a17db /gcc/graphite-clast-to-gimple.h | |
parent | d97f844f4b9c2c897e6c5c12f05efeb51ddbb618 (diff) | |
download | gcc-9f6fd65f08b832849e7bea06af55f44c9b988641.tar.gz |
Start counting nesting level from 0 and use the standard "Polyhedral SCattering Transformed" psct_* interface.
2011-07-21 Sebastian Pop <sebastian.pop@amd.com>
* graphite-clast-to-gimple.c (compute_bounds_for_level): Call
psct_dynamic_dim.
(translate_clast_for_loop): Pass loop level to dependency_in_loop_p.
(gcc_type_for_iv_of_clast_loop): Update use of level.
(gloog): Start counting nesting level from 0.
* graphite-clast-to-gimple.h (get_scattering_level): Removed.
* graphite-dependences.c (graphite_carried_dependence_level_k): Call
psct_dynamic_dim on level.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176596 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-clast-to-gimple.h')
-rw-r--r-- | gcc/graphite-clast-to-gimple.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/graphite-clast-to-gimple.h b/gcc/graphite-clast-to-gimple.h index 9d599d6d075..b5affd989f0 100644 --- a/gcc/graphite-clast-to-gimple.h +++ b/gcc/graphite-clast-to-gimple.h @@ -63,16 +63,4 @@ eq_bb_pbb_map (const void *bb_pbb1, const void *bb_pbb2) return (bp1->bb->index == bp2->bb->index); } -/* Returns the scattering dimension for STMTFOR. - - The relationship between dimension in scattering matrix - and the DEPTH of the loop is: - DIMENSION = 2*DEPTH - 1 -*/ - -static inline int get_scattering_level (int depth) -{ - return 2 * depth - 1; -} - #endif |