Lines Matching defs:inst

193         uint64_t inst;
535 struct qreg qir_emit_def(struct vc4_compile *c, struct qinst *inst);
536 struct qinst *qir_emit_nondef(struct vc4_compile *c, struct qinst *inst);
540 int qir_get_nsrc(struct qinst *inst);
541 int qir_get_non_sideband_nsrc(struct qinst *inst);
542 int qir_get_tex_uniform_src(struct qinst *inst);
544 bool qir_has_side_effects(struct vc4_compile *c, struct qinst *inst);
545 bool qir_has_side_effect_reads(struct vc4_compile *c, struct qinst *inst);
546 bool qir_has_uniform_read(struct qinst *inst);
547 bool qir_is_mul(struct qinst *inst);
548 bool qir_is_raw_mov(struct qinst *inst);
549 bool qir_is_tex(struct qinst *inst);
550 bool qir_has_implicit_tex_uniform(struct qinst *inst);
551 bool qir_is_float_input(struct qinst *inst);
552 bool qir_depends_on_flags(struct qinst *inst);
553 bool qir_writes_r4(struct qinst *inst);
555 uint8_t qir_channels_written(struct qinst *inst);
558 void qir_dump_inst(struct vc4_compile *c, struct qinst *inst);
663 struct qinst *inst = qir_inst(QOP_##name, *payload, \
666 list_add(&inst->link, &entry->instructions); \
667 c->defs[payload->index] = inst; \
830 struct qinst *inst = qir_inst(QOP_BRANCH, c->undef, c->undef, c->undef);
831 inst->cond = cond;
832 qir_emit_nondef(c, inst);
833 return inst;
849 #define qir_for_each_inst(inst, block) \
850 list_for_each_entry(struct qinst, inst, &block->instructions, link)
852 #define qir_for_each_inst_rev(inst, block) \
853 list_for_each_entry_rev(struct qinst, inst, &block->instructions, link)
855 #define qir_for_each_inst_safe(inst, block) \
856 list_for_each_entry_safe(struct qinst, inst, &block->instructions, link)
858 #define qir_for_each_inst_inorder(inst, c) \
860 qir_for_each_inst_safe(inst, _block)