Home
last modified time | relevance | path

Searched refs:num_vars (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_fs_live_variables.cpp60 assert(var < num_vars); in setup_one_read()
78 assert(var < num_vars); in setup_one_write()
238 for (int i = 0; i < num_vars; i++) { in compute_start_end()
258 num_vars = 0; in fs_live_variables()
261 var_from_vgrf[i] = num_vars; in fs_live_variables()
262 num_vars += v->alloc.sizes[i]; in fs_live_variables()
265 vgrf_from_var = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
272 start = ralloc_array(mem_ctx, int, num_vars); in fs_live_variables()
273 end = rzalloc_array(mem_ctx, int, num_vars); in fs_live_variables()
274 for (int i = 0; i < num_vars; i++) { in fs_live_variables()
[all …]
Dbrw_fs_dead_code_eliminate.cpp80 int num_vars = live_intervals->num_vars; in dead_code_eliminate() local
81 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
86 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_vec4_dead_code_eliminate.cpp46 int num_vars = live_intervals->num_vars; in dead_code_eliminate() local
47 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); in dead_code_eliminate()
52 sizeof(BITSET_WORD) * BITSET_WORDS(num_vars)); in dead_code_eliminate()
Dbrw_vec4_live_variables.cpp189 num_vars = alloc.total_size * 8; in vec4_live_variables()
192 bitset_words = BITSET_WORDS(num_vars); in vec4_live_variables()
293 for (int i = 0; i < live_intervals->num_vars; i++) { in calculate_live_intervals()
Dbrw_fs_live_variables.h100 int num_vars; variable
Dbrw_vec4_live_variables.h69 int num_vars; variable
Dbrw_vec4.cpp1477 int num_vars = this->alloc.count; in split_virtual_grfs() local
1478 int new_virtual_grf[num_vars]; in split_virtual_grfs()
1479 bool split_grf[num_vars]; in split_virtual_grfs()
1484 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
1504 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
Dbrw_schedule_instructions.cpp632 for (int i = 0; i < v->live_intervals->num_vars; i++) { in setup_liveness()
Dbrw_fs.cpp1728 int num_vars = this->alloc.count; in split_virtual_grfs() local
1732 int vgrf_to_reg[num_vars]; in split_virtual_grfs()
1733 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
1783 for (int i = 0; i < num_vars; i++) { in split_virtual_grfs()
/external/mesa3d/src/compiler/nir/
Dnir_lower_global_vars_to_local.c44 unsigned num_vars = nir_intrinsic_infos[intrin->intrinsic].num_variables; in mark_global_var_uses_block() local
46 for (unsigned i = 0; i < num_vars; i++) { in mark_global_var_uses_block()
Dnir_remove_dead_variables.c34 unsigned num_vars = nir_intrinsic_infos[instr->intrinsic].num_variables; in add_var_use_intrinsic() local
60 for (unsigned i = 0; i < num_vars; i++) { 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() local
154 for (unsigned i = 0; i < num_vars; i++) { in constant_fold_intrinsic_instr()
Dnir_loop_analyze.c694 unsigned num_vars = in force_unroll_heuristics() local
696 for (unsigned i = 0; i < num_vars; i++) { in force_unroll_heuristics()
Dnir_validate.c494 unsigned num_vars = nir_intrinsic_infos[instr->intrinsic].num_variables; in validate_intrinsic_instr() local
495 for (unsigned i = 0; i < num_vars; i++) { in validate_intrinsic_instr()
Dnir_serialize.c199 unsigned num_vars = blob_read_uint32(ctx->blob); in read_var_list() local
200 for (unsigned i = 0; i < num_vars; i++) { in read_var_list()
Dnir.c1314 unsigned num_vars = in visit_intrinsic_src() local
1316 for (unsigned i = 0; i < num_vars; i++) { in visit_intrinsic_src()
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dadam.py159 num_vars = int((len(params) - 1) / 2)
160 if len(weights) == 3 * num_vars + 1:
/external/mesa3d/src/broadcom/compiler/
Dvir_live_variables.c288 vir_compute_start_end(struct v3d_compile *c, int num_vars) in vir_compute_start_end() argument
291 for (int i = 0; i < num_vars; i++) { in vir_compute_start_end()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_live_variables.c278 qir_compute_start_end(struct vc4_compile *c, int num_vars) in qir_compute_start_end() argument
281 for (int i = 0; i < num_vars; i++) { in qir_compute_start_end()
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Drev_block_lib_test.py132 num_vars = len(variables.global_variables())
145 assert len(variables.global_variables()) == num_vars
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
Dlosses_impl_test.py533 num_vars = len(ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES))
536 num_vars, len(ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES)))
/external/mesa3d/src/compiler/glsl/
Dlinker.cpp107 find_assignment_visitor(unsigned num_vars, in find_assignment_visitor() argument
109 : num_variables(num_vars), num_found(0), variables(vars) in find_assignment_visitor()
/external/v8/src/
Dcode-stub-assembler.cc4765 int num_vars = in TaggedToWord32OrBigIntImpl() local
4767 Label loop(this, num_vars, loop_vars); in TaggedToWord32OrBigIntImpl()