Lines Matching refs:qreg
95 struct qreg { struct
100 static inline struct qreg vir_reg(enum qfile file, uint32_t index) in vir_reg() argument
102 return (struct qreg){file, index}; in vir_reg()
105 static inline struct qreg vir_magic_reg(uint32_t index) in vir_magic_reg()
107 return (struct qreg){QFILE_MAGIC, index}; in vir_magic_reg()
110 static inline struct qreg vir_nop_reg(void) in vir_nop_reg()
112 return (struct qreg){QFILE_NULL, 0}; in vir_nop_reg()
137 struct qreg dst;
138 struct qreg src[3];
533 struct qreg vp;
534 struct qreg C;
564 struct qreg *inputs;
569 struct qreg *outputs;
571 struct qreg color_reads[V3D_MAX_DRAW_BUFFERS * V3D_MAX_SAMPLES * 4];
572 struct qreg sample_colors[V3D_MAX_DRAW_BUFFERS * V3D_MAX_SAMPLES * 4];
604 struct qreg execute;
607 struct qreg line_x, point_x, point_y;
613 struct qreg iid;
619 struct qreg biid;
625 struct qreg vid;
628 struct qreg payload_w, payload_w_centroid, payload_z;
630 struct qreg cs_payload[2];
631 struct qreg cs_shared_offset;
647 struct qreg spill_base;
684 struct qreg undef;
867 struct qinst *vir_add_inst(enum v3d_qpu_add_op op, struct qreg dst,
868 struct qreg src0, struct qreg src1);
869 struct qinst *vir_mul_inst(enum v3d_qpu_mul_op op, struct qreg dst,
870 struct qreg src0, struct qreg src1);
877 struct qreg vir_uniform(struct v3d_compile *c,
884 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
893 struct qreg vir_get_temp(struct v3d_compile *c);
906 struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
908 struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
910 struct qreg result);
972 static inline struct qreg
978 static inline struct qreg
985 static inline struct qreg \
992 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
999 static inline struct qreg \
1000 vir_##name(struct v3d_compile *c, struct qreg a) \
1006 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1007 struct qreg a) \
1014 static inline struct qreg \
1015 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1020 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1021 struct qreg a, struct qreg b) \
1036 vir_##name(struct v3d_compile *c, struct qreg a) \
1044 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1051 static inline struct qreg \
1052 vir_##name(struct v3d_compile *c, struct qreg a) \
1064 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1065 struct qreg a) \
1176 struct qreg dest, struct qreg src) in VIR_A_ALU2()
1183 static inline struct qreg
1185 struct qreg src0, struct qreg src1) in vir_SEL()
1187 struct qreg t = vir_get_temp(c); in vir_SEL()
1200 static inline struct qreg
1215 static inline struct qreg
1216 vir_UMUL(struct v3d_compile *c, struct qreg src0, struct qreg src1) in vir_UMUL()
1222 static inline struct qreg
1235 static inline struct qreg