llvm-extra-0.6.0.1: Utility functions for the llvm interface

Safe HaskellNone
LanguageHaskell98

LLVM.Extra.Multi.Value.Memory

Documentation

class (C a, IsSized (Struct a)) => C a where Source

Minimal complete definition

(load | decompose), (store | compose)

Associated Types

type Struct a :: * Source

Instances

C Double 
C Float 
C Int8 
C Int16 
C Int32 
C Int64 
C Word8 
C Word16 
C Word32 
C Word64 
C () 
C (StablePtr a) 
IsType a => C (Ptr a) 
IsFunction a => C (FunPtr a) 
(C a, C b) => C (a, b) 
(C a, C b, C c) => C (a, b, c) 
(C a, C b, C c, C d) => C (a, b, c, d) 

storePrimitive :: (Repr Value a ~ Value a) => T a -> Value (Ptr a) -> CodeGenFunction r () Source

loadUnit :: (Repr Value a ~ ()) => Value (Ptr (Struct ())) -> CodeGenFunction r (T a) Source