Duncan P. N. Exon Smith
b5f8c9b2ec
AsmPrinter: Remove the vtable-entry from DIEValue
...
Remove all virtual functions from `DIEValue`, dropping the vtable
pointer from its layout. Instead, create "impl" functions on the
subclasses, and use the `DIEValue::Type` to implement the dynamic
dispatch.
This is necessary -- obviously not sufficient -- for passing `DIEValue`s
around by value. However, this change stands on its own: we make tons
of these. I measured a drop in memory usage from 888 MB down to 860 MB,
or around 3.2%.
(I'm looking at `llc` memory usage on `verify-uselistorder.lto.opt.bc`;
see r236629 for details.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238084 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-23 01:45:07 +00:00
..
2015-05-11 22:41:07 +00:00
2015-01-14 05:33:01 +00:00
2015-05-15 00:20:44 +00:00
2015-05-06 17:12:25 +00:00
2014-11-04 20:51:24 +00:00
2015-05-15 21:58:42 +00:00
2015-05-23 01:14:08 +00:00
2014-10-14 01:03:16 +00:00
2015-05-23 01:45:07 +00:00
2014-04-24 18:27:29 +00:00
2015-01-14 11:23:27 +00:00
2015-05-20 11:37:25 +00:00
2015-01-26 18:26:35 +00:00
2015-02-15 22:54:22 +00:00
2015-05-20 01:07:23 +00:00
2015-04-02 05:02:16 +00:00
2014-02-18 15:33:12 +00:00
2015-05-15 09:03:15 +00:00
2015-03-03 21:16:56 +00:00
2015-04-29 16:38:44 +00:00
2015-05-20 01:07:23 +00:00
2015-03-04 01:20:33 +00:00
2015-04-11 02:11:45 +00:00
2015-02-15 22:54:22 +00:00
2015-05-05 20:14:22 +00:00
2015-04-11 02:11:45 +00:00
2014-04-21 09:34:48 +00:00
2015-03-04 01:15:53 +00:00
2014-08-25 01:59:49 +00:00
2015-05-22 08:11:26 +00:00
2015-04-11 02:11:45 +00:00
2014-03-25 18:01:32 +00:00
2014-08-03 21:35:39 +00:00
2014-07-14 22:06:29 +00:00
2015-02-15 22:54:22 +00:00
2015-04-11 02:11:45 +00:00
2015-05-08 23:52:00 +00:00
2015-02-15 22:54:22 +00:00
2015-04-11 02:11:45 +00:00
2014-03-07 09:26:03 +00:00
2015-05-21 21:00:30 +00:00
2015-04-29 16:38:44 +00:00
2014-04-14 00:51:57 +00:00
2015-02-15 22:54:22 +00:00
2015-03-10 16:22:52 +00:00
2015-04-29 16:38:44 +00:00
2015-04-07 12:59:28 +00:00
2015-05-06 17:05:54 +00:00
2015-04-11 02:11:45 +00:00
2015-04-11 02:11:45 +00:00
2015-04-11 15:32:26 +00:00
2015-04-03 00:18:33 +00:00
2015-04-11 02:11:45 +00:00
2015-02-15 22:54:22 +00:00
2014-08-13 16:26:38 +00:00
2015-04-17 16:11:05 +00:00
2015-05-22 07:17:07 +00:00
2014-11-14 19:06:36 +00:00
2014-04-15 08:10:46 +00:00
2015-03-01 20:39:34 +00:00
2014-04-21 09:34:48 +00:00
2015-04-01 21:16:02 +00:00
2015-05-22 15:38:24 +00:00
2015-03-03 20:49:08 +00:00
2015-03-05 20:04:29 +00:00
2015-03-03 21:17:00 +00:00
2015-04-11 02:11:45 +00:00
2014-07-01 21:19:13 +00:00
2013-12-11 22:33:43 +00:00
2014-04-14 00:51:57 +00:00
2015-05-22 05:45:19 +00:00
2015-04-28 14:05:47 +00:00
2015-05-13 23:41:47 +00:00
2015-02-15 22:00:20 +00:00
2015-05-12 23:52:24 +00:00
2014-04-14 00:51:57 +00:00
2015-05-21 19:20:38 +00:00
2015-05-14 18:01:13 +00:00
2015-03-01 18:10:07 +00:00
2015-04-17 16:11:05 +00:00
2015-02-15 22:54:22 +00:00
2015-05-20 23:22:24 +00:00