ghc-9.10.0.20240426: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Cmm.CallConv

Synopsis

Documentation

data ParamLocation Source #

Instances

Instances details
Outputable ParamLocation Source # 
Instance details

Defined in GHC.Cmm.CallConv

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 #