generalize compute_to_inner to support pet_scop_compute_outer_to_inner
commit8202f352c7c68fb6920fb0c51c0d93a4cad7bf55
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 16 Apr 2014 11:46:44 +0000 (16 13:46 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Jun 2014 14:29:15 +0000 (20 16:29 +0200)
tree7302d34aba213100906d27e9d22507a88f544cf3
parentf8f074ede787237040e6c89bb4d8fed8001363b3
generalize compute_to_inner to support pet_scop_compute_outer_to_inner

compute_to_inner constructs a mapping from any array (including members
of other arrays) to their innermost members.  Sometimes is can be useful
to map only the outermost arrays to their innermost members.
Generalize compute_to_inner to support both the current computation
from any array to innermost arrays as well as this computation
from outermosts arrays to innermost array.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/pet.h
scop.c