Home
last modified time | relevance | path

Searched refs:ir3_block (Results 1 – 25 of 29) sorted by relevance

12

/third_party/mesa3d/src/freedreno/ir3/
Dir3_lower_subgroups.c37 replace_pred(struct ir3_block *block, struct ir3_block *old_pred, in replace_pred()
38 struct ir3_block *new_pred) in replace_pred()
49 replace_physical_pred(struct ir3_block *block, struct ir3_block *old_pred, in replace_physical_pred()
50 struct ir3_block *new_pred) in replace_physical_pred()
61 mov_immed(struct ir3_register *dst, struct ir3_block *block, unsigned immed) in mov_immed()
75 mov_reg(struct ir3_block *block, struct ir3_register *dst, in mov_reg()
93 binop(struct ir3_block *block, opc_t opc, struct ir3_register *dst, in binop()
110 triop(struct ir3_block *block, opc_t opc, struct ir3_register *dst, in triop()
130 do_reduce(struct ir3_block *block, reduce_op_t opc, in do_reduce()
168 static struct ir3_block *
[all …]
Dir3_dominance.c35 static struct ir3_block *
36 intersect(struct ir3_block *b1, struct ir3_block *b2) in intersect()
54 calc_dominance(struct ir3_block *block) in calc_dominance()
56 struct ir3_block *new_idom = NULL; in calc_dominance()
58 struct ir3_block *pred = block->predecessors[i]; in calc_dominance()
77 calc_dfs_indices(struct ir3_block *block, unsigned index) in calc_dfs_indices()
121 ir3_block_dominates(struct ir3_block *a, struct ir3_block *b) in ir3_block_dominates()
Dir3.h44 struct ir3_block;
259 struct ir3_block *block;
335 struct ir3_block *target;
590 struct ir3_block { struct
616 struct ir3_block *successors[2]; argument
617 struct ir3_block *physical_successors[2]; argument
619 DECLARE_ARRAY(struct ir3_block *, predecessors);
620 DECLARE_ARRAY(struct ir3_block *, physical_predecessors);
636 struct ir3_block *imm_dom; argument
637 DECLARE_ARRAY(struct ir3_block *, dom_children);
[all …]
Dir3_legalize.c84 legalize_block(struct ir3_legalize_ctx *ctx, struct ir3_block *block) in legalize_block()
101 struct ir3_block *predecessor = block->predecessors[i]; in legalize_block()
118 struct ir3_block *predecessor = block->physical_predecessors[i]; in legalize_block()
384 apply_fine_deriv_macro(struct ir3_legalize_ctx *ctx, struct ir3_block *block) in apply_fine_deriv_macro()
445 static struct ir3_block *
446 resolve_dest_block(struct ir3_block *block) in resolve_dest_block()
482 remove_unused_block(struct ir3_block *old_target) in remove_unused_block()
495 struct ir3_block *new_target; in remove_unused_block()
505 struct ir3_block *pred = old_target->physical_predecessors[i]; in remove_unused_block()
527 struct ir3_block *succ = old_target->successors[i]; in remove_unused_block()
[all …]
Dir3_remove_unreachable.c33 delete_block(struct ir3 *ir, struct ir3_block *block) in delete_block()
59 struct ir3_block *succ = block->successors[i]; in delete_block()
86 struct ir3_block *succ = block->physical_successors[i]; in delete_block()
98 struct ir3_block *pred = block->physical_predecessors[0]; in delete_block()
100 struct ir3_block *next = list_entry(block->node.next, struct ir3_block, node); in delete_block()
Dir3_spill.c147 struct ir3_block *start = ir3_start_block(ir); in add_base_reg()
211 compute_block_next_distance(struct ra_spill_ctx *ctx, struct ir3_block *block, in compute_block_next_distance()
256 const struct ir3_block *pred = block->predecessors[i]; in compute_block_next_distance()
350 struct ir3_block *block) in rematerialize()
709 struct ir3_block *block) in materialize_pcopy_src()
726 unsigned spill_slot, struct ir3_instruction *instr, struct ir3_block *block) in spill()
770 struct ir3_instruction *instr, struct ir3_block *block) in spill_interval()
847 struct ir3_instruction *after, struct ir3_block *block) in split()
872 struct ir3_instruction *after, struct ir3_block *block) in extract()
900 struct ir3_instruction *after, struct ir3_block *block) in reload()
[all …]
Dir3.c418 insert_instr(struct ir3_block *block, struct ir3_instruction *instr) in insert_instr()
430 struct ir3_block *
433 struct ir3_block *block = ir3_alloc(shader, sizeof(*block)); in ir3_block_create()
444 ir3_block_add_predecessor(struct ir3_block *block, struct ir3_block *pred) in ir3_block_add_predecessor()
450 ir3_block_add_physical_predecessor(struct ir3_block *block, in ir3_block_add_physical_predecessor()
451 struct ir3_block *pred) in ir3_block_add_physical_predecessor()
457 ir3_block_remove_predecessor(struct ir3_block *block, struct ir3_block *pred) in ir3_block_remove_predecessor()
473 ir3_block_remove_physical_predecessor(struct ir3_block *block, struct ir3_block *pred) in ir3_block_remove_physical_predecessor()
489 ir3_block_get_pred_index(struct ir3_block *block, struct ir3_block *pred) in ir3_block_get_pred_index()
501 instr_create(struct ir3_block *block, opc_t opc, int ndst, int nsrc) in instr_create()
[all …]
Dir3_a6xx.c45 struct ir3_block *b = ctx->block; in emit_intrinsic_load_ssbo()
68 struct ir3_block *b = ctx->block; in emit_intrinsic_store_ssbo()
112 struct ir3_block *b = ctx->block; in emit_intrinsic_atomic_ssbo()
204 struct ir3_block *b = ctx->block; in emit_intrinsic_load_image()
228 struct ir3_block *b = ctx->block; in emit_intrinsic_store_image()
257 struct ir3_block *b = ctx->block; in emit_intrinsic_atomic_image()
351 struct ir3_block *b = ctx->block; in emit_intrinsic_image_size()
372 struct ir3_block *b = ctx->block; in emit_intrinsic_load_global_ir3()
408 struct ir3_block *b = ctx->block; in emit_intrinsic_store_global_ir3()
447 struct ir3_block *b = ctx->block; in emit_intrinsic_atomic_global()
Dir3_a4xx.c53 struct ir3_block *b = ctx->block; in byte_offset_to_address()
73 struct ir3_block *b = ctx->block; in emit_intrinsic_load_ssbo()
100 struct ir3_block *b = ctx->block; in emit_intrinsic_store_ssbo()
154 struct ir3_block *b = ctx->block; in emit_intrinsic_atomic_ssbo()
224 struct ir3_block *b = ctx->block; in get_image_offset()
283 struct ir3_block *b = ctx->block; in emit_intrinsic_load_image()
330 struct ir3_block *b = ctx->block; in emit_intrinsic_store_image()
367 struct ir3_block *b = ctx->block; in emit_intrinsic_atomic_image()
Dir3_context.h68 struct ir3_block *block; /* the current block */
69 struct ir3_block *in_block; /* block created for shader inputs */
212 struct ir3_instruction *ir3_create_collect(struct ir3_block *block,
215 void ir3_split_dest(struct ir3_block *block, struct ir3_instruction **dst,
Dir3_array_to_ssa.c62 get_state(struct array_ctx *ctx, struct ir3_block *block, unsigned id) in get_state()
68 struct ir3_block *block,
72 read_value_end(struct array_ctx *ctx, struct ir3_block *block, in read_value_end()
85 read_value_beginning(struct array_ctx *ctx, struct ir3_block *block, in read_value_beginning()
198 lookup_live_in(struct array_ctx *ctx, struct ir3_block *block, unsigned id) in lookup_live_in()
Dir3_liveness.c39 compute_block_liveness(struct ir3_liveness *live, struct ir3_block *block, in compute_block_liveness()
79 const struct ir3_block *pred = block->predecessors[i]; in compute_block_liveness()
101 const struct ir3_block *pred = block->physical_predecessors[i]; in compute_block_liveness()
Dir3_compiler_nir.c81 struct ir3_block *block = ctx->block; in create_frag_input()
368 struct ir3_block *b = ctx->block; in emit_alu()
886 struct ir3_block *b = ctx->block; in emit_intrinsic_load_ubo_ldc()
914 struct ir3_block *b = ctx->block; in emit_intrinsic_copy_ubo_to_uniform()
941 struct ir3_block *b = ctx->block; in emit_intrinsic_load_ubo()
1022 struct ir3_block *b = ctx->block; in emit_intrinsic_load_kernel_input()
1055 struct ir3_block *b = ctx->block; in emit_intrinsic_ssbo_size()
1082 struct ir3_block *b = ctx->block; in emit_intrinsic_load_shared()
1105 struct ir3_block *b = ctx->block; in emit_intrinsic_store_shared()
1135 struct ir3_block *b = ctx->block; in emit_intrinsic_load_shared_ir3()
[all …]
Dir3_context.c303 ir3_create_collect(struct ir3_block *block, struct ir3_instruction *const *arr, in ir3_create_collect()
360 ir3_split_dest(struct ir3_block *block, struct ir3_instruction **dst, in ir3_split_dest()
416 create_addr0(struct ir3_block *block, struct ir3_instruction *src, int align) in create_addr0()
455 create_addr1(struct ir3_block *block, unsigned const_val) in create_addr1()
514 struct ir3_block *b = ctx->block; in ir3_get_predicate()
569 struct ir3_block *block = ctx->block; in ir3_create_array_load()
609 struct ir3_block *block = ctx->block; in ir3_create_array_store()
Dir3_delay.c242 delay_calc(struct ir3_block *block, struct ir3_instruction *start, in delay_calc()
309 struct ir3_block *pred = block->predecessors[i]; in delay_calc()
326 ir3_delay_calc(struct ir3_block *block, struct ir3_instruction *instr, in ir3_delay_calc()
Dir3_validate.c34 struct ir3_block *current_block;
106 validate_phi_src(struct ir3_validate_ctx *ctx, struct ir3_block *block, in validate_phi_src()
107 struct ir3_block *pred) in validate_phi_src()
369 is_physical_successor(struct ir3_block *block, struct ir3_block *succ) in is_physical_successor()
Dir3_ra_validate.c338 propagate_block(struct ra_val_ctx *ctx, struct ir3_block *block) in propagate_block()
348 struct ir3_block *succ = block->successors[i]; in propagate_block()
355 struct ir3_block *succ = block->physical_successors[i]; in propagate_block()
485 check_reaching_block(struct ra_val_ctx *ctx, struct ir3_block *block) in check_reaching_block()
495 struct ir3_block *succ = block->successors[i]; in check_reaching_block()
Dir3_print.c481 print_block(struct ir3_block *block, int lvl) in print_block()
492 struct ir3_block *pred = block->predecessors[i]; in print_block()
504 struct ir3_block *pred = block->physical_predecessors[i]; in print_block()
Dir3_merge_regs.c72 index_instrs(struct ir3_block *block, unsigned index) in index_instrs()
397 create_parallel_copy(struct ir3_block *block) in create_parallel_copy()
403 struct ir3_block *succ = block->successors[i]; in create_parallel_copy()
Dir3_ra.c364 struct ir3_block *block;
1910 read_register(struct ra_ctx *ctx, struct ir3_block *block, in read_register()
1929 struct ir3_block *pred = ctx->block->predecessors[i]; in handle_live_in()
2039 insert_liveout_copy(struct ir3_block *block, physreg_t dst, physreg_t src, in insert_liveout_copy()
2085 struct ir3_block **predecessors = in insert_live_in_move()
2092 struct ir3_block *pred = predecessors[i]; in insert_live_in_move()
2186 struct ir3_block *succ = ctx->block->successors[i]; in insert_live_out_move()
2223 handle_block(struct ra_ctx *ctx, struct ir3_block *block) in handle_block()
2383 struct ir3_block *start = ir3_start_block(v->ir); in calc_min_limit_pressure()
Dir3_dce.c70 remove_unused_by_block(struct ir3_block *block) in remove_unused_by_block()
Dir3_sched.c93 struct ir3_block *block; /* the current block */
1178 sched_block(struct ir3_sched_ctx *ctx, struct ir3_block *block) in sched_block()
1363 add_barrier_deps(struct ir3_block *block, struct ir3_instruction *instr) in add_barrier_deps()
Dir3_postsched.c66 struct ir3_block *block; /* the current block */
637 sched_block(struct ir3_postsched_ctx *ctx, struct ir3_block *block) in sched_block()
Dir3_lower_spill.c186 add_spill_reload_deps(struct ir3_block *block) in add_spill_reload_deps()
/third_party/mesa3d/src/freedreno/ir3/tests/
Ddelay.c132 struct ir3_block *block = ir3_start_block(ir); in fixup_wrmask()
169 struct ir3_block *block = in main()
170 list_first_entry(&ir->block_list, struct ir3_block, node); in main()

12