Lines Matching defs:qinst
151 struct qinst {
158 * being replaced by the contents of qinst->dst and qinst->src[].
550 vir_before_inst(struct qinst *inst)
556 vir_after_inst(struct qinst *inst)
630 struct qinst **defs;
898 struct qinst *last_thrsw;
1063 vir_has_uniform(struct qinst *inst)
1093 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
1095 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
1097 struct qinst *vir_branch_inst(struct v3d_compile *c,
1099 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
1110 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
1111 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
1112 void vir_set_cond(struct qinst *inst, enum v3d_qpu_cond cond);
1113 enum v3d_qpu_cond vir_get_cond(struct qinst *inst);
1114 void vir_set_pf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_pf pf);
1115 void vir_set_uf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_uf uf);
1116 void vir_set_unpack(struct qinst *inst, int src,
1118 void vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack);
1122 int vir_get_nsrc(struct qinst *inst);
1123 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
1124 bool vir_get_add_op(struct qinst *inst, enum v3d_qpu_add_op *op);
1125 bool vir_get_mul_op(struct qinst *inst, enum v3d_qpu_mul_op *op);
1126 bool vir_is_raw_mov(struct qinst *inst);
1127 bool vir_is_tex(const struct v3d_device_info *devinfo, struct qinst *inst);
1128 bool vir_is_add(struct qinst *inst);
1129 bool vir_is_mul(struct qinst *inst);
1130 bool vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst);
1131 bool vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst);
1133 uint8_t vir_channels_written(struct qinst *inst);
1144 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
1221 static inline struct qinst * \
1235 static inline struct qinst * \
1249 static inline struct qinst * \
1257 static inline struct qinst * \
1265 static inline struct qinst * \
1273 static inline struct qinst * \
1293 static inline struct qinst * \
1406 static inline struct qinst *
1410 struct qinst *mov = vir_MOV_dest(c, dest, src);
1425 static inline struct qinst *
1436 struct qinst *ldtmu = vir_add_inst(V3D_QPU_A_NOP, c->undef,
1460 struct qinst *ldtlb = vir_add_inst(V3D_QPU_A_NOP, c->undef,
1472 struct qinst *ldtlb = vir_add_inst(V3D_QPU_A_NOP, c->undef,
1478 static inline struct qinst *
1499 list_for_each_entry(struct qinst, inst, &block->instructions, link)
1502 list_for_each_entry_rev(struct qinst, inst, &block->instructions, link)
1505 list_for_each_entry_safe(struct qinst, inst, &block->instructions, link)