Safe Haskell | None |
---|---|
Language | Haskell2010 |
Expressions.
See https://github.com/WebAssembly/binaryen/blob/master/src/binaryen-c.h for API documentation.
This module is intended to be imported qualified.
Documentation
newtype Expression Source #
Expression (Ptr Expression) |
Instances
Eq Expression Source # | |
Defined in Binaryen.Expression (==) :: Expression -> Expression -> Bool (/=) :: Expression -> Expression -> Bool | |
Show Expression Source # | |
Defined in Binaryen.Expression showsPrec :: Int -> Expression -> ShowS show :: Expression -> String showList :: [Expression] -> ShowS | |
Storable Expression Source # | |
Defined in Binaryen.Expression sizeOf :: Expression -> Int alignment :: Expression -> Int peekElemOff :: Ptr Expression -> Int -> IO Expression pokeElemOff :: Ptr Expression -> Int -> Expression -> IO () peekByteOff :: Ptr b -> Int -> IO Expression pokeByteOff :: Ptr b -> Int -> Expression -> IO () peek :: Ptr Expression -> IO Expression poke :: Ptr Expression -> Expression -> IO () |
constInt32 :: Module -> Int32 -> IO Expression Source #
constInt64 :: Module -> Int64 -> IO Expression Source #
constFloat32 :: Module -> Float -> IO Expression Source #
constFloat64 :: Module -> Double -> IO Expression Source #
constVec128 :: Module -> Ptr Word8 -> IO Expression Source #
constFloat32Bits :: Module -> Int32 -> IO Expression Source #
constFloat64Bits :: Module -> Int64 -> IO Expression Source #
block :: Module -> Ptr CChar -> Ptr Expression -> Index -> Type -> IO Expression Source #
if_ :: Module -> Expression -> Expression -> Expression -> IO Expression Source #
loop :: Module -> Ptr CChar -> Expression -> IO Expression Source #
break :: Module -> Ptr CChar -> Expression -> Expression -> IO Expression Source #
switch :: Module -> Ptr (Ptr CChar) -> Index -> Ptr CChar -> Expression -> Expression -> IO Expression Source #
call :: Module -> Ptr CChar -> Ptr Expression -> Index -> Type -> IO Expression Source #
callIndirect :: Module -> Expression -> Ptr Expression -> Index -> Type -> Type -> IO Expression Source #
returnCall :: Module -> Ptr CChar -> Ptr Expression -> Index -> Type -> IO Expression Source #
returnCallIndirect :: Module -> Expression -> Ptr Expression -> Index -> Type -> Type -> IO Expression Source #
localSet :: Module -> Index -> Expression -> IO Expression Source #
localTee :: Module -> Index -> Expression -> Type -> IO Expression Source #
globalSet :: Module -> Ptr CChar -> Expression -> IO Expression Source #
load :: Module -> Word32 -> Int8 -> Word32 -> Word32 -> Type -> Expression -> IO Expression Source #
store :: Module -> Word32 -> Word32 -> Word32 -> Expression -> Expression -> Type -> IO Expression Source #
unary :: Module -> Op -> Expression -> IO Expression Source #
binary :: Module -> Op -> Expression -> Expression -> IO Expression Source #
select :: Module -> Expression -> Expression -> Expression -> Type -> IO Expression Source #
drop :: Module -> Expression -> IO Expression Source #
return :: Module -> Expression -> IO Expression Source #
memorySize :: Module -> IO Expression Source #
memoryGrow :: Module -> Expression -> IO Expression Source #
nop :: Module -> IO Expression Source #
unreachable :: Module -> IO Expression Source #
atomicLoad :: Module -> Word32 -> Word32 -> Type -> Expression -> IO Expression Source #
atomicStore :: Module -> Word32 -> Word32 -> Expression -> Expression -> Type -> IO Expression Source #
atomicRMW :: Module -> Op -> Index -> Index -> Expression -> Expression -> Type -> IO Expression Source #
atomicCmpxchg :: Module -> Index -> Index -> Expression -> Expression -> Expression -> Type -> IO Expression Source #
atomicWait :: Module -> Expression -> Expression -> Expression -> Type -> IO Expression Source #
atomicNotify :: Module -> Expression -> Expression -> IO Expression Source #
atomicFence :: Module -> IO Expression Source #
simdExtract :: Module -> Op -> Expression -> Word8 -> IO Expression Source #
simdReplace :: Module -> Op -> Expression -> Word8 -> Expression -> IO Expression Source #
simdShuffle :: Module -> Expression -> Expression -> Ptr Word8 -> IO Expression Source #
simdTernary :: Module -> Op -> Expression -> Expression -> Expression -> IO Expression Source #
simdShift :: Module -> Op -> Expression -> Expression -> IO Expression Source #
simdLoad :: Module -> Op -> Word32 -> Word32 -> Expression -> IO Expression Source #
memoryInit :: Module -> Word32 -> Expression -> Expression -> Expression -> IO Expression Source #
dataDrop :: Module -> Word32 -> IO Expression Source #
memoryCopy :: Module -> Expression -> Expression -> Expression -> IO Expression Source #
memoryFill :: Module -> Expression -> Expression -> Expression -> IO Expression Source #
refIsNull :: Module -> Expression -> IO Expression Source #
try :: Module -> Expression -> Expression -> IO Expression Source #
throw :: Module -> Ptr CChar -> Ptr Expression -> Index -> IO Expression Source #
rethrow :: Module -> Expression -> IO Expression Source #
brOnExn :: Module -> Ptr CChar -> Ptr CChar -> Expression -> IO Expression Source #
getId :: Expression -> IO ExpressionId Source #
getType :: Expression -> IO Type Source #
print :: Expression -> IO () Source #
blockGetName :: Expression -> IO (Ptr CChar) Source #
blockGetNumChildren :: Expression -> IO Index Source #
blockGetChild :: Expression -> Index -> IO Expression Source #
ifGetCondition :: Expression -> IO Expression Source #
ifGetIfTrue :: Expression -> IO Expression Source #
ifGetIfFalse :: Expression -> IO Expression Source #
loopGetName :: Expression -> IO (Ptr CChar) Source #
loopGetBody :: Expression -> IO Expression Source #
breakGetName :: Expression -> IO (Ptr CChar) Source #
breakGetCondition :: Expression -> IO Expression Source #
breakGetValue :: Expression -> IO Expression Source #
switchGetNumNames :: Expression -> IO Index Source #
switchGetName :: Expression -> Index -> IO (Ptr CChar) Source #
switchGetDefaultName :: Expression -> IO (Ptr CChar) Source #
switchGetCondition :: Expression -> IO Expression Source #
switchGetValue :: Expression -> IO Expression Source #
callGetTarget :: Expression -> IO (Ptr CChar) Source #
callGetNumOperands :: Expression -> IO Index Source #
callGetOperand :: Expression -> Index -> IO Expression Source #
callIndirectGetTarget :: Expression -> IO Expression Source #
callIndirectGetNumOperands :: Expression -> IO Index Source #
callIndirectGetOperand :: Expression -> Index -> IO Expression Source #
localGetGetIndex :: Expression -> IO Index Source #
localSetIsTee :: Expression -> IO CInt Source #
localSetGetIndex :: Expression -> IO Index Source #
localSetGetValue :: Expression -> IO Expression Source #
globalGetGetName :: Expression -> IO (Ptr CChar) Source #
globalSetGetName :: Expression -> IO (Ptr CChar) Source #
globalSetGetValue :: Expression -> IO Expression Source #
loadIsAtomic :: Expression -> IO CInt Source #
loadIsSigned :: Expression -> IO CInt Source #
loadGetOffset :: Expression -> IO Word32 Source #
loadGetBytes :: Expression -> IO Word32 Source #
loadGetAlign :: Expression -> IO Word32 Source #
loadGetPtr :: Expression -> IO Expression Source #
storeIsAtomic :: Expression -> IO CInt Source #
storeGetBytes :: Expression -> IO Word32 Source #
storeGetOffset :: Expression -> IO Word32 Source #
storeGetAlign :: Expression -> IO Word32 Source #
storeGetPtr :: Expression -> IO Expression Source #
storeGetValue :: Expression -> IO Expression Source #
constGetValueI32 :: Expression -> IO Int32 Source #
constGetValueI64 :: Expression -> IO Int64 Source #
constGetValueI64Low :: Expression -> IO Int32 Source #
constGetValueI64High :: Expression -> IO Int32 Source #
constGetValueF32 :: Expression -> IO CFloat Source #
constGetValueF64 :: Expression -> IO CDouble Source #
constGetValueV128 :: Expression -> Ptr Word8 -> IO () Source #
unaryGetOp :: Expression -> IO Op Source #
unaryGetValue :: Expression -> IO Expression Source #
binaryGetOp :: Expression -> IO Op Source #
binaryGetLeft :: Expression -> IO Expression Source #
binaryGetRight :: Expression -> IO Expression Source #
selectGetIfTrue :: Expression -> IO Expression Source #
selectGetIfFalse :: Expression -> IO Expression Source #
selectGetCondition :: Expression -> IO Expression Source #
dropGetValue :: Expression -> IO Expression Source #
returnGetValue :: Expression -> IO Expression Source #
atomicRMWGetOp :: Expression -> IO Op Source #
atomicRMWGetBytes :: Expression -> IO Word32 Source #
atomicRMWGetOffset :: Expression -> IO Word32 Source #
atomicRMWGetPtr :: Expression -> IO Expression Source #
atomicRMWGetValue :: Expression -> IO Expression Source #
atomicCmpxchgGetBytes :: Expression -> IO Word32 Source #
atomicCmpxchgGetOffset :: Expression -> IO Word32 Source #
atomicCmpxchgGetPtr :: Expression -> IO Expression Source #
atomicCmpxchgGetExpected :: Expression -> IO Expression Source #
atomicWaitGetPtr :: Expression -> IO Expression Source #
atomicWaitGetExpected :: Expression -> IO Expression Source #
atomicWaitGetTimeout :: Expression -> IO Expression Source #
atomicWaitGetExpectedType :: Expression -> IO Type Source #
atomicNotifyGetPtr :: Expression -> IO Expression Source #
atomicFenceGetOrder :: Expression -> IO Word8 Source #
simdExtractGetOp :: Expression -> IO Op Source #
simdExtractGetVec :: Expression -> IO Expression Source #
simdExtractGetIndex :: Expression -> IO Word8 Source #
simdReplaceGetOp :: Expression -> IO Op Source #
simdReplaceGetVec :: Expression -> IO Expression Source #
simdReplaceGetIndex :: Expression -> IO Word8 Source #
simdReplaceGetValue :: Expression -> IO Expression Source #
simdShuffleGetLeft :: Expression -> IO Expression Source #
simdShuffleGetRight :: Expression -> IO Expression Source #
simdShuffleGetMask :: Expression -> Ptr Word8 -> IO () Source #
simdTernaryGetOp :: Expression -> IO Op Source #
simdTernaryGetA :: Expression -> IO Expression Source #
simdTernaryGetB :: Expression -> IO Expression Source #
simdTernaryGetC :: Expression -> IO Expression Source #
simdShiftGetOp :: Expression -> IO Op Source #
simdShiftGetVec :: Expression -> IO Expression Source #
simdShiftGetShift :: Expression -> IO Expression Source #
simdLoadGetOp :: Expression -> IO Op Source #
simdLoadGetOffset :: Expression -> IO Word32 Source #
simdLoadGetAlign :: Expression -> IO Word32 Source #
simdLoadGetPtr :: Expression -> IO Expression Source #
memoryInitGetSegment :: Expression -> IO Word32 Source #
memoryInitGetDest :: Expression -> IO Expression Source #
memoryInitGetOffset :: Expression -> IO Expression Source #
memoryInitGetSize :: Expression -> IO Expression Source #
dataDropGetSegment :: Expression -> IO Word32 Source #
memoryCopyGetDest :: Expression -> IO Expression Source #
memoryCopyGetSource :: Expression -> IO Expression Source #
memoryCopyGetSize :: Expression -> IO Expression Source #
memoryFillGetDest :: Expression -> IO Expression Source #
memoryFillGetValue :: Expression -> IO Expression Source #
memoryFillGetSize :: Expression -> IO Expression Source #
refIsNullGetValue :: Expression -> IO Expression Source #
refFuncGetFunc :: Expression -> IO (Ptr CChar) Source #
tryGetBody :: Expression -> IO Expression Source #
tryGetCatchBody :: Expression -> IO Expression Source #
throwGetEvent :: Expression -> IO (Ptr CChar) Source #
throwGetOperand :: Expression -> Index -> IO Expression Source #
throwGetNumOperands :: Expression -> IO Index Source #
rethrowGetExnref :: Expression -> IO Expression Source #
brOnExnGetEvent :: Expression -> IO (Ptr CChar) Source #
brOnExnGetName :: Expression -> IO (Ptr CChar) Source #
brOnExnGetExnref :: Expression -> IO Expression Source #