Home
last modified time | relevance | path

Searched refs:vgrf (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dtest_fs_saturate_propagation.cpp116 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
117 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
118 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
119 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
151 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
152 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
153 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
154 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
155 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
189 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp126 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
127 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
128 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
158 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
159 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
160 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
192 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
193 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
194 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
225 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
[all …]
Dtest_fs_scoreboard.cpp144 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
146 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
147 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F()
171 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
173 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
197 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
199 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
200 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F()
224 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
230 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
[all …]
Dbrw_fs_visitor.cpp42 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch()
166 this->pixel_x = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gfx4()
167 this->pixel_y = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gfx4()
180 vgrf(glsl_type::vec2_type); in emit_interpolation_setup_gfx4()
210 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gfx4()
214 this->pixel_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gfx4()
288 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gfx6()
289 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gfx6()
356 int_pixel_offset_x = dbld.vgrf(BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx6()
360 int_pixel_offset_y = dbld.vgrf(BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gfx6()
[all …]
Dbrw_fs_nir.cpp92 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * reg_size); in nir_setup_outputs()
174 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
228 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
249 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block()
256 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
259 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
293 reg = abld.vgrf(BRW_REGISTER_TYPE_UW); in nir_emit_system_values()
324 nir_locals[reg->index] = bld.vgrf(reg_type, size); in nir_emit_impl()
556 fs_reg tmp = vgrf(glsl_type::int_type); in optimize_frontfacing_ternary()
650 temp = bld.vgrf(BRW_REGISTER_TYPE_D); in emit_find_msb_using_lzd()
[all …]
Dtest_fs_copy_propagation.cpp115 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
116 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
117 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
118 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
157 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
158 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
159 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
Dbrw_vec4_surface_builder.cpp41 const dst_reg dst = bld.vgrf(src.type, in emit_stride()
70 const dst_reg tmp = bld.vgrf(src.type); in emit_insert()
105 const dst_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, sz); in emit_send()
126 const dst_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, ret_sz); in emit_send()
193 const dst_reg srcs = bld.vgrf(BRW_REGISTER_TYPE_UD); in emit_untyped_atomic()
Dbrw_fs_reg_allocate.cpp512 unsigned vgrf = n2 - first_vgrf_node; in setup_live_interference() local
513 if (!(node_end_ip <= live.vgrf_start[vgrf] || in setup_live_interference()
514 live.vgrf_end[vgrf] <= node_start_ip)) in setup_live_interference()
615 const int vgrf = inst->opcode == SHADER_OPCODE_SEND ? in setup_inst_interference() local
617 int reg = BRW_MAX_GRF - fs->alloc.sizes[vgrf]; in setup_inst_interference()
632 ra_set_node_reg(g, first_vgrf_node + vgrf, reg); in setup_inst_interference()
635 const int vgrf = inst->src[3].nr; in setup_inst_interference() local
636 reg -= fs->alloc.sizes[vgrf]; in setup_inst_interference()
637 ra_set_node_reg(g, first_vgrf_node + vgrf, reg); in setup_inst_interference()
979 int vgrf = fs->alloc.allocate(1); in alloc_scratch_header() local
[all …]
Dbrw_fs_builder.h199 vgrf(enum brw_reg_type type, unsigned n = 1) const
415 const dst_reg chan_index = vgrf(BRW_REGISTER_TYPE_UD); in emit_uniformize()
416 const dst_reg dst = vgrf(src.type); in emit_uniformize()
431 const dst_reg dst = vgrf(src.type, num_components); in move_to_vgrf()
752 const dst_reg y_times_a = vgrf(dst.type); in LRP()
753 const dst_reg one_minus_a = vgrf(dst.type); in LRP()
754 const dst_reg x_times_one_minus_a = vgrf(dst.type); in LRP()
804 dst_reg temp = vgrf(BRW_REGISTER_TYPE_UD); in fix_unsigned_negate()
836 dst_reg expanded = vgrf(src.type); in fix_3src_operand()
863 const dst_reg tmp = vgrf(src.type); in fix_math_operand()
Dbrw_vec4_builder.h172 vgrf(enum brw_reg_type type, unsigned n = 1) const
352 writemask(vgrf(BRW_REGISTER_TYPE_UD), WRITEMASK_X); in emit_uniformize()
353 const dst_reg dst = vgrf(src.type); in emit_uniformize()
546 dst_reg temp = vgrf(BRW_REGISTER_TYPE_UD); in fix_unsigned_negate()
578 const dst_reg expanded = vgrf(src.type); in fix_3src_operand()
602 const dst_reg tmp = vgrf(src.type); in fix_math_operand()
618 const dst_reg tmp = vgrf(inst->dst.type); in fix_math_instruction()
Dbrw_lower_logical_sends.cpp136 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_F, 4); in setup_color_payload()
214 fs_reg header = ubld.vgrf(BRW_REGISTER_TYPE_UD, 2); in lower_fb_write_logical_send()
284 const fs_reg tmp = ubld.vgrf(BRW_REGISTER_TYPE_F); in lower_fb_write_logical_send()
342 sources[length] = bld.vgrf(BRW_REGISTER_TYPE_UD); in lower_fb_write_logical_send()
418 const fs_reg header = ubld.vgrf(BRW_REGISTER_TYPE_UD, length); in lower_fb_read_logical_send()
810 sources[i] = bld.vgrf(payload_type); in lower_sampler_logical_send_gfx7()
881 sampler_state_ptr = ubld1.vgrf(BRW_REGISTER_TYPE_UD); in lower_sampler_logical_send_gfx7()
894 fs_reg tmp = ubld1.vgrf(BRW_REGISTER_TYPE_UD); in lower_sampler_logical_send_gfx7()
1130 fs_reg desc = ubld.vgrf(BRW_REGISTER_TYPE_UD); in lower_sampler_logical_send_gfx7()
1148 fs_reg desc = ubld.vgrf(BRW_REGISTER_TYPE_UD); in lower_sampler_logical_send_gfx7()
[all …]
Dbrw_fs_live_variables.cpp315 const unsigned vgrf = vgrf_from_var[i]; in fs_live_variables() local
316 vgrf_start[vgrf] = MIN2(vgrf_start[vgrf], start[i]); in fs_live_variables()
317 vgrf_end[vgrf] = MAX2(vgrf_end[vgrf], end[i]); in fs_live_variables()
Dbrw_fs.cpp184 fs_reg vec4_offset = vgrf(glsl_type::uint_type); in VARYING_PULL_CONSTANT_LOAD()
193 fs_reg vec4_result = bld.vgrf(BRW_REGISTER_TYPE_F, 4); in VARYING_PULL_CONSTANT_LOAD()
1116 fs_visitor::vgrf(const glsl_type *const type) in vgrf() function in fs_visitor
1228 fs_reg ff = bld.vgrf(BRW_REGISTER_TYPE_D); in emit_frontfacing_interpolation()
1233 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_W); in emit_frontfacing_interpolation()
1280 fs_reg pos = abld.vgrf(BRW_REGISTER_TYPE_F, 2); in emit_samplepos_setup()
1308 fs_reg tmp_d = bld.vgrf(BRW_REGISTER_TYPE_D); in emit_samplepos_setup()
1311 fs_reg tmp_f = bld.vgrf(BRW_REGISTER_TYPE_F); in emit_samplepos_setup()
1328 fs_reg sample_id = abld.vgrf(BRW_REGISTER_TYPE_UD); in emit_sampleid_setup()
1361 const fs_reg tmp = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_sampleid_setup()
[all …]
Dbrw_mesh.cpp825 fs_reg h = ubld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in get_mesh_urb_handle()
980 fs_reg off = bld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_urb_indirect_writes()
984 fs_reg mask = bld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_urb_indirect_writes()
987 fs_reg one = bld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_urb_indirect_writes()
1042 fs_reg data = ubld8.vgrf(BRW_REGISTER_TYPE_UD, num_regs); in emit_urb_direct_reads()
1073 seq_ud = ubld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_urb_indirect_reads()
1074 fs_reg seq_uw = ubld8.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_urb_indirect_reads()
1089 fs_reg off = bld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_urb_indirect_reads()
1095 fs_reg comp = bld8.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_urb_indirect_reads()
1106 fs_reg data = bld8.vgrf(BRW_REGISTER_TYPE_UD, 4); in emit_urb_indirect_reads()
Dbrw_fs_lower_regioning.cpp381 const fs_reg tmp = ibld.vgrf(get_exec_type(inst)); in lower_src_modifiers()
412 fs_reg tmp = ibld.vgrf(type, stride); in lower_dst_modifiers()
455 fs_reg tmp = ibld.vgrf(inst->src[i].type, stride); in lower_src_region()
504 fs_reg tmp = ibld.vgrf(inst->dst.type, stride); in lower_dst_region()
556 fs_reg tmp = ibld.vgrf(inst->dst.type, inst->dst.stride); in lower_exec_type()
Dbrw_fs_sel_peephole.cpp202 src0 = ibld.vgrf(then_mov[i]->src[0].type); in opt_peephole_sel()
209 src1 = ibld.vgrf(else_mov[i]->src[0].type); in opt_peephole_sel()
Dbrw_fs.h112 fs_reg vgrf(const glsl_type *const type);
593 const fs_reg tmp = bld.vgrf(type);
617 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_F, 2); in fetch_barycentric_reg()
Dbrw_schedule_instructions.cpp807 int vgrf = live.vgrf_from_var[i]; in setup_liveness() local
808 if (!BITSET_TEST(livein[block], vgrf)) { in setup_liveness()
809 reg_pressure_in[block] += v->alloc.sizes[vgrf]; in setup_liveness()
810 BITSET_SET(livein[block], vgrf); in setup_liveness()
Dbrw_vec4_nir.cpp293 const dst_reg dst = bld.vgrf(BRW_REGISTER_TYPE_DF); in setup_imm_df()
316 const dst_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, 2); in setup_imm_df()
717 const dst_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
856 temp = src_reg(bld.vgrf(BRW_REGISTER_TYPE_D)); in emit_find_msb_using_lzd()
1716 dst_reg temp = bld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_alu()