Lines Matching refs:qinst
28 vir_get_non_sideband_nsrc(struct qinst *inst) in vir_get_non_sideband_nsrc()
44 vir_get_nsrc(struct qinst *inst) in vir_get_nsrc()
55 vir_has_implicit_uniform(struct qinst *inst) in vir_has_implicit_uniform()
75 vir_get_implicit_uniform_src(struct qinst *inst) in vir_get_implicit_uniform_src()
85 vir_has_side_effects(struct v3d_compile *c, struct qinst *inst) in vir_has_side_effects()
123 vir_is_float_input(struct qinst *inst) in vir_is_float_input()
155 vir_is_raw_mov(struct qinst *inst) in vir_is_raw_mov()
176 vir_is_add(struct qinst *inst) in vir_is_add()
183 vir_is_mul(struct qinst *inst) in vir_is_mul()
190 vir_is_tex(struct qinst *inst) in vir_is_tex()
199 vir_depends_on_flags(struct qinst *inst) in vir_depends_on_flags()
210 vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst) in vir_writes_r3()
232 vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst) in vir_writes_r4()
256 vir_set_unpack(struct qinst *inst, int src, in vir_set_unpack()
276 vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond) in vir_set_cond()
287 vir_set_pf(struct qinst *inst, enum v3d_qpu_pf pf) in vir_set_pf()
299 vir_channels_written(struct qinst *inst)
357 c->defs = reralloc(c, c->defs, struct qinst *, in vir_get_temp()
366 struct qinst *
369 struct qinst *inst = calloc(1, sizeof(*inst)); in vir_add_inst()
382 struct qinst *
385 struct qinst *inst = calloc(1, sizeof(*inst)); in vir_mul_inst()
398 struct qinst *
401 struct qinst *inst = calloc(1, sizeof(*inst)); in vir_branch_inst()
419 vir_emit(struct v3d_compile *c, struct qinst *inst) in vir_emit()
426 vir_emit_def(struct v3d_compile *c, struct qinst *inst) in vir_emit_def()
440 struct qinst *
441 vir_emit_nondef(struct v3d_compile *c, struct qinst *inst) in vir_emit_nondef()
789 vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst) in vir_remove_instruction() argument
791 if (qinst->dst.file == QFILE_TEMP) in vir_remove_instruction()
792 c->defs[qinst->dst.index] = NULL; in vir_remove_instruction()
794 list_del(&qinst->link); in vir_remove_instruction()
795 free(qinst); in vir_remove_instruction()
823 struct qinst *qinst = in vir_compile_destroy() local
825 struct qinst, link); in vir_compile_destroy()
826 vir_remove_instruction(c, qinst); in vir_compile_destroy()
868 struct qinst *last_inst = NULL; in vir_PF()
871 last_inst = (struct qinst *)c->cur_block->instructions.prev; in vir_PF()
878 last_inst = (struct qinst *)c->cur_block->instructions.prev; in vir_PF()