/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_legalize.c | 92 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 …]
|
D | ir3_lower_spill.c | 117 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()
|
D | ir3_remove_unreachable.c | 36 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()
|
D | ir3_liveness.c | 46 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()
|
D | ir3_array_to_ssa.c | 109 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()
|
D | ir3_merge_regs.c | 74 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()
|
D | ir3_dce.c | 71 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()
|
D | ir3_delay.c | 131 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()
|
D | ir3.c | 235 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()
|
D | ir3_cse.c | 115 foreach_instr (instr, &block->instr_list) { in ir3_cse() 131 foreach_instr (instr, &block->instr_list) { in ir3_cse()
|
D | ir3_lower_subgroups.c | 114 &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()
|
D | ir3_sched.c | 283 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()
|
D | ir3_spill.c | 148 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 …]
|
D | ir3_ra_validate.c | 342 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()
|
D | ir3_postsched.c | 114 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/ |
D | scheduler.c | 128 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()
|
D | liveness.c | 187 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()
|
D | instr.c | 41 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()
|
D | regalloc.c | 109 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()
|
D | codegen.c | 620 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/ |
D | nir_opt_conditional_discard.c | 52 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()
|
D | nir_opt_dead_cf.c | 119 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()
|
D | nir_control_flow.c | 206 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/ |
D | opt_if_tests.cpp | 86 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/ |
D | delay.c | 129 foreach_instr_safe (instr, &block->instr_list) { in fixup_wrmask() 168 foreach_instr_rev (instr, &block->instr_list) { in main()
|