Easwaran Raman
0e9b0bc63d
[Inliner] Do not apply any bonus for cold callsites.
...
Summary:
Inlining threshold is increased by application of bonuses when the
callee has a single reachable basic block or is rich in vector
instructions. Similarly, inlining cost is reduced by applying a large
bonus when the last call to a static function is considered for
inlining. This patch disables the application of these bonuses when the
callsite or the callee is cold. The intention here is to prevent a large
cold callsite from being inlined to a non-cold caller that could prevent
the caller from being inlined. This is especially important when the
cold callsite is a last call to a static since the associated bonus is
very high.
Reviewers: chandlerc, davidxl
Subscribers: danielcdh, llvm-commits
Differential Revision: https://reviews.llvm.org/D35823
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309441 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-28 21:47:36 +00:00
..
2017-07-15 02:12:16 +00:00
2017-07-13 08:53:43 +00:00
2017-07-15 02:12:16 +00:00
2017-07-15 02:12:16 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2009-09-11 18:01:28 +00:00
2011-09-19 22:11:35 +00:00
2009-09-11 18:01:28 +00:00
2011-09-19 22:11:35 +00:00
2009-09-11 18:01:28 +00:00
2015-02-27 21:17:42 +00:00
2015-06-17 20:52:32 +00:00
2015-06-17 20:52:32 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2015-02-27 21:17:42 +00:00
2009-09-11 18:01:28 +00:00
2013-01-01 13:57:25 +00:00
2015-02-27 21:17:42 +00:00
2016-12-27 07:18:43 +00:00
2017-04-10 20:18:21 +00:00
2016-04-15 15:57:41 +00:00
2017-07-28 20:21:02 +00:00
2015-02-27 19:29:02 +00:00
2015-03-04 18:43:29 +00:00
2017-06-12 23:01:17 +00:00
2017-02-27 22:33:02 +00:00
2011-05-22 05:31:47 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 03:39:54 +00:00
2017-06-09 03:29:20 +00:00
2017-02-14 22:49:28 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2015-06-17 20:52:32 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 02:47:37 +00:00
2017-07-09 13:45:11 +00:00
2017-03-09 11:35:40 +00:00
2016-12-28 03:13:12 +00:00
2017-01-24 12:55:57 +00:00
2016-12-27 07:18:43 +00:00
2016-06-15 00:19:09 +00:00
2017-04-10 20:18:21 +00:00
2015-06-17 20:52:32 +00:00
2016-12-27 07:18:43 +00:00
2016-04-15 15:57:41 +00:00
2013-08-12 12:43:26 +00:00
2015-12-19 22:40:28 +00:00
2016-05-12 01:17:38 +00:00
2016-05-12 01:17:38 +00:00
2016-12-28 11:07:33 +00:00
2016-06-15 00:19:09 +00:00
2015-03-13 18:20:45 +00:00
2013-07-14 01:42:54 +00:00
2016-11-28 11:07:37 +00:00
2016-12-27 02:47:37 +00:00
2016-12-27 07:18:43 +00:00
2017-01-20 22:44:04 +00:00
2017-01-20 22:44:04 +00:00
2017-01-20 22:44:04 +00:00
2016-03-31 00:18:46 +00:00
2015-02-27 21:17:42 +00:00
2017-07-28 20:21:02 +00:00
2016-12-27 06:46:16 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 02:47:37 +00:00
2016-12-27 01:24:50 +00:00
2015-02-27 21:17:42 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-03-24 17:59:06 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-01-20 22:44:04 +00:00
2017-06-27 23:11:18 +00:00
2017-06-27 23:11:18 +00:00
2017-05-11 21:36:28 +00:00
2017-05-08 17:37:33 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-05-16 21:18:09 +00:00
2017-01-20 22:44:04 +00:00
2017-05-04 16:58:45 +00:00
2015-02-12 21:04:22 +00:00
2017-01-04 11:15:01 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2013-11-18 21:44:03 +00:00
2016-11-14 11:14:41 +00:00
2017-06-21 18:46:50 +00:00
2017-06-22 23:22:36 +00:00
2016-12-27 07:18:43 +00:00
2016-05-19 23:02:09 +00:00
2016-12-27 07:18:43 +00:00
2017-03-16 10:45:42 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 02:47:37 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-07-28 21:47:36 +00:00
2017-07-28 21:47:36 +00:00
2016-12-20 03:15:32 +00:00
2017-04-10 20:18:21 +00:00
2017-04-10 20:18:21 +00:00
2017-07-28 20:21:02 +00:00
2017-03-16 10:13:55 +00:00
2016-12-20 03:15:32 +00:00
2015-11-22 00:16:24 +00:00
2015-11-19 05:56:52 +00:00
2015-11-22 00:16:24 +00:00
2015-02-27 21:17:42 +00:00
2016-12-27 06:46:20 +00:00
2013-01-01 13:57:25 +00:00
2016-12-27 07:18:43 +00:00
2014-07-03 02:11:49 +00:00
2016-11-14 11:14:41 +00:00
2017-01-30 16:22:45 +00:00
2017-06-30 23:14:53 +00:00
2017-01-30 16:22:45 +00:00
2016-12-27 07:18:43 +00:00
2017-05-14 02:58:39 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-07-01 03:29:33 +00:00
2016-06-27 16:50:18 +00:00
2017-05-22 20:28:18 +00:00
2017-05-22 20:28:18 +00:00
2016-12-27 07:18:43 +00:00
2016-11-14 11:14:41 +00:00
2016-12-27 07:18:43 +00:00
2015-03-20 18:33:12 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-07-28 21:47:36 +00:00
2016-12-27 07:18:43 +00:00