Combine cloog_scattering_lazy_isscalar and cloog_scattering_scalar
commit23e71dd51f59b29bd86fe1134ff367bcf1def196
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 24 Sep 2008 21:07:09 +0000 (24 23:07 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 28 Sep 2008 18:44:01 +0000 (28 20:44 +0200)
tree618f89e3af6b3c24dc3b2d7d32218f52032c9afb
parent0629acd4d69dde32b57c386a24f63c30549d64ad
Combine cloog_scattering_lazy_isscalar and cloog_scattering_scalar

These two function performed pretty much the same operation,
one checking whether a dimension has a constant value, and the
other obtaining that value (if there is any such value).
The new function performs both operation, copying the value
if the passed pointer is not NULL.
include/cloog/domain.h
source/polylib/domain.c
source/program.c