GHC.CmmToAsm.X86.Regs
Documentation
virtualRegSqueeze :: RegClass -> VirtualReg -> Int Source #
regSqueeze_class reg Calculate the maximum number of register colors that could be denied to a node of this class due to having this reg as a neighbour.
allIntArgRegs :: Platform -> [Reg] Source #
callClobberedRegs :: Platform -> [Reg] Source #
these are the regs which we cannot assume stay alive over a C call.
instrClobberedRegs :: Platform -> [Reg] Source #
allMachRegNos :: Platform -> [RegNo] Source #
The complete set of machine registers.
showReg :: Platform -> RegNo -> String Source #
Get the name of the register with this number. NOTE: fixme, we dont track which "way" the XMM registers are used
addrModeRegs :: AddrMode -> [Reg] Source #
allFPArgRegs :: Platform -> [Reg] Source #
on 64bit platforms we pass the first 8 float/double arguments in the xmm registers.
allocatableRegs :: Platform -> [RealReg] Source #