llvm-ffi-3.8.1.1: FFI bindings to the LLVM compiler toolkit.

Safe HaskellSafe

LLVM.FFI.ExecutionEngine

Contents

Synopsis

Linking

Generic values

Execution engines

createMCJITCompilerForModule :: Ptr ExecutionEngineRef -> ModuleRef -> MCJITCompilerOptionsRef -> CSize -> Ptr CString -> IO BoolSource

initializeMCJITCompilerOptions :: MCJITCompilerOptionsRef -> CSize -> IO ()Source

runFunctionAsMainSource

Arguments

:: ExecutionEngineRef 
-> ValueRef 
-> CUInt 
-> Ptr CString

argv

-> Ptr CString

envp

-> IO CInt