Lines Matching defs:qreg

121 struct qreg {
126 static inline struct qreg vir_reg(enum qfile file, uint32_t index)
128 return (struct qreg){file, index};
131 static inline struct qreg vir_magic_reg(uint32_t index)
133 return (struct qreg){QFILE_MAGIC, index};
136 static inline struct qreg vir_nop_reg(void)
138 return (struct qreg){QFILE_NULL, 0};
163 struct qreg dst;
164 struct qreg src[3];
582 struct qreg vp;
583 struct qreg C;
600 * qreg for the values.
630 struct qreg *inputs;
635 struct qreg *outputs;
637 struct qreg color_reads[V3D_MAX_DRAW_BUFFERS * V3D_MAX_SAMPLES * 4];
638 struct qreg sample_colors[V3D_MAX_DRAW_BUFFERS * V3D_MAX_SAMPLES * 4];
722 struct qreg execute;
725 struct qreg line_x, point_x, point_y, primitive_id;
731 struct qreg iid;
737 struct qreg biid;
743 struct qreg vid;
746 struct qreg payload_w, payload_w_centroid, payload_z;
748 struct qreg cs_payload[2];
749 struct qreg cs_shared_offset;
768 struct qreg spill_base;
805 struct qreg undef;
1032 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
1033 struct qreg src0, struct qreg src1);
1034 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
1035 struct qreg src0, struct qreg src1);
1042 struct qreg vir_uniform(struct v3d_compile *c,
1049 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
1059 struct qreg vir_get_temp(struct v3d_compile *c);
1071 struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
1073 struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
1075 struct qreg result);
1142 static inline struct qreg
1148 static inline struct qreg
1155 static inline struct qreg \
1162 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
1169 static inline struct qreg \
1170 vir_##name(struct v3d_compile *c, struct qreg a) \
1176 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1177 struct qreg a) \
1184 static inline struct qreg \
1185 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1190 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1191 struct qreg a, struct qreg b) \
1206 vir_##name(struct v3d_compile *c, struct qreg a) \
1214 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1221 static inline struct qreg \
1222 vir_##name(struct v3d_compile *c, struct qreg a) \
1234 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1235 struct qreg a) \
1348 struct qreg dest, struct qreg src)
1355 static inline struct qreg
1357 struct qreg src0, struct qreg src1)
1359 struct qreg t = vir_get_temp(c);
1372 static inline struct qreg
1387 static inline struct qreg
1388 vir_UMUL(struct v3d_compile *c, struct qreg src0, struct qreg src1)
1394 static inline struct qreg
1407 static inline struct qreg