Home
last modified time | relevance | path

Searched refs:size_written (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_copy_propagation.cpp51 unsigned size_written; member
209 if (regions_overlap(inst->dst, inst->size_written, in setup_initial_values()
210 entry->dst, entry->size_written)) in setup_initial_values()
236 if (regions_overlap(inst->dst, inst->size_written, in setup_initial_values()
268 for (unsigned off = 0; off < acp[i]->size_written; off += REG_SIZE) { in setup_initial_values()
486 entry->dst, entry->size_written)) in try_copy_propagate()
745 entry->dst, entry->size_written)) in try_constant_propagate()
950 !regions_overlap(inst->dst, inst->size_written, in can_propagate_from()
990 if (regions_overlap(entry->dst, entry->size_written, in opt_copy_propagation_local()
991 inst->dst, inst->size_written)) in opt_copy_propagation_local()
[all …]
Dbrw_fs_register_coalesce.cpp165 inst->dst, inst->size_written)) in can_coalesce_vars()
173 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in can_coalesce_vars()
174 inst->dst, inst->size_written)) in can_coalesce_vars()
178 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in can_coalesce_vars()
246 for (unsigned i = 0; i < MAX2(inst->size_written / REG_SIZE, 1); i++) in register_coalesce()
Dbrw_fs_cse.cpp190 a->size_written == b->size_written && in instructions_match()
303 assert(inst->size_written == entry->generator->size_written); in opt_cse_local()
352 if (regions_overlap(inst->dst, inst->size_written, in opt_cse_local()
Dbrw_vec4_cse.cpp159 a->size_written == b->size_written && in instructions_match()
216 DIV_ROUND_UP(entry->generator->size_written, component_size); in opt_cse_local()
237 DIV_ROUND_UP(inst->size_written, component_size); in opt_cse_local()
Dbrw_vec4.cpp202 return size_written > REG_SIZE; in has_source_and_destination_hazard()
1302 scan_inst->dst, scan_inst->size_written)) { in opt_register_coalesce()
1350 if (scan_inst->size_written != inst->size_written) in opt_register_coalesce()
1364 if (DIV_ROUND_UP(scan_inst->size_written, in opt_register_coalesce()
1394 if (regions_overlap(inst->dst, inst->size_written, in opt_register_coalesce()
1395 scan_inst->dst, scan_inst->size_written) && in opt_register_coalesce()
1413 if (regions_overlap(inst->dst, inst->size_written, in opt_register_coalesce()
1662 alloc.sizes[inst->dst.nr] * REG_SIZE != inst->size_written)) { in dump_instruction()
2050 const unsigned size_written = type_sz(inst->dst.type); in fixup_3src_null_dest() local
2051 const unsigned num_regs = DIV_ROUND_UP(size_written, REG_SIZE); in fixup_3src_null_dest()
[all …]
Dbrw_vec4_dead_code_eliminate.cpp60 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in dead_code_eliminate()
142 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in dead_code_eliminate()
Dbrw_fs_lower_regioning.cpp351 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_dst_modifiers()
353 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_dst_modifiers()
454 assert(inst->size_written == inst->dst.component_size(inst->exec_size)); in lower_dst_region()
456 inst->size_written = inst->dst.component_size(inst->exec_size); in lower_dst_region()
Dbrw_ir_fs.h449 inst->size_written - in regs_written()
450 MIN2(inst->size_written, reg_padding(inst->dst)), in regs_written()
615 if (regions_overlap(inst->dst, inst->size_written, in is_copy_payload()
686 alloc.sizes[inst->src[0].nr] * REG_SIZE == inst->size_written; in is_coalescing_payload()
Dbrw_fs_generator.cpp329 const unsigned rlen = dst_is_null ? 0 : inst->size_written / REG_SIZE; in generate_send()
444 assert(inst->size_written % REG_SIZE == 0); in generate_fb_read()
450 inst->header_size, inst->size_written / REG_SIZE, in generate_fb_read()
830 assert(inst->size_written % REG_SIZE == 0); in generate_urb_read()
847 brw_inst_set_rlen(p->devinfo, send, inst->size_written / REG_SIZE); in generate_urb_read()
1086 assert(inst->size_written % REG_SIZE == 0); in generate_tex()
1308 inst->size_written / REG_SIZE, in generate_tex()
1654 brw_message_desc(devinfo, 1, DIV_ROUND_UP(inst->size_written, in generate_uniform_pull_constant_load_gfx7()
1682 DIV_ROUND_UP(inst->size_written, REG_SIZE), true) | in generate_uniform_pull_constant_load_gfx7()
1723 assert(inst->size_written == 8 * REG_SIZE); in generate_varying_pull_constant_load_gfx4()
[all …]
Dbrw_fs_cmod_propagation.cpp181 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in cmod_propagate_not()
288 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in opt_cmod_propagation_local()
Dbrw_fs_nir.cpp2163 inst->size_written = 2 * dst.component_size(inst->exec_size); in emit_pixel_interpolater_send()
2613 inst->size_written = read_components * in emit_gs_input_load()
2621 inst->size_written = num_components * in emit_gs_input_load()
2636 inst->size_written = read_components * in emit_gs_input_load()
2644 inst->size_written = num_components * in emit_gs_input_load()
2948 inst->size_written = (num_components + first_component) * in nir_emit_tcs_intrinsic()
2958 inst->size_written = 4 * REG_SIZE; in nir_emit_tcs_intrinsic()
2988 inst->size_written = read_components * REG_SIZE; in nir_emit_tcs_intrinsic()
2996 inst->size_written = instr->num_components * REG_SIZE; in nir_emit_tcs_intrinsic()
3012 inst->size_written = read_components * REG_SIZE; in nir_emit_tcs_intrinsic()
[all …]
Dbrw_fs.cpp79 this->size_written = dst.component_size(exec_size); in init()
82 this->size_written = 0; in init()
196 inst->size_written = 4 * vec4_result.component_size(inst->exec_size); in VARYING_PULL_CONSTANT_LOAD()
1136 return flag_mask(dst, size_written); in flags_written()
1748 send->size_written = num_regs * REG_SIZE; in assign_curb_setup()
2166 assert(inst->size_written == alloc.sizes[inst->dst.nr] * REG_SIZE); in split_virtual_grfs()
2225 assert(inst->size_written % REG_SIZE == 0); in split_virtual_grfs()
2227 while (reg_offset < inst->size_written / REG_SIZE) { in split_virtual_grfs()
3136 alloc.sizes[inst->dst.nr] * REG_SIZE == inst->size_written && in opt_register_renaming()
3275 if (regions_overlap(scan_inst->dst, scan_inst->size_written, in compute_to_mrf()
[all …]
Dbrw_ir.h162 unsigned size_written; /**< Data written to the destination register in bytes. */ member
Dbrw_fs_builder.h772 inst->size_written = header_size * REG_SIZE; in LOAD_PAYLOAD()
774 inst->size_written += in LOAD_PAYLOAD()
788 inst->size_written = shader->alloc.sizes[dst.nr] * REG_SIZE; in UNDEF()
Dbrw_vec4_copy_propagation.cpp76 return regions_overlap(*src, REG_SIZE, inst->dst, inst->size_written) && in is_channel_updated()
323 if (inst->size_written > REG_SIZE && is_uniform(value)) in try_copy_propagate()
Dbrw_fs_saturate_propagation.cpp70 regions_overlap(scan_inst->dst, scan_inst->size_written, in opt_saturate_propagation_local()
Dbrw_vec4_surface_builder.cpp130 inst->size_written = ret_sz * REG_SIZE; in emit_send()
Dbrw_schedule_instructions.cpp1664 if (inst->size_written <= 4 * inst->exec_size && in choose_instruction_to_schedule()
1665 chosen_inst->size_written > 4 * chosen_inst->exec_size) { in choose_instruction_to_schedule()
1669 } else if (inst->size_written > chosen_inst->size_written) { in choose_instruction_to_schedule()
Dbrw_vec4_live_variables.cpp103 for (unsigned i = 0; i < DIV_ROUND_UP(inst->size_written, 16); i++) { in setup_def_use()
Dbrw_vec4_cmod_propagation.cpp146 scan_inst->dst, scan_inst->size_written)) { in opt_cmod_propagation_local()
Dbrw_ir_vec4.h421 return DIV_ROUND_UP(reg_offset(inst->dst) % REG_SIZE + inst->size_written, in regs_written()
Dbrw_vec4_builder.h316 inst->size_written = inst->exec_size * type_sz(inst->dst.type); in emit()
Dbrw_fs_reg_allocate.cpp774 unspill_inst->size_written = reg_size * REG_SIZE; in emit_unspill()
839 spill_inst->size_written = 0; in emit_spill()
Dbrw_ir_performance.cpp125 td(inst->dst.type), sd(DIV_ROUND_UP(inst->size_written, REG_SIZE)), in instruction_info()
156 td(inst->dst.type), sd(DIV_ROUND_UP(inst->size_written, REG_SIZE)), in instruction_info()
/third_party/PyYAML/yaml/
D_yaml.pxd245 char *output, size_t size, size_t *size_written)

12