compileOptimized overloads
Synopses
Declared in <llvm/LTO/legacy/LTOCodeGenerator.h>
Compile the merged optimized module into a single in‐memory buffer.
std::unique_ptr<MemoryBuffer>
compileOptimized();
Compile the merged optimized module into one or more output streams.
bool
compileOptimized(
AddStreamFn AddStream,
unsigned int ParallelismLevel);
Return Value
-
In‐memory buffer with the compiled output, or null on failure.
-
True on success.
Parameters
Name |
Description |
AddStream |
Callback that creates an output stream per partition. |
ParallelismLevel |
Number of parallel code‐generation partitions. |
Created with MrDocs