Add, document and test isl_union_map_get_map_list
commitb324c0c32e39997b3e044d2aa69de00a2f4fc5da
authorTobias Grosser <tobias@grosser.es>
Mon, 28 May 2018 09:08:31 +0000 (28 11:08 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Tue, 29 May 2018 21:27:28 +0000 (29 23:27 +0200)
tree69ea520e735686f9bda49c1cbf7930b2f36c6217
parent26374bbf83218c813954f7300f0057723d3b509c
Add, document and test isl_union_map_get_map_list

As with the previous commit, the same motivation applies:

It is sometimes more convenient to manipulate a list of maps rather than
to iterate over them individually.

Sorting elements (e.g., dependences relations, memory accesses relations)
according to some priority function is one use case where lists are more
convenient to use than the foreach callback.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
doc/user.pod
include/isl/union_map.h
isl_test.c
isl_union_map.c