Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
lookupTarget :: CString -> CString -> Ptr (OwnerTransfered CString) -> Ptr (OwnerTransfered CString) -> IO (Ptr Target) Source #
data TargetOptions Source #
data MCTargetOptions Source #
setTargetOptionFlag :: Ptr TargetOptions -> TargetOptionFlag -> LLVMBool -> IO () Source #
setMCTargetOptionFlag :: Ptr MCTargetOptions -> MCTargetOptionFlag -> 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 #
setThreadModel :: Ptr TargetOptions -> ThreadModel -> IO () Source #
setEABIVersion :: Ptr TargetOptions -> EABI -> IO () Source #
getEABIVersion :: Ptr TargetOptions -> IO EABI Source #
setDebuggerTuning :: Ptr TargetOptions -> DebuggerKind -> IO () Source #
setFPDenormalMode :: Ptr TargetOptions -> FPDenormalMode -> IO () Source #
setExceptionModel :: Ptr TargetOptions -> ExceptionHandling -> 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 #