Safe Haskell | None |
---|
LLVM.Wrapper.ExecutionEngine
Contents
- module LLVM.FFI.ExecutionEngine
- type ExecutionEngine = Ptr ExecutionEngine
- findFunction :: ExecutionEngine -> String -> IO (Maybe Value)
- runFunction :: ExecutionEngine -> Value -> CUInt -> [GenericValue] -> IO GenericValue
- runFunctionAsMain :: ExecutionEngine -> Value -> [String] -> [String] -> IO Bool
- createExecutionEngineForModule :: Module -> IO ExecutionEngine
- createInterpreterForModule :: Module -> IO ExecutionEngine
- createJITCompilerForModule :: Module -> CUInt -> IO ExecutionEngine
- createGenericValueOfInt :: Type -> CULLong -> Bool -> IO GenericValue
- genericValueToInt :: GenericValue -> Bool -> CULLong
Documentation
module LLVM.FFI.ExecutionEngine
Execution engines
findFunction :: ExecutionEngine -> String -> IO (Maybe Value)Source
runFunction :: ExecutionEngine -> Value -> CUInt -> [GenericValue] -> IO GenericValueSource
runFunctionAsMain :: ExecutionEngine -> Value -> [String] -> [String] -> IO BoolSource
createExecutionEngineForModule :: Module -> IO ExecutionEngineSource
createInterpreterForModule :: Module -> IO ExecutionEngineSource
createJITCompilerForModule :: Module -> CUInt -> IO ExecutionEngineSource
Generic values
createGenericValueOfInt :: Type -> CULLong -> Bool -> IO GenericValueSource
genericValueToInt :: GenericValue -> Bool -> CULLongSource