buildtools/gcc/isl/isl_list_templ.h
Fredrik Holmqvist 0b514caa50 Move isl inside gcc dir
Moving it inside gcc dir allows gcc to detect and build isl while
building gcc. It has dependencies on other libraries that would
need to be prebuilt if we build it ourselves.

This is one of a few steps in building gcc with isl and allowing graphite
optimization flags.
2018-07-04 20:20:55 +02:00

17 lines
291 B
C

#define xFN(TYPE,NAME) TYPE ## _ ## NAME
#define FN(TYPE,NAME) xFN(TYPE,NAME)
#define xLIST(EL) EL ## _list
#define LIST(EL) xLIST(EL)
struct LIST(EL) {
int ref;
isl_ctx *ctx;
int n;
size_t size;
struct EL *p[1];
};
__isl_give LIST(EL) *FN(LIST(EL),dup)(__isl_keep LIST(EL) *list);