GCC Middle and Back End API Reference
dce.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void run_word_dce (void)
 
void run_fast_dce (void)
 
void run_fast_df_dce (void)
 

Function Documentation

◆ run_fast_dce()

void run_fast_dce ( void )
extern
Run a fast DCE pass.   

References ggc_alloc(), and rest_of_handle_fast_dce().

Referenced by cleanup_cfg(), and do_reload().

◆ run_fast_df_dce()

void run_fast_df_dce ( void )
extern
This is an internal call that is used by the df live register
problem to run fast dce as a side effect of creating the live
information.  The stack is organized so that the lr problem is run,
this pass is run, which updates the live info and the df scanning
info, and then returns to allow the rest of the problems to be run.

This can be called by elsewhere but it will not update the bit
vectors for any other problems than LR.   

References df_clear_flags(), DF_DEFER_INSN_RESCAN, df_in_progress, DF_NO_INSN_RESCAN, df_set_flags(), ggc_alloc(), and rest_of_handle_fast_dce().

Referenced by df_lr_finalize().

◆ run_word_dce()

void run_word_dce ( void )
extern
RTL dead code elimination.
   Copyright (C) 2005-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Fast byte level DCE.   

References df_clear_flags(), DF_DEFER_INSN_RESCAN, DF_NO_INSN_RESCAN, df_set_flags(), df_word_lr_add_problem(), fast_dce(), fini_dce(), ggc_alloc(), init_dce(), timevar_pop(), and timevar_push().

Referenced by decompose_multiword_subregs().