GCC Middle and Back End API Reference
|
Data Fields | |
int | first_element |
int | second_element |
int | cost |
@verbatim
Coalesce SSA_NAMES together for the out-of-ssa pass. Copyright (C) 2004-2013 Free Software Foundation, Inc. Contributed by Andrew MacLeod amacl eod@ redha t.co m
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/.
This set of routines implements a coalesce_list. This is an object which is used to track pairs of ssa_names which are desirable to coalesce together to avoid copies. Costs are associated with each pair, and when all desired information has been collected, the object can be used to order the pairs for processing.
This structure defines a pair entry.
int coalesce_pair::cost |
Referenced by add_coalesce(), find_coalesce_pair(), and sort_coalesce_list().
int coalesce_pair::first_element |
Referenced by find_coalesce_pair().
int coalesce_pair::second_element |
Referenced by find_coalesce_pair().