Description Usage Arguments Value Author(s) References See Also Examples
This function returns an instance of an LLVM
FunctionPassManager as an object of R class FunctionPassManager
which is just a reference to the C++ object.
This is used when optimizing code via Optimize
for either a Function
or a Module
.
1 2 | getPassManager(module, execEngine = ExecutionEngine(module), level = 3L)
passManager(module, functionManager = !missing(module))
|
module |
the module for which the pass manager is to be created and associated. |
execEngine |
an instance of the ExecutionEngine. This is used to
determine the data layout for the particular platform which is
needed for optimization.
This can be |
level |
optimization level |
functionManager |
whether to create a |
An object of class FunctionPassManager
.
Duncan Temple Lang
The LLVM API documentation
1 | # See the code in experiments/ in the source package.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.