writeBitcode: Read and Write LLVM Bitcode

Description Usage Arguments Value Author(s) References See Also

Description

These functions write LLVM bitcode to a file or read code from a file into the R session.

Usage

1
2
writeBitcode(module, to = character())
readBitcode(src, context = NULL)

Arguments

module

the module

to

the file to which to write the bitcode. If this is missing or an empty vector (or NA), the bitcode is returned as a raw vector.

src

the name of the file from which to read the bitcode, or alternatively a raw vector containing the bitcode.

context

an LLVMContext-class object or the default global context

Value

readCode returns a Module object.

writeCode returns either the raw bitcode data or none if the code is written to a file.

Author(s)

Duncan Temple Lang

References

LLVM documentation

See Also

Module


doktorschiwago/Rllvm2 documentation built on May 15, 2019, 9:42 a.m.