Safe Haskell | None |
---|---|
Language | Haskell98 |
Functions for handling the LLVM types
- getTypeKind :: Ptr Type -> IO TypeKind
- getIntTypeWidth :: Ptr Type -> IO CUInt
- isFunctionVarArg :: Ptr Type -> IO LLVMBool
- getReturnType :: Ptr Type -> IO (Ptr Type)
- countParamTypes :: Ptr Type -> IO CUInt
- getParamTypes :: Ptr Type -> Ptr (Ptr Type) -> IO ()
- getElementType :: Ptr Type -> IO (Ptr Type)
- intTypeInContext :: Ptr Context -> CUInt -> IO (Ptr Type)
- functionType' :: Ptr Type -> Ptr (Ptr Type) -> CUInt -> LLVMBool -> IO (Ptr Type)
- functionType :: Ptr Type -> (CUInt, Ptr (Ptr Type)) -> LLVMBool -> IO (Ptr Type)
- newtype AddrSpace = AddrSpace CUInt
- pointerType :: Ptr Type -> AddrSpace -> IO (Ptr Type)
- getPointerAddressSpace :: Ptr Type -> IO AddrSpace
- vectorType :: Ptr Type -> CUInt -> IO (Ptr Type)
- arrayType :: Ptr Type -> Word64 -> IO (Ptr Type)
- structTypeInContext' :: Ptr Context -> Ptr (Ptr Type) -> CUInt -> LLVMBool -> IO (Ptr Type)
- structTypeInContext :: Ptr Context -> (CUInt, Ptr (Ptr Type)) -> LLVMBool -> IO (Ptr Type)
- structCreateNamed :: Ptr Context -> CString -> IO (Ptr Type)
- getStructName :: Ptr Type -> IO CString
- structIsLiteral :: Ptr Type -> IO LLVMBool
- structIsOpaque :: Ptr Type -> IO LLVMBool
- isPackedStruct :: Ptr Type -> IO LLVMBool
- countStructElementTypes :: Ptr Type -> IO CUInt
- getStructElementTypes :: Ptr Type -> Ptr (Ptr Type) -> IO ()
- structSetBody' :: Ptr Type -> Ptr (Ptr Type) -> CUInt -> LLVMBool -> IO ()
- structSetBody :: Ptr Type -> (CUInt, Ptr (Ptr Type)) -> LLVMBool -> IO ()
- getVectorSize :: Ptr Type -> IO CUInt
- getArrayLength :: Ptr Type -> IO Word64
- voidTypeInContext :: Ptr Context -> IO (Ptr Type)
- halfTypeInContext :: Ptr Context -> IO (Ptr Type)
- floatTypeInContext :: Ptr Context -> IO (Ptr Type)
- doubleTypeInContext :: Ptr Context -> IO (Ptr Type)
- x86FP80TypeInContext :: Ptr Context -> IO (Ptr Type)
- fP128TypeInContext :: Ptr Context -> IO (Ptr Type)
- ppcFP128TypeInContext :: Ptr Context -> IO (Ptr Type)
- metadataTypeInContext :: Ptr Context -> IO (Ptr Type)
- tokenTypeInContext :: Ptr Context -> IO (Ptr Type)
- labelTypeInContext :: Ptr Context -> IO (Ptr Type)
Documentation
arrayType :: Ptr Type -> Word64 -> IO (Ptr Type) Source #
what http://llvm.org/doxygen/group__LLVMCCoreTypeSequential.html#gabd1666e080f693e1af0b4018005cd927 | would be if it supported 64-bit array sizes, as the C++ type does.
structTypeInContext' :: Ptr Context -> Ptr (Ptr Type) -> CUInt -> LLVMBool -> IO (Ptr Type) Source #
getArrayLength :: Ptr Type -> IO Word64 Source #
what http://llvm.org/doxygen/group__LLVMCCoreTypeSequential.html#ga02dc08041a12265cb700ee469497df63 | would be if it supported 64 bit lengths