Rllvm (version 0.7-0)

formattedRawOstream: Create and access LLVM output streams

Description

These functions allow us to create and use LLVM output streams for generating content, e.g. code.

Usage

formattedRawOstream(stream, delete = FALSE, finalize = TRUE)
rawStringOstream(value = "")
rawFDOstream(filename)

Arguments

stream

the raw ostream which

delete

a logical value indicating whether to release/garbage collect the raw stream stream.

finalize

a logical value to indicate whether to register a finalizer for the stream

value

an initial string, typically empty

filename

the name of the file to which the contents should be written

See Also

getPassManager