Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dtest_fs_saturate_propagation.cpp103 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
104 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
138 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
139 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
140 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
141 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
142 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
176 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp113 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
114 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
115 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
145 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
146 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
147 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
179 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
180 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
181 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
212 fs_reg dest = v->vgrf(glsl_type::uint_type); in TEST_F()
[all …]
Dtest_fs_scoreboard.cpp125 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
127 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
128 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F()
152 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
154 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
179 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
181 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
182 fs_reg y = v->vgrf(glsl_type::int_type); in TEST_F()
207 g[i] = v->vgrf(glsl_type::int_type); in TEST_F()
213 fs_reg x = v->vgrf(glsl_type::int_type); in TEST_F()
[all …]
Dbrw_fs_nir.cpp86 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * reg_size); in nir_setup_outputs()
162 fs_reg iid = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
216 fs_reg shifted = abld.vgrf(BRW_REGISTER_TYPE_UW, 1); in emit_system_values_block()
237 inverted = abld.vgrf(BRW_REGISTER_TYPE_UW); in emit_system_values_block()
244 fs_reg anded = abld.vgrf(BRW_REGISTER_TYPE_UD, 1); in emit_system_values_block()
247 fs_reg dst = abld.vgrf(BRW_REGISTER_TYPE_D, 1); in emit_system_values_block()
275 reg = abld.vgrf(BRW_REGISTER_TYPE_UW); in nir_emit_system_values()
371 nir_locals[reg->index] = bld.vgrf(reg_type, size); in nir_emit_impl()
588 fs_reg tmp = vgrf(glsl_type::int_type); in optimize_frontfacing_ternary()
683 temp = bld.vgrf(BRW_REGISTER_TYPE_D); in emit_find_msb_using_lzd()
[all …]
Dtest_fs_copy_propagation.cpp103 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
104 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
145 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
146 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
147 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_visitor.cpp41 const fs_reg dest = vgrf(glsl_type::uvec4_type); in emit_mcs_fetch()
161 this->pixel_x = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen4()
162 this->pixel_y = vgrf(glsl_type::uint_type); in emit_interpolation_setup_gen4()
175 vgrf(glsl_type::vec2_type); in emit_interpolation_setup_gen4()
196 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
200 this->pixel_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
274 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
275 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
294 fs_reg int_pixel_xy = dbld.vgrf(BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gen6()
311 const fs_reg int_pixel_x = hbld.vgrf(BRW_REGISTER_TYPE_UW); in emit_interpolation_setup_gen6()
[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()
681 const dst_reg y_times_a = vgrf(dst.type); in LRP()
682 const dst_reg one_minus_a = vgrf(dst.type); in LRP()
683 const dst_reg x_times_one_minus_a = vgrf(dst.type); in LRP()
734 dst_reg temp = vgrf(BRW_REGISTER_TYPE_UD); in fix_unsigned_negate()
766 dst_reg expanded = vgrf(src.type); in fix_3src_operand()
793 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()
522 dst_reg temp = vgrf(BRW_REGISTER_TYPE_UD); in fix_unsigned_negate()
554 const dst_reg expanded = vgrf(src.type); in fix_3src_operand()
578 const dst_reg tmp = vgrf(src.type); in fix_math_operand()
594 const dst_reg tmp = vgrf(inst->dst.type); in fix_math_instruction()
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_reg_allocate.cpp630 unsigned vgrf = n2 - first_vgrf_node; in setup_live_interference() local
631 if (!(node_end_ip <= live.vgrf_start[vgrf] || in setup_live_interference()
632 live.vgrf_end[vgrf] <= node_start_ip)) in setup_live_interference()
733 const int vgrf = inst->opcode == SHADER_OPCODE_SEND ? in setup_inst_interference() local
735 int size = fs->alloc.sizes[vgrf]; in setup_inst_interference()
751 ra_set_node_reg(g, first_vgrf_node + vgrf, reg); in setup_inst_interference()
1082 int vgrf = fs->alloc.allocate(1); in alloc_scratch_header() local
1083 assert(first_vgrf_node + vgrf == scratch_header_node); in alloc_scratch_header()
1089 return fs_reg(VGRF, vgrf, BRW_REGISTER_TYPE_UD); in alloc_scratch_header()
1095 int vgrf = fs->alloc.allocate(size); in alloc_spill_reg() local
[all …]
Dbrw_fs.cpp183 fs_reg vec4_offset = vgrf(glsl_type::uint_type); in VARYING_PULL_CONSTANT_LOAD()
192 fs_reg vec4_result = bld.vgrf(BRW_REGISTER_TYPE_F, 4); in VARYING_PULL_CONSTANT_LOAD()
662 payload = vgrf(glsl_type::uvec2_type); in SHADER_TIME_ADD()
664 payload = vgrf(glsl_type::uint_type); in SHADER_TIME_ADD()
1187 fs_visitor::vgrf(const glsl_type *const type) in vgrf() function in fs_visitor
1297 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::bool_type)); in emit_frontfacing_interpolation()
1302 fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_W); in emit_frontfacing_interpolation()
1370 fs_reg *reg = new(this->mem_ctx) fs_reg(vgrf(glsl_type::vec2_type)); in emit_samplepos_setup()
1372 fs_reg int_sample_x = vgrf(glsl_type::int_type); in emit_samplepos_setup()
1373 fs_reg int_sample_y = vgrf(glsl_type::int_type); in emit_samplepos_setup()
[all …]
Dbrw_fs_sel_peephole.cpp201 src0 = ibld.vgrf(then_mov[i]->src[0].type); in opt_peephole_sel()
208 src1 = ibld.vgrf(else_mov[i]->src[0].type); in opt_peephole_sel()
Dbrw_fs_lower_regioning.cpp266 const fs_reg tmp = ibld.vgrf(get_exec_type(inst)); in lower_src_modifiers()
297 fs_reg tmp = ibld.vgrf(type, stride); in lower_dst_modifiers()
340 fs_reg tmp = ibld.vgrf(inst->src[i].type, stride); in lower_src_region()
389 fs_reg tmp = ibld.vgrf(inst->dst.type, stride); in lower_dst_region()
Dbrw_fs.h113 fs_reg vgrf(const glsl_type *const type);
591 const fs_reg tmp = bld.vgrf(type);
615 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_F, 2); in fetch_barycentric_reg()
Dbrw_schedule_instructions.cpp752 int vgrf = live.vgrf_from_var[i]; in setup_liveness() local
753 if (!BITSET_TEST(livein[block], vgrf)) { in setup_liveness()
754 reg_pressure_in[block] += v->alloc.sizes[vgrf]; in setup_liveness()
755 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()
706 const dst_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD); in nir_emit_intrinsic()
845 temp = src_reg(bld.vgrf(BRW_REGISTER_TYPE_D)); in emit_find_msb_using_lzd()
1697 dst_reg temp = bld.vgrf(BRW_REGISTER_TYPE_D); in nir_emit_alu()