Joseph Huber
f05ce9045a
[NVPTX] Add NVPTXCtorDtorLoweringPass to handle global ctors / dtors
...
This patch mostly adapts the existing AMDGPUCtorDtorLoweringPass for use
by the Nvidia backend. This pass transforms the ctor / dtor list into a
kernel call that can be used to invoke those functinos. Furthermore, we
emit globals such that the names and addresses of these constructor
functions can be found by the driver. Unfortunately, since NVPTX has no
way to emit variables at a named section, nor a functioning linker to
provide the begin / end symbols, we need to mangle these names and have
an external application find them.
This work is related to the work in D149398 and D149340.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D149451
2023-05-04 07:13:00 -05:00
..
2022-12-22 14:04:41 +01:00
2022-09-13 09:07:56 -07:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-03-11 03:40:48 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2023-04-25 00:18:16 +02:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-29 18:19:55 -05:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2023-03-18 01:27:43 +01:00
2023-02-17 20:49:04 +01:00
2023-02-07 14:20:49 -08:00
2023-02-07 14:20:49 -08:00
2023-01-05 09:27:54 +01:00
2023-02-03 09:53:47 -05:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2023-03-23 00:56:14 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-03-24 10:35:25 -07:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-07 14:20:49 -08:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-09 01:04:47 +03:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-01-15 00:10:49 +03:00
2023-03-15 08:41:45 +00:00
2023-01-15 00:10:49 +03:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2023-02-17 20:49:04 +01:00
2023-01-27 13:27:56 -08:00
2023-02-09 18:45:20 +03:00
2023-05-04 07:13:00 -05:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-09 01:04:47 +03:00
2022-08-25 13:36:22 +02:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-08-24 11:39:41 +02:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-28 21:45:51 +03:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-01 16:16:43 +03:00
2023-01-10 15:22:40 +03:00
2022-12-19 12:57:23 +01:00
2023-01-10 15:22:40 +03:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-04-25 00:18:16 +02:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2023-02-17 20:49:04 +01:00
2023-02-17 20:49:04 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-11-15 21:41:33 +03:00
2022-12-19 12:57:23 +01:00
2023-01-10 15:22:40 +03:00
2022-12-09 01:04:47 +03:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-01-10 15:22:40 +03:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00
2022-12-19 12:57:23 +01:00
2023-02-17 20:49:04 +01:00