llvm-hs-5.0.0: General purpose LLVM bindings
LLVM.Internal.FFI.OrcJIT.IRTransformLayer
data IRTransformLayer Source #
Instances
type ModuleTransform = Ptr Module -> IO (Ptr Module) Source #
wrapModuleTransform :: ModuleTransform -> IO (FunPtr ModuleTransform) Source #
createIRTransformLayer :: Ptr CompileLayer -> FunPtr ModuleTransform -> IO (Ptr IRTransformLayer) Source #