ghc-8.0.2: The GHC API

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.