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];
599 struct qreg vp;
600 struct qreg C;
625 * qreg for the values.
655 struct qreg *inputs;
660 struct qreg *outputs;
662 struct qreg color_reads[V3D_MAX_DRAW_BUFFERS * V3D_MAX_SAMPLES * 4];
663 struct qreg sample_colors[V3D_MAX_DRAW_BUFFERS * V3D_MAX_SAMPLES * 4];
757 struct qreg execute;
760 struct qreg line_x, point_x, point_y, primitive_id;
766 struct qreg iid;
772 struct qreg biid;
778 struct qreg vid;
781 struct qreg payload_w, payload_w_centroid, payload_z;
783 struct qreg cs_payload[2];
784 struct qreg cs_shared_offset;
810 struct qreg spill_base;
853 struct qreg undef;
1093 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
1094 struct qreg src0, struct qreg src1);
1095 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
1096 struct qreg src0, struct qreg src1);
1103 struct qreg vir_uniform(struct v3d_compile *c,
1110 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
1120 struct qreg vir_get_temp(struct v3d_compile *c);
1132 struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
1134 struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
1136 struct qreg result);
1202 static inline struct qreg
1208 static inline struct qreg
1215 static inline struct qreg \
1222 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
1229 static inline struct qreg \
1230 vir_##name(struct v3d_compile *c, struct qreg a) \
1236 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1237 struct qreg a) \
1244 static inline struct qreg \
1245 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1250 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1251 struct qreg a, struct qreg b) \
1266 vir_##name(struct v3d_compile *c, struct qreg a) \
1274 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1281 static inline struct qreg \
1282 vir_##name(struct v3d_compile *c, struct qreg a) \
1294 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1295 struct qreg a) \
1408 struct qreg dest, struct qreg src)
1415 static inline struct qreg
1417 struct qreg src0, struct qreg src1)
1419 struct qreg t = vir_get_temp(c);
1432 static inline struct qreg
1447 static inline struct qreg
1448 vir_UMUL(struct v3d_compile *c, struct qreg src0, struct qreg src1)
1454 static inline struct qreg
1467 static inline struct qreg