Home
last modified time | relevance | path

Searched refs:last_inst (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/intel/compiler/
Dtest_eu_validate.cpp122 #define last_inst (&p->store[p->nr_insn - 1]) macro
215 brw_inst_set_exec_size(&devinfo, last_inst, test_case[i].exec_size); in TEST_P()
216 … brw_inst_set_src0_file_type(&devinfo, last_inst, BRW_GENERAL_REGISTER_FILE, BRW_REGISTER_TYPE_W); in TEST_P()
217 … brw_inst_set_dst_file_type(&devinfo, last_inst, BRW_GENERAL_REGISTER_FILE, BRW_REGISTER_TYPE_W); in TEST_P()
220 brw_inst_set_src0_vstride(&devinfo, last_inst, BRW_VERTICAL_STRIDE_0); in TEST_P()
221 brw_inst_set_src0_width(&devinfo, last_inst, BRW_WIDTH_1); in TEST_P()
222 brw_inst_set_src0_hstride(&devinfo, last_inst, BRW_HORIZONTAL_STRIDE_0); in TEST_P()
224 brw_inst_set_src0_vstride(&devinfo, last_inst, BRW_VERTICAL_STRIDE_2); in TEST_P()
225 brw_inst_set_src0_width(&devinfo, last_inst, BRW_WIDTH_2); in TEST_P()
226 brw_inst_set_src0_hstride(&devinfo, last_inst, BRW_HORIZONTAL_STRIDE_1); in TEST_P()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_emit.c55 last_inst(struct qblock *block) in last_inst() function
65 *last_inst(block) = qpu_set_cond_add(*last_inst(block), cond); in set_last_cond_add()
71 *last_inst(block) = qpu_set_cond_mul(*last_inst(block), cond); in set_last_cond_mul()
194 *last_inst(block) |= *unpack; in fixup_raddr_conflict()
207 ASSERTED bool had_pm = *last_inst(block) & QPU_PM; in set_last_dst_pack()
208 ASSERTED bool had_ws = *last_inst(block) & QPU_WS; in set_last_dst_pack()
209 ASSERTED uint32_t unpack = QPU_GET_FIELD(*last_inst(block), QPU_UNPACK); in set_last_dst_pack()
214 *last_inst(block) |= QPU_SET_FIELD(inst->dst.pack, QPU_PACK); in set_last_dst_pack()
218 *last_inst(block) |= QPU_PM; in set_last_dst_pack()
500 *last_inst(block) = qpu_set_sig(*last_inst(block), in vc4_generate_code_block()
[all …]
Dvc4_qir.c799 struct qinst *last_inst = NULL; in qir_SF() local
802 last_inst = (struct qinst *)c->cur_block->instructions.prev; in qir_SF()
809 last_inst != c->defs[src.index]) { in qir_SF()
810 last_inst = qir_MOV_dest(c, qir_reg(QFILE_NULL, 0), src); in qir_SF()
812 last_inst->sf = true; in qir_SF()
Dvc4_program.c188 struct qinst *last_inst = NULL; in ntq_store_dest() local
190 last_inst = (struct qinst *)c->cur_block->instructions.prev; in ntq_store_dest()
194 last_inst && last_inst == c->defs[result.index])); in ntq_store_dest()
222 last_inst = c->defs[result.index]; in ntq_store_dest()
226 c->defs[last_inst->dst.index] = NULL; in ntq_store_dest()
227 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
233 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
238 list_del(&last_inst->link); in ntq_store_dest()
240 list_addtail(&last_inst->link, in ntq_store_dest()
243 last_inst->cond = QPU_COND_ZS; in ntq_store_dest()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_debug.c267 struct radv_shader_inst *last_inst = *num ? &instructions[*num - 1] : NULL; in si_add_split_disasm() local
283 inst->offset = last_inst ? last_inst->offset + last_inst->size : 0; in si_add_split_disasm()
294 last_inst = inst; in si_add_split_disasm()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c769 struct qinst *last_inst = NULL; in ntq_store_dest() local
771 last_inst = (struct qinst *)c->cur_block->instructions.prev; in ntq_store_dest()
775 last_inst != c->defs[result.index]; in ntq_store_dest()
777 assert(result.file == QFILE_TEMP && last_inst && in ntq_store_dest()
778 (last_inst == c->defs[result.index] || is_reused_uniform)); in ntq_store_dest()
807 is_ld_signal(&c->defs[last_inst->dst.index]->qpu.sig))) { in ntq_store_dest()
809 last_inst = c->defs[result.index]; in ntq_store_dest()
813 c->defs[last_inst->dst.index] = NULL; in ntq_store_dest()
814 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
820 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
[all …]
Dv3d40_tex.c501 struct qinst *last_inst = in vir_image_emit_register_writes() local
503 vir_set_cond(last_inst, V3D_QPU_COND_IFA); in vir_image_emit_register_writes()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c6637 int last_inst = tgsi_last_instruction(write_mask); in tgsi_f2i() local
6651 if (i == last_inst) in tgsi_f2i()
6670 if (i == last_inst || alu.op == ALU_OP1_FLT_TO_UINT) in tgsi_f2i()
6686 int last_inst = tgsi_last_instruction(write_mask); in tgsi_iabs() local
6703 if (i == last_inst) in tgsi_iabs()
6727 if (i == last_inst) in tgsi_iabs()
6742 int last_inst = tgsi_last_instruction(write_mask); in tgsi_issg() local
6761 if (i == last_inst) in tgsi_issg()
6788 if (i == last_inst) in tgsi_issg()
6803 int last_inst = tgsi_last_instruction(write_mask); in tgsi_ssg() local
[all …]