/external/mesa3d/src/broadcom/compiler/ |
D | vir_register_allocate.c | 101 struct node_to_temp_map map[c->num_temps]; in v3d_register_allocate() 102 uint32_t temp_to_node[c->num_temps]; in v3d_register_allocate() 103 uint8_t class_bits[c->num_temps]; in v3d_register_allocate() 104 struct qpu_reg *temp_registers = calloc(c->num_temps, in v3d_register_allocate() 109 c->num_temps + in v3d_register_allocate() 129 acc_nodes[i] = c->num_temps + i; in v3d_register_allocate() 133 for (uint32_t i = 0; i < c->num_temps; i++) { in v3d_register_allocate() 137 qsort(map, c->num_temps, sizeof(map[0]), node_to_temp_priority); in v3d_register_allocate() 138 for (uint32_t i = 0; i < c->num_temps; i++) { in v3d_register_allocate() 157 for (int i = 0; i < c->num_temps; i++) { in v3d_register_allocate() [all …]
|
D | vir_live_variables.c | 312 int bitset_words = BITSET_WORDS(c->num_temps); in vir_calculate_live_intervals() 319 c->temp_start = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals() 320 c->temp_end = rzalloc_array(c, int, c->num_temps); in vir_calculate_live_intervals() 322 for (int i = 0; i < c->num_temps; i++) { in vir_calculate_live_intervals() 339 vir_compute_start_end(c, c->num_temps); in vir_calculate_live_intervals()
|
D | vir_opt_copy_propagate.c | 194 for (int i = 0; i < c->num_temps; i++) { in apply_kills() 210 movs = ralloc_array(c, struct qinst *, c->num_temps); in vir_opt_copy_propagate() 218 memset(movs, 0, sizeof(struct qinst *) * c->num_temps); in vir_opt_copy_propagate()
|
D | vir_dump.c | 327 for (int i = 0; i < c->num_temps; i++) { in vir_dump() 348 for (int i = 0; i < c->num_temps; i++) { in vir_dump()
|
D | vir_opt_dead_code.c | 92 bool *used = calloc(c->num_temps, sizeof(bool)); in vir_opt_dead_code()
|
D | vir.c | 352 reg.index = c->num_temps++; in vir_get_temp() 354 if (c->num_temps > c->defs_array_size) { in vir_get_temp()
|
D | v3d_compiler.h | 501 uint32_t num_temps; member
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_register_allocate.c | 256 struct node_to_temp_map map[c->num_temps]; in vc4_register_allocate() 257 uint32_t temp_to_node[c->num_temps]; in vc4_register_allocate() 258 uint8_t class_bits[c->num_temps]; in vc4_register_allocate() 259 struct qpu_reg *temp_registers = calloc(c->num_temps, in vc4_register_allocate() 269 for (uint32_t i = 0; i < c->num_temps; i++) in vc4_register_allocate() 275 c->num_temps); in vc4_register_allocate() 282 for (uint32_t i = 0; i < c->num_temps; i++) { in vc4_register_allocate() 286 qsort(map, c->num_temps, sizeof(map[0]), node_to_temp_priority); in vc4_register_allocate() 287 for (uint32_t i = 0; i < c->num_temps; i++) { in vc4_register_allocate() 306 for (int i = 0; i < c->num_temps; i++) { in vc4_register_allocate() [all …]
|
D | vc4_qir_live_variables.c | 302 int bitset_words = BITSET_WORDS(c->num_temps); in qir_calculate_live_intervals() 309 c->temp_start = rzalloc_array(c, int, c->num_temps); in qir_calculate_live_intervals() 310 c->temp_end = rzalloc_array(c, int, c->num_temps); in qir_calculate_live_intervals() 312 for (int i = 0; i < c->num_temps; i++) { in qir_calculate_live_intervals() 329 qir_compute_start_end(c, c->num_temps); in qir_calculate_live_intervals() 333 for (int i = 0; i < c->num_temps; i++) in qir_calculate_live_intervals() 339 for (int j = 0; j < c->num_temps; j++) { in qir_calculate_live_intervals()
|
D | vc4_qir_validate.c | 38 bool already_assigned[c->num_temps]; in qir_validate() 49 for (int i = 0; i < c->num_temps; i++) { in qir_validate() 59 if (inst->dst.index >= c->num_temps) in qir_validate() 113 if (src.index >= c->num_temps) in qir_validate()
|
D | vc4_opt_copy_propagation.c | 162 for (int i = 0; i < c->num_temps; i++) { in apply_kills() 178 movs = ralloc_array(c, struct qinst *, c->num_temps); in qir_opt_copy_propagation() 186 memset(movs, 0, sizeof(struct qinst *) * c->num_temps); in qir_opt_copy_propagation()
|
D | vc4_qir_schedule.c | 300 c->num_temps); in calculate_forward_deps() 420 c->num_temps); in calculate_reverse_deps() 708 state.temp_writes = rzalloc_array(mem_ctx, uint32_t, c->num_temps); in qir_schedule_instructions_block() 710 BITSET_WORDS(c->num_temps)); in qir_schedule_instructions_block()
|
D | vc4_qir.c | 464 for (int i = 0; i < c->num_temps; i++) { in qir_dump() 486 for (int i = 0; i < c->num_temps; i++) { in qir_dump() 526 reg.index = c->num_temps++; in qir_get_temp() 529 if (c->num_temps > c->defs_array_size) { in qir_get_temp()
|
D | vc4_opt_vpm.c | 45 uint32_t use_count[c->num_temps]; in qir_opt_vpm()
|
D | vc4_opt_coalesce_ff_writes.c | 42 uint32_t use_count[c->num_temps]; in qir_opt_coalesce_ff_writes()
|
D | vc4_opt_dead_code.c | 88 bool *used = calloc(c->num_temps, sizeof(bool)); in qir_opt_dead_code()
|
D | vc4_qir.h | 501 uint32_t num_temps; member
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_two_side.c | 53 uint num_temps; member 89 ts->num_temps = MAX2(ts->num_temps, decl->Range.Last + 1); in xform_decl() 126 decl.Range.First = ts->num_temps; in emit_prolog() 127 decl.Range.Last = ts->num_temps + num_colors - 1; in emit_prolog() 129 ts->new_colors[0] = ts->num_temps; in emit_prolog() 130 ts->new_colors[1] = ts->num_temps + 1; in emit_prolog()
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_shader.c | 151 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 1)); in etna_link_shaders() 161 VIVS_PS_TEMP_REGISTER_CONTROL_NUM_TEMPS(MAX2(fs->num_temps, link.num_varyings + 2)); in etna_link_shaders() 238 unsigned num_temps, cur_temp, num_vs_inputs; in etna_shader_update_vs_inputs() local 253 cur_temp = vs->num_temps; in etna_shader_update_vs_inputs() 254 num_temps = num_vs_inputs - vs->infile.num_reg + cur_temp; in etna_shader_update_vs_inputs() 259 VIVS_VS_TEMP_REGISTER_CONTROL_NUM_TEMPS(num_temps); in etna_shader_update_vs_inputs() 302 v->num_temps, in dump_shader_info()
|
D | etnaviv_compiler.h | 66 unsigned num_temps; member
|
D | etnaviv_compiler.c | 320 int temp_ptr = 0, num_temps; in assign_inouts_to_temporaries() local 325 num_temps = sort_registers(temps_order, &c->file[TGSI_FILE_TEMPORARY], in assign_inouts_to_temporaries() 328 while (inout_ptr < num_inouts && temp_ptr < num_temps) { in assign_inouts_to_temporaries() 2452 v->num_temps = c->next_free_native; in etna_compile_shader() 2491 printf("num temps: %i\n", shader->num_temps); in etna_dump_shader()
|
/external/mesa3d/src/mesa/state_tracker/tests/ |
D | test_glsl_to_tgsi_lifetime.cpp | 89 int num_temps; member in MockShader 1355 num_temps(0) in MockShader() 1384 ++num_temps; in MockShader() 1388 num_temps(0) in MockShader() 1416 ++num_temps; in MockShader() 1421 return num_temps; in get_num_temps() 1442 num_temps = 0; in free() 1452 if (num_temps < idx) in create_src_register() 1453 num_temps = idx; in create_src_register() 1478 if (num_temps < idx) in create_src_register() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_ra_init.cpp | 53 unsigned num_temps; member in r600_sb::regbits 57 regbits(unsigned num_temps) : dta(), num_temps(num_temps) {} in regbits() argument 58 regbits(unsigned num_temps, unsigned value) : num_temps(num_temps) in regbits() argument 61 regbits(shader &sh, val_set &vs) : num_temps(sh.get_ctx().alu_temp_gprs) in regbits() 161 assert(bit < ((MAX_GPR - num_temps) << 2)); in find_free_bit() 171 for (unsigned a = 0; a < MAX_GPR - num_temps; ++a) { in find_free_array()
|
/external/libcups/cups/ |
D | dest.c | 2097 int num_temps; /* Number of temporary destinations */ in cupsSetDests2() local 2115 num_temps = _cupsGetDests(http, IPP_OP_CUPS_GET_PRINTERS, NULL, &temps, 0, 0); in cupsSetDests2() 2119 cupsFreeDests(num_temps, temps); in cupsSetDests2() 2136 num_temps = cups_get_dests(filename, NULL, NULL, 0, num_temps, &temps); in cupsSetDests2() 2163 cupsFreeDests(num_temps, temps); in cupsSetDests2() 2198 if ((temp = cupsGetDest(dest->name, dest->instance, num_temps, temps)) == NULL) in cupsSetDests2() 2199 temp = cupsGetDest(dest->name, NULL, num_temps, temps); in cupsSetDests2() 2278 cupsFreeDests(num_temps, temps); in cupsSetDests2()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 2808 unsigned num_temps = emit->temp_arrays[i].size; in emit_temporaries_declaration() local 2810 if (num_temps > 0) { in emit_temporaries_declaration() 2819 emit_dword(emit, num_temps); in emit_temporaries_declaration() 2823 total_temps += num_temps; in emit_temporaries_declaration()
|