Home
last modified time | relevance | path

Searched refs:VGRF (Results 1 – 25 of 40) 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()
227 if (inst->dst.file == VGRF && inst->has_source_and_destination_hazard()) { in reg_allocate()
229 if (inst->src[i].file == VGRF) { in reg_allocate()
305 assert(inst->src[i].file == VGRF); in can_use_scratch_for_source()
310 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source()
323 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
342 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
400 if (inst->src[i].file == VGRF && !no_spill[inst->src[i].nr]) { in evaluate_spill_costs()
[all …]
Dbrw_fs_reg_allocate.cpp39 if (reg->file == VGRF) { in assign_reg()
643 if (inst->dst.file == VGRF && inst->has_source_and_destination_hazard()) { in setup_inst_interference()
645 if (inst->src[i].file == VGRF) { in setup_inst_interference()
663 if (inst->exec_size >= 16 && inst->dst.file == VGRF) { in setup_inst_interference()
665 if (inst->src[i].file == VGRF) { in setup_inst_interference()
687 inst->dst.file == VGRF) in setup_inst_interference()
699 inst->dst.file == VGRF) in setup_inst_interference()
717 inst->src[2].file == VGRF && inst->src[3].file == VGRF && in setup_inst_interference()
843 if (inst->opcode == FS_OPCODE_LINTERP && inst->src[0].file == VGRF && in build_interference_graph()
996 if (inst->src[i].file == VGRF) in set_spill_costs()
[all …]
Dbrw_vec4_dead_code_eliminate.cpp56 if ((inst->dst.file == VGRF && !inst->has_side_effects()) || in dead_code_eliminate()
59 if (inst->dst.file == VGRF) { in dead_code_eliminate()
140 if (inst->dst.file == VGRF && !inst->predicate && in dead_code_eliminate()
163 if (inst->src[i].file == VGRF) { in dead_code_eliminate()
Dbrw_fs_copy_propagation.cpp203 if (inst->dst.file != VGRF) in setup_initial_values()
229 if (inst->dst.file != VGRF && in setup_initial_values()
450 if (inst->src[arg].file != VGRF) in try_copy_propagate()
455 assert(entry->src.file == VGRF || entry->src.file == UNIFORM || in try_copy_propagate()
476 assert(entry->dst.file == VGRF); in try_copy_propagate()
695 if (inst->src[i].file != VGRF) in try_constant_propagate()
698 assert(entry->dst.file == VGRF); in try_constant_propagate()
909 inst->dst.file == VGRF && in can_propagate_from()
910 ((inst->src[0].file == VGRF && in can_propagate_from()
935 if (inst->src[i].file != VGRF) in opt_copy_propagation_local()
[all …]
Dbrw_fs_dead_code_eliminate.cpp91 if (inst->dst.file == VGRF) { in dead_code_eliminate()
111 if (inst->dst.file == VGRF) { in dead_code_eliminate()
129 if (inst->src[i].file == VGRF) { in dead_code_eliminate()
Dbrw_ir_fs.h78 case VGRF: in byte_offset()
115 case VGRF: in horiz_offset()
140 case VGRF: in offset()
173 return r.file << 16 | (r.file == VGRF ? r.nr : 0); in reg_space()
183 return (r.file == VGRF || r.file == IMM ? 0 : r.nr) * in reg_offset()
587 inst->dst.file != VGRF) in is_copy_payload()
642 if (is_copy_payload(VGRF, inst)) { in is_multi_copy_payload()
667 return is_identity_payload(VGRF, inst) && in is_coalescing_payload()
Dbrw_fs_validate.cpp46 if (inst->dst.file == VGRF) { in validate()
52 if (inst->src[i].file == VGRF) { in validate()
Dbrw_fs_saturate_propagation.cpp58 inst->dst.file != VGRF || in opt_saturate_propagation_local()
60 inst->src[0].file != VGRF || in opt_saturate_propagation_local()
127 if (scan_inst->src[i].file == VGRF && in opt_saturate_propagation_local()
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()
316 value.file != VGRF && in try_copy_propagate()
484 if (inst->src[i].file != VGRF || in opt_copy_propagation()
504 if (inst->dst.file == VGRF) { in opt_copy_propagation()
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()
351 if (inst->src[i].file == VGRF && in validate()
357 if (inst->dst.file == VGRF && in validate()
Dbrw_fs_register_coalesce.cpp77 inst->src[0].file != VGRF || in is_coalesce_candidate()
81 inst->dst.file != VGRF || in is_coalesce_candidate()
304 if (scan_inst->dst.file == VGRF && in register_coalesce()
312 if (scan_inst->src[j].file == VGRF && in register_coalesce()
Dbrw_vec4_live_variables.cpp80 if (inst->src[i].file == VGRF) { in setup_def_use()
102 if (inst->dst.file == VGRF) { in setup_def_use()
279 if (inst->src[i].file == VGRF && in validate()
286 if (inst->dst.file == VGRF && in validate()
Dbrw_vec4_live_variables.h115 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
129 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
Dbrw_schedule_instructions.cpp729 if (inst->src[i].file == VGRF) { in count_reads_remaining()
807 if (inst->dst.file == VGRF) { in update_register_pressure()
815 if (inst->src[i].file == VGRF) { in update_register_pressure()
831 if (inst->dst.file == VGRF) { in get_register_pressure_benefit()
841 if (inst->src[i].file == VGRF && in get_register_pressure_benefit()
1114 if (inst->src[i].file == VGRF) { in calculate_deps()
1162 if (inst->dst.file == VGRF) { in calculate_deps()
1240 if (inst->src[i].file == VGRF) { in calculate_deps()
1290 if (inst->dst.file == VGRF) { in calculate_deps()
1375 if (inst->src[i].file == VGRF) { in calculate_deps()
[all …]
Dbrw_fs_visitor.cpp655 fs_reg zero(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
707 fs_reg reg = fs_reg(VGRF, alloc.allocate(1), outputs[varying].type); in emit_urb_writes()
740 fs_reg payload = fs_reg(VGRF, alloc.allocate(length + header_size), in emit_urb_writes()
788 fs_reg payload = fs_reg(VGRF, alloc.allocate(2), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
805 fs_reg payload = fs_reg(VGRF, alloc.allocate(6), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
855 fs_reg payload = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_cs_terminate()
884 fs_reg payload = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_barrier()
Dbrw_fs_cse.cpp212 assert(src.file == VGRF); in create_copy_instr()
227 assert(src.file == VGRF); in create_copy_instr()
293 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local()
363 if (src_reg->file == VGRF && live.vgrf_end[src_reg->nr] < ip) { in opt_cse_local()
Dbrw_vec4.cpp564 if (inst->src[i].file != VGRF && in opt_reduce_swizzle()
1078 if (inst->src[i].file == VGRF) { in opt_set_dependency_control()
1097 if (inst->dst.file == VGRF || inst->dst.file == FIXED_GRF) { in opt_set_dependency_control()
1241 (inst->dst.file != VGRF && inst->dst.file != MRF) || in opt_register_coalesce()
1243 inst->src[0].file != VGRF || in opt_register_coalesce()
1427 if (scan_inst->dst.file == VGRF && in opt_register_coalesce()
1541 if (inst->dst.file == VGRF && regs_written(inst) > 1) in split_virtual_grfs()
1545 if (inst->src[i].file == VGRF && regs_read(inst, i) > 1) in split_virtual_grfs()
1567 if (inst->dst.file == VGRF && split_grf[inst->dst.nr] && in split_virtual_grfs()
1574 if (inst->src[i].file == VGRF && split_grf[inst->src[i].nr] && in split_virtual_grfs()
[all …]
Dbrw_fs.cpp74 case VGRF: in init()
215 ubld.MOV(ubld.null_reg_f(), fs_reg(VGRF, grf, BRW_REGISTER_TYPE_F)); in DEP_RESOLVE_MOV()
238 return src[1].file == VGRF; in is_send_from_grf()
241 return src[0].file == VGRF; in is_send_from_grf()
244 return src[0].file == VGRF; in is_send_from_grf()
420 if (src[i].file == VGRF && (src[i].stride == 0 || in has_source_and_destination_hazard()
548 case VGRF: in is_contiguous()
582 fs_reg dst = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in get_timestamp()
634 const fs_reg diff = component(fs_reg(VGRF, alloc.allocate(1), in emit_shader_time_end()
1017 if (is_tex() && arg == 0 && src[0].file == VGRF) in size_read()
[all …]
Dbrw_fs_lower_pack.cpp39 assert(inst->dst.file == VGRF); in lower_pack()
Dbrw_ir_vec4.h71 case VGRF: in add_byte_offset()
224 return r.file << 16 | (r.file == VGRF ? r.nr : 0); in reg_space()
234 return (r.file == VGRF || r.file == IMM ? 0 : r.nr) * in reg_offset()
Dbrw_vec4_cse.cpp209 entry->tmp = retype(src_reg(VGRF, alloc.allocate( in opt_cse_local()
290 if (src->file == VGRF) { in opt_cse_local()
Dbrw_vec4_visitor.cpp675 this->file = VGRF; in src_reg()
693 this->file = VGRF; in src_reg()
705 this->file = VGRF; in dst_reg()
1515 if (src.file == VGRF && scratch_loc[src.nr] != -1) { in emit_resolve_reladdr()
1544 if (inst->dst.file == VGRF && inst->dst.reladdr) { in move_grf_array_access_to_scratch()
1553 if (iter->file == VGRF && scratch_loc[iter->nr] == -1) { in move_grf_array_access_to_scratch()
1564 if (iter->file == VGRF && scratch_loc[iter->nr] == -1) { in move_grf_array_access_to_scratch()
1592 if (inst->dst.file == VGRF && scratch_loc[inst->dst.nr] != -1) in move_grf_array_access_to_scratch()
Dbrw_fs_builder.h204 return dst_reg(VGRF, shader->alloc.allocate(
714 assert(dst.file == VGRF); in UNDEF()
758 case VGRF: in fix_3src_operand()
Dbrw_fs_bank_conflicts.cpp485 return r.file == VGRF || r.file == FIXED_GRF; in is_grf()
498 if (r.file == VGRF) in reg_of()
897 if (r.file == VGRF) { in transform()
Dbrw_fs_combine_constants.cpp446 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants()
535 reg->file = VGRF; in opt_combine_constants()

12