Lines Matching refs:qinst
30 vir_get_nsrc(struct qinst *inst) in vir_get_nsrc()
50 vir_has_side_effects(struct v3d_compile *c, struct qinst *inst) in vir_has_side_effects()
91 vir_is_raw_mov(struct qinst *inst) in vir_is_raw_mov()
119 vir_is_add(struct qinst *inst) in vir_is_add()
126 vir_is_mul(struct qinst *inst) in vir_is_mul()
133 vir_is_tex(struct qinst *inst) in vir_is_tex()
147 vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst) in vir_writes_r3()
169 vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst) in vir_writes_r4()
193 vir_set_unpack(struct qinst *inst, int src, in vir_set_unpack()
213 vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack) in vir_set_pack()
224 vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond) in vir_set_cond()
235 vir_set_pf(struct qinst *inst, enum v3d_qpu_pf pf) in vir_set_pf()
246 vir_set_uf(struct qinst *inst, enum v3d_qpu_uf uf) in vir_set_uf()
258 vir_channels_written(struct qinst *inst)
317 c->defs = reralloc(c, c->defs, struct qinst *, in vir_get_temp()
332 struct qinst *
335 struct qinst *inst = calloc(1, sizeof(*inst)); in vir_add_inst()
348 struct qinst *
351 struct qinst *inst = calloc(1, sizeof(*inst)); in vir_mul_inst()
364 struct qinst *
367 struct qinst *inst = calloc(1, sizeof(*inst)); in vir_branch_inst()
384 vir_emit(struct v3d_compile *c, struct qinst *inst) in vir_emit()
401 vir_emit_def(struct v3d_compile *c, struct qinst *inst) in vir_emit_def()
425 struct qinst *
426 vir_emit_nondef(struct v3d_compile *c, struct qinst *inst) in vir_emit_nondef()
1282 vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst) in vir_remove_instruction() argument
1284 if (qinst->dst.file == QFILE_TEMP) in vir_remove_instruction()
1285 c->defs[qinst->dst.index] = NULL; in vir_remove_instruction()
1287 assert(&qinst->link != c->cursor.link); in vir_remove_instruction()
1289 list_del(&qinst->link); in vir_remove_instruction()
1290 free(qinst); in vir_remove_instruction()
1324 struct qinst *qinst = in vir_compile_destroy() local
1326 struct qinst, link); in vir_compile_destroy()
1327 vir_remove_instruction(c, qinst); in vir_compile_destroy()
1371 struct qinst *inst = vir_NOP(c); in vir_uniform()