Home
last modified time | relevance | path

Searched refs:vc4_compile (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.h385 struct vc4_compile { struct
518 struct vc4_compile *qir_compile_init(void); argument
519 void qir_compile_destroy(struct vc4_compile *c);
520 struct qblock *qir_new_block(struct vc4_compile *c);
521 void qir_set_emit_block(struct vc4_compile *c, struct qblock *block);
523 struct qblock *qir_entry_block(struct vc4_compile *c);
524 struct qblock *qir_exit_block(struct vc4_compile *c);
527 void qir_remove_instruction(struct vc4_compile *c, struct qinst *qinst);
528 struct qreg qir_uniform(struct vc4_compile *c,
531 void qir_schedule_instructions(struct vc4_compile *c);
[all …]
Dvc4_qir.c139 qir_has_side_effects(struct vc4_compile *c, struct qinst *inst) in qir_has_side_effects()
160 qir_has_side_effect_reads(struct vc4_compile *c, struct qinst *inst) in qir_has_side_effect_reads()
392 qir_print_reg(struct vc4_compile *c, struct qreg reg, bool write) in qir_print_reg()
466 qir_dump_inst(struct vc4_compile *c, struct qinst *inst) in qir_dump_inst()
497 qir_dump(struct vc4_compile *c) in qir_dump()
567 qir_get_temp(struct vc4_compile *c) in qir_get_temp()
602 qir_emit(struct vc4_compile *c, struct qinst *inst) in qir_emit()
609 qir_emit_def(struct vc4_compile *c, struct qinst *inst) in qir_emit_def()
624 qir_emit_nondef(struct vc4_compile *c, struct qinst *inst) in qir_emit_nondef()
641 qir_new_block(struct vc4_compile *c) in qir_new_block()
[all …]
Dvc4_opt_algebraic.c41 dump_from(struct vc4_compile *c, struct qinst *inst) in dump_from()
52 dump_to(struct vc4_compile *c, struct qinst *inst) in dump_to()
63 is_constant_value(struct vc4_compile *c, struct qreg reg, in is_constant_value()
80 is_zero(struct vc4_compile *c, struct qreg reg) in is_zero()
87 is_1f(struct vc4_compile *c, struct qreg reg) in is_1f()
94 replace_with_mov(struct vc4_compile *c, struct qinst *inst, struct qreg arg) in replace_with_mov()
112 replace_x_0_with_x(struct vc4_compile *c, in replace_x_0_with_x()
123 replace_x_0_with_0(struct vc4_compile *c, in replace_x_0_with_0()
134 fmul_replace_one(struct vc4_compile *c, in fmul_replace_one()
145 qir_opt_algebraic(struct vc4_compile *c) in qir_opt_algebraic()
Dvc4_program.c44 ntq_get_src(struct vc4_compile *c, nir_src src, int i);
46 ntq_emit_cf_list(struct vc4_compile *c, struct exec_list *list);
55 resize_qreg_array(struct vc4_compile *c, in resize_qreg_array()
76 ntq_emit_thrsw(struct vc4_compile *c) in ntq_emit_thrsw()
93 indirect_uniform_load(struct vc4_compile *c, nir_intrinsic_instr *intr) in indirect_uniform_load()
116 vc4_ubo_load(struct vc4_compile *c, nir_intrinsic_instr *intr) in vc4_ubo_load()
161 ntq_init_ssa_def(struct vc4_compile *c, nir_ssa_def *def) in ntq_init_ssa_def()
185 ntq_store_dest(struct vc4_compile *c, nir_dest *dest, int chan, in ntq_store_dest()
250 ntq_get_dest(struct vc4_compile *c, nir_dest *dest) in ntq_get_dest()
268 ntq_get_src(struct vc4_compile *c, nir_src src, int i) in ntq_get_src()
[all …]
Dvc4_opt_constant_folding.c37 dump_from(struct vc4_compile *c, struct qinst *inst) in dump_from()
48 dump_to(struct vc4_compile *c, struct qinst *inst) in dump_to()
59 constant_fold(struct vc4_compile *c, struct qinst *inst) in constant_fold()
98 qir_opt_constant_folding(struct vc4_compile *c) in qir_opt_constant_folding()
Dvc4_nir_lower_io.c93 vc4_nir_get_vattr_channel_vpm(struct vc4_compile *c, in vc4_nir_get_vattr_channel_vpm()
172 vc4_nir_lower_vertex_attr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_vertex_attr()
221 vc4_nir_lower_fs_input(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_fs_input()
277 vc4_nir_lower_output(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_output()
294 vc4_nir_lower_uniform(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_uniform()
331 vc4_nir_lower_io_instr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_io_instr()
361 vc4_nir_lower_io_impl(struct vc4_compile *c, nir_function_impl *impl) in vc4_nir_lower_io_impl()
378 vc4_nir_lower_io(nir_shader *s, struct vc4_compile *c) in vc4_nir_lower_io()
Dvc4_opt_peephole_sf.c36 dump_from(struct vc4_compile *c, struct qinst *inst, const char *type) in dump_from()
47 dump_to(struct vc4_compile *c, struct qinst *inst) in dump_to()
110 qir_opt_peephole_sf_block(struct vc4_compile *c, struct qblock *block) in qir_opt_peephole_sf_block()
161 qir_opt_peephole_sf(struct vc4_compile *c) in qir_opt_peephole_sf()
Dvc4_qir_live_variables.c47 qir_setup_use(struct vc4_compile *c, struct qblock *block, int ip, in qir_setup_use()
84 qir_setup_def(struct vc4_compile *c, struct qblock *block, int ip, in qir_setup_def()
182 qir_setup_def_use(struct vc4_compile *c) in qir_setup_def_use()
224 qir_live_variables_dataflow(struct vc4_compile *c, int bitset_words) in qir_live_variables_dataflow()
264 qir_compute_start_end(struct vc4_compile *c, int num_vars) in qir_compute_start_end()
286 qir_calculate_live_intervals(struct vc4_compile *c) in qir_calculate_live_intervals()
Dvc4_opt_dead_code.c43 dce(struct vc4_compile *c, struct qinst *inst) in dce()
55 has_nonremovable_reads(struct vc4_compile *c, struct qinst *inst) in has_nonremovable_reads()
85 qir_opt_dead_code(struct vc4_compile *c) in qir_opt_dead_code()
Dvc4_nir_lower_blend.c49 blend_depends_on_dst_color(struct vc4_compile *c) in blend_depends_on_dst_color()
248 vc4_do_blending_f(struct vc4_compile *c, nir_builder *b, nir_ssa_def **result, in vc4_do_blending_f()
294 vc4_do_blending_i(struct vc4_compile *c, nir_builder *b, in vc4_do_blending_i()
416 vc4_nir_swizzle_and_pack(struct vc4_compile *c, nir_builder *b, in vc4_nir_swizzle_and_pack()
436 vc4_nir_blend_pipeline(struct vc4_compile *c, nir_builder *b, nir_ssa_def *src, in vc4_nir_blend_pipeline()
509 vc4_nir_store_sample_mask(struct vc4_compile *c, nir_builder *b, in vc4_nir_store_sample_mask()
523 vc4_nir_lower_blend_instr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_blend_instr()
569 vc4_nir_lower_blend_block(nir_block *block, struct vc4_compile *c) in vc4_nir_lower_blend_block()
604 vc4_nir_lower_blend(nir_shader *s, struct vc4_compile *c) in vc4_nir_lower_blend()
Dvc4_opt_copy_propagation.c65 try_copy_prop(struct vc4_compile *c, struct qinst *inst, struct qinst **movs) in try_copy_prop()
157 apply_kills(struct vc4_compile *c, struct qinst **movs, struct qinst *inst) in apply_kills()
173 qir_opt_copy_propagation(struct vc4_compile *c) in qir_opt_copy_propagation()
Dvc4_qir_schedule.c272 calculate_forward_deps(struct vc4_compile *c, void *mem_ctx, in calculate_forward_deps()
391 calculate_reverse_deps(struct vc4_compile *c, void *mem_ctx, in calculate_reverse_deps()
529 dump_state(struct vc4_compile *c, struct schedule_state *state) in dump_state()
616 schedule_instructions(struct vc4_compile *c, in schedule_instructions()
676 qir_schedule_instructions_block(struct vc4_compile *c, in qir_schedule_instructions_block()
715 qir_schedule_instructions(struct vc4_compile *c) in qir_schedule_instructions()
Dvc4_qir_validate.c28 fail_instr(struct vc4_compile *c, struct qinst *inst, const char *msg) in fail_instr()
36 void qir_validate(struct vc4_compile *c) in qir_validate()
Dvc4_nir_lower_txf_ms.c42 const struct vc4_compile *c = data; in vc4_nir_lower_txf_ms_instr()
135 vc4_nir_lower_txf_ms(nir_shader *s, struct vc4_compile *c) in vc4_nir_lower_txf_ms()
Dvc4_qpu_schedule.c415 calculate_forward_deps(struct vc4_compile *c, struct dag *dag, in calculate_forward_deps()
429 calculate_reverse_deps(struct vc4_compile *c, struct dag *dag, in calculate_reverse_deps()
826 emit_thrsw(struct vc4_compile *c, in emit_thrsw()
867 schedule_instructions(struct vc4_compile *c, in schedule_instructions()
984 qpu_schedule_instructions_block(struct vc4_compile *c, in qpu_schedule_instructions_block()
1034 qpu_set_branch_targets(struct vc4_compile *c) in qpu_set_branch_targets()
1074 qpu_schedule_instructions(struct vc4_compile *c) in qpu_schedule_instructions()
Dvc4_qpu.h34 struct vc4_compile;
158 void qpu_serialize_one_inst(struct vc4_compile *c, uint64_t inst);
Dvc4_qir_emit_uniform_stream_resets.c50 qir_emit_uniform_stream_resets(struct vc4_compile *c) in qir_emit_uniform_stream_resets()
Dvc4_qpu_emit.c32 vc4_dump_program(struct vc4_compile *c) in vc4_dump_program()
133 setup_for_vpm_read(struct vc4_compile *c, struct qblock *block) in setup_for_vpm_read()
240 vc4_generate_code_block(struct vc4_compile *c, in vc4_generate_code_block()
589 vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c) in vc4_generate_code()
Dvc4_opt_small_immediates.c37 qir_opt_small_immediates(struct vc4_compile *c) in qir_opt_small_immediates()
Dvc4_reorder_uniforms.c40 qir_reorder_uniforms(struct vc4_compile *c) in qir_reorder_uniforms()
Dvc4_opt_vpm.c34 qir_opt_vpm(struct vc4_compile *c) in qir_opt_vpm()
Dvc4_opt_coalesce_ff_writes.c34 qir_opt_coalesce_ff_writes(struct vc4_compile *c) in qir_opt_coalesce_ff_writes()
Dvc4_context.h500 void vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c);
501 struct qpu_reg *vc4_register_allocate(struct vc4_context *vc4, struct vc4_compile *c);
Dvc4_qir_lower_uniforms.c112 qir_lower_uniforms(struct vc4_compile *c) in qir_lower_uniforms()
Dvc4_register_allocate.c250 vc4_register_allocate(struct vc4_context *vc4, struct vc4_compile *c) in vc4_register_allocate()

12