pet_scop_add_boolean_array: allow specification of domain constraints
commit786bb547a6502d7f14edd6f661b6f6f5c199d8a4
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 10 Mar 2014 21:31:55 +0000 (10 22:31 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:27 +0000 (25 14:36 +0100)
treec43c66b41f6745a746fa5fcbc41bd4c075301400
parente18e9a18c97c6ec7706084cd675de56999091352
pet_scop_add_boolean_array: allow specification of domain constraints

We want to change the extraction of a pet_scop from a pet_tree
from a bottom-up process to a top-down process.
Whereas, currently, the extent of virtual arrays
starts out as a universe 0D set that is modified as we move up the pet_tree,
in the top-down process, the domain constraints will be known
by the time this function is called and we will create an array
with an extent that matches the domain constraints from the start.

We allow the users to pass this domain to pet_scop_add_boolean_array.
In the top-down process, the constraints derived from the outer
constructs will be stored in the pet_context.
We therefore obtain the domain constraints from the pet_context.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
scop.c
scop.h
skip.c
tree2scop.c