Lines Matching refs:block_graph
643 Block *block_graph; member
689 arc->succ_next = function->block_graph[source].succ; in function_add_arc()
690 function->block_graph[source].succ = arc; in function_add_arc()
691 function->block_graph[source].succ_count += 1; in function_add_arc()
693 arc->pred_next = function->block_graph[target].pred; in function_add_arc()
694 function->block_graph[target].pred = arc; in function_add_arc()
695 function->block_graph[target].pred_count += 1; in function_add_arc()
733 if (func->block_graph[i].succ) in function_reverse_succ_arcs()
734 func->block_graph[i].succ = reverse_arcs (func->block_graph[i].succ); in function_reverse_succ_arcs()
807 func->block_graph = dbus_new0 (Block, n_blocks_in_func); in get_functions_from_bbg()
933 current_arc = current_func->block_graph[current_block].succ; in add_counts_from_da()
981 current_arc = current_func->block_graph[current_block].succ; in add_counts_from_da()
994 current_func->block_graph[current_block].succ_count -= 1; in add_counts_from_da()
995 current_func->block_graph[current_arc->target].pred_count -= 1; in add_counts_from_da()
1051 current_arc = current_func->block_graph[current_block].succ; in add_counts_from_da()
1077 current_arc = current_func->block_graph[current_block].succ; in add_counts_from_da()
1090 current_func->block_graph[current_block].succ_count -= 1; in add_counts_from_da()
1091 current_func->block_graph[current_arc->target].pred_count -= 1; in add_counts_from_da()
1120 Block *block_graph; in function_solve_graph() local
1128 block_graph = func->block_graph; in function_solve_graph()
1156 if (! block_graph[i].count_valid) in function_solve_graph()
1158 if (block_graph[i].succ_count == 0) in function_solve_graph()
1161 for (arc = block_graph[i].succ; arc; in function_solve_graph()
1164 block_graph[i].exec_count = total; in function_solve_graph()
1165 block_graph[i].count_valid = 1; in function_solve_graph()
1168 else if (block_graph[i].pred_count == 0) in function_solve_graph()
1171 for (arc = block_graph[i].pred; arc; in function_solve_graph()
1174 block_graph[i].exec_count = total; in function_solve_graph()
1175 block_graph[i].count_valid = 1; in function_solve_graph()
1179 if (block_graph[i].count_valid) in function_solve_graph()
1181 if (block_graph[i].succ_count == 1) in function_solve_graph()
1186 for (arc = block_graph[i].succ; arc; in function_solve_graph()
1190 total = block_graph[i].exec_count - total; in function_solve_graph()
1192 for (arc = block_graph[i].succ; arc; in function_solve_graph()
1200 block_graph[i].succ_count -= 1; in function_solve_graph()
1202 block_graph[arc->target].pred_count -= 1; in function_solve_graph()
1205 if (block_graph[i].pred_count == 1) in function_solve_graph()
1210 for (arc = block_graph[i].pred; arc; in function_solve_graph()
1214 total = block_graph[i].exec_count - total; in function_solve_graph()
1216 for (arc = block_graph[i].pred; arc; in function_solve_graph()
1224 block_graph[i].pred_count -= 1; in function_solve_graph()
1226 block_graph[arc->source].succ_count -= 1; in function_solve_graph()
1240 if (block_graph[i].succ_count || block_graph[i].pred_count) in function_solve_graph()
1250 i, (int) block_graph[i].succ_count, (int) block_graph[i].pred_count); in function_solve_graph()
1518 if (!_dbus_list_append (&func->block_graph[block].lines, in get_lines_from_bb_file()
1524 &func->block_graph[block])) in get_lines_from_bb_file()
1733 if (func->block_graph[0].lines == NULL) in mark_inside_dbus_build_tests()
1739 if (func->block_graph[i].lines != NULL) in mark_inside_dbus_build_tests()
1741 func->block_graph[0].inside_dbus_build_tests = in mark_inside_dbus_build_tests()
1742 func->block_graph[i].inside_dbus_build_tests; in mark_inside_dbus_build_tests()
1754 if (func->block_graph[i].lines == NULL) in mark_inside_dbus_build_tests()
1756 func->block_graph[i].inside_dbus_build_tests = in mark_inside_dbus_build_tests()
1757 func->block_graph[i-1].inside_dbus_build_tests; in mark_inside_dbus_build_tests()
1767 if (func->block_graph[i].lines != NULL && in mark_inside_dbus_build_tests()
1768 !func->block_graph[i].inside_dbus_build_tests) in mark_inside_dbus_build_tests()
1835 if (!func->block_graph[i].inside_dbus_build_tests) in mark_coverage()
1839 if (func->block_graph[i].exec_count > 0) in mark_coverage()
1846 if (func->block_graph[i].exec_count > 0) in mark_coverage()
2118 Block *b = &func->block_graph[i]; in print_block_superdetails()