ghc-7.0.3: The GHC API

StgCmmLayout

# Documentation

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

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

emitReturn :: [CmmExpr] -> FCode ()Source

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

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

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

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

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

getHpRelOffset :: VirtualHpOffset -> FCode CmmExpr Source

hpRel :: VirtualHpOffset -> VirtualHpOffset -> WordOff Source

stdInfoTableSizeB :: ByteOff Source

entryCode :: CmmExpr -> CmmExpr Source

closureInfoPtr :: CmmExpr -> CmmExpr Source

getConstrTag :: CmmExpr -> CmmExpr Source

cmmGetClosureType :: CmmExpr -> CmmExpr Source

infoTable :: CmmExpr -> CmmExpr Source

infoTableClosureType :: CmmExpr -> CmmExpr Source

infoTablePtrs :: CmmExpr -> CmmExpr Source

infoTableNonPtrs :: CmmExpr -> CmmExpr Source

funInfoTable :: CmmExpr -> CmmExpr Source

makeRelativeRefTo :: CLabel -> CmmLit -> CmmLit Source