Lines Matching refs:v3d_compile
538 struct v3d_compile { struct
847 uint64_t *v3d_compile(const struct v3d_compiler *compiler,
858 void v3d_nir_to_vir(struct v3d_compile *c);
860 void vir_compile_destroy(struct v3d_compile *c);
861 const char *vir_get_stage_name(struct v3d_compile *c);
862 struct qblock *vir_new_block(struct v3d_compile *c);
863 void vir_set_emit_block(struct v3d_compile *c, struct qblock *block);
865 struct qblock *vir_entry_block(struct v3d_compile *c);
866 struct qblock *vir_exit_block(struct v3d_compile *c);
871 struct qinst *vir_branch_inst(struct v3d_compile *c,
873 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
874 uint32_t vir_get_uniform_index(struct v3d_compile *c,
877 struct qreg vir_uniform(struct v3d_compile *c,
880 void vir_schedule_instructions(struct v3d_compile *c);
881 void v3d_setup_spill_base(struct v3d_compile *c);
884 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
885 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
893 struct qreg vir_get_temp(struct v3d_compile *c);
894 void vir_emit_last_thrsw(struct v3d_compile *c);
895 void vir_calculate_live_intervals(struct v3d_compile *c);
897 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
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);
909 void ntq_store_dest(struct v3d_compile *c, nir_dest *dest, int chan,
911 void vir_emit_thrsw(struct v3d_compile *c);
913 void vir_dump(struct v3d_compile *c);
914 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
917 void vir_validate(struct v3d_compile *c);
919 void vir_optimize(struct v3d_compile *c);
920 bool vir_opt_algebraic(struct v3d_compile *c);
921 bool vir_opt_constant_folding(struct v3d_compile *c);
922 bool vir_opt_copy_propagate(struct v3d_compile *c);
923 bool vir_opt_dead_code(struct v3d_compile *c);
924 bool vir_opt_peephole_sf(struct v3d_compile *c);
925 bool vir_opt_redundant_flags(struct v3d_compile *c);
926 bool vir_opt_small_immediates(struct v3d_compile *c);
927 bool vir_opt_vpm(struct v3d_compile *c);
928 void v3d_nir_lower_blend(nir_shader *s, struct v3d_compile *c);
929 void v3d_nir_lower_io(nir_shader *s, struct v3d_compile *c);
931 void v3d_nir_lower_logic_ops(nir_shader *s, struct v3d_compile *c);
932 void v3d_nir_lower_robust_buffer_access(nir_shader *shader, struct v3d_compile *c);
934 void v3d_nir_lower_txf_ms(nir_shader *s, struct v3d_compile *c);
936 void vir_lower_uniforms(struct v3d_compile *c);
938 void v3d33_vir_vpm_read_setup(struct v3d_compile *c, int num_components);
939 void v3d33_vir_vpm_write_setup(struct v3d_compile *c);
940 void v3d33_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr);
941 void v3d40_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr);
942 void v3d40_vir_emit_image_load_store(struct v3d_compile *c,
945 void v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers);
946 uint32_t v3d_qpu_schedule_instructions(struct v3d_compile *c);
947 void qpu_validate(struct v3d_compile *c);
948 struct qpu_reg *v3d_register_allocate(struct v3d_compile *c, bool *spilled);
951 int v3d_shaderdb_dump(struct v3d_compile *c, char **shaderdb_str);
967 vir_in_nonuniform_control_flow(struct v3d_compile *c) in vir_in_nonuniform_control_flow()
973 vir_uniform_ui(struct v3d_compile *c, uint32_t ui) in vir_uniform_ui()
979 vir_uniform_f(struct v3d_compile *c, float f) in vir_uniform_f()
986 vir_##name(struct v3d_compile *c) \
992 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
1000 vir_##name(struct v3d_compile *c, struct qreg a) \
1006 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1015 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1020 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1028 vir_##name(struct v3d_compile *c) \
1036 vir_##name(struct v3d_compile *c, struct qreg a) \
1044 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1052 vir_##name(struct v3d_compile *c, struct qreg a) \
1064 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1175 vir_MOV_cond(struct v3d_compile *c, enum v3d_qpu_cond cond, in VIR_A_ALU2()
1184 vir_SEL(struct v3d_compile *c, enum v3d_qpu_cond cond, in vir_SEL()
1194 vir_NOP(struct v3d_compile *c) in vir_NOP()
1201 vir_LDTMU(struct v3d_compile *c) in vir_LDTMU()
1216 vir_UMUL(struct v3d_compile *c, struct qreg src0, struct qreg src1) in vir_UMUL()
1223 vir_TLBU_COLOR_READ(struct v3d_compile *c, uint32_t config) in vir_TLBU_COLOR_READ()
1236 vir_TLB_COLOR_READ(struct v3d_compile *c) in vir_TLB_COLOR_READ()
1271 vir_BRANCH(struct v3d_compile *c, enum v3d_qpu_branch_cond cond) in vir_BRANCH()