• Home
  • Raw
  • Download

Lines Matching refs:compiler_context

236 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);
499 void mir_rewrite_index_src(compiler_context *ctx, unsigned old, unsigned new);
500 void mir_rewrite_index_dst(compiler_context *ctx, unsigned old, unsigned new);
503 void mir_rewrite_index_src_swizzle(compiler_context *ctx, unsigned old, unsigned new, unsigned *swi…
504 bool mir_single_use(compiler_context *ctx, unsigned value);
505 unsigned mir_use_count(compiler_context *ctx, unsigned value);
522 void mir_print_shader(compiler_context *ctx);
526 void mir_insert_instruction_before_scheduled(compiler_context *ctx, midgard_block *block, midgard_i…
527 void mir_insert_instruction_after_scheduled(compiler_context *ctx, midgard_block *block, midgard_in…
529 void mir_compute_temp_count(compiler_context *ctx);
531 void mir_set_offset(compiler_context *ctx, midgard_instruction *ins, nir_src *offset, bool is_share…
626 void midgard_schedule_program(compiler_context *ctx);
628 void mir_ra(compiler_context *ctx);
629 void mir_squeeze_index(compiler_context *ctx);
630 void mir_lower_special_reads(compiler_context *ctx);
632 void mir_compute_liveness(compiler_context *ctx);
633 void mir_invalidate_liveness(compiler_context *ctx);
634 bool mir_is_live_after(compiler_context *ctx, midgard_block *block, midgard_instruction *start, int…
636 void mir_create_pipeline_registers(compiler_context *ctx);
637 void midgard_promote_uniforms(compiler_context *ctx);
640 midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr);
643 midgard_lower_derivatives(compiler_context *ctx, midgard_block *block);
647 void mir_analyze_helper_terminate(compiler_context *ctx);
648 void mir_analyze_helper_requirements(compiler_context *ctx);
653 compiler_context *ctx,
663 unsigned midgard_get_first_tag_from_block(compiler_context *ctx, unsigned block_idx);
667 bool midgard_opt_copy_prop(compiler_context *ctx, midgard_block *block);
668 bool midgard_opt_combine_projection(compiler_context *ctx, midgard_block *block);
669 bool midgard_opt_varying_projection(compiler_context *ctx, midgard_block *block);
670 bool midgard_opt_dead_code_eliminate(compiler_context *ctx);
671 bool midgard_opt_dead_move_eliminate(compiler_context *ctx, midgard_block *block);