Lines Matching refs:v3d_compile
398 struct v3d_compile { struct
628 void v3d_nir_to_vir(struct v3d_compile *c);
630 void vir_compile_destroy(struct v3d_compile *c);
631 const char *vir_get_stage_name(struct v3d_compile *c);
632 struct qblock *vir_new_block(struct v3d_compile *c);
633 void vir_set_emit_block(struct v3d_compile *c, struct qblock *block);
635 struct qblock *vir_entry_block(struct v3d_compile *c);
636 struct qblock *vir_exit_block(struct v3d_compile *c);
642 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
643 struct qreg vir_uniform(struct v3d_compile *c,
646 void vir_schedule_instructions(struct v3d_compile *c);
649 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
650 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
656 struct qreg vir_get_temp(struct v3d_compile *c);
657 void vir_calculate_live_intervals(struct v3d_compile *c);
662 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
673 struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
675 struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
676 void ntq_store_dest(struct v3d_compile *c, nir_dest *dest, int chan,
678 void vir_emit_thrsw(struct v3d_compile *c);
680 void vir_dump(struct v3d_compile *c);
681 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
683 void vir_validate(struct v3d_compile *c);
685 void vir_optimize(struct v3d_compile *c);
686 bool vir_opt_algebraic(struct v3d_compile *c);
687 bool vir_opt_constant_folding(struct v3d_compile *c);
688 bool vir_opt_copy_propagate(struct v3d_compile *c);
689 bool vir_opt_dead_code(struct v3d_compile *c);
690 bool vir_opt_peephole_sf(struct v3d_compile *c);
691 bool vir_opt_small_immediates(struct v3d_compile *c);
692 bool vir_opt_vpm(struct v3d_compile *c);
693 void v3d_nir_lower_blend(nir_shader *s, struct v3d_compile *c);
694 void v3d_nir_lower_io(nir_shader *s, struct v3d_compile *c);
695 void v3d_nir_lower_txf_ms(nir_shader *s, struct v3d_compile *c);
696 void vir_lower_uniforms(struct v3d_compile *c);
698 void v3d33_vir_vpm_read_setup(struct v3d_compile *c, int num_components);
699 void v3d33_vir_vpm_write_setup(struct v3d_compile *c);
700 void v3d33_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr);
701 void v3d40_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr);
703 void v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers);
704 uint32_t v3d_qpu_schedule_instructions(struct v3d_compile *c);
705 void qpu_validate(struct v3d_compile *c);
706 struct qpu_reg *v3d_register_allocate(struct v3d_compile *c);
709 void vir_PF(struct v3d_compile *c, struct qreg src, enum v3d_qpu_pf pf);
720 vir_uniform_ui(struct v3d_compile *c, uint32_t ui) in vir_uniform_ui()
726 vir_uniform_f(struct v3d_compile *c, float f) in vir_uniform_f()
733 vir_##name(struct v3d_compile *c) \
739 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
747 vir_##name(struct v3d_compile *c, struct qreg a) \
753 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
762 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
767 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
775 vir_##name(struct v3d_compile *c) \
783 vir_##name(struct v3d_compile *c, struct qreg a) \
791 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
879 vir_MOV_cond(struct v3d_compile *c, enum v3d_qpu_cond cond, in VIR_A_ALU2()
888 vir_SEL(struct v3d_compile *c, enum v3d_qpu_cond cond, in vir_SEL()
898 vir_NOP(struct v3d_compile *c) in vir_NOP()
905 vir_LDTMU(struct v3d_compile *c) in vir_LDTMU()
944 vir_BRANCH(struct v3d_compile *c, enum v3d_qpu_cond cond) in vir_BRANCH()