summaryrefslogtreecommitdiff
path: root/gcc/graphite-isl-ast-to-gimple.c
diff options
context:
space:
mode:
authorromangareev <romangareev@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-08 13:51:26 +0000
committerromangareev <romangareev@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-08 13:51:26 +0000
commit9a667c4fd52e60e520022d7bec37fb9a936e0560 (patch)
tree2098d03b5ae6a370e6dc65c29ef351e14e7cd012 /gcc/graphite-isl-ast-to-gimple.c
parent0026dce2b9b0e7db6e8ac81ac56a8965ae8dacd8 (diff)
downloadgcc-9a667c4fd52e60e520022d7bec37fb9a936e0560.tar.gz
gcc/
* graphite-isl-ast-to-gimple.c (generate_isl_context): Add __isl_give to the declaration. (generate_isl_schedule): Likewise. (scop_to_isl_ast): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212361 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-isl-ast-to-gimple.c')
-rw-r--r--gcc/graphite-isl-ast-to-gimple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/graphite-isl-ast-to-gimple.c b/gcc/graphite-isl-ast-to-gimple.c
index 8ba7b759ad4..2bd8250fd78 100644
--- a/gcc/graphite-isl-ast-to-gimple.c
+++ b/gcc/graphite-isl-ast-to-gimple.c
@@ -67,7 +67,7 @@ print_isl_ast_node (FILE *file, __isl_keep isl_ast_node *node,
/* Generates a build, which specifies the constraints on the parameters. */
-static isl_ast_build *
+static __isl_give isl_ast_build *
generate_isl_context (scop_p scop)
{
isl_set *context_isl = isl_set_params (isl_set_copy (scop->context));
@@ -77,7 +77,7 @@ generate_isl_context (scop_p scop)
/* Generates a schedule, which specifies an order used to
visit elements in a domain. */
-static isl_union_map *
+static __isl_give isl_union_map *
generate_isl_schedule (scop_p scop)
{
int i;
@@ -102,7 +102,7 @@ generate_isl_schedule (scop_p scop)
return schedule_isl;
}
-static isl_ast_node *
+static __isl_give isl_ast_node *
scop_to_isl_ast (scop_p scop)
{
isl_union_map *schedule_isl = generate_isl_schedule (scop);