David Bolvansky
7dcd99ba17
Enrich inline messages
...
Summary:
This patch improves Inliner to provide causes/reasons for negative inline decisions.
1. It adds one new message field to InlineCost to report causes for Always and Never instances. All Never and Always instantiations must provide a simple message.
2. Several functions that used to return the inlining results as boolean are changed to return InlineResult which carries the cause for negative decision.
3. Changed remark priniting and debug output messages to provide the additional messages and related inline cost.
4. Adjusted tests for changed printing.
Patch by: yrouban (Yevgeny Rouban)
Reviewers: craig.topper, sammccall, sgraenitz, NutshellySima, shchenz, chandlerc, apilipenko, javed.absar, tejohnson, dblaikie, sanjoy, eraman, xbolva00
Reviewed By: tejohnson, xbolva00
Subscribers: xbolva00, llvm-commits, arsenm, mehdi_amini, eraman, haicheng, steven_wu, dexonsmith
Differential Revision: https://reviews.llvm.org/D49412
llvm-svn: 338969
2018-08-05 14:53:08 +00:00
..
2017-12-22 17:09:09 +00:00
2017-08-07 17:08:44 +00:00
2018-08-05 14:53:08 +00:00
2017-07-15 02:12:16 +00:00
2017-07-15 02:12: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 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 07:18:43 +00:00
2017-04-10 20:18:21 +00:00
2018-05-09 02:40:45 +00:00
2018-05-09 02:40:45 +00:00
2018-07-13 16:32:31 +00:00
2017-02-27 22:33:02 +00:00
2016-12-27 07:18:43 +00:00
2018-07-30 19:33:53 +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
2018-01-10 13:01:18 +00:00
2016-12-27 07:18:43 +00:00
2016-12-27 02:47:37 +00:00
2017-08-02 02:09:22 +00:00
2017-07-09 13:45:11 +00:00
2017-03-09 11:35:40 +00:00
2018-03-23 21:46:16 +00:00
2017-01-24 12:55:57 +00:00
2016-12-27 07:18:43 +00:00
2017-04-10 20:18:21 +00:00
2018-05-09 02:40:45 +00:00
2018-07-04 13:28:39 +00:00
2016-12-28 11:07:33 +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
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
2018-05-09 02:40:45 +00:00
2016-12-27 02:47:37 +00:00
2018-07-23 21:20:00 +00:00
2016-12-27 01:24:50 +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
2018-06-28 20:07:47 +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
2018-04-04 21:46:27 +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-08-24 21:37:04 +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
2017-05-16 21:18:09 +00:00
2017-01-20 22:44:04 +00:00
2017-05-04 16:58:45 +00:00
2018-01-19 17:13:12 +00:00
2016-12-27 07:18:43 +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
2018-04-02 21:23:16 +00:00
2018-01-28 19:11:49 +00:00
2018-01-19 17:13:12 +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-09-05 20:14:58 +00:00
2017-08-02 20:35:29 +00:00
2017-08-02 20:35:29 +00:00
2018-01-29 05:17:03 +00:00
2018-05-23 09:16:44 +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
2018-01-19 17:13:12 +00:00
2016-12-27 06:46:20 +00:00
2016-12-27 07:18:43 +00:00
2018-08-05 14:53:08 +00:00
2018-08-05 14:53:08 +00:00
2018-08-05 14:53:08 +00:00
2018-05-09 02:40:45 +00:00
2018-08-05 14:53:08 +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
2017-08-14 21:25:00 +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
2018-01-04 18:23:40 +00:00
2017-08-19 06:56:11 +00:00
2017-12-19 13:42:58 +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