Home
last modified time | relevance | path

Searched refs:ibld (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_lower_regioning.cpp380 const fs_builder ibld(v, block, inst); in lower_src_modifiers() local
381 const fs_reg tmp = ibld.vgrf(get_exec_type(inst)); in lower_src_modifiers()
383 lower_instruction(v, block, ibld.MOV(tmp, inst->src[i])); in lower_src_modifiers()
401 const fs_builder ibld(v, block, inst); in lower_dst_modifiers() local
412 fs_reg tmp = ibld.vgrf(type, stride); in lower_dst_modifiers()
413 ibld.UNDEF(tmp); in lower_dst_modifiers()
417 fs_inst *mov = ibld.at(block, inst->next).MOV(inst->dst, tmp); in lower_dst_modifiers()
451 const fs_builder ibld(v, block, inst); in lower_src_region() local
455 fs_reg tmp = ibld.vgrf(inst->src[i].type, stride); in lower_src_region()
456 ibld.UNDEF(tmp); in lower_src_region()
[all …]
Dbrw_fs_sel_peephole.cpp190 const fs_builder ibld = fs_builder(this, then_block, then_mov[i]) in opt_peephole_sel() local
194 ibld.MOV(then_mov[i]->dst, then_mov[i]->src[0]); in opt_peephole_sel()
202 src0 = ibld.vgrf(then_mov[i]->src[0].type); in opt_peephole_sel()
203 ibld.MOV(src0, then_mov[i]->src[0]); in opt_peephole_sel()
209 src1 = ibld.vgrf(else_mov[i]->src[0].type); in opt_peephole_sel()
210 ibld.MOV(src1, else_mov[i]->src[0]); in opt_peephole_sel()
214 ibld.SEL(then_mov[i]->dst, src0, src1)); in opt_peephole_sel()
Dbrw_fs.cpp2253 const fs_builder ibld(this, block, inst); in split_virtual_grfs() local
2258 ibld.UNDEF(fs_reg(VGRF, new_virtual_grf[reg], inst->dst.type)); in split_virtual_grfs()
2484 const fs_builder ibld(this, block, inst); in lower_constant_loads() local
2500 const fs_builder ubld = ibld.exec_all().group(block_sz / 4, 0); in lower_constant_loads()
2520 VARYING_PULL_CONSTANT_LOAD(ibld, inst->dst, in lower_constant_loads()
2544 const brw::fs_builder ibld(this, block, inst); in opt_algebraic() local
2546 ibld.MOV(subscript(inst->dst, BRW_REGISTER_TYPE_F, 1), in opt_algebraic()
2548 ibld.MOV(subscript(inst->dst, BRW_REGISTER_TYPE_F, 0), in opt_algebraic()
2562 const brw::fs_builder ibld(this, block, inst); in opt_algebraic() local
2564 ibld.MOV(subscript(inst->dst, BRW_REGISTER_TYPE_UD, 1), in opt_algebraic()
[all …]
Dbrw_lower_logical_sends.cpp2568 const fs_builder ibld(this, block, inst); in lower_logical_sends() local
2573 lower_fb_write_logical_send(ibld, inst, in lower_logical_sends()
2580 lower_fb_read_logical_send(ibld, inst); in lower_logical_sends()
2584 lower_sampler_logical_send(ibld, inst, SHADER_OPCODE_TEX); in lower_logical_sends()
2588 lower_sampler_logical_send(ibld, inst, SHADER_OPCODE_TXD); in lower_logical_sends()
2592 lower_sampler_logical_send(ibld, inst, SHADER_OPCODE_TXF); in lower_logical_sends()
2596 lower_sampler_logical_send(ibld, inst, SHADER_OPCODE_TXL); in lower_logical_sends()
2600 lower_sampler_logical_send(ibld, inst, SHADER_OPCODE_TXS); in lower_logical_sends()
2604 lower_sampler_logical_send(ibld, inst, in lower_logical_sends()
2609 lower_sampler_logical_send(ibld, inst, FS_OPCODE_TXB); in lower_logical_sends()
[all …]
Dbrw_fs_lower_pack.cpp43 const fs_builder ibld(this, block, inst); in lower_pack() local
45 ibld.MOV(subscript(dst, inst->src[i].type, i), inst->src[i]); in lower_pack()
Dbrw_fs_cse.cpp290 const fs_builder ibld = fs_builder(this, block, entry->generator) in opt_cse_local() local
297 create_copy_instr(ibld, entry->generator, entry->tmp, false); in opt_cse_local()
306 const fs_builder ibld(this, block, inst); in opt_cse_local() local
308 create_copy_instr(ibld, inst, entry->tmp, negate); in opt_cse_local()
Dbrw_fs_scoreboard.cpp1283 const fs_builder ibld = fs_builder(shader, block, inst) in emit_inst_dependencies() local
1285 fs_inst *sync = ibld.emit(BRW_OPCODE_SYNC, ibld.null_reg_ud(), in emit_inst_dependencies()
1307 const fs_builder ibld = fs_builder(shader, block, inst) in emit_inst_dependencies() local
1309 fs_inst *sync = ibld.emit(BRW_OPCODE_SYNC, ibld.null_reg_ud(), in emit_inst_dependencies()
Dbrw_fs_combine_constants.cpp534 const fs_builder ibld = bld.at(imm->block, n).exec_all().group(width, 0); in opt_combine_constants() local
549 ibld.MOV(retype(reg, imm_reg.type), imm_reg); in opt_combine_constants()
Dbrw_fs_reg_allocate.cpp1085 const fs_builder ibld = fs_builder(fs, block, inst); in spill_reg() local
1114 emit_unspill(ibld.exec_all().group(width, 0), &fs->shader_stats, in spill_reg()
1158 const fs_builder ubld = ibld.exec_all(!per_channel).group(width, 0); in spill_reg()
Dbrw_vec4.cpp1614 const vec4_builder ibld(this, block, inst); in lower_minmax() local
1625 ibld.CMP(ibld.null_reg_d(), inst->src[0], inst->src[1], in lower_minmax()
1628 ibld.CMPN(ibld.null_reg_d(), inst->src[0], inst->src[1], in lower_minmax()
Dbrw_vec4_nir.cpp339 const vec4_builder ibld = vec4_builder(this).at_end(); in nir_emit_load_const() local
363 emit(MOV(reg, setup_imm_df(ibld, instr->value[i].f64))); in nir_emit_load_const()