Lines Matching refs:qinst
196 struct qinst { struct
402 struct qinst **defs;
529 struct qinst *qir_inst(enum qop op, struct qreg dst,
531 void qir_remove_instruction(struct vc4_compile *c, struct qinst *qinst);
539 struct qreg qir_emit_def(struct vc4_compile *c, struct qinst *inst);
540 struct qinst *qir_emit_nondef(struct vc4_compile *c, struct qinst *inst);
544 int qir_get_nsrc(struct qinst *inst);
545 int qir_get_non_sideband_nsrc(struct qinst *inst);
546 int qir_get_tex_uniform_src(struct qinst *inst);
548 bool qir_has_side_effects(struct vc4_compile *c, struct qinst *inst);
549 bool qir_has_side_effect_reads(struct vc4_compile *c, struct qinst *inst);
550 bool qir_has_uniform_read(struct qinst *inst);
551 bool qir_is_mul(struct qinst *inst);
552 bool qir_is_raw_mov(struct qinst *inst);
553 bool qir_is_tex(struct qinst *inst);
554 bool qir_has_implicit_tex_uniform(struct qinst *inst);
555 bool qir_is_float_input(struct qinst *inst);
556 bool qir_depends_on_flags(struct qinst *inst);
557 bool qir_writes_r4(struct qinst *inst);
559 uint8_t qir_channels_written(struct qinst *inst);
562 void qir_dump_inst(struct vc4_compile *c, struct qinst *inst);
608 static inline struct qinst * \
622 static inline struct qinst * \
636 static inline struct qinst * \
644 static inline struct qinst * \
652 static inline struct qinst * \
667 struct qinst *inst = qir_inst(QOP_##name, *payload, \
822 static inline struct qinst *
826 struct qinst *mov = qir_MOV_dest(c, dest, src); in qir_MOV_cond()
831 static inline struct qinst *
834 struct qinst *inst = qir_inst(QOP_BRANCH, c->undef, c->undef, c->undef); in qir_BRANCH()
854 list_for_each_entry(struct qinst, inst, &block->instructions, link)
857 list_for_each_entry_rev(struct qinst, inst, &block->instructions, link)
860 list_for_each_entry_safe(struct qinst, inst, &block->instructions, link)