SPARC.CodeGen.Gen32

ghc-8.10.0.20191123: The GHC API

Safe Haskell | None
Language | Haskell2010

SPARC.CodeGen.Gen32

Description

Evaluation of 32 bit values.

Synopsis

- getSomeReg :: CmmExpr -> NatM (Reg, InstrBlock)
- getRegister :: CmmExpr -> NatM Register

# Documentation

getSomeReg :: CmmExpr -> NatM (Reg, InstrBlock) Source #

The dual to getAnyReg: compute an expression into a register, but we don't mind which one it is.

getRegister :: CmmExpr -> NatM Register Source #

Make code to evaluate a 32 bit expression.