extract out (nearly) shared pet_expr_access_from_id
commit9d0da09f045bb9163224074dd2222bdca2f3bf03
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 9 Mar 2017 09:06:08 +0000 (9 10:06 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 9 Mar 2017 09:30:42 +0000 (9 10:30 +0100)
tree325b71baf19775368b8adb6e98b6f012545392d8
parent93a8fa243b6e6c1aa2c692450352d430aa0906e8
extract out (nearly) shared pet_expr_access_from_id

Both PetScan and pet_inliner need to create an access expression
from an isl_id.  Although the implementations are not identical,
they are very similar.  Replace the two implementations by a single
shared implementation.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
expr_plus.cc
expr_plus.h
inliner.cc
scan.cc