llvm_hiwrap.io

Members

Functions

readModule
auto readModule(File f, Context ctx, string module_id)

Read a LLVM module from the file.

writeModule
void writeModule(File f, 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.