Lines Matching defs:qreg
95 struct qreg {
100 static inline struct qreg vir_reg(enum qfile file, uint32_t index)
102 return (struct qreg){file, index};
105 static inline struct qreg vir_magic_reg(uint32_t index)
107 return (struct qreg){QFILE_MAGIC, index};
110 static inline struct qreg vir_nop_reg(void)
112 return (struct qreg){QFILE_NULL, 0};
137 struct qreg dst;
138 struct qreg src[3];
482 * qreg for the values.
495 struct qreg *inputs;
496 struct qreg *outputs;
498 struct qreg color_reads[V3D_MAX_SAMPLES];
499 struct qreg sample_colors[V3D_MAX_SAMPLES];
520 struct qreg execute;
523 struct qreg line_x, point_x, point_y;
529 struct qreg iid;
535 struct qreg vid;
538 struct qreg payload_w, payload_w_centroid, payload_z;
540 struct qreg cs_payload[2];
541 struct qreg cs_shared_offset;
557 struct qreg spill_base;
593 struct qreg undef;
738 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
739 struct qreg src0, struct qreg src1);
740 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
741 struct qreg src0, struct qreg src1);
748 struct qreg vir_uniform(struct v3d_compile *c,
755 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
763 struct qreg vir_get_temp(struct v3d_compile *c);
776 struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
778 struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
780 struct qreg result);
834 static inline struct qreg
840 static inline struct qreg
847 static inline struct qreg \
854 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
861 static inline struct qreg \
862 vir_##name(struct v3d_compile *c, struct qreg a) \
868 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
869 struct qreg a) \
876 static inline struct qreg \
877 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
882 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
883 struct qreg a, struct qreg b) \
898 vir_##name(struct v3d_compile *c, struct qreg a) \
906 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
913 static inline struct qreg \
914 vir_##name(struct v3d_compile *c, struct qreg a) \
926 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
927 struct qreg a) \
1031 struct qreg dest, struct qreg src)
1038 static inline struct qreg
1040 struct qreg src0, struct qreg src1)
1042 struct qreg t = vir_get_temp(c);
1055 static inline struct qreg
1070 static inline struct qreg
1071 vir_UMUL(struct v3d_compile *c, struct qreg src0, struct qreg src1)
1078 static inline struct qreg
1085 static inline struct qreg
1092 static inline struct qreg