pet_scop: keep track of schedule tree
commitb64510ac923f78b7f662cfc7851588b70b1a6695
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 6 Dec 2013 11:33:36 +0000 (6 12:33 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 19 Feb 2015 11:10:05 +0000 (19 12:10 +0100)
treeaba47b9f15b59d1666140e6bf60f74d565ac4773
parenta84f24c3f819425b3d8eb946d37bc3e1487e1b67
pet_scop: keep track of schedule tree

This schedule tree is meant to replace the schedule pieces scattered
over the statements.  The latter will be removed in a subsequent commit.
The union of these pieces forms a flat schedule that can be recovered
from the schedule tree using isl_schedule_get_map.

We produce a schedule tree such that the original schedule extracted
by pet can be used in the same way as a schedule constructed
by isl_schedule_constraints_compute_schedule.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
173 files changed:
emit.c
include/pet.h
parse.c
scop.c
state.h
tests/QR.scop
tests/arg.scop
tests/array.scop
tests/assume.scop
tests/assume2.scop
tests/autodetect/decl.scop
tests/autodetect/if1.scop
tests/autodetect/if2.scop
tests/autodetect/if3.scop
tests/autodetect/loop1.scop
tests/autodetect/loop2.scop
tests/autodetect/loop3.scop
tests/autodetect/loop4.scop
tests/autodetect/loop5.scop
tests/autodetect/scalar.scop
tests/autodetect/while.scop
tests/boolean.scop
tests/break.scop
tests/break2.scop
tests/break3.scop
tests/break4.scop
tests/break5.scop
tests/break6.scop
tests/break7.scop
tests/call1.scop
tests/call2.scop
tests/call3.scop
tests/call4.scop
tests/call5.scop
tests/call6.scop
tests/call_struct.scop
tests/cast.scop
tests/ceild.scop
tests/conditional_assignment.scop
tests/conditional_assignment2.scop
tests/conditional_assignment3.scop
tests/continue.scop
tests/continue2.scop
tests/continue3.scop
tests/continue4.scop
tests/continue5.scop
tests/cuervo.scop
tests/data_dependent.scop
tests/data_dependent2.scop
tests/dec.scop
tests/dec2.scop
tests/dec3.scop
tests/dec4.scop
tests/decl.scop
tests/decl2.scop
tests/decl3.scop
tests/decl4.scop
tests/decl5.scop
tests/div_mod.scop
tests/dynamic_bound.scop
tests/dynamic_condition.scop
tests/empty_domain.scop
tests/encapsulate/continue6.scop
tests/encapsulate/dynamic_condition.scop
tests/encapsulate/for_while.scop
tests/encapsulate/independent5.scop
tests/encapsulate/inf_break.scop
tests/encapsulate/loop7.scop
tests/encapsulate/while.scop
tests/encapsulate/while_affine.scop
tests/enum.scop
tests/filter.scop
tests/filter2.scop
tests/filter3.scop
tests/float.scop
tests/float2.scop
tests/floord.scop
tests/floord2.scop
tests/for_while.scop
tests/for_while_dec.scop
tests/for_while_inc.scop
tests/for_while_inc2.scop
tests/for_while_inc3.scop
tests/for_while_inc4.scop
tests/for_while_init.scop
tests/for_while_init2.scop
tests/for_while_init3.scop
tests/for_while_overflow.scop
tests/for_while_unsigned.scop
tests/for_while_unsigned2.scop
tests/forward_substitution1.scop
tests/forward_substitution2.scop
tests/forward_substitution3.scop
tests/forward_substitution4.scop
tests/forward_substitution5.scop
tests/generic_condition.scop
tests/generic_condition2.scop
tests/if1.scop
tests/if2.scop
tests/implicit_condition.scop
tests/inc.scop
tests/inc2.scop
tests/inc3.scop
tests/inc4.scop
tests/inc5.scop
tests/independent1.scop
tests/independent2.scop
tests/independent3.scop
tests/independent4.scop
tests/inf.scop
tests/inf2.scop
tests/inf3.scop
tests/inf4.scop
tests/iterator_declaration.scop
tests/kill.scop
tests/label.scop
tests/loop.scop
tests/loop2.scop
tests/loop3.scop
tests/loop4.scop
tests/loop5.scop
tests/loop6.scop
tests/loop7.scop
tests/loop8.scop
tests/loop_body.scop
tests/loop_body2.scop
tests/macro.scop
tests/matmul.scop
tests/max.scop
tests/min.scop
tests/min2.scop
tests/mod.scop
tests/mod2.scop
tests/omega.scop
tests/piecewise.scop
tests/piecewise2.scop
tests/propagate.scop
tests/quasi_affine.scop
tests/scalar.scop
tests/scalar_inc.scop
tests/shortcut1.scop
tests/shortcut2.scop
tests/static.scop
tests/struct1.scop
tests/struct10.scop
tests/struct11.scop
tests/struct12.scop
tests/struct2.scop
tests/struct3.scop
tests/struct4.scop
tests/struct5.scop
tests/struct6.scop
tests/struct7.scop
tests/struct8.scop
tests/struct9.scop
tests/summary.scop
tests/summary2.scop
tests/ternary.scop
tests/tobi1.scop
tests/tobi2.scop
tests/unsigned1.scop
tests/unsigned2.scop
tests/unsigned3.scop
tests/unsigned_break1.scop
tests/unsigned_break2.scop
tests/wdp.scop
tests/while.scop
tests/while_affine.scop
tests/while_break.scop
tests/while_break2.scop
tests/while_inc.scop
tests/while_overflow.scop
tree2scop.c