Home
last modified time | relevance | path

Searched refs:pwaff (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/polly/lib/External/isl/
Disl_aff_map.c280 __isl_give isl_map *isl_map_from_pw_aff_internal(__isl_take isl_pw_aff *pwaff) in isl_map_from_pw_aff_internal() argument
286 if (!pwaff) in isl_map_from_pw_aff_internal()
289 space = isl_pw_aff_get_space(pwaff); in isl_map_from_pw_aff_internal()
292 for (i = 0; i < pwaff->n; ++i) { in isl_map_from_pw_aff_internal()
296 bmap = isl_basic_map_from_aff(isl_aff_copy(pwaff->p[i].aff)); in isl_map_from_pw_aff_internal()
299 isl_set_copy(pwaff->p[i].set)); in isl_map_from_pw_aff_internal()
303 isl_pw_aff_free(pwaff); in isl_map_from_pw_aff_internal()
311 __isl_give isl_map *isl_map_from_pw_aff(__isl_take isl_pw_aff *pwaff) in isl_map_from_pw_aff() argument
313 if (check_input_is_map(isl_pw_aff_peek_space(pwaff)) < 0) in isl_map_from_pw_aff()
314 pwaff = isl_pw_aff_free(pwaff); in isl_map_from_pw_aff()
[all …]
Disl_aff_private.h106 __isl_give isl_pw_aff *isl_pw_aff_reset_space(__isl_take isl_pw_aff *pwaff,
109 __isl_take isl_pw_aff *pwaff, __isl_take isl_space *space);
119 __isl_give isl_pw_aff *isl_pw_aff_set_rational(__isl_take isl_pw_aff *pwaff);
124 __isl_give isl_pw_aff *isl_pw_aff_scale(__isl_take isl_pw_aff *pwaff,
126 __isl_give isl_pw_aff *isl_pw_aff_scale_down(__isl_take isl_pw_aff *pwaff,
Disl_input.c408 isl_pw_aff *pwaff = NULL; in accept_div() local
426 pwaff = accept_affine(s, isl_space_copy(space), v); in accept_div()
440 pwaff = isl_pw_aff_scale_down(pwaff, tok->u.v); in accept_div()
445 pwaff = isl_pw_aff_ceil(pwaff); in accept_div()
447 pwaff = isl_pw_aff_floor(pwaff); in accept_div()
458 return pwaff; in accept_div()
461 isl_pw_aff_free(pwaff); in accept_div()
494 res = isl_pw_aff_copy(tok->u.pwaff); in accept_affine_factor()
579 static __isl_give isl_pw_aff *add_cst(__isl_take isl_pw_aff *pwaff, isl_int v) in add_cst() argument
584 space = isl_pw_aff_get_domain_space(pwaff); in add_cst()
[all …]
Disl_aff.c1675 __isl_give isl_pw_aff *isl_pw_aff_mod(__isl_take isl_pw_aff *pwaff, isl_int m) in isl_pw_aff_mod() argument
1679 res = isl_pw_aff_copy(pwaff); in isl_pw_aff_mod()
1680 pwaff = isl_pw_aff_scale_down(pwaff, m); in isl_pw_aff_mod()
1681 pwaff = isl_pw_aff_floor(pwaff); in isl_pw_aff_mod()
1682 pwaff = isl_pw_aff_scale(pwaff, m); in isl_pw_aff_mod()
1683 res = isl_pw_aff_sub(res, pwaff); in isl_pw_aff_mod()
2806 static __isl_give isl_set *pw_aff_locus(__isl_take isl_pw_aff *pwaff, in pw_aff_locus() argument
2814 if (!pwaff) in pw_aff_locus()
2817 set = isl_set_empty(isl_pw_aff_get_domain_space(pwaff)); in pw_aff_locus()
2819 for (i = 0; i < pwaff->n; ++i) { in pw_aff_locus()
[all …]
Disl_stream_private.h17 isl_pw_aff *pwaff; member
Disl_output.c2853 __isl_keep isl_pw_aff *pwaff) in print_pw_aff_isl() argument
2857 if (!pwaff) in print_pw_aff_isl()
2860 p = print_param_tuple(p, pwaff->dim, &data); in print_pw_aff_isl()
2862 p = print_pw_aff_body(p, pwaff); in print_pw_aff_isl()
2978 __isl_keep isl_pw_aff *pwaff) in print_pw_aff_c() argument
2984 if (pwaff->n < 1) in print_pw_aff_c()
2989 domain = isl_pw_aff_domain(isl_pw_aff_copy(pwaff)); in print_pw_aff_c()
2991 expr = isl_ast_build_expr_from_pw_aff(build, isl_pw_aff_copy(pwaff)); in print_pw_aff_c()
3017 __isl_keep isl_pw_aff *pwaff) in isl_printer_print_pw_aff() argument
3019 if (!p || !pwaff) in isl_printer_print_pw_aff()
[all …]
Disl_test.c104 isl_pw_aff *pwaff; in test_parse_pwaff() local
106 pwaff = isl_pw_aff_read_from_str(ctx, str); in test_parse_pwaff()
107 assert(pwaff); in test_parse_pwaff()
108 isl_pw_aff_free(pwaff); in test_parse_pwaff()
7486 isl_pw_aff *pwaff; in test_dim_max() local
7495 pwaff = isl_set_dim_max(set, 0); in test_dim_max()
7496 set1 = isl_set_from_pw_aff(pwaff); in test_dim_max()
7509 pwaff = isl_set_dim_max(set, 0); in test_dim_max()
7510 set1 = isl_set_from_pw_aff(pwaff); in test_dim_max()
7523 pwaff = isl_set_dim_max(set, 0); in test_dim_max()
[all …]
Disl_stream.c126 isl_pw_aff_free(tok->u.pwaff); in isl_token_free()
160 p = isl_printer_print_pw_aff(p, tok->u.pwaff); in isl_stream_error()
Disl_polynomial.c3524 __isl_take isl_pw_aff *pwaff) in isl_pw_qpolynomial_from_pw_aff() argument
3529 if (!pwaff) in isl_pw_qpolynomial_from_pw_aff()
3532 pwqp = isl_pw_qpolynomial_alloc_size(isl_pw_aff_get_space(pwaff), in isl_pw_qpolynomial_from_pw_aff()
3533 pwaff->n); in isl_pw_qpolynomial_from_pw_aff()
3535 for (i = 0; i < pwaff->n; ++i) { in isl_pw_qpolynomial_from_pw_aff()
3539 dom = isl_set_copy(pwaff->p[i].set); in isl_pw_qpolynomial_from_pw_aff()
3540 qp = isl_qpolynomial_from_aff(isl_aff_copy(pwaff->p[i].aff)); in isl_pw_qpolynomial_from_pw_aff()
3544 isl_pw_aff_free(pwaff); in isl_pw_qpolynomial_from_pw_aff()
Disl_map.c7340 isl_pw_aff *pwaff; in basic_map_dim_opt() local
7344 pwaff = isl_pw_multi_aff_get_pw_aff(pma, 0); in basic_map_dim_opt()
7347 return pwaff; in basic_map_dim_opt()
7362 isl_pw_aff *pwaff; in map_dim_opt() local
7379 pwaff = basic_map_dim_opt(map->p[0], max); in map_dim_opt()
7384 pwaff = isl_pw_aff_union_opt(pwaff, pwaff_i, max); in map_dim_opt()
7389 return pwaff; in map_dim_opt()
/external/llvm-project/polly/lib/External/isl/include/isl/
Daff.h204 isl_ctx *isl_pw_aff_get_ctx(__isl_keep isl_pw_aff *pwaff);
206 __isl_give isl_space *isl_pw_aff_get_domain_space(__isl_keep isl_pw_aff *pwaff);
207 __isl_give isl_space *isl_pw_aff_get_space(__isl_keep isl_pw_aff *pwaff);
240 isl_bool isl_pw_aff_is_empty(__isl_keep isl_pw_aff *pwaff);
257 __isl_give isl_pw_aff *isl_pw_aff_copy(__isl_keep isl_pw_aff *pwaff);
258 __isl_null isl_pw_aff *isl_pw_aff_free(__isl_take isl_pw_aff *pwaff);
260 isl_size isl_pw_aff_dim(__isl_keep isl_pw_aff *pwaff, enum isl_dim_type type);
263 isl_bool isl_pw_aff_involves_dims(__isl_keep isl_pw_aff *pwaff,
266 isl_bool isl_pw_aff_is_cst(__isl_keep isl_pw_aff *pwaff);
274 __isl_give isl_pw_aff *isl_pw_aff_align_params(__isl_take isl_pw_aff *pwaff,
[all …]
Dpolynomial.h276 __isl_take isl_pw_aff *pwaff);
Disl-noexceptions.h1297 static inline map from_pw_aff(pw_aff pwaff);
2264 static inline pw_qpolynomial from_pw_aff(pw_aff pwaff);
2694 static inline set from_pw_aff(pw_aff pwaff);
8352 map map::from_pw_aff(pw_aff pwaff) in from_pw_aff() argument
8354 auto res = isl_map_from_pw_aff(pwaff.release()); in from_pw_aff()
12920 pw_qpolynomial pw_qpolynomial::from_pw_aff(pw_aff pwaff) in from_pw_aff() argument
12922 auto res = isl_pw_qpolynomial_from_pw_aff(pwaff.release()); in from_pw_aff()
14799 set set::from_pw_aff(pw_aff pwaff) in from_pw_aff() argument
14801 auto res = isl_set_from_pw_aff(pwaff.release()); in from_pw_aff()
/external/llvm-project/polly/lib/Support/
DGICHelper.cpp152 std::string polly::stringFromIslObj(__isl_keep isl_pw_aff *pwaff) { in stringFromIslObj() argument
153 return stringFromIslObjInternal(pwaff, isl_pw_aff_get_ctx, in stringFromIslObj()
/external/llvm-project/polly/include/polly/Support/
DGICHelper.h163 std::string stringFromIslObj(__isl_keep isl_pw_aff *pwaff);
/external/llvm-project/polly/lib/External/ppcg/
Dgpu.c1324 isl_pw_aff *pwaff; in localize_bounds() local
1327 pwaff = isl_multi_pw_aff_get_pw_aff(bound, j); in localize_bounds()
1328 pwaff = isl_pw_aff_gist(pwaff, isl_set_copy(context)); in localize_bounds()
1329 empty = isl_pw_aff_is_empty(pwaff); in localize_bounds()
1331 pwaff = isl_pw_aff_free(pwaff); in localize_bounds()
1333 pwaff = set_universally_zero(pwaff); in localize_bounds()
1334 bound = isl_multi_pw_aff_set_pw_aff(bound, j, pwaff); in localize_bounds()
/external/llvm-project/polly/lib/External/isl/doc/
Duser.pod1147 __isl_keep isl_pw_aff *pwaff);
1149 __isl_keep isl_pw_aff *pwaff);
1226 isl_size isl_pw_aff_dim(__isl_keep isl_pw_aff *pwaff,
1693 __isl_take isl_pw_aff *pwaff,
2240 __isl_take isl_pw_aff *pwaff);
2242 __isl_take isl_pw_aff *pwaff);
3471 __isl_take isl_pw_aff *pwaff);
3477 __isl_keep isl_pw_aff *pwaff);
3479 __isl_take isl_pw_aff *pwaff);
3501 isl_bool isl_pw_aff_is_empty(__isl_keep isl_pw_aff *pwaff);
[all …]