make pet_expr objects reference counted
commit3b704742b2dabf404594648a1072ec8366f46ca6
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 15 Dec 2013 17:09:36 +0000 (15 18:09 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Mar 2014 14:02:24 +0000 (24 15:02 +0100)
tree2835d1d886ae058f2c12fcb4b603dcc385b8ce4e
parent5d1a9d02a2096373391092791c85599381fa413c
make pet_expr objects reference counted

This will make it easier to keep track of nested accesses as pet_expr
objects.

In order to avoid outside users subverting the reference counting,
we hide the internal representation of pet_expr objects.
We also include a reference to the isl_ctx in whith the pet_expr
is created.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
15 files changed:
emit.c
expr.c
expr.h
include/pet.h
nest.c
parse.c
pet_check_code.c
print.c
scan.cc
scan.h
scop.c
scop.h
scop_plus.cc
value_bounds.c
value_bounds.h