add support for unrolling
commit7f6868b2f20382cad4e6a11891f9be5eefe7e7f1
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 12 May 2011 14:22:49 +0000 (12 16:22 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 18 May 2011 08:56:47 +0000 (18 10:56 +0200)
tree8848119e3bba21445b55764aa6b9b4167eb2ccc3
parent95c304f8f99670a1c34719f1e74680ecc5748b31
add support for unrolling

The user can specify which loop level to unroll.  The loops
at the specified level, along with all inner loops will be unrolled,
provided they have a single lower bound and a number of iterations
that is bounded by a constant.

Other backends will have to implement their own
cloog_domain_can_unroll and cloog_domain_fixed_offset.
If cloog_domain_can_unroll always returns 0, then
cloog_domain_fixed_offset will never be called.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/cloog.texi
include/cloog/domain.h
include/cloog/options.h
source/isl/domain.c
source/loop.c
source/options.c