Florian Hahn
b14be1e7c0
[SCEV] Use object size for globals to sharpen ranges.
...
The highest address the object can start is ObjSize bytes before the
end (unsigned max value). If this value is not a multiple of the
alignment, the last possible start value is the next lowest multiple
of the alignment. Note: The computations cannot overflow,
because if they would there's no possible start address for the
object.
At the moment, this is limited to GlobalVariables, because I could not
find a API similar to getObjectSize to also get the alignment of the
object. With such an API, this can be generalized to general addresses.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D149483
2023-04-29 21:33:30 +01:00
..
2023-01-25 14:41:29 +07:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2023-01-25 14:41:29 +07:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2023-04-11 12:37:10 +07:00
2022-12-14 15:37:58 +01:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 15:08:28 +01:00
2023-01-20 15:52:07 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2023-01-11 11:36:02 +07:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-12-07 22:22:09 +03:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-11-04 18:42:07 +00:00
2022-12-07 22:22:09 +03:00
2022-12-13 14:50:13 +01:00
2023-01-10 23:03:07 -07:00
2023-04-12 13:42:31 +07:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-12-07 22:22:09 +03:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 15:08:28 +01:00
2022-12-13 14:50:13 +01:00
2023-04-27 15:07:19 +02:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2023-03-15 20:57:34 +00:00
2022-12-13 15:20:35 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-07 22:22:09 +03:00
2022-12-07 22:22:09 +03:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2022-12-07 22:22:09 +03:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-04-22 10:44:29 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00
2022-12-01 21:25:59 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2023-04-21 18:03:41 +02:00
2022-12-13 14:50:13 +01:00
2022-12-07 22:22:09 +03:00
2022-12-07 22:22:09 +03:00
2022-12-07 22:22:09 +03:00
2022-12-07 22:22:09 +03:00
2022-12-14 15:37:58 +01:00
2022-12-01 21:25:59 +01:00
2022-06-08 16:01:29 +07:00
2022-12-13 14:50:13 +01:00
2022-12-01 21:25:59 +01:00
2022-08-22 13:02:01 +07:00
2022-12-06 20:26:53 +03:00
2023-03-14 10:55:02 +01:00
2023-04-25 16:40:37 +07:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2023-04-29 21:33:30 +01:00
2023-03-14 10:55:02 +01:00
2022-10-13 10:44:37 +02:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2023-03-14 10:55:02 +01:00
2022-12-14 17:53:06 +03:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-11-06 22:46:49 +08:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-07 22:22:09 +03:00
2022-10-13 10:44:37 +02:00
2023-04-18 13:17:45 +07:00
2022-10-13 10:44:37 +02:00
2022-12-07 22:22:09 +03:00
2022-10-13 10:44:37 +02:00
2022-10-13 10:44:37 +02:00
2023-02-10 13:57:39 +07:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-13 14:50:13 +01:00
2022-12-14 15:37:58 +01:00
2022-12-13 14:50:13 +01:00