Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
FFI functions for handling the LLVM GlobalAlias class
Synopsis
- isAGlobalAlias :: Ptr Value -> IO (Ptr GlobalAlias)
- getAliasee :: Ptr GlobalAlias -> IO (Ptr Constant)
- setAliasee :: Ptr GlobalAlias -> Ptr Constant -> IO ()
Documentation
isAGlobalAlias :: Ptr Value -> IO (Ptr GlobalAlias) Source #
test if a Value
is a GlobalAlias
getAliasee :: Ptr GlobalAlias -> IO (Ptr Constant) Source #
get the constant aliased by this alias
setAliasee :: Ptr GlobalAlias -> Ptr Constant -> IO () Source #
set the constant aliased by this alias