Hal Finkel
232f393466
[PowerPC] Add StackMap/PatchPoint support
...
This commit does two things:
1. Refactors PPCFastISel to use more of the common infrastructure for call
lowering (this lets us take advantage of this common code for lowering some
common intrinsics, stackmap/patchpoint among them).
2. Adds support for stackmap/patchpoint lowering. For the most part, this is
very similar to the support in the AArch64 target, with the obvious differences
(different registers, NOP instructions, etc.). The test cases are adapted
from the AArch64 test cases.
One difference of note is that the patchpoint call sequence takes 24 bytes, so
you can't use less than that (on AArch64 you can go down to 16). Also, as noted
in the docs, we take the patchpoint address to be the actual code address
(assuming the call is local in the TOC-sharing sense), which should yield
higher performance than generating the full cross-DSO indirect-call sequence
and is likely just as useful for JITed code (if not, we'll change it).
StackMaps and Patchpoints are still marked as experimental, and so this support
is doubly experimental. So go ahead and experiment!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225808 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-13 17:48:12 +00:00
..
2015-01-05 23:17:43 +00:00
2014-02-13 14:44:26 +00:00
2014-02-13 14:44:26 +00:00
2014-10-19 21:29:21 +00:00
2014-04-12 00:59:48 +00:00
2009-09-09 00:09:15 +00:00
2014-05-27 15:57:51 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-10-19 21:29:21 +00:00
2014-12-15 19:07:53 +00:00
2014-12-11 22:51:06 +00:00
2015-01-08 22:11:49 +00:00
2014-05-29 15:41:38 +00:00
2014-07-20 22:26:40 +00:00
2015-01-06 16:46:37 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-06-13 14:24:07 +00:00
2014-10-02 22:27:07 +00:00
2014-03-11 10:48:52 +00:00
2014-10-03 18:04:36 +00:00
2014-10-02 22:27:07 +00:00
2014-10-02 22:27:07 +00:00
2014-07-18 23:29:49 +00:00
2014-02-28 00:27:01 +00:00
2014-10-31 10:33:14 +00:00
2015-01-01 02:53:29 +00:00
2014-10-19 21:29:21 +00:00
2014-01-21 20:15:58 +00:00
2014-08-16 00:17:05 +00:00
2014-12-04 00:46:20 +00:00
2015-01-03 01:16:37 +00:00
2015-01-03 01:16:37 +00:00
2013-11-30 19:39:27 +00:00
2015-01-03 17:58:24 +00:00
2014-07-23 07:08:53 +00:00
2015-01-05 03:41:38 +00:00
2014-10-17 01:41:22 +00:00
2013-12-16 21:24:00 +00:00
2014-03-02 18:23:39 +00:00
2014-03-01 21:36:57 +00:00
2014-02-16 13:27:39 +00:00
2014-04-12 21:52:38 +00:00
2014-04-12 21:52:38 +00:00
2014-05-11 16:23:29 +00:00
2014-02-25 20:51:50 +00:00
2014-12-27 19:45:38 +00:00
2015-01-05 05:24:42 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-09-15 22:11:07 +00:00
2014-10-19 21:29:21 +00:00
2014-10-19 20:48:47 +00:00
2014-10-19 20:48:47 +00:00
2014-12-25 23:08:25 +00:00
2014-06-24 20:05:18 +00:00
2014-10-19 20:48:47 +00:00
2014-10-19 20:48:47 +00:00
2014-10-19 20:48:47 +00:00
2013-11-15 19:09:27 +00:00
2014-10-17 01:41:22 +00:00
2014-11-24 23:45:21 +00:00
2014-03-23 05:35:00 +00:00
2015-01-07 20:54:17 +00:00
2015-01-07 20:54:17 +00:00
2014-10-21 13:02:37 +00:00
2014-10-19 20:27:56 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2014-10-19 21:29:21 +00:00
2014-02-28 00:27:01 +00:00
2014-10-19 21:29:21 +00:00
2014-10-19 21:29:21 +00:00
2015-01-09 01:34:30 +00:00
2015-01-06 06:01:57 +00:00
2014-06-23 13:47:52 +00:00
2014-12-26 16:42:47 +00:00
2014-06-23 13:47:52 +00:00
2014-10-17 01:41:22 +00:00
2014-10-17 01:41:22 +00:00
2014-06-16 21:36:02 +00:00
2014-12-15 19:07:53 +00:00
2014-07-04 10:57:56 +00:00
2015-01-05 21:10:24 +00:00
2014-03-05 22:14:00 +00:00
2014-03-23 05:35:00 +00:00
2014-10-19 21:29:21 +00:00
2014-03-23 05:35:00 +00:00
2014-12-03 23:40:13 +00:00
2014-12-03 09:37:50 +00:00
2014-05-20 17:20:34 +00:00
2014-02-13 15:33:35 +00:00
2014-12-15 19:07:53 +00:00
2013-11-30 19:39:27 +00:00
2015-01-05 21:33:14 +00:00
2015-01-05 21:22:42 +00:00
2014-06-09 22:42:55 +00:00
2013-11-30 19:39:27 +00:00
2014-02-13 14:44:26 +00:00
2014-08-04 21:06:00 +00:00
2014-10-17 01:41:22 +00:00
2014-08-04 21:06:00 +00:00
2014-04-12 21:52:38 +00:00
2014-10-17 01:41:22 +00:00
2014-04-12 21:52:38 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-01-06 22:31:02 +00:00
2014-02-28 00:27:01 +00:00
2014-12-09 01:00:59 +00:00
2014-12-03 00:19:17 +00:00
2014-03-06 00:45:19 +00:00
2014-12-15 19:07:53 +00:00
2015-01-10 01:57:21 +00:00
2015-01-10 01:57:21 +00:00
2013-11-30 19:39:27 +00:00
2014-10-17 01:41:22 +00:00
2014-06-23 12:36:34 +00:00
2015-01-13 17:48:12 +00:00
2015-01-13 17:48:12 +00:00
2014-07-07 19:41:54 +00:00
2014-12-23 22:29:40 +00:00
2014-07-29 12:48:14 +00:00
2014-11-21 04:35:51 +00:00
2015-01-12 04:34:47 +00:00
2015-01-13 17:48:12 +00:00
2014-08-23 23:21:04 +00:00
2014-06-20 16:34:05 +00:00
2015-01-13 17:48:12 +00:00
2015-01-13 17:48:12 +00:00
2014-12-11 22:51:06 +00:00
2014-12-09 16:35:51 +00:00
2014-07-20 23:43:15 +00:00
2014-07-21 00:03:18 +00:00
2014-07-20 23:31:44 +00:00
2014-07-20 23:43:15 +00:00
2012-06-22 22:31:00 +00:00
2014-10-02 22:34:22 +00:00
2014-10-16 20:00:02 +00:00
2014-12-09 16:35:51 +00:00
2014-10-02 22:27:07 +00:00
2014-12-15 19:07:53 +00:00
2014-07-31 19:50:53 +00:00
2014-07-31 19:50:53 +00:00
2014-07-31 19:13:38 +00:00
2014-02-19 17:23:20 +00:00
2013-12-12 00:19:11 +00:00
2014-10-21 13:02:37 +00:00
2014-06-27 13:04:12 +00:00
2014-07-11 17:19:31 +00:00
2014-12-23 09:45:06 +00:00
2014-12-16 05:51:41 +00:00
2014-12-16 05:51:41 +00:00
2014-04-13 17:10:58 +00:00
2015-01-05 18:52:29 +00:00
2014-10-17 01:41:22 +00:00
2014-02-28 00:27:01 +00:00
2014-12-23 08:38:50 +00:00
2014-11-12 15:16:30 +00:00
2014-02-28 00:27:01 +00:00
2014-02-28 00:27:01 +00:00
2013-11-30 19:52:28 +00:00
2014-01-28 05:32:58 +00:00
2014-05-27 15:57:51 +00:00
2014-09-02 16:05:23 +00:00
2013-11-20 01:10:15 +00:00
2014-12-01 09:42:32 +00:00
2013-11-30 20:04:33 +00:00
2013-11-30 19:39:27 +00:00
2013-11-30 19:39:27 +00:00
2014-12-08 22:54:22 +00:00
2014-12-08 22:54:22 +00:00
2014-07-23 07:08:53 +00:00
2014-06-23 13:47:52 +00:00
2014-11-12 16:50:15 +00:00
2014-11-11 20:44:09 +00:00
2013-12-20 18:08:54 +00:00
2014-12-15 19:07:53 +00:00
2014-10-17 15:13:38 +00:00
2014-08-13 01:15:40 +00:00
2014-10-17 15:13:38 +00:00
2014-10-19 21:29:21 +00:00
2014-12-15 19:07:53 +00:00
2014-07-21 00:13:26 +00:00
2014-08-04 13:13:57 +00:00
2014-12-09 16:35:51 +00:00
2014-10-19 21:29:21 +00:00
2014-12-09 16:35:51 +00:00
2014-08-04 14:55:26 +00:00
2014-10-17 15:13:38 +00:00
2014-06-05 22:57:38 +00:00
2014-06-06 14:06:26 +00:00
2014-10-19 21:29:21 +00:00
2014-12-09 16:59:57 +00:00
2014-12-09 16:59:57 +00:00
2014-12-05 20:32:05 +00:00
2014-11-14 12:10:40 +00:00
2014-12-05 20:32:05 +00:00
2014-12-09 16:59:57 +00:00
2014-12-09 16:59:57 +00:00
2014-10-31 19:19:07 +00:00
2014-12-05 20:32:05 +00:00
2014-12-05 20:32:05 +00:00
2014-12-05 20:32:05 +00:00
2014-12-05 20:32:05 +00:00
2014-03-14 12:45:22 +00:00
2014-02-07 16:21:30 +00:00
2015-01-10 08:21:59 +00:00