Lines Matching defs:qreg
91 struct qreg {
97 static inline struct qreg qir_reg(enum qfile file, uint32_t index)
99 return (struct qreg){file, index};
200 struct qreg dst;
201 struct qreg src[3];
393 * qreg for the values.
406 struct qreg *inputs;
407 struct qreg *outputs;
409 struct qreg color_reads[VC4_MAX_SAMPLES];
410 struct qreg sample_colors[VC4_MAX_SAMPLES];
418 struct qreg execute;
420 struct qreg line_x, point_x, point_y;
422 struct qreg discard;
423 struct qreg payload_FRAG_Z;
424 struct qreg payload_FRAG_W;
464 struct qreg undef;
525 struct qinst *qir_inst(enum qop op, struct qreg dst,
526 struct qreg src0, struct qreg src1);
528 struct qreg qir_uniform(struct vc4_compile *c,
535 struct qreg qir_emit_def(struct vc4_compile *c, struct qinst *inst);
538 struct qreg qir_get_temp(struct vc4_compile *c);
543 bool qir_reg_equals(struct qreg a, struct qreg b);
554 struct qreg qir_follow_movs(struct vc4_compile *c, struct qreg reg);
583 void qir_SF(struct vc4_compile *c, struct qreg src);
585 static inline struct qreg
591 static inline struct qreg
598 static inline struct qreg \
605 qir_##name##_dest(struct vc4_compile *c, struct qreg dest) \
612 static inline struct qreg \
613 qir_##name(struct vc4_compile *c, struct qreg a) \
619 qir_##name##_dest(struct vc4_compile *c, struct qreg dest, \
620 struct qreg a) \
627 static inline struct qreg \
628 qir_##name(struct vc4_compile *c, struct qreg a, struct qreg b) \
633 qir_##name##_dest(struct vc4_compile *c, struct qreg dest, \
634 struct qreg a, struct qreg b) \
641 qir_##name(struct vc4_compile *c, struct qreg a) \
649 qir_##name(struct vc4_compile *c, struct qreg a, struct qreg b) \
656 static inline struct qreg \
659 struct qreg *payload = &c->payload_##name; \
714 static inline struct qreg
715 qir_SEL(struct vc4_compile *c, uint8_t cond, struct qreg src0, struct qreg src1)
717 struct qreg t = qir_get_temp(c);
723 static inline struct qreg
724 qir_UNPACK_8_F(struct vc4_compile *c, struct qreg src, int i)
726 struct qreg t = qir_FMOV(c, src);
731 static inline struct qreg
732 qir_UNPACK_8_I(struct vc4_compile *c, struct qreg src, int i)
734 struct qreg t = qir_MOV(c, src);
739 static inline struct qreg
740 qir_UNPACK_16_F(struct vc4_compile *c, struct qreg src, int i)
742 struct qreg t = qir_FMOV(c, src);
747 static inline struct qreg
748 qir_UNPACK_16_I(struct vc4_compile *c, struct qreg src, int i)
750 struct qreg t = qir_MOV(c, src);
756 qir_PACK_8_F(struct vc4_compile *c, struct qreg dest, struct qreg val, int chan)
763 static inline struct qreg
764 qir_PACK_8888_F(struct vc4_compile *c, struct qreg val)
766 struct qreg dest = qir_MMOV(c, val);
771 static inline struct qreg
772 qir_POW(struct vc4_compile *c, struct qreg x, struct qreg y)
780 qir_VPM_WRITE(struct vc4_compile *c, struct qreg val)
785 static inline struct qreg
792 static inline struct qreg
800 static inline struct qreg
809 static inline struct qreg
810 qir_ROT_MUL(struct vc4_compile *c, struct qreg val, uint32_t rot)
820 struct qreg dest, struct qreg src)