ghc-lib-0.1.0: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

SPARC.CodeGen.Gen32

Description

Evaluation of 32 bit values.

Synopsis

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.