diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2011-07-21 22:56:29 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2011-07-21 22:56:29 +0000 |
commit | dff62090a4dba1991b7cb7d8af42e92ead0f84b4 (patch) | |
tree | 58852f872382c1081c308a9b7db7a9db822a17db /gcc/graphite-clast-to-gimple.h | |
parent | 628c1ac95a382b5f53a8a26a8757d9df4cad7684 (diff) | |
download | gcc-dff62090a4dba1991b7cb7d8af42e92ead0f84b4.zip gcc-dff62090a4dba1991b7cb7d8af42e92ead0f84b4.tar.gz gcc-dff62090a4dba1991b7cb7d8af42e92ead0f84b4.tar.bz2 |
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.
From-SVN: r176596
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 9d599d6..b5affd9 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 |