Lines Matching refs:dag
62 struct dag_node dag; /* must be first for our u_dynarray_foreach */ member
86 struct dag *dag; member
215 dag_add_edge(&before->dag, &after->dag, 0); in add_dep()
217 dag_add_edge(&after->dag, &before->dag, 0); in add_dep()
622 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_fallback()
640 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_fallback()
668 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csp()
686 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csp()
709 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csr()
730 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csr()
748 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csr()
771 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csr()
789 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csr()
805 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in nir_schedule_choose_instruction_csr()
822 list_for_each_entry(nir_schedule_node, n, &scoreboard->dag->heads, dag.link) { in dump_state()
827 util_dynarray_foreach(&n->dag.edges, struct dag_edge, edge) { in dump_state()
830 fprintf(stderr, " -> (%d parents) ", child->dag.parent_count); in dump_state()
952 util_dynarray_foreach(&n->dag.edges, struct dag_edge, edge) { in nir_schedule_mark_node_scheduled()
958 if (child->dag.parent_count == 1) { in nir_schedule_mark_node_scheduled()
967 dag_prune_head(scoreboard->dag, &n->dag); in nir_schedule_mark_node_scheduled()
976 while (!list_is_empty(&scoreboard->dag->heads)) { in nir_schedule_instructions()
1054 util_dynarray_foreach(&n->dag.edges, struct dag_edge, edge) { in nir_schedule_dag_max_delay_cb()
1068 scoreboard->dag = dag_create(mem_ctx); in nir_schedule_block()
1076 dag_init_node(scoreboard->dag, &n->dag); in nir_schedule_block()
1084 dag_traverse_bottom_up(scoreboard->dag, nir_schedule_dag_max_delay_cb, NULL); in nir_schedule_block()