GCC Middle and Back End API Reference
|
Go to the source code of this file.
Functions | |
void | copyprop_hardreg_forward_bb_without_debug_insn (basic_block bb) |
|
extern |
Copy propagation on hard registers. Copyright (C) 1989-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/>.
Do copyprop_hardreg_forward_1 for a single basic block BB. DEBUG_INSN is skipped since we do not want to involve DF related staff as how it is handled in function pass_cprop_hardreg::execute. NOTE: Currently it is only used for shrink-wrap. Maybe extend it to handle DEBUG_INSN for other uses.
References copyprop_hardreg_forward_1(), free(), init_value_data(), and skip_debug_insn_p.
Referenced by prepare_shrink_wrap().