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

void run_fast_dce ( void  )

Run a fast DCE pass.

void run_fast_df_dce ( void  )

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.

If dce is able to delete something, it has to happen immediately. Otherwise there will be problems handling the eq_notes.

Referenced by df_lr_init().

void run_word_dce ( void  )

RTL dead code elimination. Copyright (C) 2005-2013 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 execute(), gate_fast_dce(), and rest_of_handle_fast_dce().