| /src/external/mit/isl/dist/ |
| isl_multi_apply_no_explicit_domain_templ.c | 10 /* Transform the explicit domain of "multi" by applying "fn_domain" or 15 * Do this for a type MULTI(BASE) that cannot have an explicit domain. 19 static __isl_give MULTI(BASE) *FN(FN(MULTI(BASE),apply_domain),APPLY_DOMBASE)( 20 __isl_take MULTI(BASE) *multi, __isl_take isl_set *domain, 26 return multi;
|
| isl_multi_locals_templ.c | 12 /* Does "multi" involve any local variables? 14 isl_bool FN(MULTI(BASE),involves_locals)(__isl_keep MULTI(BASE) *multi) 16 return FN(MULTI(BASE),any)(multi, FN(EL,involves_locals));
|
| isl_multi_min_max_templ.c | 12 __isl_give MULTI(BASE) *FN(MULTI(BASE),min)(__isl_take MULTI(BASE) *multi1, 13 __isl_take MULTI(BASE) *multi2) 15 return FN(MULTI(BASE),bin_op)(multi1, multi2, &FN(EL,min)); 20 __isl_give MULTI(BASE) *FN(MULTI(BASE),max)(__isl_take MULTI(BASE) *multi1, 21 __isl_take MULTI(BASE) *multi2) 23 return FN(MULTI(BASE),bin_op)(multi1, multi2, &FN(EL,max)) [all...] |
| isl_multi_nan_templ.c | 12 /* Does "multi" involve any NaNs? 14 isl_bool FN(MULTI(BASE),involves_nan)(__isl_keep MULTI(BASE) *multi) 16 return FN(MULTI(BASE),any)(multi, &FN(EL,involves_nan));
|
| isl_multi_no_explicit_domain.c | 10 * when the multi expression cannot have an explicit domain. 17 /* Does "multi" have an explicit domain? 21 static int FN(MULTI(BASE),has_explicit_domain)(__isl_keep MULTI(BASE) *multi) 26 /* Initialize the explicit domain of "multi". 27 * "multi" cannot have an explicit domain, so this function is never called. 29 static __isl_give MULTI(BASE) *FN(MULTI(BASE),init_explicit_domain)( 30 __isl_take MULTI(BASE) *multi [all...] |
| isl_multi_zero_space_templ.c | 17 __isl_give MULTI(BASE) *FN(isl_space_zero_multi,BASE)( 20 return FN(MULTI(BASE),zero)(space);
|
| isl_multi_add_constant_templ.c | 12 /* Add "v" to the constant terms of all the base expressions of "multi". 14 __isl_give MULTI(BASE) *FN(MULTI(BASE),add_constant_val)( 15 __isl_take MULTI(BASE) *multi, __isl_take isl_val *v) 24 return multi; 27 return FN(MULTI(BASE),fn_val)(multi, &FN(EL,add_constant_val), v); 29 FN(MULTI(BASE),free)(multi); [all...] |
| isl_multi_dim_id_templ.c | 16 * in "multi". 19 int FN(MULTI(BASE),find_dim_by_name)(__isl_keep MULTI(BASE) *multi, 22 if (!multi) 24 return isl_space_find_dim_by_name(multi->space, type, name); 30 int FN(MULTI(BASE),find_dim_by_id)(__isl_keep MULTI(BASE) *multi, 33 if (!multi) [all...] |
| isl_multi_domain_reverse_templ.c | 14 /* Given a multi expression on a domain (A -> B), 16 * to obtain a multi expression on the domain (B -> A). 18 __isl_give MULTI(BASE) *FN(MULTI(BASE),domain_reverse)( 19 __isl_take MULTI(BASE) *multi) 21 S(MULTI(BASE),un_op_control) control = { 25 return FN(MULTI(BASE),un_op)(multi, &control);
|
| isl_multi_floor.c | 14 __isl_give MULTI(BASE) *FN(MULTI(BASE),floor)(__isl_take MULTI(BASE) *multi) 16 S(MULTI(BASE),un_op_control) control = { .fn_el = &FN(EL,floor) }; 17 return FN(MULTI(BASE),un_op)(multi, &control);
|
| isl_multi_from_base_templ.c | 23 __isl_give MULTI(BASE) *FN(FN(MULTI(BASE),from),BASE)(__isl_take EL *el) 26 MULTI(BASE) *multi; 33 multi = FN(MULTI(BASE),alloc)(space); 34 multi = FN(FN(MULTI(BASE),set),BASE)(multi, 0, el); 36 return multi; [all...] |
| isl_multi_tuple_id_templ.c | 15 const char *FN(MULTI(BASE),get_tuple_name)(__isl_keep MULTI(BASE) *multi, 18 return multi ? isl_space_get_tuple_name(multi->space, type) : NULL; 23 isl_bool FN(MULTI(BASE),has_tuple_id)(__isl_keep MULTI(BASE) *multi, 26 if (!multi) 28 return isl_space_has_tuple_id(multi->space, type) [all...] |
| isl_multi_apply_explicit_domain_templ.c | 9 /* Transform the explicit domain of "multi" by applying "fn_domain" or 14 * The parameters of "multi" and "domain" are assumed to have been aligned. 16 static __isl_give MULTI(BASE) *FN(FN(MULTI(BASE),apply_domain),APPLY_DOMBASE)( 17 __isl_take MULTI(BASE) *multi, __isl_take APPLY_DOM *domain, 24 multi_dom = FN(MULTI(BASE),get_explicit_domain)(multi); 34 multi = FN(MULTI(BASE),set_explicit_domain)(multi, multi_dom) [all...] |
| isl_multi_apply_templ.c | 13 /* Transform the elements of "multi" by applying "fn" to them 15 * If "multi" has an explicit domain, then apply "fn_domain" or 20 static __isl_give MULTI(BASE) *FN(FN(MULTI(BASE),apply),APPLY_DOMBASE)( 21 __isl_take MULTI(BASE) *multi, __isl_take APPLY_DOM *set, 29 FN(FN(MULTI(BASE),align_params),APPLY_DOMBASE)(&multi, &set); 31 if (FN(MULTI(BASE),has_explicit_domain)(multi)) [all...] |
| isl_multi_arith_templ.c | 18 __isl_give MULTI(BASE) *FN(MULTI(BASE),add)(__isl_take MULTI(BASE) *multi1, 19 __isl_take MULTI(BASE) *multi2) 21 return FN(MULTI(BASE),bin_op)(multi1, multi2, &FN(EL,add)); 26 __isl_give MULTI(BASE) *FN(MULTI(BASE),sub)(__isl_take MULTI(BASE) *multi1, 27 __isl_take MULTI(BASE) *multi2) 29 return FN(MULTI(BASE),bin_op)(multi1, multi2, &FN(EL,sub)) [all...] |
| isl_multi_check_domain_templ.c | 11 /* Does the space of "domain" correspond to that of the domain of "multi"? 14 static isl_bool FN(MULTI(BASE),compatible_domain)( 15 __isl_keep MULTI(BASE) *multi, __isl_keep DOM *domain) 21 space = FN(MULTI(BASE),get_space)(multi); 30 * that of the domain of "multi", ignoring parameters. 32 static isl_stat FN(MULTI(BASE),check_compatible_domain)( 33 __isl_keep MULTI(BASE) *multi, __isl_keep DOM *domain [all...] |
| isl_multi_cmp.c | 11 /* Compare two multi expressions. 16 int FN(MULTI(BASE),plain_cmp)(__isl_keep MULTI(BASE) *multi1, 17 __isl_keep MULTI(BASE) *multi2)
|
| isl_multi_coalesce.c | 12 /* Coalesce the elements of "multi". 14 * Note that such coalescing does not change the meaning of "multi" 16 * destroy any other copies of "multi" in case of failure. 18 __isl_give MULTI(BASE) *FN(MULTI(BASE),coalesce)(__isl_take MULTI(BASE) *multi) 22 if (!multi) 25 for (i = 0; i < multi->n; ++i) { 26 EL *el = FN(EL,copy)(multi->u.p[i]) [all...] |
| isl_multi_domain_templ.c | 14 /* Return the shared domain of the elements of "multi". 16 * If "multi" has an explicit domain, then return this domain. 18 __isl_give isl_set *FN(MULTI(BASE),domain)(__isl_take MULTI(BASE) *multi) 23 if (!multi) 26 if (FN(MULTI(BASE),has_explicit_domain)(multi)) { 27 dom = FN(MULTI(BASE),get_explicit_domain)(multi); [all...] |
| isl_multi_gist.c | 18 static __isl_give DOM *FN(MULTI(BASE),domain_gist_params)(DOM *dom1, 29 /* Compute the gist of "multi" with respect to the domain constraints 32 __isl_give MULTI(BASE) *FN(MULTI(BASE),gist)(__isl_take MULTI(BASE) *multi, 35 if (FN(MULTI(BASE),check_compatible_domain)(multi, context) < 0) 37 return FN(FN(MULTI(BASE),apply),DOMBASE)(multi, context, &FN(EL,gist) [all...] |
| isl_multi_hash.c | 12 /* Return a hash value that digests "multi". 14 uint32_t FN(MULTI(BASE),get_hash)(__isl_keep MULTI(BASE) *multi) 19 if (!multi) 23 for (i = 0; i < multi->n; ++i) { 25 el_hash = FN(EL,get_hash)(multi->u.p[i]);
|
| isl_multi_intersect.c | 20 static __isl_give DOM *FN(MULTI(BASE),params_domain_intersect)(DOM *dom1, 31 /* Intersect the domain of "multi" with "domain". 33 * If "multi" has an explicit domain, then only this domain 36 __isl_give MULTI(BASE) *FN(MULTI(BASE),intersect_domain)( 37 __isl_take MULTI(BASE) *multi, __isl_take DOM *domain) 39 if (FN(MULTI(BASE),check_compatible_domain)(multi, domain) < 0) 41 return FN(FN(MULTI(BASE),apply),DOMBASE)(multi, domain [all...] |
| isl_multi_macro.h | 6 #define MULTI(BASE) xMULTI(BASE)
|
| isl_multi_splice_templ.c | 15 /* Given two multi expressions, "multi1" 24 * return the multi expression 38 __isl_give MULTI(BASE) *FN(MULTI(BASE),splice)( 39 __isl_take MULTI(BASE) *multi1, unsigned in_pos, unsigned out_pos, 40 __isl_take MULTI(BASE) *multi2) 45 n_in1 = FN(MULTI(BASE),dim)(multi1, isl_dim_in); 46 n_in2 = FN(MULTI(BASE),dim)(multi2, isl_dim_in); 50 if (FN(MULTI(BASE),check_range)(multi1, isl_dim_in, in_pos, 0) < 0) 53 multi1 = FN(MULTI(BASE),insert_dims)(multi1, isl_dim_in, in_pos, n_in2) [all...] |
| isl_multi_union_add_templ.c | 27 __isl_give MULTI(BASE) *FN(MULTI(BASE),union_add)( 28 __isl_take MULTI(BASE) *multi1, __isl_take MULTI(BASE) *multi2) 35 return FN(MULTI(BASE),bin_op)(multi1, multi2, 37 FN(MULTI(BASE),align_params_bin)(&multi1, &multi2); 38 if (FN(MULTI(BASE),check_equal_space)(multi1, multi2) < 0) 40 if (FN(MULTI(BASE),check_has_explicit_domain)(multi1) < 0 || 41 FN(MULTI(BASE),check_has_explicit_domain)(multi2) < 0) 44 has_domain = FN(MULTI(BASE),has_non_trivial_domain)(multi1) [all...] |