GHC.CmmToAsm.PPC
Contents
Description
Native code generator for PPC architectures
ncgPPC :: NCGConfig -> NcgImpl RawCmmStatics Instr JumpDest Source #
Instruction instance for powerpc
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 #