Lines Matching defs:qinst
151 struct qinst {
158 * being replaced by the contents of qinst->dst and qinst->src[].
534 vir_before_inst(struct qinst *inst)
540 vir_after_inst(struct qinst *inst)
605 struct qinst **defs;
845 struct qinst *last_thrsw;
1003 vir_has_uniform(struct qinst *inst)
1032 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
1034 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
1036 struct qinst *vir_branch_inst(struct v3d_compile *c,
1038 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
1049 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
1050 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
1051 void vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond);
1052 enum v3d_qpu_cond vir_get_cond(struct qinst *inst);
1053 void vir_set_pf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_pf pf);
1054 void vir_set_uf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_uf uf);
1055 void vir_set_unpack(struct qinst *inst, int src,
1057 void vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack);
1061 int vir_get_nsrc(struct qinst *inst);
1062 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
1063 bool vir_get_add_op(struct qinst *inst, enum v3d_qpu_add_op *op);
1064 bool vir_get_mul_op(struct qinst *inst, enum v3d_qpu_mul_op *op);
1065 bool vir_is_raw_mov(struct qinst *inst);
1066 bool vir_is_tex(const struct v3d_device_info *devinfo, struct qinst *inst);
1067 bool vir_is_add(struct qinst *inst);
1068 bool vir_is_mul(struct qinst *inst);
1069 bool vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst);
1070 bool vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst);
1072 uint8_t vir_channels_written(struct qinst *inst);
1083 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
1161 static inline struct qinst * \
1175 static inline struct qinst * \
1189 static inline struct qinst * \
1197 static inline struct qinst * \
1205 static inline struct qinst * \
1213 static inline struct qinst * \
1233 static inline struct qinst * \
1346 static inline struct qinst *
1350 struct qinst *mov = vir_MOV_dest(c, dest, src);
1365 static inline struct qinst *
1376 struct qinst *ldtmu = vir_add_inst(V3D_QPU_A_NOP, c->undef,
1400 struct qinst *ldtlb = vir_add_inst(V3D_QPU_A_NOP, c->undef,
1412 struct qinst *ldtlb = vir_add_inst(V3D_QPU_A_NOP, c->undef,
1418 static inline struct qinst *
1439 list_for_each_entry(struct qinst, inst, &block->instructions, link)
1442 list_for_each_entry_rev(struct qinst, inst, &block->instructions, link)
1445 list_for_each_entry_safe(struct qinst, inst, &block->instructions, link)