llvm-hs-6.3.0: General purpose LLVM bindings
LLVM.Internal.FFI.User
Description
FFI functions for handling the LLVM User class
data Use Source #
a blind type to correspond to llvm::Use
isAUser :: Ptr Value -> IO (Ptr User) Source #
test if a Value is a User
Value
User
getFirstUse :: Ptr User -> IO (Ptr Use) Source #
http://llvm.org/doxygen/group__LLVMCCoreValueUses.html#ga66a226d3d06ffada5c929656f4d97d35
getNextUse :: Ptr Use -> IO (Ptr Use) Source #
http://llvm.org/doxygen/group__LLVMCCoreValueUses.html#ga6ea72661bcca2b77bea57173317ec942
getNumOperands :: Ptr User -> IO CUInt Source #
http://llvm.org/doxygen/group__LLVMCCoreValueUser.html#ga2ad633a6afc7906f1afe329f244240f6
getOperand :: Ptr User -> CUInt -> IO (Ptr Value) Source #
http://llvm.org/doxygen/group__LLVMCCoreValueUser.html#ga799d58a361054323cb457945071cbfdb