Lines Matching defs:qinst

49         struct qinst *inst;
281 struct qinst *qinst = n->inst;
282 struct v3d_qpu_instr *inst = &qinst->qpu;
438 if (vir_has_uniform(qinst))
524 struct qinst *qinst)
526 const struct v3d_qpu_instr *inst = &qinst->qpu;
564 struct qinst *qinst)
566 const struct v3d_qpu_instr *inst = &qinst->qpu;
1016 const struct qinst *qinst);
1448 struct qinst *inst)
1457 static struct qinst *
1461 struct qinst *qinst = vir_add_inst(V3D_QPU_A_NOP, undef, undef, undef);
1463 return qinst;
1475 const struct qinst *qinst, int slot)
1477 const struct v3d_qpu_instr *inst = &qinst->qpu;
1485 if (slot > 0 && qinst->uniform != ~0)
1546 const struct qinst *qinst,
1554 qinst->qpu.type == V3D_QPU_INSTR_TYPE_ALU &&
1555 (v3d_qpu_magic_waddr_is_sfu(qinst->qpu.alu.add.waddr) ||
1556 v3d_qpu_magic_waddr_is_sfu(qinst->qpu.alu.mul.waddr))) {
1560 if (slot > 0 && qinst->qpu.sig.ldvary)
1577 if (v3d_qpu_writes_unifa(c->devinfo, &qinst->qpu))
1593 const struct qinst *qinst)
1605 if (qinst->qpu.sig.thrsw)
1612 if (!qpu_inst_before_thrsw_valid_in_delay_slot(c, qinst, slot))
1618 if (qpu_inst_is_tlb(&qinst->qpu))
1624 if (qinst->qpu.type == V3D_QPU_INSTR_TYPE_BRANCH)
1637 if (v3d_qpu_writes_tmu(c->devinfo, &qinst->qpu) ||
1638 qinst->qpu.sig.wrtmuc) {
1647 if (v3d_qpu_waits_on_tmu(&qinst->qpu))
1653 if (v3d_qpu_writes_accum(c->devinfo, &qinst->qpu))
1659 if (qinst->qpu.alu.mul.op == V3D_QPU_M_MULTOP)
1665 if (v3d_qpu_writes_flags(&qinst->qpu))
1673 struct qinst *qinst, int instructions_in_sequence,
1683 if (!qpu_inst_before_thrsw_valid_in_delay_slot(c, qinst, slot))
1687 !qpu_inst_valid_in_thrend_slot(c, qinst, slot)) {
1694 qinst = (struct qinst *)qinst->link.next;
1708 struct qinst *inst,
1734 struct qinst *merge_inst = NULL;
1777 struct qinst *second_inst =
1778 (struct qinst *)merge_inst->link.next;
1801 qpu_inst_valid_in_branch_delay_slot(struct v3d_compile *c, struct qinst *inst)
1822 struct qinst *inst)
1853 struct qinst *prev_inst = (struct qinst *) inst->link.prev;
1886 struct qinst *prev_prev_inst =
1887 (struct qinst *) prev_inst->link.prev;
2018 struct qinst *prev = (struct qinst *) block->instructions.prev;
2097 struct qinst *qinst = chosen ? chosen->inst : vir_nop();
2098 struct v3d_qpu_instr *inst = &qinst->qpu;
2169 if (qinst->uniform != -1) {
2174 orig_uniform_data[qinst->uniform];
2176 orig_uniform_contents[qinst->uniform];
2177 qinst->uniform = *next_uniform;
2202 time += emit_thrsw(c, block, scoreboard, qinst, false);
2204 emit_branch(c, block, scoreboard, qinst);
2207 scoreboard, qinst);
2230 struct qinst *qinst = (struct qinst *)block->instructions.next;
2235 n->inst = qinst;
2237 list_del(&qinst->link);
2277 struct qinst *branch = NULL;
2280 struct qinst *delay_slots_start = NULL;
2283 struct qinst *inst =
2284 container_of(entry, struct qinst, link);
2339 struct qinst *s_inst =
2340 (struct qinst *) successor_insts->next;
2341 struct qinst *slot = delay_slots_start;
2347 s_inst = (struct qinst *) s_inst->link.next;
2348 slot = (struct qinst *) slot->link.next;
2390 list_for_each_entry(struct qinst, qinst,
2392 v3d_qpu_dump(devinfo, &qinst->qpu);
2416 struct qinst *thrsw = vir_nop();