Home
last modified time | relevance | path

Searched refs:PW (Results 1 – 25 of 112) sorted by relevance

12345

/netbsd-src/external/mit/isl/dist/
H A Disl_pw_templ.c23 __isl_give PW *FN(PW,alloc_size)(__isl_take isl_space *space in FN() argument
27 struct PW *pw; in FN()
33 pw = isl_alloc(ctx, struct PW, in FN()
34 sizeof(struct PW) + (n - 1) * sizeof(S(PW,piece))); in FN()
49 __isl_give PW *FN(PW,ZERO)(__isl_take isl_space *space OPT_TYPE_PARAM) in FN() argument
51 return FN(PW,alloc_size)(space OPT_TYPE_ARG(NO_LOC), 0); in FN()
60 static __isl_give PW *FN(PW,add_dup_piece)(__isl_take PW *pw, in FN() argument
85 FN(PW,free)(pw); in FN() local
96 __isl_give PW *FN(PW,add_piece)(__isl_take PW *pw, in FN() argument
105 return FN(PW,add_dup_piece)(pw, set, el); in FN()
[all …]
H A Disl_pw_union_opt.c20 static __isl_give isl_set *FN(PW,better)(__isl_keep EL *el1, __isl_keep EL *el2, in FN() argument
28 static __isl_give isl_set_list *FN(PW,extract_domains)(__isl_keep PW *pw) in FN() argument
36 ctx = FN(PW,get_ctx)(pw); in FN()
48 static __isl_give isl_set *FN(PW,better_or_out)(__isl_take isl_set *set, in FN() argument
63 static __isl_give isl_set *FN(PW,worse_or_out)(__isl_take isl_set *set, in FN() argument
79 S(PW,union_opt_cmp_data) { in S() argument
80 PW *pw; in S()
86 static void FN(PW,union_opt_cmp_data_clear)(S(PW,union_opt_cmp_data) *data) in FN() argument
89 FN(PW,free)(data->pw); in FN()
121 static isl_stat FN(PW,union_opt_cmp_split)(S(PW,union_opt_cmp_data) *data_i, in FN() argument
[all …]
H A Disl_pw_pullback_templ.c15 #define ARG1 PW
25 #define ARG1 PW
35 __isl_give PW *FN(PW,pullback_multi_aff)(__isl_take PW *pw, in FN() argument
42 FN(PW,align_params_multi_aff)(&pw, &ma); in FN()
44 n = FN(PW,n_piece)(pw); in FN()
49 FN(PW,get_space)(pw)); in FN()
55 domain = FN(PW,take_domain_at)(pw, i); in FN()
58 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
59 el = FN(PW,take_base_at)(pw, i); in FN()
61 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
[all …]
H A Disl_pw_add_disjoint_templ.c19 static __isl_give PW *FN(PW,grow)(__isl_take PW *pw, int n) in FN() argument
23 PW *res; in FN()
29 ctx = FN(PW,get_ctx)(pw); in FN()
32 res = isl_realloc(ctx, pw, struct PW, in FN()
33 sizeof(struct PW) + (n - 1) * sizeof(S(PW,piece))); in FN()
35 return FN(PW,free)(pw); in FN()
39 res = FN(PW,alloc_size)(isl_space_copy(pw->dim) OPT_TYPE_ARG(pw->), n); in FN()
41 return FN(PW,free)(pw); in FN()
43 res = FN(PW,add_piece)(res, isl_set_copy(pw->p[i].set), in FN()
45 FN(PW,free)(pw); in FN() local
[all …]
H A Disl_pw_fix_templ.c6 __isl_give PW *FN(PW,fix_si)(__isl_take PW *pw, enum isl_dim_type type, in FN() argument
12 n = FN(PW,n_piece)(pw); in FN()
14 return FN(PW,free)(pw); in FN()
17 isl_die(FN(PW,get_ctx)(pw), isl_error_invalid, in FN()
18 "cannot fix output dimension", return FN(PW,free)(pw)); in FN()
26 domain = FN(PW,take_domain_at)(pw, i); in FN()
28 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
29 pw = FN(PW,exploit_equalities_and_remove_if_empty)(pw, i); in FN()
38 __isl_give PW *FN(PW,fix_val)(__isl_take PW *pw, in FN() argument
45 return FN(PW,free)(pw); in FN()
[all …]
H A Disl_pw_insert_dims_templ.c11 __isl_give PW *FN(PW,insert_dims)(__isl_take PW *pw, enum isl_dim_type type, in FN() argument
19 n_piece = FN(PW,n_piece)(pw); in FN()
21 return FN(PW,free)(pw); in FN()
27 space = FN(PW,take_space)(pw); in FN()
29 pw = FN(PW,restore_space)(pw, space); in FN()
35 domain = FN(PW,take_domain_at)(pw, i); in FN()
37 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
38 el = FN(PW,take_base_at)(pw, i); in FN()
40 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
46 __isl_give PW *FN(PW,add_dims)(__isl_take PW *pw, enum isl_dim_type type, in FN() argument
[all …]
H A Disl_pw_un_op_templ.c24 S(PW,un_op_control) { in S() argument
35 static __isl_give PW *FN(PW,un_op)(__isl_take PW *pw, in FN() argument
36 S(PW,un_op_control) *control) in FN()
42 n = FN(PW,n_piece)(pw); in FN()
44 return FN(PW,free)(pw); in FN()
50 el = FN(PW,take_base_at)(pw, i); in FN()
52 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
57 domain = FN(PW,take_domain_at)(pw, i); in FN()
59 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
61 pw = FN(PW,exploit_equalities_and_remove_if_empty)(pw, i); in FN()
[all …]
H A Disl_pw_scale_templ.c13 __isl_give PW *FN(PW,scale)(__isl_take PW *pw, isl_int v) in FN() argument
21 PW *zero; in FN()
22 isl_space *space = FN(PW,get_space)(pw); in FN()
23 zero = FN(PW,ZERO)(space OPT_TYPE_ARG(pw->)); in FN()
24 FN(PW,free)(pw); in FN() local
28 pw = FN(PW,negate_type)(pw); in FN()
30 n = FN(PW,n_piece)(pw); in FN()
32 return FN(PW,free)(pw); in FN()
36 el = FN(PW,take_base_at)(pw, i); in FN()
38 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
H A Disl_pw_range_tuple_id_templ.c18 isl_bool FN(PW,has_range_tuple_id)(__isl_keep PW *pw) in FN() argument
20 return FN(PW,has_tuple_id)(pw, isl_dim_out); in FN()
30 __isl_give isl_id *FN(PW,get_range_tuple_id)(__isl_keep PW *pw) in FN() argument
32 return FN(PW,get_tuple_id)(pw, isl_dim_out); in FN()
42 __isl_give PW *FN(PW,set_range_tuple_id)(__isl_take PW *pw, in FN() argument
45 return FN(PW,set_tuple_id)(pw, isl_dim_out, id); in FN()
H A Disl_pw_opt_templ.c16 __isl_give isl_val *FN(PW,opt)(__isl_take PW *pw, int max) in FN() argument
25 opt = isl_val_zero(FN(PW,get_ctx)(pw)); in FN()
26 FN(PW,free)(pw); in FN() local
42 FN(PW,free)(pw); in FN() local
46 __isl_give isl_val *FN(PW,max)(__isl_take PW *pw) in FN() argument
48 return FN(PW,opt)(pw, 1); in FN()
51 __isl_give isl_val *FN(PW,min)(__isl_take PW *pw) in FN() argument
53 return FN(PW,opt)(pw, 0); in FN()
H A Disl_pw_move_dims_templ.c11 __isl_give PW *FN(PW,move_dims)(__isl_take PW *pw, in FN() argument
19 space = FN(PW,take_space)(pw); in FN()
22 pw = FN(PW,restore_space)(pw, space); in FN()
24 n_piece = FN(PW,n_piece)(pw); in FN()
26 return FN(PW,free)(pw); in FN()
31 el = FN(PW,take_base_at)(pw, i); in FN()
34 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
45 domain = FN(PW,take_domain_at)(pw, i); in FN()
48 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
H A Disl_pw_morph_templ.c11 __isl_give PW *FN(PW,morph_domain)(__isl_take PW *pw, in FN() argument
19 n = FN(PW,n_piece)(pw); in FN()
27 space = FN(PW,take_space)(pw); in FN()
30 pw = FN(PW,restore_space)(pw, space); in FN()
36 domain = FN(PW,take_domain_at)(pw, i); in FN()
38 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
39 el = FN(PW,take_base_at)(pw, i); in FN()
41 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
48 FN(PW,free)(pw); in FN()
H A Disl_pw_eval.c22 #define ARG1 PW
32 static __isl_give isl_val *FN(PW,eval_void)(__isl_take PW *pw, in FN() argument
38 FN(PW,free)(pw); in FN() local
51 __isl_give isl_val *FN(PW,eval)(__isl_take PW *pw, __isl_take isl_point *pnt) in FN() argument
61 FN(PW,align_params_point)(&pw, &pnt); in FN()
64 pw_space = FN(PW,peek_space)(pw); in FN()
76 return FN(PW,eval_void)(pw, pnt); in FN()
94 FN(PW,free)(pw); in FN() local
98 FN(PW,free)(pw); in FN()
H A Disl_pw_split_dims_templ.c13 __isl_give PW *FN(PW,split_dims)(__isl_take PW *pw, in FN() argument
19 n_piece = FN(PW,n_piece)(pw); in FN()
21 return FN(PW,free)(pw); in FN()
31 domain = FN(PW,take_domain_at)(pw, i); in FN()
33 pw = FN(PW,restore_domain_at)(pw, i, domain); in FN()
H A Disl_pw_sub_templ.c13 __isl_give PW *FN(PW,sub)(__isl_take PW *pw1, __isl_take PW *pw2) in FN() argument
15 return FN(PW,add)(pw1, FN(PW,neg)(pw2)); in FN()
H A Disl_pw_add_constant_templ.c17 __isl_give PW *FN(FN(PW,add_constant),VAL_BASE)(__isl_take PW *pw, in FN() argument
25 n = FN(PW,n_piece)(pw); in FN()
36 el = FN(PW,take_base_at)(pw, i); in FN()
38 pw = FN(PW,restore_base_at)(pw, i, el); in FN()
44 FN(PW,free)(pw); in FN()
H A Disl_pw_neg_templ.c13 __isl_give PW *FN(PW,neg)(__isl_take PW *pw) in FN() argument
15 S(PW,un_op_control) control = { .fn_base = &FN(EL,neg) }; in FN()
16 return FN(PW,un_op)(pw, &control); in FN()
H A Disl_pw_domain_reverse_templ.c17 __isl_give PW *FN(PW,domain_reverse)(__isl_take PW *pw) in FN() argument
19 S(PW,un_op_control) control = { in FN()
24 return FN(PW,un_op)(pw, &control); in FN()
H A Disl_pw_locals_templ.c15 static isl_bool FN(PW,piece_no_local)(__isl_keep isl_set *set, in FN() argument
29 isl_bool FN(PW,involves_locals)(__isl_keep PW *pw) in FN() argument
33 no_locals = FN(PW,every_piece)(pw, &FN(PW,piece_no_local), NULL); in FN()
H A Disl_pw_print_templ.c11 #undef PW
12 #define PW CAT(isl_pw_,BASE) macro
18 __isl_take isl_printer *p, __isl_keep PW *pw) in FN()
31 el = FN(PW,peek_base_at)(pw, i); in FN()
43 __isl_take isl_printer *p, __isl_keep PW *pw) in FN()
H A Disl_union_templ.c666 __isl_give PW *(*fn)(__isl_take PW*, __isl_take isl_set*); in S()
681 __isl_give PW *(*fn)(__isl_take PW*, __isl_take isl_set*)) in FN()
710 return FN(UNION,any_set_op)(u, set, &FN(PW,intersect_params)); in FN()
719 return FN(UNION,any_set_op)(u, set, &FN(PW,gist_params)); in FN()
738 __isl_give PW *(*fn)(__isl_take PW*, __isl_take isl_set*); in S()
819 .fn = &FN(PW,intersect_domain), in FN()
845 return FN(PW,has_domain_space_tuples)(part, space); in FN()
868 static isl_bool FN(PW,domain_is_wrapping)(__isl_keep PW *pw) in FN() argument
870 return isl_space_domain_is_wrapping(FN(PW,peek_space)(pw)); in FN()
882 .fn = &FN(PW,intersect_domain_wrapped_domain), in FN()
[all …]
H A Disl_union_pw_templ.c7 #undef PW
8 #define PW CAT(isl_,PW_BASE) macro
21 return FN(FN(UNION,from),PW_BASE)(FN(FN(PW,from),BASE)(el)); in FN()
H A Disl_pw_templ.h5 __isl_keep isl_space *FN(PW,peek_space)(__isl_keep PW *pw);
H A Disl_union_locals_templ.c13 static isl_bool FN(UNION,no_locals_el)(__isl_keep PW *pw, void *user) in FN()
15 return isl_bool_not(FN(PW,involves_locals)(pw)); in FN()
H A Disl_pw_hash.c14 uint32_t FN(PW,get_hash)(__isl_keep PW *pw) in FN() argument

12345