Home
last modified time | relevance | path

Searched refs:num_variables (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlink_uniform_blocks.cpp37 unsigned num_variables, struct gl_shader_program *prog, in ubo_visitor() argument
40 num_variables(num_variables), mem_ctx(mem_ctx), in ubo_visitor()
60 unsigned num_variables; member in __anon4846175a0111::ubo_visitor
110 assert(this->index < this->num_variables); in visit_field()
339 struct hash_table *block_hash, unsigned num_variables, in create_buffer_blocks() argument
343 assert(num_variables == 0); in create_buffer_blocks()
347 assert(num_variables != 0); in create_buffer_blocks()
355 ralloc_array(blocks, gl_uniform_buffer_variable, num_variables); in create_buffer_blocks()
360 ubo_visitor parcel(blocks, variables, num_variables, prog, in create_buffer_blocks()
394 assert(parcel.index == num_variables); in create_buffer_blocks()
Dlink_varyings.cpp2299 unsigned num_variables = 0; in canonicalize_shader_io() local
2310 if (num_variables == ARRAY_SIZE(var_table)) in canonicalize_shader_io()
2313 var_table[num_variables++] = var; in canonicalize_shader_io()
2316 if (num_variables == 0) in canonicalize_shader_io()
2323 qsort(var_table, num_variables, sizeof(var_table[0]), io_variable_cmp); in canonicalize_shader_io()
2328 for (unsigned i = 0; i < num_variables; i++) { in canonicalize_shader_io()
Dlinker.cpp109 : num_variables(num_vars), num_found(0), variables(vars) in find_assignment_visitor()
148 for (unsigned i = 0; i < num_variables; ++i) { in check_variable_name()
153 assert(num_found < num_variables); in check_variable_name()
154 if (++num_found == num_variables) in check_variable_name()
165 unsigned num_variables; /**< Number of variables to find */ member in __anon10baf5350111::find_assignment_visitor
177 unsigned num_variables = 0; in find_assignments() local
180 num_variables++; in find_assignments()
182 find_assignment_visitor visitor(num_variables, vars); in find_assignments()
Dast_to_hir.cpp7789 unsigned int num_variables = in hir() local
7895 for (unsigned i = 0; i < num_variables; i++) { in hir()
7948 num_variables, in hir()
8014 for (unsigned i = 0; i < num_variables; i++) { in hir()
8116 for (unsigned i = 0; i < num_variables; i++) { in hir()
8152 for (unsigned i = 0; i < num_variables; i++) { in hir()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass.cc265 const int num_variables = num_inputs - variable_start_index; in BuildXlaLaunchOps() local
270 << " num_variables: " << num_variables; in BuildXlaLaunchOps()
288 for (int i = 0; i < num_variables; ++i) { in BuildXlaLaunchOps()
333 AddNodeAttr("Nresources", num_variables, &def); in BuildXlaLaunchOps()
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.c41 .num_variables = _num_variables, \
Dnir_inline_functions.c67 i < nir_intrinsic_infos[intrin->intrinsic].num_variables; i++) { in rewrite_param_derefs()
134 i < nir_intrinsic_infos[intrin->intrinsic].num_variables; i++) { in lower_params_to_locals_block()
Dnir_lower_global_vars_to_local.c44 unsigned num_vars = nir_intrinsic_infos[intrin->intrinsic].num_variables; in mark_global_var_uses_block()
Dnir_instr_set.c134 assert(info->num_variables == 0); in hash_intrinsic()
382 assert(info->num_variables == 0); in nir_instrs_equal()
450 info->num_variables == 0; /* not implemented yet */ in instr_can_rewrite()
Dnir_serialize.c485 unsigned num_variables = nir_intrinsic_infos[intrin->intrinsic].num_variables; in write_intrinsic() local
494 for (unsigned i = 0; i < num_variables; i++) in write_intrinsic()
511 unsigned num_variables = nir_intrinsic_infos[op].num_variables; in read_intrinsic() local
520 for (unsigned i = 0; i < num_variables; i++) in read_intrinsic()
Dnir_remove_dead_variables.c34 unsigned num_vars = nir_intrinsic_infos[instr->intrinsic].num_variables; in add_var_use_intrinsic()
Dnir_opt_constant_folding.c153 unsigned num_vars = nir_intrinsic_infos[instr->intrinsic].num_variables; in constant_fold_intrinsic_instr()
Dnir_clone.c355 unsigned num_variables = nir_intrinsic_infos[itr->intrinsic].num_variables; in clone_intrinsic() local
364 for (unsigned i = 0; i < num_variables; i++) { in clone_intrinsic()
Dnir_opt_copy_propagate.c270 i < nir_intrinsic_infos[intrin->intrinsic].num_variables; i++) { in copy_prop_instr()
Dnir_loop_analyze.c695 nir_intrinsic_infos[intrin->intrinsic].num_variables; in force_unroll_heuristics()
Dnir.h945 num_variables, num_indices, idx0, idx1, idx2, flags) \ argument
1112 unsigned num_variables; member
Dnir_builder.h628 num_variables, num_indices, idx0, idx1, idx2, flags) argument
Dnir_print.c594 for (unsigned i = 0; i < info->num_variables; i++) { in print_intrinsic_instr()
Dnir_validate.c494 unsigned num_vars = nir_intrinsic_infos[instr->intrinsic].num_variables; in validate_intrinsic_instr()
Dnir.c1315 nir_intrinsic_infos[instr->intrinsic].num_variables; in visit_intrinsic_src()