Home
last modified time | relevance | path

Searched refs:VGRF (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/intel/compiler/
Dbrw_vec4_reg_allocate.cpp35 if (reg->file == VGRF) { in assign()
56 if (inst->dst.file == VGRF) in reg_allocate_trivial()
60 if (inst->src[i].file == VGRF) in reg_allocate_trivial()
228 if (inst->dst.file == VGRF && inst->has_source_and_destination_hazard()) { in reg_allocate()
230 if (inst->src[i].file == VGRF) { in reg_allocate()
306 assert(inst->src[i].file == VGRF); in can_use_scratch_for_source()
311 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source()
324 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
343 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
401 if (inst->src[i].file == VGRF && !no_spill[inst->src[i].nr]) { in evaluate_spill_costs()
[all …]
Dbrw_fs_reg_allocate.cpp38 if (reg->file == VGRF) { in assign_reg()
572 this->delta_xy[BRW_BARYCENTRIC_PERSPECTIVE_PIXEL].file == VGRF && in assign_regs()
590 if (inst->dst.file == VGRF && inst->has_source_and_destination_hazard()) { in assign_regs()
592 if (inst->src[i].file == VGRF) { in assign_regs()
645 if (inst->dst.file != VGRF) in assign_regs()
649 if (inst->src[i].file == VGRF) { in assign_regs()
824 if (inst->src[i].file == VGRF) in choose_spill_reg()
828 if (inst->dst.file == VGRF) in choose_spill_reg()
851 if (inst->src[0].file == VGRF) in choose_spill_reg()
857 if (inst->dst.file == VGRF) in choose_spill_reg()
[all …]
Dbrw_vec4_dead_code_eliminate.cpp57 if ((inst->dst.file == VGRF && !inst->has_side_effects()) || in dead_code_eliminate()
60 if (inst->dst.file == VGRF) { in dead_code_eliminate()
112 if (inst->dst.file == VGRF && !inst->predicate && in dead_code_eliminate()
135 if (inst->src[i].file == VGRF) { in dead_code_eliminate()
Dbrw_fs_copy_propagation.cpp172 if (inst->dst.file != VGRF) in setup_initial_values()
367 if (inst->src[arg].file != VGRF) in try_copy_propagate()
372 assert(entry->src.file == VGRF || entry->src.file == UNIFORM || in try_copy_propagate()
379 assert(entry->dst.file == VGRF); in try_copy_propagate()
534 if (inst->src[i].file != VGRF) in try_constant_propagate()
537 assert(entry->dst.file == VGRF); in try_constant_propagate()
758 inst->dst.file == VGRF && in can_propagate_from()
759 ((inst->src[0].file == VGRF && in can_propagate_from()
781 if (inst->src[i].file != VGRF) in opt_copy_propagation_local()
793 if (inst->dst.file == VGRF) { in opt_copy_propagation_local()
[all …]
Dbrw_fs_dead_code_eliminate.cpp91 if (inst->dst.file == VGRF) { in dead_code_eliminate()
110 if (inst->dst.file == VGRF) { in dead_code_eliminate()
128 if (inst->src[i].file == VGRF) { in dead_code_eliminate()
Dbrw_vec4_copy_propagation.cpp48 inst->dst.file == VGRF && in is_direct_copy()
72 assert(inst->dst.file == VGRF); in is_channel_updated()
73 if (!src || src->file != VGRF) in is_channel_updated()
332 value.file != VGRF && in try_copy_propagate()
505 if (inst->src[i].file != VGRF || in opt_copy_propagation()
525 if (inst->dst.file == VGRF) { in opt_copy_propagation()
Dbrw_fs_validate.cpp45 if (inst->dst.file == VGRF) { in validate()
51 if (inst->src[i].file == VGRF) { in validate()
Dbrw_fs_saturate_propagation.cpp56 inst->dst.file != VGRF || in opt_saturate_propagation_local()
58 inst->src[0].file != VGRF || in opt_saturate_propagation_local()
124 if (scan_inst->src[i].file == VGRF && in opt_saturate_propagation_local()
Dbrw_fs_register_coalesce.cpp75 inst->src[0].file != VGRF || in is_coalesce_candidate()
79 inst->dst.file != VGRF || in is_coalesce_candidate()
256 if (scan_inst->dst.file == VGRF && in register_coalesce()
264 if (scan_inst->src[j].file == VGRF && in register_coalesce()
Dbrw_ir_fs.h77 case VGRF: in byte_offset()
114 case VGRF: in horiz_offset()
139 case VGRF: in offset()
172 return r.file << 16 | (r.file == VGRF ? r.nr : 0); in reg_space()
182 return (r.file == VGRF || r.file == IMM ? 0 : r.nr) * in reg_offset()
Dbrw_vec4_live_variables.cpp78 if (inst->src[i].file == VGRF) { in setup_def_use()
99 if (inst->dst.file == VGRF && in setup_def_use()
257 if (inst->src[i].file == VGRF) { in calculate_live_intervals()
268 if (inst->dst.file == VGRF) { in calculate_live_intervals()
Dbrw_schedule_instructions.cpp613 if (inst->src[i].file == VGRF) { in count_reads_remaining()
689 if (inst->dst.file == VGRF) { in update_register_pressure()
697 if (inst->src[i].file == VGRF) { in update_register_pressure()
713 if (inst->dst.file == VGRF) { in get_register_pressure_benefit()
723 if (inst->src[i].file == VGRF && in get_register_pressure_benefit()
998 if (inst->src[i].file == VGRF) { in calculate_deps()
1046 if (inst->dst.file == VGRF) { in calculate_deps()
1124 if (inst->src[i].file == VGRF) { in calculate_deps()
1174 if (inst->dst.file == VGRF) { in calculate_deps()
1257 if (inst->src[i].file == VGRF) { in calculate_deps()
[all …]
Dbrw_vec4_live_variables.h91 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
105 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
Dbrw_fs.cpp72 case VGRF: in init()
224 ubld.MOV(ubld.null_reg_f(), fs_reg(VGRF, grf, BRW_REGISTER_TYPE_F)); in DEP_RESOLVE_MOV()
273 return src[1].file == VGRF; in is_send_from_grf()
276 return src[0].file == VGRF; in is_send_from_grf()
279 return src[0].file == VGRF; in is_send_from_grf()
337 if (src[i].file == VGRF && (src[i].stride == 0 || in has_source_and_destination_hazard()
357 if (reg.file != VGRF || reg.offset != 0 || reg.stride != 1) in is_copy_payload()
519 fs_reg dst = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in get_timestamp()
571 const fs_reg diff = component(fs_reg(VGRF, alloc.allocate(1), in emit_shader_time_end()
856 if (is_tex() && arg == 0 && src[0].file == VGRF) in size_read()
[all …]
Dbrw_vec4.cpp544 if (inst->src[i].file != VGRF && in opt_reduce_swizzle()
1070 if (inst->src[i].file == VGRF) { in opt_set_dependency_control()
1089 if (inst->dst.file == VGRF || inst->dst.file == FIXED_GRF) { in opt_set_dependency_control()
1206 (inst->dst.file != VGRF && inst->dst.file != MRF) || in opt_register_coalesce()
1208 inst->src[0].file != VGRF || in opt_register_coalesce()
1381 if (scan_inst->dst.file == VGRF && in opt_register_coalesce()
1492 if (inst->dst.file == VGRF && regs_written(inst) > 1) in split_virtual_grfs()
1496 if (inst->src[i].file == VGRF && regs_read(inst, i) > 1) in split_virtual_grfs()
1518 if (inst->dst.file == VGRF && split_grf[inst->dst.nr] && in split_virtual_grfs()
1525 if (inst->src[i].file == VGRF && split_grf[inst->src[i].nr] && in split_virtual_grfs()
[all …]
Dbrw_fs_visitor.cpp219 fs_reg int_pixel_xy(VGRF, alloc.allocate(dispatch_width / 8), in emit_interpolation_setup_gen6()
636 fs_reg zero(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
688 fs_reg reg = fs_reg(VGRF, alloc.allocate(1), outputs[varying].type); in emit_urb_writes()
711 fs_reg payload = fs_reg(VGRF, alloc.allocate(length + header_size), in emit_urb_writes()
753 fs_reg payload = fs_reg(VGRF, alloc.allocate(2), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
777 fs_reg payload = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_cs_terminate()
796 fs_reg payload = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_barrier()
Dbrw_fs_live_variables.cpp86 if (inst->dst.file == VGRF) { in setup_one_write()
120 if (reg.file != VGRF) in setup_def_use()
132 if (inst->dst.file == VGRF) { in setup_def_use()
Dbrw_ir_vec4.h70 case VGRF: in add_byte_offset()
223 return r.file << 16 | (r.file == VGRF ? r.nr : 0); in reg_space()
233 return (r.file == VGRF || r.file == IMM ? 0 : r.nr) * in reg_offset()
Dbrw_fs_cse.cpp220 assert(src.file == VGRF); in create_copy_instr()
289 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local()
349 if (src_reg->file == VGRF && virtual_grf_end[src_reg->nr] < ip) { in opt_cse_local()
Dbrw_fs_lower_pack.cpp39 assert(inst->dst.file == VGRF); in lower_pack()
Dbrw_fs_combine_constants.cpp270 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants()
297 reg->file = VGRF; in opt_combine_constants()
Dbrw_vec4_cse.cpp182 entry->tmp = retype(src_reg(VGRF, alloc.allocate( in opt_cse_local()
263 if (src->file == VGRF) { in opt_cse_local()
Dbrw_vec4_visitor.cpp683 this->file = VGRF; in src_reg()
701 this->file = VGRF; in src_reg()
713 this->file = VGRF; in dst_reg()
1603 if (src.file == VGRF && scratch_loc[src.nr] != -1) { in emit_resolve_reladdr()
1632 if (inst->dst.file == VGRF && inst->dst.reladdr) { in move_grf_array_access_to_scratch()
1641 if (iter->file == VGRF && scratch_loc[iter->nr] == -1) { in move_grf_array_access_to_scratch()
1652 if (iter->file == VGRF && scratch_loc[iter->nr] == -1) { in move_grf_array_access_to_scratch()
1680 if (inst->dst.file == VGRF && scratch_loc[inst->dst.nr] != -1) in move_grf_array_access_to_scratch()
Dbrw_fs_bank_conflicts.cpp485 return r.file == VGRF || r.file == FIXED_GRF; in is_grf()
498 if (r.file == VGRF) in reg_of()
877 if (r.file == VGRF) { in transform()
Dbrw_fs_cmod_propagation.cpp65 inst->src[0].file != VGRF || in opt_cmod_propagation_local()

12