1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
Lang Hames 49b25f7a75 [ORC] Add support for multithreaded compiles to LLJIT and LLLazyJIT.
LLJIT and LLLazyJIT can now be constructed with an optional NumCompileThreads
arguments. If this is non-zero then a thread-pool will be created with the
given number of threads, and compile tasks will be dispatched to the thread
pool.

To enable testing of this feature, two new flags are added to lli:

(1) -compile-threads=N (N = 0 by default) controls the number of compile threads
to use.

(2) -thread-entry can be used to execute code on additional threads. For each
-thread-entry argument supplied (multiple are allowed) a new thread will be
created and the given symbol called. These additional thread entry points are
called after static constructors are run, but before main.

llvm-svn: 343058
2018-09-26 02:39:42 +00:00
..
2018-09-18 18:39:27 +00:00
2018-06-23 19:04:10 +00:00
2018-07-23 18:09:43 +00:00
2018-09-24 08:34:17 +00:00
2018-09-05 01:27:38 +00:00
2018-04-25 18:06:23 +00:00
2018-09-05 01:27:38 +00:00
2018-07-20 17:27:48 +00:00