HomeSort by: relevance | last modified time | path
    Searched refs:PW (Results 1 - 25 of 100) sorted by relevancy

1 2 3 4

  /src/external/mit/isl/dist/
isl_pw_sub_templ.c 13 __isl_give PW *FN(PW,sub)(__isl_take PW *pw1, __isl_take PW *pw2)
15 return FN(PW,add)(pw1, FN(PW,neg)(pw2));
isl_pw_range_tuple_id_templ.c 11 /* Does the (range) tuple of "pw" have an identifier?
13 * Technically, the implementation should use isl_dim_set if "pw"
18 isl_bool FN(PW,has_range_tuple_id)(__isl_keep PW *pw)
20 return FN(PW,has_tuple_id)(pw, isl_dim_out);
23 /* Return the identifier of the (range) tuple of "pw", assuming it has one.
25 * Technically, the implementation should use isl_dim_set if "pw"
30 __isl_give isl_id *FN(PW,get_range_tuple_id)(__isl_keep PW *pw
    [all...]
isl_pw_domain_reverse_templ.c 17 __isl_give PW *FN(PW,domain_reverse)(__isl_take PW *pw)
19 S(PW,un_op_control) control = {
24 return FN(PW,un_op)(pw, &control);
isl_pw_neg_templ.c 13 __isl_give PW *FN(PW,neg)(__isl_take PW *pw)
15 S(PW,un_op_control) control = { .fn_base = &FN(EL,neg) };
16 return FN(PW,un_op)(pw, &control);
isl_pw_add_disjoint_templ.c 14 /* Make sure "pw" has room for at least "n" more pieces.
16 * If there is only one reference to pw, we extend it in place.
17 * Otherwise, we create a new PW and copy the pieces.
19 static __isl_give PW *FN(PW,grow)(__isl_take PW *pw, int n)
23 PW *res;
25 if (!pw)
27 if (pw->n + n <= pw->size
    [all...]
isl_pw_bind_domain_templ.c 13 #define TYPE PW
isl_pw_from_range_templ.c 13 #define TYPE PW
isl_pw_insert_domain_templ.c 13 #define TYPE PW
isl_pw_templ.h 5 __isl_keep isl_space *FN(PW,peek_space)(__isl_keep PW *pw);
isl_pw_fix_templ.c 3 /* Fix the value of the given parameter or domain dimension of "pw"
6 __isl_give PW *FN(PW,fix_si)(__isl_take PW *pw, enum isl_dim_type type,
12 n = FN(PW,n_piece)(pw);
14 return FN(PW,free)(pw);
17 isl_die(FN(PW,get_ctx)(pw), isl_error_invalid
    [all...]
isl_pw_pullback_templ.c 15 #define ARG1 PW
25 #define ARG1 PW
32 /* Compute the pullback of "pw" by the function represented by "ma".
33 * In other words, plug in "ma" in "pw".
35 __isl_give PW *FN(PW,pullback_multi_aff)(__isl_take PW *pw,
42 FN(PW,align_params_multi_aff)(&pw, &ma)
    [all...]
isl_pw_un_op_templ.c 24 S(PW,un_op_control) {
30 /* Modify "pw" based on "control".
35 static __isl_give PW *FN(PW,un_op)(__isl_take PW *pw,
36 S(PW,un_op_control) *control)
42 n = FN(PW,n_piece)(pw);
44 return FN(PW,free)(pw)
    [all...]
isl_pw_insert_dims_templ.c 11 __isl_give PW *FN(PW,insert_dims)(__isl_take PW *pw, enum isl_dim_type type,
19 n_piece = FN(PW,n_piece)(pw);
21 return FN(PW,free)(pw);
22 if (n == 0 && !isl_space_is_named_or_nested(pw->dim, type))
23 return pw;
    [all...]
isl_pw_scale_templ.c 13 __isl_give PW *FN(PW,scale)(__isl_take PW *pw, isl_int v)
19 return pw;
20 if (pw && DEFAULT_IS_ZERO && isl_int_is_zero(v)) {
21 PW *zero;
22 isl_space *space = FN(PW,get_space)(pw);
23 zero = FN(PW,ZERO)(space OPT_TYPE_ARG(pw->))
    [all...]
isl_pw_templ.c 23 __isl_give PW *FN(PW,alloc_size)(__isl_take isl_space *space
27 struct PW *pw; local
33 pw = isl_alloc(ctx, struct PW,
34 sizeof(struct PW) + (n - 1) * sizeof(S(PW,piece)));
35 if (!pw)
38 pw->ref = 1
152 PW *pw; local
    [all...]
isl_pw_locals_templ.c 15 static isl_bool FN(PW,piece_no_local)(__isl_keep isl_set *set,
27 /* Does "pw" involve any local variables, i.e., integer divisions?
29 isl_bool FN(PW,involves_locals)(__isl_keep PW *pw)
33 no_locals = FN(PW,every_piece)(pw, &FN(PW,piece_no_local), NULL);
isl_pw_morph_templ.c 11 __isl_give PW *FN(PW,morph_domain)(__isl_take PW *pw,
19 n = FN(PW,n_piece)(pw);
23 ctx = isl_space_get_ctx(pw->dim);
24 isl_assert(ctx, isl_space_is_domain_internal(morph->dom->dim, pw->dim),
27 space = FN(PW,take_space)(pw);
    [all...]
isl_pw_move_dims_templ.c 11 __isl_give PW *FN(PW,move_dims)(__isl_take PW *pw,
19 space = FN(PW,take_space)(pw);
22 pw = FN(PW,restore_space)(pw, space);
24 n_piece = FN(PW,n_piece)(pw)
    [all...]
isl_pw_opt_templ.c 16 __isl_give isl_val *FN(PW,opt)(__isl_take PW *pw, int max)
21 if (!pw)
24 if (pw->n == 0) {
25 opt = isl_val_zero(FN(PW,get_ctx)(pw));
26 FN(PW,free)(pw);
30 opt = FN(EL,opt_on_domain)(FN(EL,copy)(pw->p[0].FIELD)
    [all...]
isl_pw_split_dims_templ.c 13 __isl_give PW *FN(PW,split_dims)(__isl_take PW *pw,
19 n_piece = FN(PW,n_piece)(pw);
21 return FN(PW,free)(pw);
23 return pw;
31 domain = FN(PW,take_domain_at)(pw, i)
    [all...]
isl_pw_union_opt.c 20 static __isl_give isl_set *FN(PW,better)(__isl_keep EL *el1, __isl_keep EL *el2,
26 /* Return a list containing the domains of the pieces of "pw".
28 static __isl_give isl_set_list *FN(PW,extract_domains)(__isl_keep PW *pw)
34 if (!pw)
36 ctx = FN(PW,get_ctx)(pw);
37 list = isl_set_list_alloc(ctx, pw->n);
38 for (i = 0; i < pw->n; ++i
80 PW *pw; local
    [all...]
isl_pw_eval.c 22 #define ARG1 PW
29 /* Evaluate "pw" in the void point "pnt".
32 static __isl_give isl_val *FN(PW,eval_void)(__isl_take PW *pw,
38 FN(PW,free)(pw);
43 /* Evaluate the piecewise function "pw" in "pnt".
45 * If the point lies outside the domain of "pw", then return 0 or NaN
49 * for all parameters in "pw"
    [all...]
isl_pw_add_constant_templ.c 15 /* Add "v" to the constant term of "pw" over its entire definition domain.
17 __isl_give PW *FN(FN(PW,add_constant),VAL_BASE)(__isl_take PW *pw,
25 n = FN(PW,n_piece)(pw);
30 return pw;
36 el = FN(PW,take_base_at)(pw, i)
    [all...]
isl_union_locals_templ.c 10 /* isl_union_*_every_* callback that checks whether "pw"
13 static isl_bool FN(UNION,no_locals_el)(__isl_keep PW *pw, void *user)
15 return isl_bool_not(FN(PW,involves_locals)(pw));
isl_pw_print_templ.c 11 #undef PW
12 #define PW CAT(isl_pw_,BASE)
18 __isl_take isl_printer *p, __isl_keep PW *pw)
22 if (!pw)
25 for (i = 0; i < pw->n; ++i) {
31 el = FN(PW,peek_base_at)(pw, i);
34 p = print_disjuncts(set_to_map(pw->p[i].set), space, p, 0);
43 __isl_take isl_printer *p, __isl_keep PW *pw
    [all...]

Completed in 19 milliseconds

1 2 3 4