ghc-7.0.4: The GHC API

CgCallConv

Synopsis

Documentation

assignCallRegs :: [(CgRep, a)] -> ([(a, GlobalReg)], [(CgRep, a)])Source

assignReturnRegs :: [(CgRep, a)] -> ([(a, GlobalReg)], [(CgRep, a)])Source

assignPrimOpCallRegs :: [(CgRep, a)] -> ([(a, GlobalReg)], [(CgRep, a)])Source

slowArgs :: [(CgRep, CmmExpr)] -> [(CgRep, CmmExpr)]Source

slowArgs takes a list of function arguments and prepares them for pushing on the stack for extra arguments to a function which requires fewer arguments than we currently have.