summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-03-23 23:14:11 +0000
committerDehao Chen <dehao@google.com>2017-03-23 23:14:11 +0000
commit775341a14ca7dc940a0e66fb637ec47fc7d86337 (patch)
treed71ef3a3c9fb77342087cf18d84b96dc154dacc9 /clang/lib/Sema/Sema.cpp
parent10fbac009d007fc11c92a5dc5b2fbf07781fd139 (diff)
downloadbcm5719-llvm-775341a14ca7dc940a0e66fb637ec47fc7d86337.tar.gz
bcm5719-llvm-775341a14ca7dc940a0e66fb637ec47fc7d86337.zip
Use isFunctionHotInCallGraph to set the function section prefix.
Summary: The current prefix based function layout algorithm only looks at function's entry count, which is not sufficient. A function should be grouped together if its entry count or any call edge count is hot. Reviewers: davidxl, eraman Reviewed By: eraman Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D31225 llvm-svn: 298656
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud