diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-04-01 09:41:17 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-04-01 07:41:17 +0000 |
commit | 41f669d825086c0d81407815b9c7371fd51815b0 (patch) | |
tree | eac1696d54046990c5a2e48ab0b4ac01dab188be /gcc/cgraph.h | |
parent | 9fd542c6b5af0e3e8aa464aabca88b5e812be4de (diff) | |
download | gcc-41f669d825086c0d81407815b9c7371fd51815b0.zip gcc-41f669d825086c0d81407815b9c7371fd51815b0.tar.gz gcc-41f669d825086c0d81407815b9c7371fd51815b0.tar.bz2 |
lto-cgraph.c (lto_output_node, [...]): Stream split_part.
* lto-cgraph.c (lto_output_node, input_overwrite_node): Stream
split_part.
* ipa-inline.c (edge_badness): Add wrapper penalty.
(sum_callers): Move up.
(inline_small_functions): Set single_caller.
* ipa-inline.h (inline_summary): Add single_caller.
* ipa-split.c (split_function): Set split_part.
(cgraph_node::create_clone): Do not shadow decl; copy split_part.
* cgraph.h (cgraph_node): Add split_part.
* gcc.dg/ipa/inlinehint-4.c: New testcase.
From-SVN: r221806
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 650e689..cf8c7b6 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -1319,6 +1319,8 @@ public: unsigned merged : 1; /* True if function was created to be executed in parallel. */ unsigned parallelized_function : 1; + /* True if function is part split out by ipa-split. */ + unsigned split_part : 1; private: /* Worker for call_for_symbol_and_aliases. */ |