Home
last modified time | relevance | path

Searched refs:midgard_instruction (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/panfrost/midgard/
Dcompiler.h88 typedef struct midgard_instruction { struct
186 } midgard_instruction; typedef
213 midgard_instruction *instructions[6];
316 midgard_instruction *writeout_branch[MIDGARD_NUM_RTS];
328 static inline midgard_instruction *
329 mir_upload_ins(struct compiler_context *ctx, struct midgard_instruction ins) in mir_upload_ins()
331 midgard_instruction *heap = ralloc(ctx, struct midgard_instruction); in mir_upload_ins()
336 static inline midgard_instruction *
337 emit_mir_instruction(struct compiler_context *ctx, struct midgard_instruction ins) in emit_mir_instruction()
339 midgard_instruction *u = mir_upload_ins(ctx, ins); in emit_mir_instruction()
[all …]
Dmidgard_schedule.c66 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()
195 mir_is_scalar(midgard_instruction *ains) in mir_is_scalar()
225 bytes_for_instruction(midgard_instruction *ains) in bytes_for_instruction()
240 static midgard_instruction **
248 midgard_instruction **instructions = in flatten_mir()
249 calloc(sizeof(midgard_instruction *), *len); in flatten_mir()
263 mir_initialize_worklist(BITSET_WORD *worklist, midgard_instruction **instructions, unsigned count) in mir_initialize_worklist()
278 midgard_instruction **instructions, midgard_instruction *done) in mir_update_worklist()
360 mir_adjust_constant(midgard_instruction *ins, unsigned src, in mir_adjust_constant()
[all …]
Dmir.c28 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()
118 mir_nontrivial_mod(midgard_instruction *ins, unsigned i, bool check_swizzle) in mir_nontrivial_mod()
142 mir_nontrivial_outmod(midgard_instruction *ins) in mir_nontrivial_outmod()
216 mir_bytemask(midgard_instruction *ins) in mir_bytemask()
223 mir_set_bytemask(midgard_instruction *ins, uint16_t bytemask) in mir_set_bytemask()
233 mir_upper_override(midgard_instruction *ins, unsigned inst_size) in mir_upper_override()
277 mir_bytemask_of_read_components_index(midgard_instruction *ins, unsigned i) in mir_bytemask_of_read_components_index()
305 mir_bytemask_of_read_components(midgard_instruction *ins, unsigned node) in mir_bytemask_of_read_components()
[all …]
Dmidgard_ra_pipeline.c48 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()
Dmidgard_emit.c48 mir_pack_mod(midgard_instruction *ins, unsigned i, bool scalar) in mir_pack_mod()
93 vector_to_scalar_alu(midgard_vector_alu v, midgard_instruction *ins) in vector_to_scalar_alu()
168 mir_pack_mask_alu(midgard_instruction *ins, midgard_vector_alu *alu) in mir_pack_mask_alu()
280 mir_pack_vector_srcs(midgard_instruction *ins, midgard_vector_alu *alu) in mir_pack_vector_srcs()
321 mir_pack_swizzle_ldst(midgard_instruction *ins) in mir_pack_swizzle_ldst()
337 mir_pack_swizzle_tex(midgard_instruction *ins) in mir_pack_swizzle_tex()
379 midgard_instruction *ins = bundle->instructions[i]; in mir_can_run_ooo()
392 mir_pack_tex_ooo(midgard_block *block, midgard_bundle *bundle, midgard_instruction *ins) in mir_pack_tex_ooo()
409 mir_pack_ldst_mask(midgard_instruction *ins) in mir_pack_ldst_mask()
436 mir_lower_inverts(midgard_instruction *ins) in mir_lower_inverts()
[all …]
Dmidgard_liveness.c28 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()
Dmidgard_compile.c107 static midgard_instruction m_##name(unsigned ssa, unsigned address) { \
108 midgard_instruction i = { \
146 static midgard_instruction
149 midgard_instruction ins = { in v_branch()
165 attach_constants(compiler_context *ctx, midgard_instruction *ins, void *constants, int name) in attach_constants()
400 midgard_instruction ins = v_mov(SSA_FIXED_REGISTER(REGISTER_CONSTANT), to); in emit_explicit_constant()
515 mir_copy_src(midgard_instruction *ins, nir_alu_instr *instr, unsigned i, unsigned to, bool *abs, bo… in mir_copy_src()
865 midgard_instruction ins = { in emit_alu()
999 midgard_instruction ins_split[MIR_VEC_COMPONENTS]; in emit_alu()
1039 mir_set_intr_mask(nir_instr *instr, midgard_instruction *ins, bool is_read) in mir_set_intr_mask()
[all …]
Dmidgard_ra.c281 midgard_instruction m = v_mov(idx, i); in mir_lower_special_reads()
286 midgard_instruction *use = mir_next_op(pre_use); in mir_lower_special_reads()
296 midgard_instruction m = v_mov(i, idx); in mir_lower_special_reads()
375 mir_is_64(midgard_instruction *ins) in mir_is_64()
605 midgard_instruction *br = v->instructions[v->instruction_count - 1]; in allocate_registers()
611 midgard_instruction *ins = v->instructions[i]; in allocate_registers()
661 midgard_instruction *ins) in install_registers_instr()
852 midgard_instruction st; in mir_spill_register()
913 midgard_instruction *before = ins; in mir_spill_register()
914 midgard_instruction st; in mir_spill_register()
Dmidgard_opt_dce.c34 can_cull_mask(compiler_context *ctx, midgard_instruction *ins) in can_cull_mask()
50 can_dce(midgard_instruction *ins) in can_dce()
Dmidgard_derivatives.c101 midgard_instruction ins = { in midgard_emit_derivatives()
141 midgard_instruction dup; in midgard_lower_derivatives()
Dmir_promote_uniforms.c41 mir_is_promoteable_ubo(midgard_instruction *ins) in mir_is_promoteable_ubo()
196 midgard_instruction mov = v_mov(promoted, ins->dest); in midgard_promote_uniforms()
Dhelpers.h344 struct midgard_instruction;
345 unsigned mir_pack_mod(struct midgard_instruction *ins, unsigned i, bool scalar);
Dmidgard_print.c112 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()
Dmidgard_opt_perspective.c116 midgard_instruction accel = { in midgard_opt_combine_projection()
Dmidgard_address.c194 mir_set_offset(compiler_context *ctx, midgard_instruction *ins, nir_src *offset, bool is_shared) in mir_set_offset()
/external/mesa3d/docs/relnotes/
D19.3.0.rst303 - pan/midgard: Fold ssa_args into midgard_instruction