isl_ast_codegen.c: generate_domain: extract out add_domain
commit0ab343912b1d307a4eac7ead91ff3dbec7dc21a1
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 2 Aug 2015 10:25:48 +0000 (2 12:25 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 22 Dec 2015 15:40:26 +0000 (22 16:40 +0100)
treed6b1981e055c8bce34c7c48e8dea3e8ffe8dff56
parent010170fa4ff05f6b40477412390f750aad819368
isl_ast_codegen.c: generate_domain: extract out add_domain

In an upcoming commit, the gisting of the inverse schedule with respect
with the build domain will be cut short if the inverse schedule is
obviously single valued.  The operations that need to be performed
before or after the gisting are the same, so extract them into
a separate function first.

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