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

Safe HaskellNone

LLVM.Extra.Multi.Vector.Memory

Documentation

class (Positive n, C a, IsSized (Struct n a)) => C n a whereSource

Associated Types

type Struct n a :: *Source

Methods

load :: Value (Ptr (Struct n a)) -> CodeGenFunction r (T n a)Source

store :: T n a -> Value (Ptr (Struct n a)) -> CodeGenFunction r ()Source

decompose :: Value (Struct n a) -> CodeGenFunction r (T n a)Source

compose :: T n a -> CodeGenFunction r (Value (Struct n a))Source

Instances

(Positive n, Positive (:*: n D64)) => C n Double 
(Positive n, Positive (:*: n D32)) => C n Float 
(Positive n, Positive (:*: n D64)) => C n Int64 
(Positive n, Positive (:*: n D32)) => C n Int32 
(Positive n, Positive (:*: n D16)) => C n Int16 
(Positive n, Positive (:*: n D8)) => C n Int8 
(Positive n, Positive (:*: n D64)) => C n Word64 
(Positive n, Positive (:*: n D32)) => C n Word32 
(Positive n, Positive (:*: n D16)) => C n Word16 
(Positive n, Positive (:*: n D8)) => C n Word8 
(C n a, C n b) => C n (a, b) 
(C n a, C n b, C n c) => C n (a, b, c)