Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data ParamLocation
- assignArgumentsPos :: Profile -> ByteOff -> Convention -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)])
- assignStack :: Platform -> ByteOff -> (a -> CmmType) -> [a] -> (ByteOff, [(a, ParamLocation)])
- realArgRegsCover :: Platform -> GlobalArgRegs -> [GlobalReg]
- allArgRegsCover :: Platform -> GlobalArgRegs -> [GlobalReg]
Documentation
data ParamLocation Source #
Instances
Outputable ParamLocation Source # | |
Defined in GHC.Cmm.CallConv ppr :: ParamLocation -> SDoc Source # |
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 #
:: Platform | |
-> GlobalArgRegs | which kinds of registers do we want to cover? |
-> [GlobalReg] |
A set of global registers that cover the machine registers used for argument passing.
See Note [realArgRegsCover].
:: Platform | |
-> GlobalArgRegs | which kinds of registers do we want to cover? |
-> [GlobalReg] |
Like "realArgRegsCover", but always includes the node.
See Note [realArgRegsCover].