Skip to content

duncantl/Rllvm

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
FAQ
 
 
 
 
 
 
R
 
 
 
 
TU
 
 
 
 
Web
 
 
 
 
 
 
 
 
 
 
man
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

RLLVM

Updated for LLVM 14

RLLVM is an R interface to LLVM. This interface allows one to dynamically create and invoke compiled code from within R through LLVM's intermediate representation (IR), which LLVM can then extensively and efficiently optimize.

The package also facilitates analyzing native code.

For examples, see explorations, experiments and tests directories.

The current repository builds against LLVM 11, 10, 9, ..., 3.5, 3.6, 3.7, and 3.8. Importantly, recent versions of LLVM default to the MCJIT execution engine. This unfortunately has very limited ability to invoke routines compiled via Rllvm, i.e., using the .llvm() and run() functions. Acccordingly, we have implemented a reasonably comprehensive mechanism to invoke these routines. We use the Rffi package to do this.

So this package now requires the Rffi package. This comes with its own version of libffi, but will find a more up-to-date version if it is installed (see pkg-config).

These packages are not on CRAN.

Related packages are Rffi, Rllvm (this one), RLLVMCompile, R2llvm, RCUDA, RCIndex. NativeCodeAnalysis.

Installation

See INSTALL.md

URLs

About

R interface to LLVM C++ API to be able to create compiled code from within R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published