From dff62090a4dba1991b7cb7d8af42e92ead0f84b4 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Thu, 21 Jul 2011 22:56:29 +0000 Subject: Start counting nesting level from 0 and use the standard "Polyhedral SCattering Transformed" psct_* interface. 2011-07-21 Sebastian Pop * 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 --- gcc/graphite-clast-to-gimple.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gcc/graphite-clast-to-gimple.h') 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 -- cgit v1.1