ghc-7.0.3: The GHC API

StgCmmLayout

# Documentation

mkArgDescr :: Name -> [Id] -> FCode ArgDescr

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

emitReturn :: [CmmExpr] -> FCode ()

emitClosureProcAndInfoTable :: Bool -> Id -> ClosureInfo -> [NonVoid Id] -> ((LocalReg, [LocalReg]) -> FCode ()) -> FCode ()

emitClosureAndInfoTable :: ClosureInfo -> Convention -> [LocalReg] -> FCode () -> FCode ()

slowCall :: CmmExpr -> [StgArg] -> FCode ()

directCall :: CLabel -> Arity -> [StgArg] -> FCode ()

mkVirtHeapOffsets :: Bool -> [(PrimRep, a)] -> (WordOff, WordOff, [(NonVoid a, VirtualHpOffset)])

getHpRelOffset :: VirtualHpOffset -> FCode CmmExpr

hpRel :: VirtualHpOffset -> VirtualHpOffset -> WordOff

stdInfoTableSizeB :: ByteOff

entryCode :: CmmExpr -> CmmExpr

closureInfoPtr :: CmmExpr -> CmmExpr

getConstrTag :: CmmExpr -> CmmExpr

cmmGetClosureType :: CmmExpr -> CmmExpr

infoTable :: CmmExpr -> CmmExpr

infoTableClosureType :: CmmExpr -> CmmExpr

infoTablePtrs :: CmmExpr -> CmmExpr

infoTableNonPtrs :: CmmExpr -> CmmExpr

funInfoTable :: CmmExpr -> CmmExpr

makeRelativeRefTo :: CLabel -> CmmLit -> CmmLit