Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
lookupTarget :: CString -> CString -> Ptr (OwnerTransfered CString) -> Ptr (OwnerTransfered CString) -> IO (Ptr Target) Source #
data TargetOptions Source #
setTargetOptionFlag :: Ptr TargetOptions -> TargetOptionFlag -> LLVMBool -> IO () Source #
setCompressDebugSections :: Ptr TargetOptions -> DebugCompressionType -> IO () Source #
setStackAlignmentOverride :: Ptr TargetOptions -> CUInt -> IO () Source #
setFloatABIType :: Ptr TargetOptions -> FloatABIType -> IO () Source #
setAllowFPOpFusion :: Ptr TargetOptions -> FPOpFusionMode -> IO () Source #
disposeTargetOptions :: Ptr TargetOptions -> IO () Source #
data TargetMachine Source #
createTargetMachine :: Ptr Target -> CString -> CString -> CString -> Ptr TargetOptions -> RelocModel -> CodeModel -> CodeGenOptLevel -> IO (Ptr TargetMachine) Source #
disposeTargetMachine :: Ptr TargetMachine -> IO () Source #
targetMachineEmit :: Ptr TargetMachine -> Ptr Module -> Ptr RawPWriteStream -> CodeGenFileType -> Ptr (OwnerTransfered CString) -> IO LLVMBool Source #
targetMachineEmitToFile :: Ptr TargetMachine -> Ptr Module -> CString -> CodeGenFileType -> Ptr (OwnerTransfered CString) -> IO LLVMBool Source #
targetMachineEmitToMemoryBuffer :: Ptr TargetMachine -> Ptr Module -> CodeGenFileType -> Ptr (OwnerTransfered CString) -> Ptr (Ptr MemoryBuffer) -> IO LLVMBool Source #
data TargetLowering Source #
data TargetLibraryInfo Source #
getLibFunc :: Ptr TargetLibraryInfo -> CString -> Ptr LibFunc -> IO LLVMBool Source #
libFuncGetName :: Ptr TargetLibraryInfo -> LibFunc -> Ptr CSize -> IO CString Source #
libFuncSetAvailableWithName :: Ptr TargetLibraryInfo -> LibFunc -> CString -> IO () Source #
disposeTargetLibraryInfo :: Ptr TargetLibraryInfo -> IO () Source #
initializeAllTargets :: IO () Source #
createTargetDataLayout :: Ptr TargetMachine -> IO (Ptr DataLayout) Source #