/third_party/mesa3d/src/intel/compiler/ |
D | gfx6_gs_visitor.cpp | 289 gfx6_gs_visitor::emit_snb_gs_urb_write_opcode(bool complete, int base_mrf, in emit_snb_gs_urb_write_opcode() argument 309 inst->dst = dst_reg(MRF, base_mrf); in emit_snb_gs_urb_write_opcode() 313 inst->base_mrf = base_mrf; in emit_snb_gs_urb_write_opcode() 314 inst->mlen = align_interleaved_urb_mlen(last_mrf - base_mrf); in emit_snb_gs_urb_write_opcode() 343 int base_mrf = 1; in emit_thread_end() local 368 inst->base_mrf = base_mrf; in emit_thread_end() 387 emit_urb_write_header(base_mrf); in emit_thread_end() 393 int mrf = base_mrf + 1; in emit_thread_end() 427 align_interleaved_urb_mlen(mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_thread_end() 434 emit_snb_gs_urb_write_opcode(complete, base_mrf, mrf, urb_offset); in emit_thread_end() [all …]
|
D | brw_vec4_generator.cpp | 40 inst->base_mrf, in generate_math1_gfx4() 96 brw_MOV(p, retype(brw_message_reg(inst->base_mrf + 1), op1.type), op1); in generate_math2_gfx4() 102 inst->base_mrf, in generate_math2_gfx4() 219 retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD); in generate_tex() 281 inst->base_mrf, in generate_tex() 316 if (inst->base_mrf != -1) in generate_tex() 317 gfx6_resolve_implied_move(p, &src, inst->base_mrf); in generate_tex() 342 inst->base_mrf, /* starting mrf reg nr */ in generate_vs_urb_write() 354 struct brw_reg src = brw_message_reg(inst->base_mrf); in generate_gs_urb_write() 357 inst->base_mrf, /* starting mrf reg nr */ in generate_gs_urb_write() [all …]
|
D | brw_vec4_gs_visitor.cpp | 216 int base_mrf = 1; in emit_thread_end() local 219 dst_reg mrf_reg(MRF, base_mrf); in emit_thread_end() 225 inst->base_mrf = base_mrf; in emit_thread_end() 332 int base_mrf = 1; in emit_control_data_bits() local 333 dst_reg mrf_reg(MRF, base_mrf); in emit_control_data_bits() 371 dst_reg mrf_reg2(MRF, base_mrf + 1); in emit_control_data_bits() 376 inst->base_mrf = base_mrf; in emit_control_data_bits()
|
D | brw_schedule_instructions.cpp | 1194 if (inst->base_mrf != -1) { in calculate_deps() 1200 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps() 1262 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps() 1264 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps() 1265 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps() 1323 if (inst->base_mrf != -1) { in calculate_deps() 1329 add_dep(n, last_mrf_write[inst->base_mrf + i], 2); in calculate_deps() 1385 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps() 1387 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps() 1456 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps() [all …]
|
D | brw_vec4_visitor.cpp | 56 this->base_mrf = 0; in vec4_instruction() 262 inst->base_mrf = FIRST_SPILL_MRF(devinfo->ver) + 1; in SCRATCH_READ() 276 inst->base_mrf = FIRST_SPILL_MRF(devinfo->ver); in SCRATCH_WRITE() 348 math->base_mrf = 1; in emit_math() 766 pull->base_mrf = FIRST_PULL_LOAD_MRF(devinfo->ver) + 1; in emit_pull_constant_load_reg() 1009 int base_mrf = 1; in emit_vertex() local 1010 int mrf = base_mrf; in emit_vertex() 1021 assert ((max_usable_mrf - base_mrf) % 2 == 0); in emit_vertex() 1043 mrf = base_mrf + 1; in emit_vertex() 1052 align_interleaved_urb_mlen(devinfo, mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_vertex() [all …]
|
D | brw_vec4_tcs.cpp | 146 inst->base_mrf = 14; in emit_thread_end() 172 inst->base_mrf = -1; in emit_input_urb_read() 204 read->base_mrf = -1; in emit_output_urb_read() 236 inst->base_mrf = -1; in emit_urb_write()
|
D | brw_fs_generator.cpp | 409 if (inst->base_mrf >= 0) in generate_fb_write() 410 payload = brw_message_reg(inst->base_mrf); in generate_fb_write() 978 inst->base_mrf, in generate_get_buffer_size() 1174 assert(inst->base_mrf != -1); in generate_tex() 1175 struct brw_reg header_reg = brw_message_reg(inst->base_mrf); in generate_tex() 1203 inst->base_mrf, in generate_tex() 1411 brw_MOV(p, brw_uvec_mrf(lower_size, inst->base_mrf + 1, 0), in generate_scratch_write() 1415 brw_oword_block_write_scratch(p, brw_message_reg(inst->base_mrf), in generate_scratch_write() 1429 brw_oword_block_read_scratch(p, dst, brw_message_reg(inst->base_mrf), in generate_scratch_read() 1528 brw_oword_block_read(p, dst, brw_message_reg(inst->base_mrf), in generate_uniform_pull_constant_load() [all …]
|
D | brw_ir_performance.cpp | 1364 if (is_send(inst) && inst->base_mrf != -1) { in issue_fs_inst() 1368 devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_fs_inst() 1422 if (is_send(inst) && inst->base_mrf != -1) { in issue_fs_inst() 1425 reg_dependency_id(devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_fs_inst() 1486 if (inst->base_mrf != -1) { in issue_vec4_instruction() 1490 devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_vec4_instruction() 1528 if (inst->base_mrf != -1) { in issue_vec4_instruction() 1531 reg_dependency_id(devinfo, brw_uvec_mrf(8, inst->base_mrf, 0), j)); in issue_vec4_instruction()
|
D | gfx6_gs_visitor.h | 64 int base_mrf,
|
D | brw_fs_scoreboard.cpp | 1023 if (is_send(inst) && inst->base_mrf != -1) { in update_inst_scoreboard() 1027 sb.set(brw_uvec_mrf(8, inst->base_mrf + j, 0), rd_dep); in update_inst_scoreboard() 1152 if (is_send(inst) && inst->base_mrf != -1) { in gather_inst_dependencies() 1155 sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0)))); in gather_inst_dependencies() 1184 if (is_send(inst) && inst->base_mrf != -1) { in gather_inst_dependencies() 1187 sb.get(brw_uvec_mrf(8, inst->base_mrf + j, 0)))); in gather_inst_dependencies()
|
D | brw_vec4_cse.cpp | 154 a->base_mrf == b->base_mrf && in instructions_match()
|
D | brw_ir.h | 157 int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */ member
|
D | brw_fs_cse.cpp | 192 a->base_mrf == b->base_mrf && in instructions_match()
|
D | brw_fs_reg_allocate.cpp | 426 mrf_used[inst->base_mrf + i] = true; in get_used_mrfs() 804 unspill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_unspill() 866 spill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_spill()
|
D | brw_vec4_nir.cpp | 438 inst->base_mrf = 2; in nir_emit_intrinsic() 444 int param_base = inst->base_mrf; in nir_emit_intrinsic() 2141 inst->base_mrf = 2; in nir_emit_texture() 2150 int param_base = inst->base_mrf + inst->header_size; in nir_emit_texture() 2297 inst->base_mrf = 2; in emit_mcs_fetch() 2302 const int param_base = inst->base_mrf; in emit_mcs_fetch()
|
D | brw_lower_logical_sends.cpp | 405 inst->base_mrf = 1; in lower_fb_write_logical_send() 568 inst->base_mrf = msg_begin.nr; in lower_sampler_logical_send_gfx4() 662 inst->base_mrf = message.nr; in lower_sampler_logical_send_gfx5() 2379 inst->base_mrf = payload.nr; in lower_varying_pull_constant_logical_send() 2390 inst->base_mrf = 2; in lower_math_logical_send() 2411 bld.MOV(fs_reg(MRF, inst->base_mrf + 1, src1.type), src1); in lower_math_logical_send()
|
D | brw_fs.cpp | 65 this->base_mrf = -1; in init() 894 if (base_mrf >= 0) in size_read() 1071 if (base_mrf == -1) in implied_mrf_writes() 3209 if (scan_inst->mlen > 0 && scan_inst->base_mrf != -1 && in compute_to_mrf() 3210 regions_overlap(fs_reg(MRF, scan_inst->base_mrf), scan_inst->mlen * REG_SIZE, in compute_to_mrf() 3345 int base_mrf = 0; in emit_repclear_shader() local 3346 int color_mrf = base_mrf + 2; in emit_repclear_shader() 3367 write->base_mrf = color_mrf; in emit_repclear_shader() 3375 retype(brw_message_reg(base_mrf), BRW_REGISTER_TYPE_UD); in emit_repclear_shader() 3387 write->base_mrf = base_mrf; in emit_repclear_shader() [all …]
|
D | brw_vec4_builder.h | 624 inst->base_mrf = 1; in fix_math_instruction()
|
D | brw_fs_visitor.cpp | 81 write->base_mrf = 2; in emit_dummy_fs() 85 write->base_mrf = 0; in emit_dummy_fs()
|
D | brw_fs_bank_conflicts.cpp | 585 const unsigned reg = GFX7_MRF_HACK_START + inst->base_mrf + i; in shader_reg_constraints()
|
D | brw_vec4.cpp | 1122 unsigned start = scan_inst->base_mrf; in opt_register_coalesce() 1123 unsigned end = scan_inst->base_mrf + scan_inst->mlen; in opt_register_coalesce()
|
D | brw_inst.h | 841 FC(base_mrf, /* 4+ */ 27, 24, /* 12+ */ -1, -1, devinfo->ver < 6);
|