Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/midgard/
Dcompiler.h240 typedef struct compiler_context { struct
312 } compiler_context; argument
322 mir_upload_ins(struct compiler_context *ctx, struct midgard_instruction ins) in mir_upload_ins()
330 emit_mir_instruction(struct compiler_context *ctx, struct midgard_instruction ins) in emit_mir_instruction()
338 mir_insert_instruction_before(struct compiler_context *ctx, in mir_insert_instruction_before()
431 mir_get_block(compiler_context *ctx, int idx) in mir_get_block()
448 make_compiler_temp(compiler_context *ctx) in make_compiler_temp()
454 make_compiler_temp_reg(compiler_context *ctx) in make_compiler_temp_reg()
466 nir_src_index(compiler_context *ctx, nir_src *src) in nir_src_index()
491 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()
114 mir_single_use(compiler_context *ctx, unsigned value) in mir_single_use()
340 mir_bundle_for_op(compiler_context *ctx, midgard_instruction ins) in mir_bundle_for_op()
383 compiler_context *ctx, in mir_insert_instruction_before_scheduled()
407 compiler_context *ctx, in mir_insert_instruction_after_scheduled()
469 mir_compute_temp_count(compiler_context *ctx) in mir_compute_temp_count()
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_compile.c73 create_empty_block(compiler_context *ctx) in create_empty_block()
87 schedule_barrier(compiler_context *ctx) in schedule_barrier()
205 attach_constants(compiler_context *ctx, midgard_instruction *ins, void *constants, int name) in attach_constants()
473 emit_load_const(compiler_context *ctx, nir_load_const_instr *instr) in emit_load_const()
510 emit_explicit_constant(compiler_context *ctx, unsigned node, unsigned to) in emit_explicit_constant()
597 mir_accept_dest_mod(compiler_context *ctx, nir_dest **dest, nir_op op) in mir_accept_dest_mod()
622 mir_determine_float_outmod(compiler_context *ctx, nir_dest **dest, unsigned prior_outmod) in mir_determine_float_outmod()
730 emit_alu(compiler_context *ctx, nir_alu_instr *instr) in emit_alu()
1194 compiler_context *ctx, in emit_ubo_read()
1255 compiler_context *ctx, in emit_global()
[all …]
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()
Dmir_promote_uniforms.c71 mir_analyze_ranges(compiler_context *ctx) in mir_analyze_ranges()
181 mir_estimate_pressure(compiler_context *ctx) in mir_estimate_pressure()
205 mir_work_heuristic(compiler_context *ctx, struct mir_ubo_analysis *analysis) in mir_work_heuristic()
238 mir_special_indices(compiler_context *ctx) in mir_special_indices()
265 midgard_promote_uniforms(compiler_context *ctx) in midgard_promote_uniforms()
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.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()
319 compiler_context *ctx, in mir_compute_interference()
449 allocate_registers(compiler_context *ctx, bool *spilled) in allocate_registers()
730 compiler_context *ctx, in install_registers_instr()
856 install_registers(compiler_context *ctx, struct lcra_state *l) in install_registers()
867 compiler_context *ctx, in mir_choose_spill_node()
890 compiler_context *ctx, in mir_spill_register()
1089 mir_demote_uniforms(compiler_context *ctx, unsigned new_cutoff) in mir_demote_uniforms()
1143 mir_ra(compiler_context *ctx) in mir_ra()
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_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_schedule.c877 compiler_context *ctx, in mir_comparison_mobile()
932 compiler_context *ctx, in mir_schedule_comparison()
964 mir_schedule_condition(compiler_context *ctx, in mir_schedule_condition()
1090 compiler_context *ctx, in mir_schedule_zs_write()
1158 compiler_context *ctx, in mir_schedule_alu()
1422 schedule_block(compiler_context *ctx, midgard_block *block) in schedule_block()
1506 mir_lower_ldst(compiler_context *ctx) in mir_lower_ldst()
1532 mir_lower_blend_input(compiler_context *ctx) in mir_lower_blend_input()
1565 midgard_schedule_program(compiler_context *ctx) in midgard_schedule_program()
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_opt_copy_prop.c29 midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block) in midgard_opt_copy_prop()
Dmidgard_emit.c725 compiler_context *ctx, in emit_branch()
834 emit_alu_bundle(compiler_context *ctx, in emit_alu_bundle()
948 emit_binary_bundle(compiler_context *ctx, in emit_binary_bundle()
Dmidgard_print.c363 mir_print_shader(compiler_context *ctx) in mir_print_shader()
Dmidgard_address.c228 mir_set_offset(compiler_context *ctx, midgard_instruction *ins, nir_src *offset, unsigned seg) in mir_set_offset()