Description Usage Arguments Value Author(s) References See Also Examples
This function returns a named list of the functions that exist in an LLVM module.
1 | getModuleFunctions(mod)
|
mod |
the |
A named list.
Duncan Temple Lang
The LLVM API documentation.
1 2 3 4 5 6 7 8 9 | library(Rllvm)
InitializeNativeTarget()
mod = Module("opt")
fun = Function("iadd", Int32Type, c(x = Int32Type, y = Int32Type), mod)
# Now build the code for the function
# .........
getModuleFunctions(mod)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.