Home
last modified time | relevance | path

Searched refs:compiler_context (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/panfrost/midgard/
Dcompiler.h236 typedef struct compiler_context { struct
319 } compiler_context; argument
329 mir_upload_ins(struct compiler_context *ctx, struct midgard_instruction ins) in mir_upload_ins()
337 emit_mir_instruction(struct compiler_context *ctx, struct midgard_instruction ins) in emit_mir_instruction()
345 mir_insert_instruction_before(struct compiler_context *ctx, in mir_insert_instruction_before()
438 mir_get_block(compiler_context *ctx, int idx) in mir_get_block()
455 make_compiler_temp(compiler_context *ctx) in make_compiler_temp()
461 make_compiler_temp_reg(compiler_context *ctx) in make_compiler_temp_reg()
473 nir_src_index(compiler_context *ctx, nir_src *src) in nir_src_index()
498 void mir_rewrite_index(compiler_context *ctx, unsigned old, unsigned new);
[all …]
Dmir.c54 mir_rewrite_index_src(compiler_context *ctx, unsigned old, unsigned new) in mir_rewrite_index_src()
62 mir_rewrite_index_src_swizzle(compiler_context *ctx, unsigned old, unsigned new, unsigned *swizzle) in mir_rewrite_index_src_swizzle()
70 mir_rewrite_index_dst(compiler_context *ctx, unsigned old, unsigned new) in mir_rewrite_index_dst()
85 mir_rewrite_index(compiler_context *ctx, unsigned old, unsigned new) in mir_rewrite_index()
92 mir_use_count(compiler_context *ctx, unsigned value) in mir_use_count()
108 mir_single_use(compiler_context *ctx, unsigned value) in mir_single_use()
328 mir_bundle_for_op(compiler_context *ctx, midgard_instruction ins) in mir_bundle_for_op()
371 compiler_context *ctx, in mir_insert_instruction_before_scheduled()
393 compiler_context *ctx, in mir_insert_instruction_after_scheduled()
453 mir_compute_temp_count(compiler_context *ctx) in mir_compute_temp_count()
Dmir_promote_uniforms.c54 mir_promoteable_uniform_count(compiler_context *ctx) in mir_promoteable_uniform_count()
78 mir_estimate_pressure(compiler_context *ctx) in mir_estimate_pressure()
102 mir_work_heuristic(compiler_context *ctx) in mir_work_heuristic()
135 mir_special_indices(compiler_context *ctx) in mir_special_indices()
162 midgard_promote_uniforms(compiler_context *ctx) in midgard_promote_uniforms()
Dmidgard_opt_dce.c34 can_cull_mask(compiler_context *ctx, midgard_instruction *ins) in can_cull_mask()
70 midgard_opt_dead_code_eliminate_block(compiler_context *ctx, midgard_block *block) in midgard_opt_dead_code_eliminate_block()
109 midgard_opt_dead_code_eliminate(compiler_context *ctx) in midgard_opt_dead_code_eliminate()
134 midgard_opt_dead_move_eliminate(compiler_context *ctx, midgard_block *block) in midgard_opt_dead_move_eliminate()
Dmidgard_liveness.c49 mir_compute_liveness(compiler_context *ctx) in mir_compute_liveness()
65 mir_invalidate_liveness(compiler_context *ctx) in mir_invalidate_liveness()
78 mir_is_live_after(compiler_context *ctx, midgard_block *block, midgard_instruction *start, int src) in mir_is_live_after()
Dmidgard_compile.c75 create_empty_block(compiler_context *ctx) in create_empty_block()
89 schedule_barrier(compiler_context *ctx) in schedule_barrier()
165 attach_constants(compiler_context *ctx, midgard_instruction *ins, void *constants, int name) in attach_constants()
358 emit_load_const(compiler_context *ctx, nir_load_const_instr *instr) in emit_load_const()
395 emit_explicit_constant(compiler_context *ctx, unsigned node, unsigned to) in emit_explicit_constant()
475 mir_accept_dest_mod(compiler_context *ctx, nir_dest **dest, nir_op op) in mir_accept_dest_mod()
500 mir_determine_float_outmod(compiler_context *ctx, nir_dest **dest, unsigned prior_outmod) in mir_determine_float_outmod()
608 emit_alu(compiler_context *ctx, nir_alu_instr *instr) in emit_alu()
1064 compiler_context *ctx, in emit_ubo_read()
1103 compiler_context *ctx, in emit_global()
[all …]
Dmir_squeeze.c33 find_or_allocate_temp(compiler_context *ctx, struct hash_table_u64 *map, in find_or_allocate_temp()
59 mir_squeeze_index(compiler_context *ctx) in mir_squeeze_index()
Dmidgard_ra_pipeline.c43 compiler_context *ctx, in mir_pipeline_ins()
128 mir_create_pipeline_registers(compiler_context *ctx) in mir_create_pipeline_registers()
Dmidgard_opt_copy_prop.c31 midgard_opt_copy_prop_reg(compiler_context *ctx, midgard_block *block) in midgard_opt_copy_prop_reg()
65 midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block) in midgard_opt_copy_prop()
Dmidgard_ra.c83 index_to_reg(compiler_context *ctx, struct lcra_state *l, unsigned reg, unsigned shift) in index_to_reg()
172 mir_lower_special_reads(compiler_context *ctx) in mir_lower_special_reads()
316 compiler_context *ctx, in mir_compute_interference()
392 allocate_registers(compiler_context *ctx, bool *spilled) in allocate_registers()
659 compiler_context *ctx, in install_registers_instr()
785 install_registers(compiler_context *ctx, struct lcra_state *l) in install_registers()
796 compiler_context *ctx, in mir_choose_spill_node()
819 compiler_context *ctx, in mir_spill_register()
956 mir_ra(compiler_context *ctx) in mir_ra()
Dmidgard_derivatives.c95 midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr) in midgard_emit_derivatives()
126 midgard_lower_derivatives(compiler_context *ctx, midgard_block *block) in midgard_lower_derivatives()
Dmidgard_opt_perspective.c51 midgard_opt_combine_projection(compiler_context *ctx, midgard_block *block) in midgard_opt_combine_projection()
142 midgard_opt_varying_projection(compiler_context *ctx, midgard_block *block) in midgard_opt_varying_projection()
Dmidgard_helper_invocations.c96 mir_analyze_helper_terminate(compiler_context *ctx) in mir_analyze_helper_terminate()
188 mir_analyze_helper_requirements(compiler_context *ctx) in mir_analyze_helper_requirements()
Dmidgard_schedule.c805 compiler_context *ctx, in mir_comparison_mobile()
860 compiler_context *ctx, in mir_schedule_comparison()
892 mir_schedule_condition(compiler_context *ctx, in mir_schedule_condition()
1013 compiler_context *ctx, in mir_schedule_zs_write()
1081 compiler_context *ctx, in mir_schedule_alu()
1343 schedule_block(compiler_context *ctx, midgard_block *block) in schedule_block()
1412 midgard_schedule_program(compiler_context *ctx) in midgard_schedule_program()
Dmidgard_emit.c627 compiler_context *ctx, in emit_branch()
736 emit_alu_bundle(compiler_context *ctx, in emit_alu_bundle()
838 emit_binary_bundle(compiler_context *ctx, in emit_binary_bundle()
Dmidgard_address.c194 mir_set_offset(compiler_context *ctx, midgard_instruction *ins, nir_src *offset, bool is_shared) in mir_set_offset()
Dmidgard_print.c321 mir_print_shader(compiler_context *ctx) in mir_print_shader()