tree2scop.c: extract_kill: allow specification of statement domain
commitadfbc02e50f8077d489fd88514c1668dd61fccc3
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 11 Mar 2014 08:35:46 +0000 (11 09:35 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 25 Mar 2014 13:36:27 +0000 (25 14:36 +0100)
tree4e0ab346cbd0f608936f2cfe8b181266feeba339
parent786bb547a6502d7f14edd6f661b6f6f5c199d8a4
tree2scop.c: extract_kill: allow specification of statement domain

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 domain of a statement starts out as
an anonymous 0D universe set that is modified as we move up
the pet_tree, in the top-down process, the domain will be known
by the time this function is called.

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

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