ghc-7.6.3: The GHC API

Safe HaskellNone

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.