Nikita Popov
dd0226561e
[IR] Add helper to convert offset to GEP indices
...
We implement logic to convert a byte offset into a sequence of GEP
indices for that offset in a number of places. This patch adds a
DataLayout::getGEPIndicesForOffset() method, which implements the
core logic. I've updated SROA, ConstantFolding and InstCombine to
use it, and there's a few more places where it looks relevant.
Differential Revision: https://reviews.llvm.org/D110043
2021-09-20 20:18:16 +02:00
..
2021-07-26 16:35:14 +02:00
2021-08-31 09:20:52 -07:00
2021-05-24 10:10:44 -07:00
2021-05-18 13:49:03 -07:00
2021-09-12 08:17:18 -07:00
2021-07-27 14:34:04 -04:00
2021-09-08 21:23:10 +02:00
2021-08-26 10:08:00 +01:00
2021-09-12 08:17:18 -07:00
2021-09-16 08:46:26 -07:00
2021-09-19 13:44:23 -07:00
2021-07-28 11:09:12 -04:00
2021-09-15 08:34:04 +02:00
2021-09-09 09:50:24 -07:00
2021-08-19 20:23:17 +02:00
2021-09-16 21:06:57 +02:00
2021-08-20 11:25:05 -07:00
2021-05-18 13:49:03 -07:00
2021-09-20 12:01:12 +07:00
2021-07-19 12:15:52 -07:00
2021-09-16 21:06:57 +02:00
2021-09-16 21:06:57 +02:00
2021-09-13 10:32:35 +01:00
2021-08-26 21:01:59 +08:00
2021-09-03 18:36:19 +07:00
2021-05-18 13:49:03 -07:00
2021-09-10 18:10:53 -07:00
2021-09-16 15:46:26 -07:00
2021-09-12 08:17:18 -07:00
2021-07-16 11:59:20 -04:00
2021-09-11 19:16:49 +02:00
2021-09-17 14:59:34 -07:00
2021-09-16 22:49:55 +00:00
2021-07-13 12:17:09 -07:00
2021-08-16 20:59:37 +02:00
2021-08-16 20:59:37 +02:00
2021-09-19 21:41:44 +01:00
2021-08-03 00:57:26 +03:00
2021-09-15 08:34:04 +02:00
2021-09-07 09:19:33 -07:00
2021-05-18 13:49:03 -07:00
2021-09-15 08:34:04 +02:00
2021-09-08 11:21:36 +01:00
2021-09-15 08:34:04 +02:00
2021-09-17 09:16:40 -07:00
2021-05-18 13:49:03 -07:00
2021-08-17 21:05:41 -07:00
2021-09-09 09:50:24 -07:00
2021-09-01 11:18:41 -07:00
2021-07-27 14:34:04 -04:00
2021-09-12 08:17:18 -07:00
2021-06-17 09:38:28 +02:00
2021-09-12 08:17:18 -07:00
2021-09-14 19:49:38 -04:00
2021-09-15 08:34:04 +02:00
2021-09-02 08:23:33 +02:00
2021-05-18 13:49:03 -07:00
2021-09-20 20:18:16 +02:00
2021-09-01 14:24:47 -07:00