Moduleghc-10.0.0.20260917GHC2024
GHC.StgToCmm.Layout
Synopsis
- value mkArgDescr
- value emitCall
- value emitReturn
- value adjustHpBackwards
- value emitClosureProcAndInfoTable
- value emitClosureAndInfoTable
- value slowCall
- value directCall
- data FieldOffOrPadding
- data ClosureHeader
- value mkVirtHeapOffsets
- value mkVirtHeapOffsetsWithPadding
- value mkVirtConstrOffsets
- value mkVirtConstrSizes
- value litsWithPaddingToLits
- value getHpRelOffset
- data ArgRep
- value toArgRep
- value toArgRepOrV
- value idArgRep
- value argRepSizeW
- value getArgAmode
- value getNonVoidArgAmodes
- Packageghc-10.0.0.20260917
- Exports23
- LanguageGHC2024
- LicenceBSD-3-Clause
- SourceLayout.hs
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.
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;Instances1Outputable
Outputable a => Outputable (FieldOffOrPadding a)Defined in ghc-10.0.0.20260917 · GHC.StgToCmm.Layout
Used to tell the various mkVirtHeapOffsets functions what kind
of header the object has. This will be accounted for in the
offsets of the fields returned.
Just like mkVirtHeapOffsets, but for constructors
Just like mkVirtConstrOffsets, but used when we don't have the actual arguments. Useful when e.g. generating info tables; we just need to know sizes of pointer and non-pointer fields.
Flatten a list of FieldOffOrPadding StgArg into a list of NonVoid StgArg
by decompose padding into zero-valued StgLitArgs units of length 8, 4, 2, or 1 bytes.