| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.1.5 CloogUnionDomain
enum cloog_dim_type { CLOOG_PARAM, CLOOG_ITER, CLOOG_SCAT };
CloogUnionDomain *cloog_union_domain_alloc(int nb_par);
CloogUnionDomain *cloog_union_domain_add_domain(CloogUnionDomain *ud,
const char *name, CloogDomain *domain,
CloogScattering *scattering, void *usr);
CloogUnionDomain *cloog_union_domain_set_name(CloogUnionDomain *ud,
enum cloog_dim_type type, int index, const char *name);
void cloog_union_domain_free(CloogUnionDomain *ud);
A CloogUnionDomain structure represents a union
of scattered named domains. A CloogUnionDomain is
initialized by a call to cloog_union_domain_alloc,
after which domains can be added using cloog_union_domain_add_domain.
cloog_union_domain_alloc takes the number of parameters as input.
cloog_union_domain_add_domain takes a previously created
CloogUnionDomain as input along with an optional name,
a domain, an optional scattering function and a user pointer.
The name may be NULL and is duplicated if it is not.
If no name is specified, then the statements will be named according
to the order in which they were added.
domain and scattering are taken over
by the CloogUnionDomain. scattering may be NULL,
but it must be consistently NULL or not over all calls
to cloog_union_domain_add_domain.
cloog_union_domain_set_name can be used to set the names
of parameters, iterators and scattering dimensions.
The names of iterators and scattering dimensions can only be set
after all domains have been added.
There is also a backend dependent function for creating
CloogUnionDomains.
| 3.1.5.1 isl |
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on August 20, 2013 using texi2html 5.0.
