R-LLVM

  • Tools for creating descriptions of Low-Level code

  • Create Function objects

  • Add Expressions - create variables, assignments, loops, if-else, ...

  • Compile Function to machine code

    • Control optimization code generation

  • Invoke routine from R

  • Alternatively, we could generate code in LLVM IR language form as a string (ll format) and then compile that.