|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/polly/lib/External/isl/isl_aff.c 4362 domain = isl_set_product(isl_set_copy(pma1->p[i].set),
4363 isl_set_copy(pma2->p[j].set));
4365 isl_multi_aff_copy(pma1->p[i].maff),
4366 isl_multi_aff_copy(pma2->p[j].maff));
5373 isl_set_copy(pma->p[i].set),
5386 isl_multi_aff_copy(pma->p[i].maff),
5809 aff = isl_multi_aff_get_aff(pma->p[i].maff, pos);
5810 pa = isl_pw_aff_add_piece(pa, isl_set_copy(pma->p[i].set), aff);
6049 common = isl_set_intersect(isl_set_copy(pma->p[i].set),
6060 isl_multi_aff_copy(pma->p[i].maff), pos,
6216 pma->p[i].maff = isl_multi_aff_scale_multi_val(pma->p[i].maff,
6216 pma->p[i].maff = isl_multi_aff_scale_multi_val(pma->p[i].maff,
6218 if (!pma->p[i].maff)
tools/polly/lib/External/isl/isl_aff_map.c 349 rational = isl_set_is_rational(pma->p[i].set);
352 maff = isl_multi_aff_copy(pma->p[i].maff);
356 isl_set_copy(pma->p[i].set));
tools/polly/lib/External/isl/isl_map.c13249 isl_multi_aff_copy(pma->p[0].maff));
13252 isl_map_copy(pma->p[0].set));
13255 isl_map_copy(pma->p[0].set));
13261 isl_multi_aff_copy(pma->p[i].maff));
13264 isl_map_copy(pma->p[i].set));
13267 isl_map_copy(pma->p[i].set));
tools/polly/lib/External/isl/isl_output.c 3015 p = print_multi_aff(p, pma->p[i].maff);
3016 space = isl_multi_aff_get_domain_space(pma->p[i].maff);
3017 p = print_disjuncts(set_to_map(pma->p[i].set), space, p, 0);
3056 p = print_set_c(p, space, pma->p[i].set);
3058 p = print_aff_c(p, pma->p[i].maff->u.p[0]);
3063 return print_aff_c(p, pma->p[pma->n - 1].maff->u.p[0]);
tools/polly/lib/External/isl/isl_pw_templ.c 90 pw->p[pw->n].set = set;
91 pw->p[pw->n].FIELD = el;
181 dup = FN(PW,add_piece)(dup, isl_set_copy(pw->p[i].set),
182 FN(EL,copy)(pw->p[i].FIELD));
217 isl_set_free(pw->p[i].set);
218 FN(EL,free)(pw->p[i].FIELD);
283 pw->p[i].set = isl_set_realign(pw->p[i].set,
283 pw->p[i].set = isl_set_realign(pw->p[i].set,
285 if (!pw->p[i].set)
287 pw->p[i].FIELD = FN(EL,realign_domain)(pw->p[i].FIELD,
287 pw->p[i].FIELD = FN(EL,realign_domain)(pw->p[i].FIELD,
289 if (!pw->p[i].FIELD)
439 set = isl_set_copy(pw1->p[i].set);
443 common = isl_set_intersect(isl_set_copy(pw1->p[i].set),
444 isl_set_copy(pw2->p[j].set));
450 isl_set_copy(pw2->p[j].set));
453 FN(EL,copy)(pw1->p[i].FIELD),
454 FN(EL,copy)(pw2->p[j].FIELD));
458 res = FN(PW,add_piece)(res, set, FN(EL,copy)(pw1->p[i].FIELD));
462 set = isl_set_copy(pw2->p[j].set);
465 isl_set_copy(pw1->p[i].set));
466 res = FN(PW,add_piece)(res, set, FN(EL,copy)(pw2->p[j].FIELD));
521 res = FN(PW,add_piece)(res, isl_set_copy(pw->p[i].set),
522 FN(EL,copy)(pw->p[i].FIELD));
563 isl_set_copy(pw2->p[i].set),
564 FN(EL,copy)(pw2->p[i].FIELD));
615 isl_set_copy(pw1->p[i].set),
616 isl_set_copy(pw2->p[j].set));
625 res_ij = fn(FN(EL,copy)(pw1->p[i].FIELD),
626 FN(EL,copy)(pw2->p[j].FIELD));
688 pw->p[i].FIELD = FN(EL,neg)(pw->p[i].FIELD);
688 pw->p[i].FIELD = FN(EL,neg)(pw->p[i].FIELD);
689 if (!pw->p[i].FIELD)
721 dom = isl_set_union_disjoint(dom, isl_set_copy(pw->p[i].set));
737 int empty = isl_set_plain_is_empty(pw->p[i].set);
742 isl_set_free(pw->p[i].set);
743 FN(EL,free)(pw->p[i].FIELD);
745 pw->p[i] = pw->p[pw->n - 1];
745 pw->p[i] = pw->p[pw->n - 1];
751 aff = isl_set_affine_hull(isl_set_copy(pw->p[i].set));
752 pw->p[i].FIELD = FN(EL,substitute_equalities)(pw->p[i].FIELD, aff);
752 pw->p[i].FIELD = FN(EL,substitute_equalities)(pw->p[i].FIELD, aff);
753 if (!pw->p[i].FIELD)
805 pw->p[i].set = isl_set_fix_si(pw->p[i].set, type, pos, value);
805 pw->p[i].set = isl_set_fix_si(pw->p[i].set, type, pos, value);
837 pw->p[i].set = fn(pw->p[i].set, isl_set_copy(set));
837 pw->p[i].set = fn(pw->p[i].set, isl_set_copy(set));
912 isl_set_free(pw->p[i].set);
913 FN(EL,free)(pw->p[i].FIELD);
915 pw->p[0].FIELD = pw->p[pw->n - 1].FIELD;
915 pw->p[0].FIELD = pw->p[pw->n - 1].FIELD;
916 pw->p[0].set = pw->p[pw->n - 1].set;
916 pw->p[0].set = pw->p[pw->n - 1].set;
920 pw->p[0].FIELD = fn_el(pw->p[0].FIELD, context);
920 pw->p[0].FIELD = fn_el(pw->p[0].FIELD, context);
922 isl_set_free(pw->p[0].set);
923 pw->p[0].set = context;
925 if (!pw->p[0].FIELD || !pw->p[0].set)
925 if (!pw->p[0].FIELD || !pw->p[0].set)
981 equal = isl_set_plain_is_equal(pw->p[0].set, context);
997 equal = isl_set_plain_is_equal(pw->p[i].set, context);
1005 set_i = isl_set_intersect(isl_set_copy(pw->p[i].set),
1008 pw->p[i].FIELD = fn_el(pw->p[i].FIELD, set_i);
1008 pw->p[i].FIELD = fn_el(pw->p[i].FIELD, set_i);
1009 pw->p[i].set = fn_dom(pw->p[i].set, isl_basic_set_copy(hull));
1009 pw->p[i].set = fn_dom(pw->p[i].set, isl_basic_set_copy(hull));
1010 if (empty < 0 || !pw->p[i].FIELD || !pw->p[i].set)
1010 if (empty < 0 || !pw->p[i].FIELD || !pw->p[i].set)
1013 isl_set_free(pw->p[i].set);
1014 FN(EL,free)(pw->p[i].FIELD);
1016 pw->p[i] = pw->p[pw->n - 1];
1016 pw->p[i] = pw->p[pw->n - 1];
1091 if (isl_sort(pw->p, pw->n, sizeof(pw->p[0]),
1091 if (isl_sort(pw->p, pw->n, sizeof(pw->p[0]),
1095 if (!FN(EL,plain_is_equal)(pw->p[i - 1].FIELD, pw->p[i].FIELD))
1095 if (!FN(EL,plain_is_equal)(pw->p[i - 1].FIELD, pw->p[i].FIELD))
1097 set = isl_set_union(isl_set_copy(pw->p[i - 1].set),
1098 isl_set_copy(pw->p[i].set));
1101 isl_set_free(pw->p[i].set);
1102 FN(EL,free)(pw->p[i].FIELD);
1103 isl_set_free(pw->p[i - 1].set);
1104 pw->p[i - 1].set = set;
1106 pw->p[j - 1] = pw->p[j];
1106 pw->p[j - 1] = pw->p[j];
1129 pw->p[i].set = isl_set_coalesce(pw->p[i].set);
1129 pw->p[i].set = isl_set_coalesce(pw->p[i].set);
1130 if (!pw->p[i].set)
1159 isl_bool involves = FN(EL,involves_dims)(pw->p[i].FIELD,
1163 involves = isl_set_involves_dims(pw->p[i].set,
1188 pw->p[i].set = isl_set_set_dim_name(pw->p[i].set,
1188 pw->p[i].set = isl_set_set_dim_name(pw->p[i].set,
1190 if (!pw->p[i].set)
1192 pw->p[i].FIELD = FN(EL,set_dim_name)(pw->p[i].FIELD, type, pos, s);
1192 pw->p[i].FIELD = FN(EL,set_dim_name)(pw->p[i].FIELD, type, pos, s);
1193 if (!pw->p[i].FIELD)
1223 pw->p[i].FIELD = FN(EL,drop_dims)(pw->p[i].FIELD, type, first, n);
1223 pw->p[i].FIELD = FN(EL,drop_dims)(pw->p[i].FIELD, type, first, n);
1224 if (!pw->p[i].FIELD)
1228 pw->p[i].set = isl_set_drop(pw->p[i].set, set_type, first, n);
1228 pw->p[i].set = isl_set_drop(pw->p[i].set, set_type, first, n);
1229 if (!pw->p[i].set)
1264 pw->p[i].set = isl_set_project_out(pw->p[i].set,
1264 pw->p[i].set = isl_set_project_out(pw->p[i].set,
1266 if (!pw->p[i].set)
1268 pw->p[i].FIELD = FN(EL,drop_dims)(pw->p[i].FIELD, type, first, n);
1268 pw->p[i].FIELD = FN(EL,drop_dims)(pw->p[i].FIELD, type, first, n);
1269 if (!pw->p[i].FIELD)
1371 pw->p[i].set = isl_set_fix(pw->p[i].set, type, pos, v);
1371 pw->p[i].set = isl_set_fix(pw->p[i].set, type, pos, v);
1424 pw->p[i].set = isl_set_split_dims(pw->p[i].set, type, first, n);
1424 pw->p[i].set = isl_set_split_dims(pw->p[i].set, type, first, n);
1425 if (!pw->p[i].set)
1526 pw->p[i].set = isl_set_reset_space(pw->p[i].set,
1526 pw->p[i].set = isl_set_reset_space(pw->p[i].set,
1528 if (!pw->p[i].set)
1530 pw->p[i].FIELD = FN(EL,reset_space_and_domain)(pw->p[i].FIELD,
1530 pw->p[i].FIELD = FN(EL,reset_space_and_domain)(pw->p[i].FIELD,
1532 if (!pw->p[i].FIELD)
1698 if (fn(isl_set_copy(pw->p[i].set),
1699 FN(EL,copy)(pw->p[i].FIELD), user) < 0)
1802 pw->p[i].FIELD = FN(EL,move_dims)(pw->p[i].FIELD,
1802 pw->p[i].FIELD = FN(EL,move_dims)(pw->p[i].FIELD,
1804 if (!pw->p[i].FIELD)
1814 pw->p[i].set = isl_set_move_dims(pw->p[i].set,
1814 pw->p[i].set = isl_set_move_dims(pw->p[i].set,
1817 if (!pw->p[i].set)
1856 pw->p[i].FIELD = FN(EL,scale)(pw->p[i].FIELD, v);
1856 pw->p[i].FIELD = FN(EL,scale)(pw->p[i].FIELD, v);
1857 if (!pw->p[i].FIELD)
1905 pw->p[i].FIELD = FN(EL,scale_val)(pw->p[i].FIELD,
1905 pw->p[i].FIELD = FN(EL,scale_val)(pw->p[i].FIELD,
1907 if (!pw->p[i].FIELD)
1953 pw->p[i].FIELD = FN(EL,scale_down_val)(pw->p[i].FIELD,
1953 pw->p[i].FIELD = FN(EL,scale_down_val)(pw->p[i].FIELD,
1955 if (!pw->p[i].FIELD)
1990 set = isl_set_normalize(isl_set_copy(pw->p[i].set));
1993 isl_set_free(pw->p[i].set);
1994 pw->p[i].set = set;
2036 equal = isl_set_plain_is_equal(pw1->p[i].set, pw2->p[i].set);
2036 equal = isl_set_plain_is_equal(pw1->p[i].set, pw2->p[i].set);
2041 equal = FN(EL,plain_is_equal)(pw1->p[i].FIELD, pw2->p[i].FIELD);
2041 equal = FN(EL,plain_is_equal)(pw1->p[i].FIELD, pw2->p[i].FIELD);
2067 isl_bool has_nan = FN(EL,involves_nan)(pw->p[i].FIELD);
2159 pw->p[i].set = isl_set_preimage_multi_aff(pw->p[i].set,
2159 pw->p[i].set = isl_set_preimage_multi_aff(pw->p[i].set,
2161 if (!pw->p[i].set)
2163 pw->p[i].FIELD = FN(EL,pullback_multi_aff)(pw->p[i].FIELD,
2163 pw->p[i].FIELD = FN(EL,pullback_multi_aff)(pw->p[i].FIELD,
2165 if (!pw->p[i].FIELD)
2209 isl_multi_aff_copy(pma->p[0].maff));
2210 res = FN(PW,intersect_domain)(res, isl_set_copy(pma->p[0].set));
2216 isl_multi_aff_copy(pma->p[i].maff));
2218 isl_set_copy(pma->p[i].set));
tools/polly/lib/External/isl/isl_pw_union_opt.c 37 list = isl_set_list_add(list, isl_set_copy(pw->p[i].set));
105 cmp = FN(EL,plain_cmp)(pw1->p[i].FIELD,
106 pw2->p[j].FIELD);
112 el = FN(EL,copy)(pw1->p[i].FIELD);
116 el = FN(EL,copy)(pw2->p[j].FIELD);
121 el = FN(EL,copy)(pw1->p[i].FIELD);
223 disjoint = isl_set_is_disjoint(pw1->p[i].set,
224 pw2->p[j].set);
229 better = FN(PW,better)(pw2->p[j].FIELD,
230 pw1->p[i].FIELD, cmp);
232 set_j = isl_set_copy(pw2->p[j].set);
236 set_i = isl_set_copy(pw1->p[i].set);
tools/polly/lib/External/isl/isl_tab_pip.c 5872 pma = isl_pw_multi_aff_alloc(isl_set_copy(opt->p[i].set),
5873 isl_multi_aff_copy(opt->p[i].maff));
5874 if (need_substitution(opt->p[i].maff))
5879 split = need_split_set(opt->p[i].set, cst);