llvm-party-12.1.1: General purpose LLVM bindings
Safe HaskellNone
LanguageHaskell2010

LLVM.Internal.FFI.Attribute

Synopsis

Documentation

attributeKindAsString :: Attribute a -> Ptr CSize -> IO (Ptr CChar) Source #

Unfortunately the LLVM C API function can only deal with a 32 bit (unsigned*) length, so we can't just call | https://llvm.org/doxygen/group__LLVMCCoreContext.html#gab88856ea2394e46b10c145aa095e0c06

attributeValueAsString :: Attribute a -> Ptr CSize -> IO (Ptr CChar) Source #

Unfortunately the LLVM C API function can only deal with a 32 bit (unsigned*) length, so we can't just call | <https://llvm.org/doxygen/group__LLVMCCoreContext.html#ga6d78aed2879dccec9d81a1acfad170fd

attributeValueAsInt :: Attribute a -> IO Word64 Source #

The LLVM C API does not expose this functionality

getNumAttributes :: AttributeSet a -> IO CUInt Source #

The LLVM C API does not expose this functionality