Home
last modified time | relevance | path

Searched refs:v3d_compile (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/broadcom/compiler/
Dv3d_compiler.h587 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);
[all …]
Dvir.c51 vir_has_side_effects(struct v3d_compile *c, struct qinst *inst) in vir_has_side_effects()
260 vir_set_pf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_pf pf) in vir_set_pf()
272 vir_set_uf(struct v3d_compile *c, struct qinst *inst, enum v3d_qpu_uf uf) in vir_set_uf()
333 vir_get_temp(struct v3d_compile *c) in vir_get_temp()
392 vir_branch_inst(struct v3d_compile *c, enum v3d_qpu_branch_cond cond) in vir_branch_inst()
411 vir_emit(struct v3d_compile *c, struct qinst *inst) in vir_emit()
428 vir_emit_def(struct v3d_compile *c, struct qinst *inst) in vir_emit_def()
453 vir_emit_nondef(struct v3d_compile *c, struct qinst *inst) in vir_emit_nondef()
464 vir_new_block(struct v3d_compile *c) in vir_new_block()
480 vir_set_emit_block(struct v3d_compile *c, struct qblock *block) in vir_set_emit_block()
[all …]
Dvir_opt_dead_code.c43 dce(struct v3d_compile *c, struct qinst *inst) in dce()
55 has_nonremovable_reads(struct v3d_compile *c, struct qinst *inst) in has_nonremovable_reads()
66 can_write_to_null(struct v3d_compile *c, struct qinst *inst) in can_write_to_null()
76 vir_dce_flags(struct v3d_compile *c, struct qinst *inst) in vir_dce_flags()
94 check_last_ldunifa(struct v3d_compile *c, in check_last_ldunifa()
122 check_first_ldunifa(struct v3d_compile *c, in check_first_ldunifa()
152 increment_unifa_address(struct v3d_compile *c, struct qblock *block, struct qinst *unifa) in increment_unifa_address()
183 vir_opt_dead_code(struct v3d_compile *c) in vir_opt_dead_code()
Dv3d_nir_lower_robust_buffer_access.c55 lower_load(struct v3d_compile *c, in lower_load()
74 lower_store(struct v3d_compile *c, in lower_store()
83 lower_atomic(struct v3d_compile *c, in lower_atomic()
92 lower_shared(struct v3d_compile *c, in lower_shared()
105 lower_instr(struct v3d_compile *c, nir_builder *b, struct nir_instr *instr) in lower_instr()
150 v3d_nir_lower_robust_buffer_access(nir_shader *s, struct v3d_compile *c) in v3d_nir_lower_robust_buffer_access()
Dnir_to_vir.c105 ntq_emit_cf_list(struct v3d_compile *c, struct exec_list *list);
108 resize_qreg_array(struct v3d_compile *c, in resize_qreg_array()
129 resize_interp_array(struct v3d_compile *c, in resize_interp_array()
152 vir_emit_thrsw(struct v3d_compile *c) in vir_emit_thrsw()
249 ntq_tmu_fifo_overflow(struct v3d_compile *c, uint32_t components) in ntq_tmu_fifo_overflow()
263 ntq_flush_tmu(struct v3d_compile *c) in ntq_flush_tmu()
299 ntq_add_pending_tmu_flush(struct v3d_compile *c, in ntq_add_pending_tmu_flush()
339 emit_tmu_general_store_writes(struct v3d_compile *c, in emit_tmu_general_store_writes()
394 emit_tmu_general_atomic_writes(struct v3d_compile *c, in emit_tmu_general_atomic_writes()
428 emit_tmu_general_address_write(struct v3d_compile *c, in emit_tmu_general_address_write()
[all …]
Dv3d_nir_lower_io.c71 v3d_nir_emit_ff_vpm_outputs(struct v3d_compile *c, nir_builder *b,
97 v3d_nir_lower_uniform(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_uniform()
117 v3d_varying_slot_vpm_offset(struct v3d_compile *c, unsigned location, unsigned component) in v3d_varying_slot_vpm_offset()
153 v3d_nir_lower_vpm_output(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_vpm_output()
258 v3d_nir_lower_emit_vertex(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_emit_vertex()
292 v3d_nir_lower_end_primitive(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_end_primitive()
311 v3d_nir_lower_vertex_input(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_vertex_input()
336 v3d_nir_lower_fragment_input(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_fragment_input()
384 v3d_nir_lower_io_instr(struct v3d_compile *c, nir_builder *b, in v3d_nir_lower_io_instr()
428 v3d_nir_lower_io_update_output_var_base(struct v3d_compile *c, in v3d_nir_lower_io_update_output_var_base()
[all …]
Dv3d40_tex.c34 vir_TMU_WRITE(struct v3d_compile *c, enum v3d_qpu_waddr waddr, struct qreg val) in vir_TMU_WRITE()
43 vir_TMU_WRITE_or_count(struct v3d_compile *c, in vir_TMU_WRITE_or_count()
55 vir_WRTMUC(struct v3d_compile *c, enum quniform_contents contents, uint32_t data) in vir_WRTMUC()
83 handle_tex_src(struct v3d_compile *c, in handle_tex_src()
200 vir_tex_handle_srcs(struct v3d_compile *c, in vir_tex_handle_srcs()
217 get_required_tex_tmu_writes(struct v3d_compile *c, nir_tex_instr *instr) in get_required_tex_tmu_writes()
225 v3d40_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr) in v3d40_vir_emit_tex()
431 vir_image_emit_register_writes(struct v3d_compile *c, in vir_image_emit_register_writes()
508 get_required_image_tmu_writes(struct v3d_compile *c, in get_required_image_tmu_writes()
519 v3d40_vir_emit_image_load_store(struct v3d_compile *c, in v3d40_vir_emit_image_load_store()
Dvir_live_variables.c49 vir_setup_use(struct v3d_compile *c, struct qblock *block, int ip, in vir_setup_use()
90 vir_setup_def(struct v3d_compile *c, struct qblock *block, int ip, in vir_setup_def()
149 vir_setup_def_use(struct v3d_compile *c) in vir_setup_def_use()
205 vir_live_variables_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_dataflow()
241 vir_live_variables_defin_defout_dataflow(struct v3d_compile *c, int bitset_words) in vir_live_variables_defin_defout_dataflow()
272 vir_compute_start_end(struct v3d_compile *c, int num_vars) in vir_compute_start_end()
296 vir_calculate_live_intervals(struct v3d_compile *c) in vir_calculate_live_intervals()
Dv3d_nir_lower_logic_ops.c188 v3d_get_format_swizzle_for_rt(struct v3d_compile *c, int rt) in v3d_get_format_swizzle_for_rt()
205 v3d_nir_get_tlb_color(nir_builder *b, struct v3d_compile *c, int rt, int sample) in v3d_nir_get_tlb_color()
226 v3d_emit_logic_op_raw(struct v3d_compile *c, nir_builder *b, in v3d_emit_logic_op_raw()
264 v3d_emit_logic_op_unorm(struct v3d_compile *c, nir_builder *b, in v3d_emit_logic_op_unorm()
284 v3d_nir_emit_logic_op(struct v3d_compile *c, nir_builder *b, in v3d_nir_emit_logic_op()
319 v3d_nir_lower_logic_op_instr(struct v3d_compile *c, in v3d_nir_lower_logic_op_instr()
352 v3d_nir_lower_logic_ops_block(nir_block *block, struct v3d_compile *c) in v3d_nir_lower_logic_ops_block()
400 v3d_nir_lower_logic_ops(nir_shader *s, struct v3d_compile *c) in v3d_nir_lower_logic_ops()
Dvir_opt_constant_alu.c63 opt_constant_add(struct v3d_compile *c, struct qinst *inst, union fi *values) in opt_constant_add()
103 try_opt_constant_alu(struct v3d_compile *c, struct qinst *inst) in try_opt_constant_alu()
154 vir_opt_constant_alu(struct v3d_compile *c) in vir_opt_constant_alu()
Dv3d33_vpm_setup.c34 v3d33_vir_vpm_read_setup(struct v3d_compile *c, int num_components) in v3d33_vir_vpm_read_setup()
57 v3d33_vir_vpm_write_setup(struct v3d_compile *c) in v3d33_vir_vpm_write_setup()
Dvir_register_allocate.c75 vir_is_mov_uniform(struct v3d_compile *c, int temp) in vir_is_mov_uniform()
83 v3d_choose_spill_node(struct v3d_compile *c, struct ra_graph *g, in v3d_choose_spill_node()
178 v3d_setup_spill_base(struct v3d_compile *c) in v3d_setup_spill_base()
218 v3d_emit_spill_tmua(struct v3d_compile *c, uint32_t spill_offset) in v3d_emit_spill_tmua()
226 v3d_emit_tmu_spill(struct v3d_compile *c, struct qinst *inst, in v3d_emit_tmu_spill()
247 v3d_spill_reg(struct v3d_compile *c, int spill_temp) in v3d_spill_reg()
551 get_spill_batch_size(struct v3d_compile *c) in get_spill_batch_size()
572 tmu_spilling_allowed(struct v3d_compile *c, int thread_index) in tmu_spilling_allowed()
590 v3d_register_allocate(struct v3d_compile *c, bool *spilled) in v3d_register_allocate()
Dvir_dump.c148 vir_print_reg(struct v3d_compile *c, const struct qinst *inst, in vir_print_reg()
216 vir_dump_sig(struct v3d_compile *c, struct qinst *inst) in vir_dump_sig()
257 vir_dump_alu(struct v3d_compile *c, struct qinst *inst) in vir_dump_alu()
299 vir_dump_inst(struct v3d_compile *c, struct qinst *inst) in vir_dump_inst()
365 vir_dump(struct v3d_compile *c) in vir_dump()
Dvir_opt_redundant_flags.c36 vir_dce_pf(struct v3d_compile *c, struct qinst *inst) in vir_dce_pf()
97 vir_opt_redundant_flags_block(struct v3d_compile *c, struct qblock *block) in vir_opt_redundant_flags_block()
139 vir_opt_redundant_flags(struct v3d_compile *c) in vir_opt_redundant_flags()
Dvir_opt_copy_propagate.c119 try_copy_prop(struct v3d_compile *c, struct qinst *inst, struct qinst **movs) in try_copy_prop()
210 apply_kills(struct v3d_compile *c, struct qinst **movs, struct qinst *inst) in apply_kills()
226 vir_opt_copy_propagate(struct v3d_compile *c) in vir_opt_copy_propagate()
Dqpu_schedule.c452 calculate_forward_deps(struct v3d_compile *c, struct dag *dag, in calculate_forward_deps()
467 calculate_reverse_deps(struct v3d_compile *c, struct dag *dag, in calculate_reverse_deps()
593 pixel_scoreboard_too_soon(struct v3d_compile *c, in pixel_scoreboard_too_soon()
1014 qpu_inst_after_thrsw_valid_in_delay_slot(struct v3d_compile *c,
1019 choose_instruction_to_schedule(struct v3d_compile *c, in choose_instruction_to_schedule()
1392 struct v3d_compile *c = (struct v3d_compile *) state; in compute_delay()
1445 insert_scheduled_instruction(struct v3d_compile *c, in insert_scheduled_instruction()
1467 emit_nop(struct v3d_compile *c, struct qblock *block, in emit_nop()
1474 qpu_inst_valid_in_thrend_slot(struct v3d_compile *c, in qpu_inst_valid_in_thrend_slot()
1545 qpu_inst_before_thrsw_valid_in_delay_slot(struct v3d_compile *c, in qpu_inst_before_thrsw_valid_in_delay_slot()
[all …]
Dqpu_validate.c38 struct v3d_compile *c;
59 struct v3d_compile *c = state->c; in fail_instr()
309 qpu_validate(struct v3d_compile *c) in qpu_validate()
Dvir_to_qpu.c186 v3d_generate_code_block(struct v3d_compile *c, in v3d_generate_code_block()
369 v3d_dump_qpu(struct v3d_compile *c) in v3d_dump_qpu()
403 v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers) in v3d_vir_to_qpu()
Dvir_opt_small_immediates.c36 vir_opt_small_immediates(struct v3d_compile *c) in vir_opt_small_immediates()
Dv3d_nir_lower_txf_ms.c79 v3d_nir_lower_txf_ms(nir_shader *s, struct v3d_compile *c) in v3d_nir_lower_txf_ms()
Dv3d33_tex.c34 v3d33_vir_emit_tex(struct v3d_compile *c, nir_tex_instr *instr) in v3d33_vir_emit_tex()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c392 qpu_insts = v3d_compile(v3d->screen->compiler, key, in v3d_get_compiled_shader()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c1647 qpu_insts = v3d_compile(compiler, in pipeline_compile_shader_variant()
/third_party/mesa3d/docs/relnotes/
D20.2.0.rst3632 - v3d: Remove unused member of v3d_compile
3655 - v3d: Changed v3d_compile:failed to an enum
D19.0.0.rst814 - v3d: Reinstate the new shader-db output after v3d_compile() refactor.

12