Lines Matching refs:depth

415 	int *depth = user;  in cmp_constraint()  local
416 int t1 = constraint_type(a, *depth); in cmp_constraint()
417 int t2 = constraint_type(b, *depth); in cmp_constraint()
746 isl_size depth; in add_implied_guards() local
751 depth = isl_ast_build_get_depth(build); in add_implied_guards()
752 has_stride = isl_ast_build_has_stride(build, depth); in add_implied_guards()
753 if (depth < 0 || has_stride < 0) in add_implied_guards()
764 bounds, isl_dim_set, depth, 1); in add_implied_guards()
774 dom = isl_set_eliminate(dom, isl_dim_set, depth, 1); in add_implied_guards()
1066 isl_size depth; in for_inc() local
1070 depth = isl_ast_build_get_depth(build); in for_inc()
1071 if (depth < 0) in for_inc()
1075 if (!isl_ast_build_has_stride(build, depth)) in for_inc()
1078 v = isl_ast_build_get_stride(build, depth); in for_inc()
1102 __isl_keep isl_set *domain, int depth) in use_upper_bound_list() argument
1107 return isl_set_dim_has_upper_bound(domain, isl_dim_set, depth); in use_upper_bound_list()
1184 isl_size depth; in refine_generic_bounds() local
1192 depth = isl_ast_build_get_depth(build); in refine_generic_bounds()
1193 if (!graft || !c_lower || !c_upper || depth < 0) in refine_generic_bounds()
1203 use_list = use_upper_bound_list(ctx, n_upper, domain, depth); in refine_generic_bounds()
1205 lower = lower_bounds(c_lower, depth, domain, build); in refine_generic_bounds()
1208 upper_list = upper_bounds(c_upper, depth, domain, build); in refine_generic_bounds()
1219 graft = set_enforced_from_set(graft, lower, depth, upper_set); in refine_generic_bounds()
1290 isl_size depth; in refine_generic_split() local
1294 depth = isl_ast_build_get_depth(build); in refine_generic_split()
1295 if (depth < 0) in refine_generic_split()
1300 data.pos = depth; in refine_generic_split()
1355 isl_size depth; in create_for() local
1359 depth = isl_ast_build_get_depth(build); in create_for()
1360 if (depth < 0) in create_for()
1363 id = isl_ast_build_get_iterator_id(build, depth); in create_for()
1485 isl_size depth; in create_node_scaled() local
1504 depth = isl_ast_build_get_depth(build); in create_node_scaled()
1505 if (depth < 0) in create_node_scaled()
1513 eliminated = isl_ast_build_has_affine_value(sub_build, depth); in create_node_scaled()
1582 int depth; member
1600 if (!isl_constraint_involves_dims(c, isl_dim_in, data->depth, 1)) { in constraint_check_scaled()
1612 if (t[i] == isl_dim_in && j == data->depth) in constraint_check_scaled()
1707 isl_size depth; in create_node() local
1716 depth = isl_ast_build_get_depth(build); in create_node()
1717 if (depth < 0) in create_node()
1719 data.depth = depth; in create_node()
1720 if (!isl_ast_build_has_stride(build, data.depth)) in create_node()
1723 offset = isl_ast_build_get_offset(build, data.depth); in create_node()
1724 data.m = isl_ast_build_get_stride(build, data.depth); in create_node()
1756 aff = isl_multi_aff_get_aff(ma, data.depth); in create_node()
1758 ma = isl_multi_aff_set_aff(ma, data.depth, aff); in create_node()
1879 int depth = *(int *) user; in domain_follows_at_depth() local
1886 for (l = 0; l < depth; ++l) in domain_follows_at_depth()
1889 test = isl_basic_map_order_ge(test, isl_dim_in, depth, in domain_follows_at_depth()
1890 isl_dim_out, depth); in domain_follows_at_depth()
2003 isl_size depth; in add_nodes() local
2022 depth = isl_ast_build_get_depth(data->build); in add_nodes()
2023 if (depth < 0) in add_nodes()
2028 for (i = 0; i < depth; ++i) in add_nodes()
2030 gt = isl_basic_map_order_gt(gt, isl_dim_in, depth, isl_dim_out, depth); in add_nodes()
2083 isl_size depth; in generate_sorted_domains() local
2099 depth = isl_ast_build_get_depth(build); in generate_sorted_domains()
2102 if (depth < 0 || isl_basic_set_list_foreach_scc(domain_list, in generate_sorted_domains()
2103 &domain_follows_at_depth, &depth, in generate_sorted_domains()
2115 int depth = *(int *) user; in shared_outer() local
2122 for (l = 0; l < depth; ++l) in shared_outer()
2205 isl_size depth; in generate_parallel_domains() local
2215 depth = isl_ast_build_get_depth(build); in generate_parallel_domains()
2216 if (depth < 0) in generate_parallel_domains()
2222 if (isl_basic_set_list_foreach_scc(domain_list, &shared_outer, &depth, in generate_parallel_domains()
2273 isl_size depth; in explicit_bounds() local
2276 depth = isl_ast_build_get_depth(build); in explicit_bounds()
2278 if (depth < 0 || dim < 0) in explicit_bounds()
2286 isl_dim_set, depth + 1, dim - (depth + 1)); in explicit_bounds()
2288 isl_dim_set, depth, 1); in explicit_bounds()
2366 int depth; member
2378 static __isl_give isl_constraint *at_offset(int depth, __isl_keep isl_aff *aff, in at_offset() argument
2382 aff = isl_aff_add_coefficient_si(aff, isl_dim_in, depth, -1); in at_offset()
2422 c = at_offset(data->depth, lower, 0); in get_expanded_n_div()
2519 if (!isl_constraint_is_lower_bound(c, isl_dim_set, data->depth)) in update_unrolling_lower_bound()
2522 lower = isl_constraint_get_bound(c, isl_dim_set, data->depth); in update_unrolling_lower_bound()
2526 aff = isl_aff_add_coefficient_si(aff, isl_dim_in, data->depth, 1); in update_unrolling_lower_bound()
2587 int depth, __isl_keep isl_basic_map *expansion, int *n) in find_unroll_lower_bound() argument
2590 { build, domain, depth, expansion, NULL, n, -1 }; in find_unroll_lower_bound()
2650 isl_size depth; in foreach_iteration() local
2656 depth = isl_ast_build_get_depth(build); in foreach_iteration()
2657 if (depth < 0) in foreach_iteration()
2680 lower = find_unroll_lower_bound(build, domain, depth, bmap, &n); in foreach_iteration()
2691 slice = at_offset(depth, lower, i); in foreach_iteration()
3309 isl_size depth; in has_pure_outer_disjunction() local
3319 depth = isl_ast_build_get_depth(build); in has_pure_outer_disjunction()
3320 if (dim < 0 || depth < 0) in has_pure_outer_disjunction()
3325 isl_dim_set, depth, dim - depth); in has_pure_outer_disjunction()
3433 isl_size depth; in extract_disjunction() local
3437 depth = isl_ast_build_get_depth(build); in extract_disjunction()
3439 if (depth < 0 || dim < 0) in extract_disjunction()
3441 domain = isl_set_eliminate(domain, isl_dim_set, depth, dim - depth); in extract_disjunction()
3630 isl_size depth; in generate_shifted_component_tree() local
3662 depth = isl_ast_build_get_depth(build); in generate_shifted_component_tree()
3663 if (depth < 0) in generate_shifted_component_tree()
3672 for (i = 0; i < depth; ++i) in generate_shifted_component_tree()
3674 gt = isl_map_order_gt(gt, isl_dim_in, depth, isl_dim_out, depth); in generate_shifted_component_tree()
3783 int *order, int n, int depth) in at_most_one_non_fixed() argument
3791 f = dim_is_fixed(domain[order[i]].set, depth); in at_most_one_non_fixed()
3814 int *order, int n, int depth, __isl_keep isl_ast_build *build) in eliminate_non_fixed() argument
3821 f = dim_is_fixed(domain[order[i]].set, depth); in eliminate_non_fixed()
3979 isl_size depth; in construct_shifted_executed() local
3982 depth = isl_ast_build_get_depth(build); in construct_shifted_executed()
3983 if (depth < 0) in construct_shifted_executed()
3989 map = isl_map_eliminate(map, isl_dim_out, depth, 1); in construct_shifted_executed()
3990 map = isl_map_insert_dims(map, isl_dim_out, depth + 1, 1); in construct_shifted_executed()
3991 space = isl_space_insert_dims(space, isl_dim_out, depth + 1, 1); in construct_shifted_executed()
3994 c = isl_constraint_set_coefficient_si(c, isl_dim_in, depth, 1); in construct_shifted_executed()
3995 c = isl_constraint_set_coefficient_si(c, isl_dim_out, depth, -1); in construct_shifted_executed()
4005 map_i = isl_map_fix_val(map_i, isl_dim_out, depth + 1, in construct_shifted_executed()
4058 isl_size depth; in generate_shift_component() local
4065 depth = isl_ast_build_get_depth(build); in generate_shift_component()
4068 if (depth < 0 || first < 0) in generate_shift_component()
4085 ma = isl_multi_aff_range_splice(ma, depth + 1, zero); in generate_shift_component()
4086 build = isl_ast_build_insert_dim(build, depth + 1); in generate_shift_component()
4189 isl_size depth; in generate_component() local
4200 depth = isl_ast_build_get_depth(build); in generate_component()
4201 if (depth < 0) in generate_component()
4206 skip = at_most_one_non_fixed(domain, order, n, depth); in generate_component()
4219 base = eliminate_non_fixed(domain, order, n, depth, build); in generate_component()
4234 for (d = 0; d < depth; ++d) in generate_component()
4238 res = isl_set_dim_residue_class_val(deltas, depth, &m, &r); in generate_component()
4253 res = dim_is_fixed(domain[order[i]].set, depth); in generate_component()
4703 int depth; member
4731 for (pos = data->depth; pos < dim; ++pos) { in any_scheduled_after()
4783 isl_size depth; in generate_components() local
4802 depth = isl_ast_build_get_depth(build); in generate_components()
4803 if (depth < 0) in generate_components()
4806 data.depth = depth; in generate_components()
4866 isl_size depth; in generate_next_level() local
4880 depth = isl_ast_build_get_depth(build); in generate_next_level()
4882 if (depth < 0 || dim < 0) in generate_next_level()
4884 if (depth >= dim) in generate_next_level()
5399 isl_size depth; in build_ast_from_context() local
5401 depth = isl_schedule_node_get_tree_depth(node); in build_ast_from_context()
5402 if (depth < 0) in build_ast_from_context()
5425 if (depth == 1) in build_ast_from_context()