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