Description Usage Arguments Value Author(s) References See Also Examples
These functions provide the mechanism to call an LLVM
Function
, passing it R objects as arguments.
This is analogous to the .C
interface,
but for routines generated via LLVM, either read from
existing files or generated in the R session.
1 2 3 |
.x |
the reference to the LLVM |
... |
arguments for the |
.args |
an alternative way mechanism to pass the arguments for
the |
.ee |
the LLVM |
.all |
a logical value that controls whether all of the arguments
are also returned, or just the return value from the |
.duplicate |
a logical vector indicating which arguments need to
be copied before being passed to the |
If .all
is FALSE
, the return value from Function
is returned as an R object.
Duncan Temple Lang
The RLLVMCompile
package
parseIR
Module
, Function
1 2 | module = parseIR(system.file("IR", "fib.ll", package = "Rllvm"))
.llvm(module$fib, 11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.