Home
last modified time | relevance | path

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

/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_lower_regioning.cpp300 const fs_builder ibld(v, block, inst); in lower_src_modifiers() local
301 const fs_reg tmp = ibld.vgrf(get_exec_type(inst)); in lower_src_modifiers()
303 lower_instruction(v, block, ibld.MOV(tmp, inst->src[i])); in lower_src_modifiers()
321 const fs_builder ibld(v, block, inst); in lower_dst_modifiers() local
332 fs_reg tmp = ibld.vgrf(type, stride); in lower_dst_modifiers()
333 ibld.UNDEF(tmp); in lower_dst_modifiers()
337 fs_inst *mov = ibld.at(block, inst->next).MOV(inst->dst, tmp); in lower_dst_modifiers()
371 const fs_builder ibld(v, block, inst); in lower_src_region() local
375 fs_reg tmp = ibld.vgrf(inst->src[i].type, stride); in lower_src_region()
376 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.cpp611 const fs_builder ibld = bld.annotate("shader time end") in emit_shader_time_end() local
613 const fs_reg timestamp = get_timestamp(ibld); in emit_shader_time_end()
629 ibld.AND(ibld.null_reg_ud(), reset, brw_imm_ud(1u))); in emit_shader_time_end()
630 ibld.IF(BRW_PREDICATE_NORMAL); in emit_shader_time_end()
637 const fs_builder cbld = ibld.group(1, 0); in emit_shader_time_end()
647 ibld.emit(BRW_OPCODE_ELSE); in emit_shader_time_end()
649 ibld.emit(BRW_OPCODE_ENDIF); in emit_shader_time_end()
2224 const fs_builder ibld(this, block, inst); in split_virtual_grfs() local
2229 ibld.UNDEF(fs_reg(VGRF, new_virtual_grf[reg], inst->dst.type)); in split_virtual_grfs()
2730 const fs_builder ibld(this, block, inst); in lower_constant_loads() local
[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.cpp289 const fs_builder ibld = fs_builder(this, block, entry->generator) in opt_cse_local() local
296 create_copy_instr(ibld, entry->generator, entry->tmp, false); in opt_cse_local()
305 const fs_builder ibld(this, block, inst); in opt_cse_local() local
307 create_copy_instr(ibld, inst, entry->tmp, negate); in opt_cse_local()
Dbrw_fs_scoreboard.cpp1251 const fs_builder ibld = fs_builder(shader, block, inst) in emit_inst_dependencies() local
1253 fs_inst *sync = ibld.emit(BRW_OPCODE_SYNC, ibld.null_reg_ud(), in emit_inst_dependencies()
1275 const fs_builder ibld = fs_builder(shader, block, inst) in emit_inst_dependencies() local
1277 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.cpp1072 const fs_builder ibld = fs_builder(fs, block, inst); in spill_reg() local
1101 emit_unspill(ibld.exec_all().group(width, 0), unspill_dst, in spill_reg()
1145 const fs_builder ubld = ibld.exec_all(!per_channel).group(width, 0); in spill_reg()
Dbrw_vec4.cpp1899 const vec4_builder ibld(this, block, inst); in lower_minmax() local
1910 ibld.CMP(ibld.null_reg_d(), inst->src[0], inst->src[1], in lower_minmax()
1913 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()