llvm-ffi-3.0.0.2: FFI bindings to the LLVM compiler toolkit.
LLVM.FFI.BitWriter
type CInt = CIntSource
writeBitcodeToFile :: ModuleRef -> CString -> IO CIntSource
writeBitcodeToFileHandle :: ModuleRef -> CInt -> IO CIntSource
writeBitcodeToFD :: ModuleRef -> CInt -> CInt -> CInt -> IO CIntSource