ghc-7.10.0.20150316: The GHC API

Safe HaskellNone
LanguageHaskell2010

StgCmmLayout

Synopsis

Documentation

emitCall :: (Convention, Convention) -> CmmExpr -> [CmmExpr] -> FCode ReturnKind Source

emitCall conv fun args makes a call to the entry-code of fun, using the call/return convention conv, passing args, and returning the results to the current sequel.

emitReturn :: [CmmExpr] -> FCode ReturnKind Source

Return multiple values to the sequel

If the sequel is Return

    return (x,y)

If the sequel is AssignTo [p,q]

   p=x; q=y;

mkVirtConstrOffsets :: DynFlags -> [(PrimRep, a)] -> (WordOff, WordOff, [(NonVoid a, ByteOff)]) Source

Just like mkVirtHeapOffsets, but for constructors

data ArgRep Source

Constructors

P 
N 
L 
V 
F 
D 
V16 
V32 
V64 

Instances