Lines Matching defs:rgn

134 #define RGN_NR_BLOCKS(rgn) (rgn_table[rgn].rgn_nr_blocks)
135 #define RGN_BLOCKS(rgn) (rgn_table[rgn].rgn_blocks)
136 #define RGN_DONT_CALC_DEPS(rgn) (rgn_table[rgn].dont_calc_deps)
137 #define RGN_HAS_REAL_EBB(rgn) (rgn_table[rgn].has_real_ebb)
249 /* Mapping from each edge in the graph to its number in the rgn. */
398 int rgn, bb;
401 for (rgn = 0; rgn < nr_regions; rgn++)
403 fprintf (sched_dump, ";;\trgn %d nr_blocks %d:\n", rgn,
404 rgn_table[rgn].rgn_nr_blocks);
409 current_blocks = RGN_BLOCKS (rgn);
411 for (bb = 0; bb < rgn_table[rgn].rgn_nr_blocks; bb++)
2647 schedule_region (int rgn)
2657 current_nr_blocks = RGN_NR_BLOCKS (rgn);
2658 current_blocks = RGN_BLOCKS (rgn);
2670 if (!RGN_DONT_CALC_DEPS (rgn))
2732 if (CONTAINING_RGN (block->index) != rgn)
2742 if (CONTAINING_RGN (block->index) != rgn)
2763 if (CONTAINING_RGN (block->index) != rgn)
2880 int rgn;
2921 for (rgn = 0; rgn < nr_regions; rgn++)
2922 check_dead_notes1 (rgn, blocks);
2936 int rgn;
2964 for (rgn = 0; rgn < nr_regions; rgn++)
2965 schedule_region (rgn);
3001 for (rgn = 0; rgn < nr_regions; rgn++)
3002 if (RGN_NR_BLOCKS (rgn) > 1
3004 || RGN_HAS_REAL_EBB (rgn)
3007 || !glat_start[rgn_bb_table[RGN_BLOCKS (rgn)]])
3011 SET_BIT (blocks, rgn_bb_table[RGN_BLOCKS (rgn)]);
3012 RESET_BIT (large_region_blocks, rgn_bb_table[RGN_BLOCKS (rgn)]);
3035 for (rgn = 0; rgn < nr_regions; rgn++)
3036 if (RGN_NR_BLOCKS (rgn) == 1)
3039 SET_BIT (blocks, rgn_bb_table[RGN_BLOCKS (rgn)]);
3041 gcc_assert (deaths_in_region[rgn]
3250 check_dead_notes1 (int rgn, sbitmap blocks)
3255 for (b = RGN_NR_BLOCKS (rgn) - 1; b >= 0; --b)
3256 SET_BIT (blocks, rgn_bb_table[RGN_BLOCKS (rgn) + b]);
3258 deaths_in_region[rgn] = count_or_remove_death_notes (blocks, 1);