Home
last modified time | relevance | path

Searched refs:instr_list (Results 1 – 25 of 66) sorted by relevance

123

/third_party/mesa3d/src/freedreno/ir3/
Dir3_legalize.c92 struct list_head instr_list; in legalize_block() local
116 foreach_instr (n, &block->instr_list) { in legalize_block()
133 list_replace(&block->instr_list, &instr_list); in legalize_block()
134 list_inithead(&block->instr_list); in legalize_block()
136 foreach_instr_safe (n, &instr_list) { in legalize_block()
234 if (list_is_empty(&block->instr_list) && (opc_cat(n->opc) >= 5)) in legalize_block()
252 list_addtail(&n->node, &block->instr_list); in legalize_block()
355 list_add(&baryf->node, &block->instr_list); in legalize_block()
390 struct list_head instr_list; in apply_fine_deriv_macro() local
395 list_replace(&block->instr_list, &instr_list); in apply_fine_deriv_macro()
[all …]
Dir3_lower_spill.c117 foreach_instr (instr, &block->instr_list) { in add_spill_reload_deps()
130 foreach_instr_rev (instr, &block->instr_list) { in add_spill_reload_deps()
145 foreach_instr_safe (instr, &block->instr_list) { in ir3_lower_spill()
154 foreach_instr (instr, &block->instr_list) { in ir3_lower_spill()
Dir3_remove_unreachable.c36 foreach_instr (instr, &block->instr_list) { in delete_block()
50 foreach_instr_safe (instr, &block->instr_list) { in delete_block()
70 foreach_instr (phi, &succ->instr_list) { in delete_block()
Dir3_liveness.c46 foreach_instr_rev (instr, &block->instr_list) { in compute_block_liveness()
87 foreach_instr (phi, &block->instr_list) { in compute_block_liveness()
131 foreach_instr (instr, &block->instr_list) { in ir3_calc_liveness()
187 foreach_instr_rev (test_instr, &instr->block->instr_list) { in ir3_def_live_after()
Dir3_array_to_ssa.c109 list_add(&phi->node, &block->instr_list); in read_value_beginning()
228 foreach_instr (instr, &block->instr_list) { in ir3_array_to_ssa()
240 foreach_instr (instr, &block->instr_list) { in ir3_array_to_ssa()
264 foreach_instr_safe (instr, &block->instr_list) { in ir3_array_to_ssa()
273 foreach_instr_safe (instr, &block->instr_list) { in ir3_array_to_ssa()
Dir3_merge_regs.c74 foreach_instr (instr, &block->instr_list) in index_instrs()
408 foreach_instr (phi, &succ->instr_list) { in create_parallel_copy()
430 foreach_instr (phi, &succ->instr_list) { in create_parallel_copy()
456 foreach_instr (phi, &succ->instr_list) { in create_parallel_copy()
483 foreach_instr (instr, &block->instr_list) { in index_merge_sets()
520 foreach_instr (instr, &block->instr_list) { in dump_merge_sets()
551 foreach_instr (instr, &block->instr_list) { in ir3_merge_regs()
561 foreach_instr (instr, &block->instr_list) { in ir3_merge_regs()
Dir3_dce.c71 foreach_instr_safe (instr, &block->instr_list) { in remove_unused_by_block()
111 foreach_instr (instr, &block->instr_list) { in find_and_remove_unused()
149 foreach_instr (instr, &block->instr_list) { in find_and_remove_unused()
Dir3_delay.c131 foreach_instr_rev (n, &block->instr_list) { in distance()
315 start ? start->node.prev : block->instr_list.prev; in delay_calc_postra()
317 &block->instr_list, node) { in delay_calc_postra()
420 foreach_instr_safe (instr, &block->instr_list) { in ir3_remove_nops()
Dir3.c235 foreach_instr (instr, &block->instr_list) { in ir3_collect_info()
252 foreach_instr (instr, &block->instr_list) { in ir3_collect_info()
352 list_addtail(&instr->node, &block->instr_list); in insert_instr()
367 list_inithead(&block->instr_list); in ir3_block_create()
584 foreach_instr (instr, &block->instr_list) in ir3_block_clear_mark()
602 foreach_instr (instr, &block->instr_list) { in ir3_count_instructions()
625 foreach_instr (instr, &block->instr_list) { in ir3_count_instructions_ra()
650 foreach_instr (instr, &block->instr_list) in ir3_find_ssa_uses()
654 foreach_instr (instr, &block->instr_list) { in ir3_find_ssa_uses()
Dir3_cse.c115 foreach_instr (instr, &block->instr_list) { in ir3_cse()
131 foreach_instr (instr, &block->instr_list) { in ir3_cse()
Dir3_lower_subgroups.c114 &before_block->instr_list) { in split_block()
116 list_addtail(&rem_instr->node, &after_block->instr_list); in split_block()
132 foreach_instr_safe (instr, &(*block)->instr_list) { in lower_block()
Dir3_sched.c283 list_addtail(&instr->node, &instr->block->instr_list); in schedule()
1136 list_replace(&block->instr_list, &ctx->unscheduled_list); in sched_block()
1137 list_inithead(&block->instr_list); in sched_block()
1240 foreach_instr (instr, &block->instr_list) { in ir3_sched()
1319 while (prev != &block->instr_list) { in add_barrier_deps()
1340 while (next != &block->instr_list) { in add_barrier_deps()
1374 foreach_instr (instr, &block->instr_list) { in ir3_sched_add_deps()
Dir3_spill.c148 foreach_instr (instr, &start->instr_list) { in add_base_reg()
216 foreach_instr_rev (instr, &block->instr_list) { in compute_block_next_distance()
274 foreach_instr (phi, &block->instr_list) { in compute_block_next_distance()
311 foreach_instr (instr, &block->instr_list) { in compute_next_distance()
1606 foreach_instr (instr, &succ->instr_list) { in update_live_out_phis()
1705 foreach_instr (instr, &block->instr_list) { in handle_block()
1719 foreach_instr (instr, &block->instr_list) { in handle_block()
1734 foreach_instr (instr, &block->instr_list) { in handle_block()
1806 foreach_instr (instr, &block->instr_list) { in simplify_phi_nodes()
1817 foreach_instr (instr, &block->instr_list) { in simplify_phi_nodes()
[all …]
Dir3_ra_validate.c342 foreach_instr (instr, &block->instr_list) { in propagate_block()
489 foreach_instr (instr, &block->instr_list) { in check_reaching_block()
500 foreach_instr (instr, &succ->instr_list) { in check_reaching_block()
562 foreach_instr (instr, &block->instr_list) { in ir3_ra_validate()
Dir3_postsched.c114 list_addtail(&instr->node, &instr->block->instr_list); in schedule()
640 list_replace(&block->instr_list, &ctx->unscheduled_list); in sched_block()
641 list_inithead(&block->instr_list); in sched_block()
732 foreach_instr_safe (instr, &block->instr_list) { in cleanup_self_movs()
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
Dscheduler.c128 list_add(&instr->list, &block->instr_list); in ppir_schedule_ready_list()
161 struct list_head instr_list; in ppir_schedule_block() local
162 list_replace(&block->instr_list, &instr_list); in ppir_schedule_block()
163 list_inithead(&block->instr_list); in ppir_schedule_block()
166 list_for_each_entry(ppir_instr, instr, &instr_list, list) { in ppir_schedule_block()
179 list_for_each_entry_safe(ppir_instr, instr, &instr_list, list) { in ppir_schedule_block()
Dliveness.c187 if (list_is_empty(&block->instr_list)) in ppir_liveness_compute_live_sets()
190 ppir_instr *last = list_last_entry(&block->instr_list, ppir_instr, list); in ppir_liveness_compute_live_sets()
193 list_for_each_entry_rev(ppir_instr, instr, &block->instr_list, list) { in ppir_liveness_compute_live_sets()
213 while (list_is_empty(&succ->instr_list)) { in ppir_liveness_compute_live_sets()
218 next_instr = list_first_entry(&succ->instr_list, ppir_instr, list); in ppir_liveness_compute_live_sets()
Dinstr.c41 list_addtail(&instr->list, &block->instr_list); in ppir_instr_create()
286 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_instr_print_list()
331 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_instr_print_dep()
339 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_instr_print_dep()
Dregalloc.c109 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_print_result()
151 list_for_each_entry_from(ppir_instr, instr, ref, &block->instr_list, list) { in create_new_instr_after()
172 list_for_each_entry_from(ppir_instr, instr, ref, &block->instr_list, list) { in create_new_instr_before()
428 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_choose_spill_node()
495 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_reset_liveness_info()
545 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_regalloc_prog_try()
Dcodegen.c620 while (list_is_empty(&target->instr_list)) { in ppir_codegen_encode_branch()
626 assert(!list_is_empty(&target->instr_list)); in ppir_codegen_encode_branch()
628 target_instr = list_first_entry(&target->instr_list, ppir_instr, list); in ppir_codegen_encode_branch()
772 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_codegen_print_prog()
793 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_codegen_prog()
806 list_for_each_entry(ppir_instr, instr, &block->instr_list, list) { in ppir_codegen_prog()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_conditional_discard.c52 if (!exec_list_is_empty(&else_block->instr_list)) in nir_opt_conditional_discard_block()
58 if (exec_list_is_empty(&then_block->instr_list)) in nir_opt_conditional_discard_block()
60 if (exec_list_length(&then_block->instr_list) > 1) in nir_opt_conditional_discard_block()
Dnir_opt_dead_cf.c119 if (!exec_list_is_empty(&last_block->instr_list)) { in opt_constant_if()
202 if (!exec_list_is_empty(&after->instr_list) && in node_is_dead()
359 if (!exec_list_is_empty(&next->instr_list) || in dead_cf_list()
376 (!exec_list_is_empty(&next->instr_list) || in dead_cf_list()
Dnir_control_flow.c206 exec_list_push_tail(&new_block->instr_list, &instr->node); in split_block_beginning()
350 exec_list_push_tail(&new_block->instr_list, &cur_instr->node); in split_block_before_instr()
562 assert(exec_list_is_empty(&after->instr_list)); in stitch_blocks()
572 foreach_list_typed(nir_instr, instr, node, &after->instr_list) { in stitch_blocks()
576 exec_list_append(&before->instr_list, &after->instr_list); in stitch_blocks()
/third_party/mesa3d/src/compiler/nir/tests/
Dopt_if_tests.cpp86 ASSERT_TRUE(!exec_list_is_empty((&nir_if_first_then_block(nif)->instr_list))); in TEST_F()
87 ASSERT_TRUE(exec_list_is_empty((&nir_if_first_else_block(nif)->instr_list))); in TEST_F()
138 ASSERT_TRUE(exec_list_is_empty((&nir_if_first_else_block(nif)->instr_list))); in TEST_F()
/third_party/mesa3d/src/freedreno/ir3/tests/
Ddelay.c129 foreach_instr_safe (instr, &block->instr_list) { in fixup_wrmask()
168 foreach_instr_rev (instr, &block->instr_list) { in main()

123