llvm_hiwrap.io

Members

Functions

readModule
auto readModule(File f, ref Context ctx, string module_id = null)

Read a LLVM module from the file.

writeModule
void writeModule(File f, ref Module m)

Write a LLVM module to the file.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file contains convenient functionality for reading/writing LLVM bitcode and IR. The functions prefer using D's stdlib for IO when possible.