/third_party/mesa3d/src/panfrost/midgard/ |
D | compiler.h | 88 typedef struct midgard_instruction { struct 188 } midgard_instruction; argument 215 midgard_instruction *instructions[6]; 306 midgard_instruction *writeout_branch[MIDGARD_NUM_RTS][MIDGARD_MAX_SAMPLE_ITER]; 321 static inline midgard_instruction * 322 mir_upload_ins(struct compiler_context *ctx, struct midgard_instruction ins) in mir_upload_ins() 324 midgard_instruction *heap = ralloc(ctx, struct midgard_instruction); in mir_upload_ins() 329 static inline midgard_instruction * 330 emit_mir_instruction(struct compiler_context *ctx, struct midgard_instruction ins) in emit_mir_instruction() 332 midgard_instruction *u = mir_upload_ins(ctx, ins); in emit_mir_instruction() [all …]
|
D | midgard_schedule.c | 66 add_dependency(struct util_dynarray *table, unsigned index, uint16_t mask, midgard_instruction **in… in add_dependency() 99 mir_create_dependency_graph(midgard_instruction **instructions, unsigned count, unsigned node_count) in mir_create_dependency_graph() 228 mir_is_scalar(midgard_instruction *ains) in mir_is_scalar() 258 bytes_for_instruction(midgard_instruction *ains) in bytes_for_instruction() 273 static midgard_instruction ** 281 midgard_instruction **instructions = in flatten_mir() 282 calloc(sizeof(midgard_instruction *), *len); in flatten_mir() 296 mir_initialize_worklist(BITSET_WORD *worklist, midgard_instruction **instructions, unsigned count) in mir_initialize_worklist() 311 midgard_instruction **instructions, midgard_instruction *done) in mir_update_worklist() 393 mir_adjust_constant(midgard_instruction *ins, unsigned src, in mir_adjust_constant() [all …]
|
D | mir.c | 28 void mir_rewrite_index_src_single(midgard_instruction *ins, unsigned old, unsigned new) in mir_rewrite_index_src_single() 36 void mir_rewrite_index_dst_single(midgard_instruction *ins, unsigned old, unsigned new) in mir_rewrite_index_dst_single() 43 mir_rewrite_index_src_single_swizzle(midgard_instruction *ins, unsigned old, unsigned new, unsigned… in mir_rewrite_index_src_single_swizzle() 124 mir_nontrivial_mod(midgard_instruction *ins, unsigned i, bool check_swizzle) in mir_nontrivial_mod() 148 mir_nontrivial_outmod(midgard_instruction *ins) in mir_nontrivial_outmod() 222 mir_bytemask(midgard_instruction *ins) in mir_bytemask() 229 mir_set_bytemask(midgard_instruction *ins, uint16_t bytemask) in mir_set_bytemask() 239 mir_upper_override(midgard_instruction *ins, unsigned inst_size) in mir_upper_override() 283 mir_bytemask_of_read_components_index(midgard_instruction *ins, unsigned i) in mir_bytemask_of_read_components_index() 311 mir_bytemask_of_read_components(midgard_instruction *ins, unsigned node) in mir_bytemask_of_read_components() [all …]
|
D | midgard_ra_pipeline.c | 48 midgard_instruction *ins = bundle->instructions[i]; in mir_pipeline_ins() 76 midgard_instruction *q = bundle->instructions[j]; in mir_pipeline_ins() 91 midgard_instruction *q = bundle->instructions[j]; in mir_pipeline_ins() 106 midgard_instruction *end = bundle->instructions[ in mir_pipeline_ins() 116 midgard_instruction *q = bundle->instructions[j]; in mir_pipeline_ins()
|
D | midgard_emit.c | 89 mir_pack_mod(midgard_instruction *ins, unsigned i, bool scalar) in mir_pack_mod() 134 vector_to_scalar_alu(midgard_vector_alu v, midgard_instruction *ins) in vector_to_scalar_alu() 209 mir_pack_mask_alu(midgard_instruction *ins, midgard_vector_alu *alu) in mir_pack_mask_alu() 331 mir_pack_vector_srcs(midgard_instruction *ins, midgard_vector_alu *alu) in mir_pack_vector_srcs() 368 mir_pack_swizzle_ldst(midgard_instruction *ins) in mir_pack_swizzle_ldst() 384 mir_pack_swizzle_tex(midgard_instruction *ins) in mir_pack_swizzle_tex() 426 midgard_instruction *ins = bundle->instructions[i]; in mir_can_run_ooo() 439 mir_pack_tex_ooo(midgard_block *block, midgard_bundle *bundle, midgard_instruction *ins) in mir_pack_tex_ooo() 459 midgard_pack_common_store_mask(midgard_instruction *ins) { in midgard_pack_common_store_mask() 514 mir_pack_ldst_mask(midgard_instruction *ins) in mir_pack_ldst_mask() [all …]
|
D | midgard_liveness.c | 28 mir_liveness_ins_update(uint16_t *live, midgard_instruction *ins, unsigned max) in mir_liveness_ins_update() 45 mir_liveness_ins_update(live, (midgard_instruction *) ins, max); in mir_liveness_ins_update_wrap() 78 mir_is_live_after(compiler_context *ctx, midgard_block *block, midgard_instruction *start, int src) in mir_is_live_after()
|
D | midgard_compile.c | 108 static midgard_instruction m_##name(unsigned ssa, unsigned address) { \ 109 midgard_instruction i = { \ 163 static midgard_instruction \ 183 static midgard_instruction 186 midgard_instruction ins = { in v_branch() 202 attach_constants(compiler_context *ctx, midgard_instruction *ins, void *constants, int name) in attach_constants() 474 midgard_instruction ins = v_mov(SSA_FIXED_REGISTER(REGISTER_CONSTANT), to); in emit_explicit_constant() 504 midgard_instruction ins = emit_image_op(ctx, instr, true); \ 596 mir_copy_src(midgard_instruction *ins, nir_alu_instr *instr, unsigned i, unsigned to, bool *abs, bo… in mir_copy_src() 951 midgard_instruction ins = { in emit_alu() [all …]
|
D | midgard_ra.c | 284 midgard_instruction m = v_mov(idx, i); in mir_lower_special_reads() 289 midgard_instruction *use = mir_next_op(pre_use); in mir_lower_special_reads() 299 midgard_instruction m = v_mov(i, idx); in mir_lower_special_reads() 394 mir_is_64(midgard_instruction *ins) in mir_is_64() 631 midgard_instruction *br = v->instructions[v->instruction_count - 1]; in allocate_registers() 637 midgard_instruction *ins = v->instructions[i]; in allocate_registers() 687 midgard_instruction *ins) in install_registers_instr() 898 midgard_instruction st = v_mov(spill_node, spill_slot); in mir_spill_register() 911 midgard_instruction read = in mir_spill_register() 923 midgard_instruction *it = ins; in mir_spill_register() [all …]
|
D | midgard_opt_dce.c | 34 can_cull_mask(compiler_context *ctx, midgard_instruction *ins) in can_cull_mask() 50 can_dce(midgard_instruction *ins) in can_dce()
|
D | midgard_derivatives.c | 101 midgard_instruction ins = { in midgard_emit_derivatives() 141 midgard_instruction dup; in midgard_lower_derivatives()
|
D | mir_promote_uniforms.c | 40 mir_is_ubo(midgard_instruction *ins) in mir_is_ubo() 47 mir_is_direct_aligned_ubo(midgard_instruction *ins) in mir_is_direct_aligned_ubo() 331 midgard_instruction mov = v_mov(promoted, ins->dest); in midgard_promote_uniforms()
|
D | midgard_print.c | 112 mir_print_embedded_constant(midgard_instruction *ins, unsigned src_idx) in mir_print_embedded_constant() 158 mir_print_instruction(midgard_instruction *ins) in mir_print_instruction()
|
D | helpers.h | 416 struct midgard_instruction; 417 unsigned mir_pack_mod(struct midgard_instruction *ins, unsigned i, bool scalar);
|
D | midgard_address.c | 228 mir_set_offset(compiler_context *ctx, midgard_instruction *ins, nir_src *offset, unsigned seg) in mir_set_offset() 288 mir_set_ubo_offset(midgard_instruction *ins, nir_src *src, unsigned bias) in mir_set_ubo_offset()
|
D | midgard_opt_perspective.c | 116 midgard_instruction accel = { in midgard_opt_combine_projection()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.3.0.rst | 303 - pan/midgard: Fold ssa_args into midgard_instruction
|