Home
last modified time | relevance | path

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

12

/third_party/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()
193 if (inst->dst.file == VGRF && inst->has_source_and_destination_hazard()) { in reg_allocate()
195 if (inst->src[i].file == VGRF) { in reg_allocate()
269 assert(inst->src[i].file == VGRF); in can_use_scratch_for_source()
274 if (inst->src[n].file == VGRF && inst->src[n].nr == scratch_reg) in can_use_scratch_for_source()
287 if (prev_inst->dst.file == VGRF && prev_inst->dst.nr == scratch_reg) { in can_use_scratch_for_source()
306 if (prev_inst->src[n].file == VGRF && in can_use_scratch_for_source()
364 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()
525 if (inst->dst.file == VGRF && inst->has_source_and_destination_hazard()) { in setup_inst_interference()
527 if (inst->src[i].file == VGRF) { in setup_inst_interference()
545 if (inst->exec_size >= 16 && inst->dst.file == VGRF) { in setup_inst_interference()
547 if (inst->src[i].file == VGRF) { in setup_inst_interference()
569 inst->dst.file == VGRF) in setup_inst_interference()
581 inst->dst.file == VGRF) in setup_inst_interference()
599 inst->src[2].file == VGRF && inst->src[3].file == VGRF && in setup_inst_interference()
715 if (inst->opcode == FS_OPCODE_LINTERP && inst->src[0].file == VGRF && in build_interference_graph()
893 if (inst->src[i].file == VGRF) in set_spill_costs()
[all …]
Dbrw_fs_copy_propagation.cpp204 if (inst->dst.file != VGRF) in setup_initial_values()
230 if (inst->dst.file != VGRF && in setup_initial_values()
454 if (inst->src[arg].file != VGRF) in try_copy_propagate()
459 assert(entry->src.file == VGRF || entry->src.file == UNIFORM || in try_copy_propagate()
480 assert(entry->dst.file == VGRF); in try_copy_propagate()
505 if (inst->opcode == SHADER_OPCODE_SEND && entry->src.file == VGRF) { in try_copy_propagate()
507 unsigned other_size = inst->src[other_src].file == VGRF ? in try_copy_propagate()
755 if (inst->src[i].file != VGRF) in try_constant_propagate()
758 assert(entry->dst.file == VGRF); in try_constant_propagate()
1002 inst->dst.file == VGRF && in can_propagate_from()
[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_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()
605 inst->dst.file != VGRF) in is_copy_payload()
660 if (is_copy_payload(VGRF, inst)) { in is_multi_copy_payload()
685 return is_identity_payload(VGRF, inst) && in is_coalescing_payload()
Dbrw_fs_dead_code_eliminate.cpp92 if (inst->dst.file == VGRF) { in dead_code_eliminate()
112 if (inst->dst.file == VGRF) { in dead_code_eliminate()
130 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()
318 value.file != VGRF && in try_copy_propagate()
493 if (inst->src[i].file != VGRF || in opt_copy_propagation()
513 if (inst->dst.file == VGRF) { in opt_copy_propagation()
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_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_schedule_instructions.cpp784 if (inst->src[i].file == VGRF) { in count_reads_remaining()
862 if (inst->dst.file == VGRF) { in update_register_pressure()
870 if (inst->src[i].file == VGRF) { in update_register_pressure()
886 if (inst->dst.file == VGRF) { in get_register_pressure_benefit()
896 if (inst->src[i].file == VGRF && in get_register_pressure_benefit()
1170 if (inst->src[i].file == VGRF) { in calculate_deps()
1218 if (inst->dst.file == VGRF) { in calculate_deps()
1299 if (inst->src[i].file == VGRF) { in calculate_deps()
1349 if (inst->dst.file == VGRF) { in calculate_deps()
1434 if (inst->src[i].file == VGRF) { in calculate_deps()
[all …]
Dbrw_fs_visitor.cpp843 fs_reg zero(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
851 fs_reg one_by_one_fp16(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
906 fs_reg reg = fs_reg(VGRF, alloc.allocate(1), outputs[varying].type); in emit_urb_writes()
941 srcs[URB_LOGICAL_SRC_DATA] = fs_reg(VGRF, alloc.allocate(length), in emit_urb_writes()
981 fs_reg uniform_urb_handle = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
982 fs_reg payload = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
1005 fs_reg uniform_urb_handle = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
1006 fs_reg uniform_mask = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
1007 fs_reg payload = fs_reg(VGRF, alloc.allocate(4), BRW_REGISTER_TYPE_UD); in emit_urb_writes()
1077 fs_reg payload = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in emit_cs_terminate()
[all …]
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()
281 if (inst->src[i].file == VGRF && in validate()
288 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_fs_validate.cpp60 if (inst->dst.file == VGRF) { in validate()
66 if (inst->src[i].file == VGRF) { in validate()
Dbrw_fs.cpp75 case VGRF: in init()
216 ubld.MOV(ubld.null_reg_f(), fs_reg(VGRF, grf, BRW_REGISTER_TYPE_F)); in DEP_RESOLVE_MOV()
232 return src[1].file == VGRF; in is_send_from_grf()
235 return src[0].file == VGRF; in is_send_from_grf()
238 return src[0].file == VGRF; in is_send_from_grf()
407 if (src[i].file == VGRF && (src[i].stride == 0 || in has_source_and_destination_hazard()
535 case VGRF: in is_contiguous()
569 fs_reg dst = fs_reg(VGRF, alloc.allocate(1), BRW_REGISTER_TYPE_UD); in get_timestamp()
941 if (is_tex() && arg == 0 && src[0].file == VGRF) in size_read()
953 case VGRF: in size_read()
[all …]
Dbrw_vec4.cpp560 if (inst->src[i].file != VGRF && in opt_reduce_swizzle()
798 if (inst->src[i].file == VGRF) { in opt_set_dependency_control()
817 if (inst->dst.file == VGRF || inst->dst.file == FIXED_GRF) { in opt_set_dependency_control()
961 (inst->dst.file != VGRF && inst->dst.file != MRF) || in opt_register_coalesce()
963 inst->src[0].file != VGRF || in opt_register_coalesce()
1147 if (scan_inst->dst.file == VGRF && in opt_register_coalesce()
1261 if (inst->dst.file == VGRF && regs_written(inst) > 1) in split_virtual_grfs()
1265 if (inst->src[i].file == VGRF && regs_read(inst, i) > 1) in split_virtual_grfs()
1287 if (inst->dst.file == VGRF && split_grf[inst->dst.nr] && in split_virtual_grfs()
1294 if (inst->src[i].file == VGRF && split_grf[inst->src[i].nr] && in split_virtual_grfs()
[all …]
Dbrw_vec4_live_variables.h117 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
131 assert(reg.file == VGRF && reg.nr < alloc.count && c < 4);
Dbrw_fs_cse.cpp213 assert(src.file == VGRF); in create_copy_instr()
228 assert(src.file == VGRF); in create_copy_instr()
294 entry->tmp = fs_reg(VGRF, alloc.allocate(written), in opt_cse_local()
364 if (src_reg->file == VGRF && live.vgrf_end[src_reg->nr] < ip) { in opt_cse_local()
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_visitor.cpp676 this->file = VGRF; in src_reg()
694 this->file = VGRF; in src_reg()
706 this->file = VGRF; in dst_reg()
1245 if (src.file == VGRF && scratch_loc[src.nr] != -1) { in emit_resolve_reladdr()
1274 if (inst->dst.file == VGRF && inst->dst.reladdr) { in move_grf_array_access_to_scratch()
1283 if (iter->file == VGRF && scratch_loc[iter->nr] == -1) { in move_grf_array_access_to_scratch()
1294 if (iter->file == VGRF && scratch_loc[iter->nr] == -1) { in move_grf_array_access_to_scratch()
1322 if (inst->dst.file == VGRF && scratch_loc[inst->dst.nr] != -1) in move_grf_array_access_to_scratch()
Dbrw_fs_lower_pack.cpp39 assert(inst->dst.file == VGRF); in lower_pack()
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_fs_bank_conflicts.cpp485 return r.file == VGRF || r.file == FIXED_GRF; in is_grf()
498 if (r.file == VGRF) in reg_of()
898 if (r.file == VGRF) { in transform()
Dbrw_fs_builder.h204 return dst_reg(VGRF, shader->alloc.allocate(
784 assert(dst.file == VGRF); in UNDEF()
828 case VGRF: in fix_3src_operand()
Dbrw_fs_combine_constants.cpp511 fs_reg reg(VGRF, alloc.allocate(1)); in opt_combine_constants()
600 reg->file = VGRF; in opt_combine_constants()

12