formattedRawOstream: Create and access LLVM output streams

View source: R/ostream.R

formattedRawOstreamR Documentation

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

Author(s)

Duncan Temple Lang

See Also

getPassManager


duncantl/Rllvm documentation built on Aug. 16, 2024, 2:33 a.m.