Safe Haskell | None |
---|---|
Language | Haskell2010 |
FFI functions for handling the LLVM GlobalValue class
Documentation
Instances
DecodeM DecodeAST (ShortByteString, SelectionKind) (Ptr COMDAT) Source # | |
Defined in LLVM.Internal.Global decodeM :: Ptr COMDAT -> DecodeAST (ShortByteString, SelectionKind) Source # |
isAGlobalValue :: Ptr Value -> IO (Ptr GlobalValue) Source #
getLinkage :: Ptr GlobalValue -> IO Linkage Source #
setLinkage :: Ptr GlobalValue -> Linkage -> IO () Source #
getSection :: Ptr GlobalValue -> Ptr CSize -> IO CString Source #
setSection :: Ptr GlobalValue -> CString -> IO () Source #
setCOMDATSelectionKind :: Ptr COMDAT -> COMDATSelectionKind -> IO () Source #
getVisibility :: Ptr GlobalValue -> IO Visibility Source #
setVisibility :: Ptr GlobalValue -> Visibility -> IO () Source #
setDLLStorageClass :: Ptr GlobalValue -> DLLStorageClass -> IO () Source #
getAlignment :: Ptr GlobalValue -> IO CUInt Source #
setAlignment :: Ptr GlobalValue -> CUInt -> IO () Source #
getUnnamedAddr :: Ptr GlobalValue -> IO UnnamedAddr Source #
setUnnamedAddr :: Ptr GlobalValue -> UnnamedAddr -> IO () Source #
setThreadLocalMode :: Ptr GlobalValue -> ThreadLocalMode -> IO () Source #
getNumMetadata :: Ptr GlobalObject -> IO CUInt Source #
setMetadata :: Ptr GlobalObject -> MDKindID -> Ptr MDNode -> IO () Source #