ghc-7.4.2: The GHC API

Safe Haskell | None

StgCmmLayout

# Documentation

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

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

emitReturn :: [CmmExpr] -> FCode ()

emitClosureProcAndInfoTable :: Bool -> Id -> LambdaFormInfo -> CmmInfoTable -> [NonVoid Id] -> ((Int, LocalReg, [LocalReg]) -> FCode ()) -> FCode ()

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

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

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

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

mkVirtConstrOffsets :: [(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