Lines Matching refs:v3d_compile

587 struct v3d_compile {  struct
1010 void v3d_optimize_nir(struct v3d_compile *c, struct nir_shader *s);
1012 uint64_t *v3d_compile(const struct v3d_compiler *compiler,
1023 void v3d_nir_to_vir(struct v3d_compile *c);
1025 void vir_compile_destroy(struct v3d_compile *c);
1026 const char *vir_get_stage_name(struct v3d_compile *c);
1027 struct qblock *vir_new_block(struct v3d_compile *c);
1028 void vir_set_emit_block(struct v3d_compile *c, struct qblock *block);
1030 struct qblock *vir_entry_block(struct v3d_compile *c);
1031 struct qblock *vir_exit_block(struct v3d_compile *c);
1036 struct qinst *vir_branch_inst(struct v3d_compile *c,
1038 void vir_remove_instruction(struct v3d_compile *c, struct qinst *qinst);
1039 uint32_t vir_get_uniform_index(struct v3d_compile *c,
1042 struct qreg vir_uniform(struct v3d_compile *c,
1045 void vir_schedule_instructions(struct v3d_compile *c);
1046 void v3d_setup_spill_base(struct v3d_compile *c);
1049 struct qreg vir_emit_def(struct v3d_compile *c, struct qinst *inst);
1050 struct qinst *vir_emit_nondef(struct v3d_compile *c, struct qinst *inst);
1053 void vir_set_pf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_pf pf);
1054 void vir_set_uf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_uf uf);
1059 struct qreg vir_get_temp(struct v3d_compile *c);
1060 void vir_calculate_live_intervals(struct v3d_compile *c);
1062 bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
1071 struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
1073 struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
1074 void ntq_store_dest(struct v3d_compile *c, nir_dest *dest, int chan,
1076 bool ntq_tmu_fifo_overflow(struct v3d_compile *c, uint32_t components);
1077 void ntq_add_pending_tmu_flush(struct v3d_compile *c, nir_dest *dest,
1079 void ntq_flush_tmu(struct v3d_compile *c);
1080 void vir_emit_thrsw(struct v3d_compile *c);
1082 void vir_dump(struct v3d_compile *c);
1083 void vir_dump_inst(struct v3d_compile *c, struct qinst *inst);
1086 void vir_validate(struct v3d_compile *c);
1088 void vir_optimize(struct v3d_compile *c);
1089 bool vir_opt_algebraic(struct v3d_compile *c);
1090 bool vir_opt_constant_folding(struct v3d_compile *c);
1091 bool vir_opt_copy_propagate(struct v3d_compile *c);
1092 bool vir_opt_dead_code(struct v3d_compile *c);
1093 bool vir_opt_peephole_sf(struct v3d_compile *c);
1094 bool vir_opt_redundant_flags(struct v3d_compile *c);
1095 bool vir_opt_small_immediates(struct v3d_compile *c);
1096 bool vir_opt_vpm(struct v3d_compile *c);
1097 bool vir_opt_constant_alu(struct v3d_compile *c);
1098 void v3d_nir_lower_blend(nir_shader *s, struct v3d_compile *c);
1099 void v3d_nir_lower_io(nir_shader *s, struct v3d_compile *c);
1101 void v3d_nir_lower_logic_ops(nir_shader *s, struct v3d_compile *c);
1102 void v3d_nir_lower_robust_buffer_access(nir_shader *shader, struct v3d_compile *c);
1104 void v3d_nir_lower_txf_ms(nir_shader *s, struct v3d_compile *c);
1106 void vir_lower_uniforms(struct v3d_compile *c);
1108 void v3d33_vir_vpm_read_setup(struct v3d_compile *c, int num_components);
1109 void v3d33_vir_vpm_write_setup(struct v3d_compile *c);
1110 void v3d33_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr);
1111 void v3d40_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr);
1112 void v3d40_vir_emit_image_load_store(struct v3d_compile *c,
1115 void v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers);
1116 uint32_t v3d_qpu_schedule_instructions(struct v3d_compile *c);
1117 void qpu_validate(struct v3d_compile *c);
1118 struct qpu_reg *v3d_register_allocate(struct v3d_compile *c, bool *spilled);
1121 int v3d_shaderdb_dump(struct v3d_compile *c, char **shaderdb_str);
1137 vir_in_nonuniform_control_flow(struct v3d_compile *c) in vir_in_nonuniform_control_flow()
1143 vir_uniform_ui(struct v3d_compile *c, uint32_t ui) in vir_uniform_ui()
1149 vir_uniform_f(struct v3d_compile *c, float f) in vir_uniform_f()
1156 vir_##name(struct v3d_compile *c) \
1162 vir_##name##_dest(struct v3d_compile *c, struct qreg dest) \
1170 vir_##name(struct v3d_compile *c, struct qreg a) \
1176 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1185 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1190 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1198 vir_##name(struct v3d_compile *c) \
1206 vir_##name(struct v3d_compile *c, struct qreg a) \
1214 vir_##name(struct v3d_compile *c, struct qreg a, struct qreg b) \
1222 vir_##name(struct v3d_compile *c, struct qreg a) \
1234 vir_##name##_dest(struct v3d_compile *c, struct qreg dest, \
1347 vir_MOV_cond(struct v3d_compile *c, enum v3d_qpu_cond cond, in VIR_A_ALU2()
1356 vir_SEL(struct v3d_compile *c, enum v3d_qpu_cond cond, in vir_SEL()
1366 vir_NOP(struct v3d_compile *c) in vir_NOP()
1373 vir_LDTMU(struct v3d_compile *c) in vir_LDTMU()
1388 vir_UMUL(struct v3d_compile *c, struct qreg src0, struct qreg src1) in vir_UMUL()
1395 vir_TLBU_COLOR_READ(struct v3d_compile *c, uint32_t config) in vir_TLBU_COLOR_READ()
1408 vir_TLB_COLOR_READ(struct v3d_compile *c) in vir_TLB_COLOR_READ()
1419 vir_BRANCH(struct v3d_compile *c, enum v3d_qpu_branch_cond cond) in vir_BRANCH()