diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-01 07:41:17 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-04-01 07:41:17 +0000 |
commit | 71e37927a59cb6c7a102008d82a23ccedfae5864 (patch) | |
tree | eac1696d54046990c5a2e48ab0b4ac01dab188be /gcc/ipa-inline.h | |
parent | a6cb943740cf3ef01acc5e2d28c343a12b814329 (diff) | |
download | gcc-71e37927a59cb6c7a102008d82a23ccedfae5864.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline.h')
-rw-r--r-- | gcc/ipa-inline.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-inline.h b/gcc/ipa-inline.h index ed4d66fef4a..85041f67dd7 100644 --- a/gcc/ipa-inline.h +++ b/gcc/ipa-inline.h @@ -129,6 +129,9 @@ struct GTY(()) inline_summary /* True when function contains cilk spawn (and thus we can not inline into it). */ unsigned contains_cilk_spawn : 1; + /* True wen there is only one caller of the function before small function + inlining. */ + unsigned int single_caller : 1; /* Information about function that will result after applying all the inline decisions present in the callgraph. Generally kept up to |