Home
last modified time | relevance | path

Searched refs:nvar (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/polly/lib/External/isl/
Disl_bernstein.c43 isl_size nvar; in vertex_is_integral() local
47 nvar = isl_basic_set_dim(vertex, isl_dim_set); in vertex_is_integral()
49 if (nvar < 0 || nparam < 0) in vertex_is_integral()
51 for (i = 0; i < nvar; ++i) { in vertex_is_integral()
52 int r = nvar - 1 - i; in vertex_is_integral()
64 isl_size nvar; in vertex_coordinate() local
73 nvar = isl_basic_set_dim(vertex, isl_dim_set); in vertex_coordinate()
76 if (nvar < 0 || nparam < 0 || total < 0) in vertex_coordinate()
78 r = nvar - 1 - i; in vertex_coordinate()
268 unsigned nvar; in bernstein_coefficients_cell() local
[all …]
Disl_range.c105 isl_size nvar; in monotonicity() local
107 nvar = isl_basic_set_dim(bset, isl_dim_set); in monotonicity()
108 if (nvar < 0) in monotonicity()
115 isl_dim_set, nvar - 1); in monotonicity()
120 isl_dim_in, nvar - 1, 1, &sub); in monotonicity()
201 isl_size nvar; in collect_fixed_sign_terms() local
205 nvar = isl_term_dim(term, isl_dim_set); in collect_fixed_sign_terms()
206 if (nparam < 0 || nvar < 0) in collect_fixed_sign_terms()
223 for (i = 0; i < nvar; ++i) { in collect_fixed_sign_terms()
360 isl_size nvar, nparam; in propagate_on_bound_pair() local
[all …]
Disl_factorization.c100 isl_size nvar; in isl_factorizer_groups() local
109 nvar = isl_basic_set_dim(bset, isl_dim_set); in isl_factorizer_groups()
110 if (nvar < 0 || !Q || !U) in isl_factorizer_groups()
120 space = isl_space_drop_dims(space, isl_dim_set, 0, nvar); in isl_factorizer_groups()
121 space = isl_space_add_dims(space, isl_dim_set, nvar); in isl_factorizer_groups()
274 isl_size nvar; in isl_basic_set_factorizer() local
278 nvar = isl_basic_set_dim(bset, isl_dim_set); in isl_basic_set_factorizer()
279 if (nvar < 0 || isl_basic_set_check_no_locals(bset) < 0) in isl_basic_set_factorizer()
282 if (nvar <= 1) in isl_basic_set_factorizer()
285 H = isl_mat_alloc(bset->ctx, bset->n_eq + bset->n_ineq, nvar); in isl_basic_set_factorizer()
[all …]
Disl_scheduler.c116 int nvar; member
766 isl_size nvar = isl_set_dim(set, isl_dim_set); in init_n_maxvar() local
769 if (nvar > graph->maxvar) in init_n_maxvar()
770 graph->maxvar = nvar; in init_n_maxvar()
774 if (nvar < 0) in init_n_maxvar()
841 node->max = isl_vec_alloc(ctx, node->nvar); in set_max_coefficient()
872 v = isl_vec_alloc(ctx, node->nvar); in compute_max_coefficient()
876 for (i = 0; i < node->nvar; ++i) { in compute_max_coefficient()
881 for (i = 0; i < node->nvar; ++i) { in compute_max_coefficient()
891 for (j = 0; j < node->nvar; ++j) { in compute_max_coefficient()
[all …]
Disl_morph.c139 isl_size nparam, nvar; in isl_morph_get_var_multi_aff() local
160 nvar = isl_multi_aff_dim(ma, isl_dim_out); in isl_morph_get_var_multi_aff()
161 if (nparam < 0 || nvar < 0) in isl_morph_get_var_multi_aff()
163 for (i = 0; i < nvar; ++i) { in isl_morph_get_var_multi_aff()
532 isl_size nvar; in isl_basic_set_parameter_compression() local
549 nvar = isl_basic_set_dim(bset, isl_dim_set); in isl_basic_set_parameter_compression()
551 if (nparam < 0 || nvar < 0 || n_div < 0) in isl_basic_set_parameter_compression()
555 nvar + n_div) == -1) in isl_basic_set_parameter_compression()
559 if (n_eq > nvar + n_div) in isl_basic_set_parameter_compression()
565 0, n_eq, 1 + nparam, nvar + n_div); in isl_basic_set_parameter_compression()
[all …]
Disl_farkas.c74 isl_size nvar; in isl_space_prefix() local
81 nvar = isl_space_dim(space, isl_dim_set); in isl_space_prefix()
82 if (nvar < 0) in isl_space_prefix()
85 for (i = 0; i < nvar; ++i) { in isl_space_prefix()
127 isl_size nvar; in isl_space_coefficients() local
130 nvar = isl_space_dim(space, isl_dim_set); in isl_space_coefficients()
132 if (nvar < 0 || nparam < 0) in isl_space_coefficients()
135 space_param = isl_space_drop_dims(space_param, isl_dim_set, 0, nvar); in isl_space_coefficients()
Disl_bound.c214 isl_size nvar; in isl_pw_qpolynomial_fold_bound() local
226 nvar = isl_space_dim(bound.dim, isl_dim_out); in isl_pw_qpolynomial_fold_bound()
227 if (nvar < 0) in isl_pw_qpolynomial_fold_bound()
233 if (nvar == 0) { in isl_pw_qpolynomial_fold_bound()
Disl_vertices.c125 isl_size nvar; in add_vertex() local
131 nvar = isl_basic_set_dim(bset, isl_dim_set); in add_vertex()
132 if (nvar < 0) in add_vertex()
146 isl_assert(bset->ctx, v->v.vertex->n_eq >= nvar, goto error); in add_vertex()
381 isl_size nvar; in isl_basic_set_compute_vertices() local
402 nvar = isl_basic_set_dim(bset, isl_dim_set); in isl_basic_set_compute_vertices()
403 if (nvar < 0) in isl_basic_set_compute_vertices()
405 if (nvar == 0) in isl_basic_set_compute_vertices()
427 facets = isl_mat_alloc(bset->ctx, nvar, nvar); in isl_basic_set_compute_vertices()
460 if (selected == nvar) { in isl_basic_set_compute_vertices()
[all …]
Dbasis_reduction_templ.c334 isl_size nvar = isl_basic_set_dim(bset, isl_dim_all); in isl_basic_set_reduced_basis() local
335 if (nvar < 0) in isl_basic_set_reduced_basis()
338 1, nvar); in isl_basic_set_reduced_basis()
Disl_polynomial.c3694 isl_size nvar; in isl_qpolynomial_degree() local
3700 nvar = isl_space_dim(poly->dim, isl_dim_set); in isl_qpolynomial_degree()
3701 if (nvar < 0) in isl_qpolynomial_degree()
3703 return isl_poly_degree(poly->poly, ovar, ovar + nvar); in isl_qpolynomial_degree()
3857 isl_size nvar; in isl_qpolynomial_homogenize() local
3869 nvar = isl_space_dim(poly->dim, isl_dim_set); in isl_qpolynomial_homogenize()
3870 if (nvar < 0) in isl_qpolynomial_homogenize()
3872 poly->poly = isl_poly_homogenize(poly->poly, 0, deg, ovar, ovar + nvar); in isl_qpolynomial_homogenize()
4273 isl_size nvar; in fix_inactive() local
4293 nvar = isl_set_dim(set, isl_dim_set); in fix_inactive()
[all …]
Disl_map.c8894 isl_size nvar; in isl_set_foreach_orthant() local
8904 nvar = isl_set_dim(set, isl_dim_set); in isl_set_foreach_orthant()
8905 if (nparam < 0 || nvar < 0) in isl_set_foreach_orthant()
8908 signs = isl_alloc_array(set->ctx, int, nparam + nvar); in isl_set_foreach_orthant()
8910 r = foreach_orthant(isl_set_copy(set), signs, 0, nparam + nvar, in isl_set_foreach_orthant()
11894 isl_size nvar, n_div; in isl_basic_set_is_box() local
11903 nvar = isl_basic_set_dim(bset, isl_dim_set); in isl_basic_set_is_box()
11904 if (nvar < 0) in isl_basic_set_is_box()
11907 for (j = 0; j < nvar; ++j) { in isl_basic_set_is_box()
11912 if (!unique(bset->eq[i] + 1 + ovar, j, nvar)) in isl_basic_set_is_box()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_clone.c133 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone() argument
135 nir_constant *nc = ralloc(nvar, nir_constant); in nir_constant_clone()
139 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone()
141 nc->elements[i] = nir_constant_clone(c->elements[i], nvar); in nir_constant_clone()
153 nir_variable *nvar = rzalloc(shader, nir_variable); in nir_variable_clone() local
155 nvar->type = var->type; in nir_variable_clone()
156 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
157 nvar->data = var->data; in nir_variable_clone()
158 nvar->num_state_slots = var->num_state_slots; in nir_variable_clone()
160 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
[all …]
Dnir_lower_io_to_temporaries.c292 nir_variable *nvar = ralloc(state->shader, nir_variable); in create_shadow_temp() local
293 memcpy(nvar, var, sizeof *nvar); in create_shadow_temp()
294 nvar->data.cannot_coalesce = true; in create_shadow_temp()
300 ralloc_steal(nvar, nvar->name); in create_shadow_temp()
302 assert(nvar->constant_initializer == NULL && nvar->pointer_initializer == NULL); in create_shadow_temp()
306 temp->name = ralloc_asprintf(var, "%s@%s-temp", mode, nvar->name); in create_shadow_temp()
312 return nvar; in create_shadow_temp()
Dnir_inline_functions.c71 nir_variable *nvar = nir_variable_clone(deref->var, b->shader); in nir_inline_function_impl() local
72 nir_shader_add_variable(b->shader, nvar); in nir_inline_function_impl()
74 deref->var, nvar); in nir_inline_function_impl()
Dnir_serialize.c184 read_constant(read_ctx *ctx, nir_variable *nvar) in read_constant() argument
186 nir_constant *c = ralloc(nvar, nir_constant); in read_constant()
190 c->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in read_constant()
192 c->elements[i] = read_constant(ctx, nvar); in read_constant()
/external/lua/src/
Dldblib.c205 int nvar = (int)luaL_checkinteger(L, arg + 2); /* local-variable index */ in db_getlocal() local
208 lua_pushstring(L, lua_getlocal(L, NULL, nvar)); /* push local name */ in db_getlocal()
218 name = lua_getlocal(L1, &ar, nvar); in db_getlocal()
239 int nvar = (int)luaL_checkinteger(L, arg + 2); in db_setlocal() local
246 name = lua_setlocal(L1, &ar, nvar); in db_setlocal()
Dlparser.c230 static int stacklevel (FuncState *fs, int nvar) { in stacklevel() argument
231 while (nvar-- > 0) { in stacklevel()
232 Vardesc *vd = getlocalvardesc(fs, nvar); /* get variable */ in stacklevel()
/external/llvm-project/openmp/runtime/src/include/
Domp_lib.f90.var416 subroutine omp_init_nest_lock(nvar) bind(c)
421 integer (kind=omp_nest_lock_kind) nvar
424 subroutine omp_destroy_nest_lock(nvar) bind(c)
429 integer (kind=omp_nest_lock_kind) nvar
432 subroutine omp_set_nest_lock(nvar) bind(c)
437 integer (kind=omp_nest_lock_kind) nvar
440 subroutine omp_unset_nest_lock(nvar) bind(c)
445 integer (kind=omp_nest_lock_kind) nvar
448 function omp_test_nest_lock(nvar) bind(c)
454 integer (kind=omp_nest_lock_kind) nvar
[all …]
Domp_lib.h.var493 subroutine omp_init_nest_lock(nvar) bind(c)
498 integer (kind=omp_nest_lock_kind) nvar
501 subroutine omp_destroy_nest_lock(nvar) bind(c)
506 integer (kind=omp_nest_lock_kind) nvar
509 subroutine omp_set_nest_lock(nvar) bind(c)
514 integer (kind=omp_nest_lock_kind) nvar
517 subroutine omp_unset_nest_lock(nvar) bind(c)
522 integer (kind=omp_nest_lock_kind) nvar
525 function omp_test_nest_lock(nvar) bind(c)
531 integer (kind=omp_nest_lock_kind) nvar
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DVarOptimizer.java230 PVariable nvar = function.getName(); in escapeNameOf() local
231 if (!(nvar instanceof ANameVariable)) { in escapeNameOf()
235 String name = ((ANameVariable) nvar).getWord().getText(); in escapeNameOf()
/external/openssh/regress/unittests/authopt/
Dtests.c253 #define ARRAY_TEST(label, keywords, var, nvar, val) \ in test_authkeys_parse() argument
257 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
262 expected->var = commasplit(val, &expected->nvar); \ in test_authkeys_parse()
/external/llvm-project/polly/lib/External/ppcg/
Dgpu_group.c136 unsigned nvar; in extract_stride() local
146 nvar = isl_space_dim(space, isl_dim_set); in extract_stride()
163 for (i = 0; i < nvar; ++i) { in extract_stride()