Polly 19.0.0git
isl_project_out_all_params_templ.c
Go to the documentation of this file.
1/*
2 * Use of this software is governed by the MIT license
3 *
4 * Written by Sven Verdoolaege
5 */
6
7#define xFN(TYPE,NAME) TYPE ## _ ## NAME
8#define FN(TYPE,NAME) xFN(TYPE,NAME)
9
10/* Project out all parameters from "obj" by existentially quantifying
11 * over them.
12 */
13__isl_give TYPE *FN(TYPE,project_out_all_params)(__isl_take TYPE *obj)
14{
15 isl_size n;
16
17 n = FN(TYPE,dim)(obj, isl_dim_param);
18 if (n < 0)
19 return FN(TYPE,free)(obj);
20 return FN(TYPE,project_out)(obj, isl_dim_param, 0, n);
21}
#define TYPE
#define __isl_take
Definition: ctx.h:22
#define __isl_give
Definition: ctx.h:19
int isl_size
Definition: ctx.h:96
#define FN(TYPE, NAME)
const char * obj
Definition: isl_test.c:3316
static isl_stat project_out(__isl_take isl_map *map, void *user)
@ isl_dim_param
Definition: space_type.h:15
n
Definition: youcefn.c:8