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

Safe HaskellNone
LanguageHaskell98

LLVM.Extra.Multi.Vector.Memory

Documentation

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

Minimal complete definition

(load | decompose), (store | compose)

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 
(C n a, C n b) => C n (a, b)