isl_stream_read_map: use affine expressions during parsing
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 25 Jul 2011 07:36:00 +0000 (09:36 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 28 Jul 2011 14:47:05 +0000 (16:47 +0200)
commit62808ce5b431e66bf5c820499001eb8ef9200be1
tree04f0af74a1e652ad355d1f6a6da6b1e7fddd82ef
parent1471f7149377028a6767a78f8ac90ce12f560f6e
isl_stream_read_map: use affine expressions during parsing

The old code would use vectors and matrices, keeping track of
how the columns related to each other.  Now that isl has support
for affine expressions, the code can be simplified a lot by using
those instead.

We may lose some performance while parsing min/max expressions,
but if that ever becomes a problem, we can fix that inside
the library itself so that all users can benefit.

The switch to affine expressions necessitates the use of isl_maps
where we used to use isl_basic_maps and similarly for isl_qpolynomial
and isl_pw_qpolynomial.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_input.c