Lines Matching defs:qinst
31 vir_get_nsrc(struct qinst *inst)
51 vir_has_side_effects(struct v3d_compile *c, struct qinst *inst)
103 vir_is_raw_mov(struct qinst *inst)
131 vir_is_add(struct qinst *inst)
138 vir_is_mul(struct qinst *inst)
145 vir_is_tex(const struct v3d_device_info *devinfo, struct qinst *inst)
159 vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst)
181 vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst)
205 vir_set_unpack(struct qinst *inst, int src,
225 vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack)
236 vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond)
247 vir_get_cond(struct qinst *inst)
260 vir_set_pf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_pf pf)
272 vir_set_uf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_uf uf)
285 vir_channels_written(struct qinst *inst)
344 c->defs = reralloc(c, c->defs, struct qinst *,
359 struct qinst *
362 struct qinst *inst = calloc(1, sizeof(*inst));
375 struct qinst *
378 struct qinst *inst = calloc(1, sizeof(*inst));
391 struct qinst *
394 struct qinst *inst = calloc(1, sizeof(*inst));
411 vir_emit(struct v3d_compile *c, struct qinst *inst)
428 vir_emit_def(struct v3d_compile *c, struct qinst *inst)
452 struct qinst *
453 vir_emit_nondef(struct v3d_compile *c, struct qinst *inst)
1776 vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst)
1778 if (qinst->dst.file == QFILE_TEMP)
1779 c->defs[qinst->dst.index] = NULL;
1781 assert(&qinst->link != c->cursor.link);
1783 list_del(&qinst->link);
1784 free(qinst);
1818 struct qinst *qinst =
1820 struct qinst, link);
1821 vir_remove_instruction(c, qinst);
1872 struct qinst *prev_inst = NULL;
1891 list_for_each_entry_from_rev(struct qinst, inst, c->cursor.link->prev,
1907 list_for_each_entry_from(struct qinst, inst, prev_inst->link.next,
1937 struct qinst *inst = vir_NOP(c);