/external/mesa3d/src/intel/compiler/ |
D | gen6_gs_visitor.cpp | 290 gen6_gs_visitor::emit_urb_write_opcode(bool complete, int base_mrf, in emit_urb_write_opcode() argument 310 inst->dst = dst_reg(MRF, base_mrf); in emit_urb_write_opcode() 314 inst->base_mrf = base_mrf; in emit_urb_write_opcode() 315 inst->mlen = align_interleaved_urb_mlen(last_mrf - base_mrf); in emit_urb_write_opcode() 344 int base_mrf = 1; in emit_thread_end() local 372 inst->base_mrf = base_mrf; in emit_thread_end() 388 emit_urb_write_header(base_mrf); in emit_thread_end() 394 int mrf = base_mrf + 1; in emit_thread_end() 428 align_interleaved_urb_mlen(mrf - base_mrf + 1) > BRW_MAX_MSG_LENGTH) { in emit_thread_end() 435 emit_urb_write_opcode(complete, base_mrf, mrf, urb_offset); in emit_thread_end() [all …]
|
D | brw_vec4_generator.cpp | 39 inst->base_mrf, in generate_math1_gen4() 95 brw_MOV(p, retype(brw_message_reg(inst->base_mrf + 1), op1.type), op1); in generate_math2_gen4() 101 inst->base_mrf, in generate_math2_gen4() 222 retype(brw_message_reg(inst->base_mrf), BRW_REGISTER_TYPE_UD); in generate_tex() 284 inst->base_mrf, in generate_tex() 323 if (inst->base_mrf != -1) in generate_tex() 324 gen6_resolve_implied_move(p, &src, inst->base_mrf); in generate_tex() 350 inst->base_mrf, /* starting mrf reg nr */ in generate_vs_urb_write() 362 struct brw_reg src = brw_message_reg(inst->base_mrf); in generate_gs_urb_write() 365 inst->base_mrf, /* starting mrf reg nr */ in generate_gs_urb_write() [all …]
|
D | brw_vec4_gs_visitor.cpp | 215 int base_mrf = 1; in emit_thread_end() local 235 dst_reg mrf_reg(MRF, base_mrf); in emit_thread_end() 244 inst->base_mrf = base_mrf; in emit_thread_end() 357 int base_mrf = 1; in emit_control_data_bits() local 358 dst_reg mrf_reg(MRF, base_mrf); in emit_control_data_bits() 396 dst_reg mrf_reg2(MRF, base_mrf + 1); in emit_control_data_bits() 408 inst->base_mrf = base_mrf; in emit_control_data_bits()
|
D | brw_vec4_visitor.cpp | 55 this->base_mrf = 0; in vec4_instruction() 261 inst->base_mrf = FIRST_SPILL_MRF(devinfo->gen) + 1; in SCRATCH_READ() 275 inst->base_mrf = FIRST_SPILL_MRF(devinfo->gen); in SCRATCH_WRITE() 360 math->base_mrf = 1; in emit_math() 829 pull->base_mrf = FIRST_PULL_LOAD_MRF(devinfo->gen) + 1; in emit_pull_constant_load_reg() 861 inst->base_mrf = 2; in emit_mcs_fetch() 871 dst_reg(MRF, inst->base_mrf)); in emit_mcs_fetch() 877 param_base = inst->base_mrf + 1; in emit_mcs_fetch() 880 param_base = inst->base_mrf; in emit_mcs_fetch() 967 inst->base_mrf = 2; in emit_texture() [all …]
|
D | brw_schedule_instructions.cpp | 1022 if (inst->base_mrf != -1) { in calculate_deps() 1028 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps() 1087 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps() 1089 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps() 1090 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps() 1148 if (inst->base_mrf != -1) { in calculate_deps() 1154 add_dep(n, last_mrf_write[inst->base_mrf + i], 2); in calculate_deps() 1210 if (inst->mlen > 0 && inst->base_mrf != -1) { in calculate_deps() 1212 last_mrf_write[inst->base_mrf + i] = n; in calculate_deps() 1279 add_dep(last_mrf_write[inst->base_mrf + i], n); in calculate_deps() [all …]
|
D | brw_fs_generator.cpp | 321 if (inst->base_mrf >= 0) in generate_fb_write() 322 payload = brw_message_reg(inst->base_mrf); in generate_fb_write() 716 inst->base_mrf, in generate_get_buffer_size() 954 assert(inst->base_mrf != -1); in generate_tex() 955 struct brw_reg header_reg = brw_message_reg(inst->base_mrf); in generate_tex() 987 inst->base_mrf, in generate_tex() 1194 brw_MOV(p, brw_uvec_mrf(lower_size, inst->base_mrf + 1, 0), in generate_scratch_write() 1197 brw_oword_block_write_scratch(p, brw_message_reg(inst->base_mrf), in generate_scratch_write() 1211 brw_oword_block_read_scratch(p, dst, brw_message_reg(inst->base_mrf), in generate_scratch_read() 1240 brw_oword_block_read(p, dst, brw_message_reg(inst->base_mrf), in generate_uniform_pull_constant_load() [all …]
|
D | brw_vec4_tcs.cpp | 150 inst->base_mrf = 14; in emit_thread_end() 176 inst->base_mrf = -1; in emit_input_urb_read() 208 read->base_mrf = -1; in emit_output_urb_read() 240 inst->base_mrf = -1; in emit_urb_write()
|
D | gen6_gs_visitor.h | 60 int base_mrf,
|
D | brw_vec4_cse.cpp | 127 a->base_mrf == b->base_mrf && in instructions_match()
|
D | brw_fs_cse.cpp | 189 a->base_mrf == b->base_mrf && in instructions_match()
|
D | brw_fs.cpp | 62 this->base_mrf = -1; in init() 239 base_mrf == inst->base_mrf && in equals() 955 if (inst->base_mrf == -1) in implied_mrf_writes() 2925 if (scan_inst->mlen > 0 && scan_inst->base_mrf != -1 && in compute_to_mrf() 2926 regions_overlap(fs_reg(MRF, scan_inst->base_mrf), scan_inst->mlen * REG_SIZE, in compute_to_mrf() 3057 int base_mrf = 0; in emit_repclear_shader() local 3058 int color_mrf = base_mrf + 2; in emit_repclear_shader() 3079 write->base_mrf = color_mrf; in emit_repclear_shader() 3088 write->base_mrf = base_mrf; in emit_repclear_shader() 3144 if (inst->mlen > 0 && inst->base_mrf != -1) { in remove_duplicate_mrf_writes() [all …]
|
D | brw_fs_reg_allocate.cpp | 490 mrf_used[inst->base_mrf + i] = true; in get_used_mrfs() 779 unspill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_unspill() 802 spill_inst->base_mrf = spill_base_mrf(bld.shader); in emit_spill()
|
D | brw_shader.h | 156 int8_t base_mrf; /**< First MRF in the SEND message, if mlen is nonzero. */ member
|
D | brw_fs_visitor.cpp | 107 write->base_mrf = 2; in emit_dummy_fs() 111 write->base_mrf = 0; in emit_dummy_fs()
|
D | brw_vec4_builder.h | 612 inst->base_mrf = 1; in fix_math_instruction()
|
D | brw_fs_bank_conflicts.cpp | 565 const unsigned reg = GEN7_MRF_HACK_START + inst->base_mrf + i; in shader_reg_constraints()
|
D | brw_inst.h | 508 FC(base_mrf, 27, 24, devinfo->gen < 6);
|
D | brw_vec4_nir.cpp | 460 inst->base_mrf = 2; in nir_emit_intrinsic() 466 int param_base = inst->base_mrf; in nir_emit_intrinsic()
|
D | brw_vec4.cpp | 1358 if (inst->dst.nr >= scan_inst->base_mrf && in opt_register_coalesce() 1359 inst->dst.nr < scan_inst->base_mrf + scan_inst->mlen) { in opt_register_coalesce()
|