/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qir.h | 413 struct vc4_compile { struct 553 struct vc4_compile *qir_compile_init(void); argument 554 void qir_compile_destroy(struct vc4_compile *c); 555 struct qblock *qir_new_block(struct vc4_compile *c); 556 void qir_set_emit_block(struct vc4_compile *c, struct qblock *block); 558 struct qblock *qir_entry_block(struct vc4_compile *c); 559 struct qblock *qir_exit_block(struct vc4_compile *c); 562 void qir_remove_instruction(struct vc4_compile *c, struct qinst *qinst); 563 struct qreg qir_uniform(struct vc4_compile *c, 566 void qir_schedule_instructions(struct vc4_compile *c); [all …]
|
D | vc4_qir.c | 139 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() 347 qir_print_reg(struct vc4_compile *c, struct qreg reg, bool write) in qir_print_reg() 420 qir_dump_inst(struct vc4_compile *c, struct qinst *inst) in qir_dump_inst() 451 qir_dump(struct vc4_compile *c) in qir_dump() 521 qir_get_temp(struct vc4_compile *c) in qir_get_temp() 556 qir_emit(struct vc4_compile *c, struct qinst *inst) in qir_emit() 563 qir_emit_def(struct vc4_compile *c, struct qinst *inst) in qir_emit_def() 578 qir_emit_nondef(struct vc4_compile *c, struct qinst *inst) in qir_emit_nondef() 595 qir_new_block(struct vc4_compile *c) in qir_new_block() [all …]
|
D | vc4_opt_algebraic.c | 41 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()
|
D | vc4_opt_constant_folding.c | 37 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()
|
D | vc4_program.c | 43 ntq_get_src(struct vc4_compile *c, nir_src src, int i); 45 ntq_emit_cf_list(struct vc4_compile *c, struct exec_list *list); 48 resize_qreg_array(struct vc4_compile *c, in resize_qreg_array() 69 ntq_emit_thrsw(struct vc4_compile *c) in ntq_emit_thrsw() 86 indirect_uniform_load(struct vc4_compile *c, nir_intrinsic_instr *intr) in indirect_uniform_load() 155 ntq_init_ssa_def(struct vc4_compile *c, nir_ssa_def *def) in ntq_init_ssa_def() 179 ntq_store_dest(struct vc4_compile *c, nir_dest *dest, int chan, in ntq_store_dest() 244 ntq_get_dest(struct vc4_compile *c, nir_dest *dest) in ntq_get_dest() 262 ntq_get_src(struct vc4_compile *c, nir_src src, int i) in ntq_get_src() 281 ntq_get_alu_src(struct vc4_compile *c, nir_alu_instr *instr, in ntq_get_alu_src() [all …]
|
D | vc4_nir_lower_io.c | 92 vc4_nir_get_vattr_channel_vpm(struct vc4_compile *c, in vc4_nir_get_vattr_channel_vpm() 171 vc4_nir_lower_vertex_attr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_vertex_attr() 230 is_point_sprite(struct vc4_compile *c, nir_variable *var) in is_point_sprite() 241 vc4_nir_lower_fs_input(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_fs_input() 301 vc4_nir_lower_output(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_output() 322 vc4_nir_lower_uniform(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_uniform() 356 vc4_nir_lower_io_instr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_io_instr() 386 vc4_nir_lower_io_impl(struct vc4_compile *c, nir_function_impl *impl) in vc4_nir_lower_io_impl() 403 vc4_nir_lower_io(nir_shader *s, struct vc4_compile *c) in vc4_nir_lower_io()
|
D | vc4_opt_peephole_sf.c | 36 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()
|
D | vc4_qir_live_variables.c | 59 qir_setup_use(struct vc4_compile *c, struct qblock *block, int ip, in qir_setup_use() 96 qir_setup_def(struct vc4_compile *c, struct qblock *block, int ip, in qir_setup_def() 196 qir_setup_def_use(struct vc4_compile *c) in qir_setup_def_use() 238 qir_live_variables_dataflow(struct vc4_compile *c, int bitset_words) in qir_live_variables_dataflow() 278 qir_compute_start_end(struct vc4_compile *c, int num_vars) in qir_compute_start_end() 300 qir_calculate_live_intervals(struct vc4_compile *c) in qir_calculate_live_intervals()
|
D | vc4_opt_dead_code.c | 43 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()
|
D | vc4_nir_lower_blend.c | 48 blend_depends_on_dst_color(struct vc4_compile *c) in blend_depends_on_dst_color() 285 vc4_do_blending_f(struct vc4_compile *c, nir_builder *b, nir_ssa_def **result, in vc4_do_blending_f() 331 vc4_do_blending_i(struct vc4_compile *c, nir_builder *b, in vc4_do_blending_i() 480 vc4_nir_emit_alpha_test_discard(struct vc4_compile *c, nir_builder *b, in vc4_nir_emit_alpha_test_discard() 501 vc4_nir_swizzle_and_pack(struct vc4_compile *c, nir_builder *b, in vc4_nir_swizzle_and_pack() 521 vc4_nir_blend_pipeline(struct vc4_compile *c, nir_builder *b, nir_ssa_def *src, in vc4_nir_blend_pipeline() 607 vc4_nir_store_sample_mask(struct vc4_compile *c, nir_builder *b, in vc4_nir_store_sample_mask() 628 vc4_nir_lower_blend_instr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_blend_instr() 685 vc4_nir_lower_blend_block(nir_block *block, struct vc4_compile *c) in vc4_nir_lower_blend_block() 720 vc4_nir_lower_blend(nir_shader *s, struct vc4_compile *c) in vc4_nir_lower_blend()
|
D | vc4_opt_copy_propagation.c | 65 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()
|
D | vc4_nir_lower_txf_ms.c | 39 vc4_nir_lower_txf_ms_instr(struct vc4_compile *c, nir_builder *b, in vc4_nir_lower_txf_ms_instr() 133 vc4_nir_lower_txf_ms_impl(struct vc4_compile *c, nir_function_impl *impl) in vc4_nir_lower_txf_ms_impl() 155 vc4_nir_lower_txf_ms(nir_shader *s, struct vc4_compile *c) in vc4_nir_lower_txf_ms()
|
D | vc4_qir_schedule.c | 293 calculate_forward_deps(struct vc4_compile *c, void *mem_ctx, in calculate_forward_deps() 412 calculate_reverse_deps(struct vc4_compile *c, void *mem_ctx, in calculate_reverse_deps() 539 dump_state(struct vc4_compile *c, struct schedule_state *state) in dump_state() 624 schedule_instructions(struct vc4_compile *c, in schedule_instructions() 692 qir_schedule_instructions_block(struct vc4_compile *c, in qir_schedule_instructions_block() 729 qir_schedule_instructions(struct vc4_compile *c) in qir_schedule_instructions()
|
D | vc4_qir_validate.c | 28 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()
|
D | vc4_qpu_schedule.c | 441 calculate_forward_deps(struct vc4_compile *c, struct list_head *schedule_list) in calculate_forward_deps() 453 calculate_reverse_deps(struct vc4_compile *c, struct list_head *schedule_list) in calculate_reverse_deps() 849 emit_thrsw(struct vc4_compile *c, in emit_thrsw() 890 schedule_instructions(struct vc4_compile *c, in schedule_instructions() 1022 qpu_schedule_instructions_block(struct vc4_compile *c, in qpu_schedule_instructions_block() 1071 qpu_set_branch_targets(struct vc4_compile *c) in qpu_set_branch_targets() 1111 qpu_schedule_instructions(struct vc4_compile *c) in qpu_schedule_instructions()
|
D | vc4_qpu.h | 34 struct vc4_compile; 158 void qpu_serialize_one_inst(struct vc4_compile *c, uint64_t inst);
|
D | vc4_qir_emit_uniform_stream_resets.c | 50 qir_emit_uniform_stream_resets(struct vc4_compile *c) in qir_emit_uniform_stream_resets()
|
D | vc4_qpu_emit.c | 32 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() 236 vc4_generate_code_block(struct vc4_compile *c, in vc4_generate_code_block() 582 vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c) in vc4_generate_code()
|
D | vc4_opt_small_immediates.c | 37 qir_opt_small_immediates(struct vc4_compile *c) in qir_opt_small_immediates()
|
D | vc4_reorder_uniforms.c | 40 qir_reorder_uniforms(struct vc4_compile *c) in qir_reorder_uniforms()
|
D | vc4_context.h | 486 void vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c); 487 struct qpu_reg *vc4_register_allocate(struct vc4_context *vc4, struct vc4_compile *c);
|
D | vc4_opt_coalesce_ff_writes.c | 34 qir_opt_coalesce_ff_writes(struct vc4_compile *c) in qir_opt_coalesce_ff_writes()
|
D | vc4_opt_vpm.c | 34 qir_opt_vpm(struct vc4_compile *c) in qir_opt_vpm()
|
D | vc4_qir_lower_uniforms.c | 112 qir_lower_uniforms(struct vc4_compile *c) in qir_lower_uniforms()
|
D | vc4_register_allocate.c | 209 vc4_register_allocate(struct vc4_context *vc4, struct vc4_compile *c) in vc4_register_allocate()
|