extract generic isl_*_list_foreach_scc from isl_ast_codegen.c
commit296aafbbff2f2e0c06dff9d58ca5ce22d22999b3
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 1 Apr 2013 09:47:03 +0000 (1 11:47 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 22 Apr 2013 07:38:20 +0000 (22 09:38 +0200)
treeddaebb27353daabc05521d50abfa7ddce568f7ae
parent3733ac41c3a7ce80c561645cdd03c1535accc397
extract generic isl_*_list_foreach_scc from isl_ast_codegen.c

isl_ast_codegen.c contained two implementations of this function
that have now been replaced by two calls to the extracted functions.
This makes isl_ast_codegen.c less dependent on the internals of
isl_basic_set_list.  We should also be able to later reuse the
extracted function in other contexts.  Once all users of isl_tarjan
have been converted to this interface, we probably want to remove
the old interface and perform the calls to callback as soon as
each SCC is found rather than waiting until all of them have been found.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/list.h
isl_ast_codegen.c
isl_list_templ.c