Lines Matching refs:qinst
125 struct qinst { struct
485 vir_before_inst(struct qinst *inst) in vir_before_inst()
491 vir_after_inst(struct qinst *inst) in vir_after_inst()
556 struct qinst **defs;
716 struct qinst *last_thrsw;
836 vir_has_uniform(struct qinst *inst) in vir_has_uniform()
867 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
869 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
871 struct qinst *vir_branch_inst(struct v3d_compile *c,
873 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
884 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
885 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
886 void vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond);
887 void vir_set_pf(struct qinst *inst, enum v3d_qpu_pf pf);
888 void vir_set_uf(struct qinst *inst, enum v3d_qpu_uf uf);
889 void vir_set_unpack(struct qinst *inst, int src,
891 void vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack);
896 int vir_get_nsrc(struct qinst *inst);
897 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
898 bool vir_get_add_op(struct qinst *inst, enum v3d_qpu_add_op *op);
899 bool vir_get_mul_op(struct qinst *inst, enum v3d_qpu_mul_op *op);
900 bool vir_is_raw_mov(struct qinst *inst);
901 bool vir_is_tex(struct qinst *inst);
902 bool vir_is_add(struct qinst *inst);
903 bool vir_is_mul(struct qinst *inst);
904 bool vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst);
905 bool vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst);
907 uint8_t vir_channels_written(struct qinst *inst);
914 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
991 static inline struct qinst * \
1005 static inline struct qinst * \
1019 static inline struct qinst * \
1027 static inline struct qinst * \
1035 static inline struct qinst * \
1043 static inline struct qinst * \
1063 static inline struct qinst * \
1174 static inline struct qinst * in VIR_A_ALU2()
1178 struct qinst *mov = vir_MOV_dest(c, dest, src); in VIR_A_ALU2()
1193 static inline struct qinst *
1204 struct qinst *ldtmu = vir_add_inst(V3D_QPU_A_NOP, c->undef, in vir_LDTMU()
1228 struct qinst *ldtlb = vir_add_inst(V3D_QPU_A_NOP, c->undef, in vir_TLBU_COLOR_READ()
1240 struct qinst *ldtlb = vir_add_inst(V3D_QPU_A_NOP, c->undef, in vir_TLB_COLOR_READ()
1270 static inline struct qinst *
1291 list_for_each_entry(struct qinst, inst, &block->instructions, link)
1294 list_for_each_entry_rev(struct qinst, inst, &block->instructions, link)
1297 list_for_each_entry_safe(struct qinst, inst, &block->instructions, link)