Lines Matching refs:qinst

121 struct qinst {  struct
412 struct qinst **defs;
542 struct qinst *last_thrsw;
637 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
639 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
641 struct qinst *vir_branch_inst(enum v3d_qpu_branch_cond cond, struct qreg src0);
642 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
649 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
650 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
651 void vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond);
652 void vir_set_pf(struct qinst *inst, enum v3d_qpu_pf pf);
653 void vir_set_unpack(struct qinst *inst, int src,
658 bool vir_has_implicit_uniform(struct qinst *inst);
659 int vir_get_implicit_uniform_src(struct qinst *inst);
660 int vir_get_non_sideband_nsrc(struct qinst *inst);
661 int vir_get_nsrc(struct qinst *inst);
662 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
663 bool vir_get_add_op(struct qinst *inst, enum v3d_qpu_add_op *op);
664 bool vir_get_mul_op(struct qinst *inst, enum v3d_qpu_mul_op *op);
665 bool vir_is_raw_mov(struct qinst *inst);
666 bool vir_is_tex(struct qinst *inst);
667 bool vir_is_add(struct qinst *inst);
668 bool vir_is_mul(struct qinst *inst);
669 bool vir_is_float_input(struct qinst *inst);
670 bool vir_depends_on_flags(struct qinst *inst);
671 bool vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst);
672 bool vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst);
674 uint8_t vir_channels_written(struct qinst *inst);
681 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
738 static inline struct qinst * \
752 static inline struct qinst * \
766 static inline struct qinst * \
774 static inline struct qinst * \
782 static inline struct qinst * \
790 static inline struct qinst * \
878 static inline struct qinst * in VIR_A_ALU2()
882 struct qinst *mov = vir_MOV_dest(c, dest, src); in VIR_A_ALU2()
897 static inline struct qinst *
908 struct qinst *ldtmu = vir_add_inst(V3D_QPU_A_NOP, c->undef, in vir_LDTMU()
943 static inline struct qinst *
964 list_for_each_entry(struct qinst, inst, &block->instructions, link)
967 list_for_each_entry_rev(struct qinst, inst, &block->instructions, link)
970 list_for_each_entry_safe(struct qinst, inst, &block->instructions, link)