pet_stmt: use pet_tree to represent statement body
commitf988c206ac5afee2508801ed25917a35c8101b2f
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 27 Jan 2014 14:29:05 +0000 (27 15:29 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 31 Mar 2014 12:08:03 +0000 (31 14:08 +0200)
tree2ba0d421ed27d2bc9268b983d390fef9be0a5d20
parentdefa03cd68d2c998d4d7eec48c0a8c554acae753
pet_stmt: use pet_tree to represent statement body

This will allow us to create pet_stmt objects that refer
to a larger part of the source code than a single expression statement.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
150 files changed:
emit.c
include/pet.h
nest.c
parse.c
pet_check_code.c
print.c
scop.c
scop_plus.cc
tests/QR.scop
tests/arg.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/cast.scop
tests/ceild.scop [copied from tests/mod2.scop with 53% similarity]
tests/conditional_assignment.scop
tests/conditional_assignment2.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/div_mod.scop
tests/dynamic_bound.scop
tests/dynamic_condition.scop
tests/empty_domain.scop
tests/enum.scop
tests/filter.scop
tests/filter2.scop
tests/filter3.scop
tests/float.scop
tests/float2.scop
tests/floord.scop [copied from tests/mod2.scop with 53% similarity]
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 [copied from tests/mod2.scop with 54% similarity]
tests/inc.scop [copied from tests/mod2.scop with 53% similarity]
tests/inc2.scop [copied from tests/mod2.scop with 57% similarity]
tests/inc3.scop
tests/inc4.scop
tests/inc5.scop
tests/inf.scop
tests/inf2.scop
tests/inf3.scop
tests/inf4.scop
tests/iterator_declaration.scop [copied from tests/mod2.scop with 53% similarity]
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 [copied from tests/mod2.scop with 53% similarity]
tests/min.scop
tests/min2.scop
tests/mod.scop [copied from tests/mod2.scop with 66% similarity]
tests/mod2.scop
tests/omega.scop [copied from tests/mod2.scop with 52% similarity]
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/struct2.scop
tests/struct3.scop
tests/struct4.scop
tests/struct5.scop
tests/struct6.scop
tests/struct7.scop
tests/struct8.scop
tests/struct9.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
tree.c
tree.h
tree2scop.c