GCC Middle and Back End API Reference
|
#include <ipa-inline.h>
Data Fields | |
HOST_WIDE_INT | offset |
tree | val |
int | operand_num |
ENUM_BITFIELD(tree_code) code unsigned | agg_contents: 1 |
unsigned | by_ref: 1 |
@verbatim
Inlining decision heuristics. Copyright (C) 2003-2013 Free Software Foundation, Inc. Contributed by Jan Hubicka
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/.
Representation of inline parameters that do depend on context function is inlined into (i.e. known constant values of function parameters. Conditions that are interesting for function body are collected into CONDS vector. They are of simple for function_param OP VAL, where VAL is IPA invariant. The conditions are then referred by predicates.
ENUM_BITFIELD (tree_code) code unsigned condition::agg_contents |
Set if the used data were loaded from an aggregate parameter or from data received by reference.
unsigned condition::by_ref |
If agg_contents is set, this differentiates between loads from data passed by reference and by value.
Referenced by set_hint_predicate().
HOST_WIDE_INT condition::offset |
If agg_contents is set, this is the offset from which the used data was loaded.
Referenced by set_hint_predicate().
int condition::operand_num |
Referenced by evaluate_predicate(), and set_hint_predicate().
tree condition::val |