void cfg_layout_initialize (unsigned int flags) { initialize_original_copy_tables (); cfg_layout_rtl_register_cfg_hooks (); record_effective_endpoints (); cleanup_cfg (CLEANUP_CFGLAYOUT | flags); }
void cfg_layout_initialize (void) { basic_block bb; /* Our algorithm depends on fact that there are now dead jumptables around the code. */ cfg_layout_pool = create_alloc_pool ("cfg layout pool", sizeof (struct reorder_block_def), n_basic_blocks + 2); FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) cfg_layout_initialize_rbi (bb); cfg_layout_rtl_register_cfg_hooks (); record_effective_endpoints (); cleanup_cfg (CLEANUP_CFGLAYOUT); }