Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ParamLocation
- = RegisterParam GlobalReg
- | StackParam ByteOff
- assignArgumentsPos :: Profile -> ByteOff -> Convention -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)])
- assignStack :: Platform -> ByteOff -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)])
- realArgRegsCover :: Platform -> [GlobalReg]
- tupleRegsCover :: Platform -> [GlobalReg]
Documentation
data ParamLocation Source #
RegisterParam GlobalReg | |
StackParam ByteOff |
Instances
Outputable ParamLocation Source # | |
Defined in GHC.Cmm.CallConv ppr :: ParamLocation -> SDoc |
assignArgumentsPos :: Profile -> ByteOff -> Convention -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)]) Source #
Given a list of arguments, and a function that tells their types, return a list showing where each argument is passed
assignStack :: Platform -> ByteOff -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)]) Source #
realArgRegsCover :: Platform -> [GlobalReg] Source #
tupleRegsCover :: Platform -> [GlobalReg] Source #