isl_ast_codegen.c: do_unroll: extract out foreach_iteration
commitedd0bdf642328843e2b2121a4d052ee9c0564bbe
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 2 Aug 2014 15:23:25 +0000 (2 17:23 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 25 Feb 2015 09:52:42 +0000 (25 10:52 +0100)
tree28ece73da807513193db690838704dad47921438
parent611791422fdefa8fa05592b92dfaec6dbf333c9c
isl_ast_codegen.c: do_unroll: extract out foreach_iteration

We will be able to reuse this function when we handle unrolling
in schedules represented by schedule trees.

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