GHC.CmmToAsm.X86
Contents
Description
Native code generator for x86 and x86-64 architectures
ncgX86_64 :: NCGConfig -> NcgImpl (Alignment, RawCmmStatics) Instr JumpDest Source #
ncgX86 :: NCGConfig -> NcgImpl (Alignment, RawCmmStatics) Instr JumpDest Source #
Instruction instance for x86 instruction set.
Methods
regUsageOfInstr :: Platform -> Instr -> RegUsage Source #
patchRegsOfInstr :: Platform -> Instr -> (Reg -> Reg) -> Instr Source #
isJumpishInstr :: Instr -> Bool Source #
jumpDestsOfInstr :: Instr -> [BlockId] Source #
canFallthroughTo :: Instr -> BlockId -> Bool Source #
patchJumpInstr :: Instr -> (BlockId -> BlockId) -> Instr Source #
mkSpillInstr :: NCGConfig -> RegWithFormat -> Int -> Int -> [Instr] Source #
mkLoadInstr :: NCGConfig -> RegWithFormat -> Int -> Int -> [Instr] Source #
takeDeltaInstr :: Instr -> Maybe Int Source #
isMetaInstr :: Instr -> Bool Source #
mkRegRegMoveInstr :: NCGConfig -> Format -> Reg -> Reg -> Instr Source #
takeRegRegMoveInstr :: Platform -> Instr -> Maybe (Reg, Reg) Source #
mkJumpInstr :: BlockId -> [Instr] Source #
mkStackAllocInstr :: Platform -> Int -> [Instr] Source #
mkStackDeallocInstr :: Platform -> Int -> [Instr] Source #
pprInstr :: Platform -> Instr -> SDoc Source #
mkComment :: FastString -> [Instr] Source #