provide a simplified and documented API
commit85375d1a5cfdc86092481bab26f13a0b9660034c
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 1 Aug 2010 13:21:04 +0000 (1 15:21 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 4 Aug 2010 09:47:02 +0000 (4 11:47 +0200)
tree7e3fcf710506906a3050dfc9cd3ab7cf1a9f8cb8
parent57141f0f7cdb96b4cfbf24be4f95148ded82660c
provide a simplified and documented API

The old API was not fully documented, overly complicated and exposed
too many internals.  The only documented case was that of reading
from a CLooG file.  Constructing a CloogProgram by hand was difficult
and error-prone.

The new interface requires only a CloogDomain context and
a CloogUnionDomain representing the domains and their scattering functions.
The CloogUnionDomain itself can be constructed using several calls
to cloog_union_domain_add_domain.

The documentation for the internal data structures have been removed
since we don't want to encourage users to poke around in those
data structures.  They may well get completely reorganized in the future.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/cloog.texi
examples/example/example.c
include/cloog/clast.h
include/cloog/input.h
source/clast.c
source/input.c