| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
GHC.ByteCode.Types
Description
Bytecode assembler types
Synopsis
- data CompiledByteCode = CompiledByteCode {}
- seqCompiledByteCode :: CompiledByteCode -> ()
- newtype FFIInfo = FFIInfo (RemotePtr C_ffi_cif)
- newtype RegBitmap = RegBitmap {}
- data TupleInfo = TupleInfo {}
- voidTupleInfo :: TupleInfo
- newtype ByteOff = ByteOff Int
- newtype WordOff = WordOff Int
- data UnlinkedBCO = UnlinkedBCO {
- unlinkedBCOName :: !Name
- unlinkedBCOArity :: !Int
- unlinkedBCOInstrs :: !(UArray Int Word16)
- unlinkedBCOBitmap :: !(UArray Int Word64)
- unlinkedBCOLits :: !(SizedSeq BCONPtr)
- unlinkedBCOPtrs :: !(SizedSeq BCOPtr)
- data BCOPtr
- data BCONPtr
- type ItblEnv = NameEnv (Name, ItblPtr)
- newtype ItblPtr = ItblPtr (RemotePtr StgInfoTable)
- data CgBreakInfo = CgBreakInfo {
- cgb_tyvars :: ![IfaceTvBndr]
- cgb_vars :: ![Maybe (IfaceIdBndr, Word16)]
- cgb_resty :: !IfaceType
- data ModBreaks = ModBreaks {}
- type BreakIndex = Int
- emptyModBreaks :: ModBreaks
- data CCostCentre
Documentation
data CompiledByteCode Source #
Constructors
| CompiledByteCode | |
Instances
| Outputable CompiledByteCode Source # | |
Defined in GHC.ByteCode.Types Methods ppr :: CompiledByteCode -> SDoc Source # | |
seqCompiledByteCode :: CompiledByteCode -> () Source #
Constructors
| RegBitmap | |
Fields | |
Instances
Constructors
| TupleInfo | |
Fields
| |
Instances
| Enum ByteOff Source # | |
| Num ByteOff Source # | |
| Integral ByteOff Source # | |
Defined in GHC.ByteCode.Types | |
| Real ByteOff Source # | |
Defined in GHC.ByteCode.Types Methods toRational :: ByteOff -> Rational # | |
| Show ByteOff Source # | |
| Outputable ByteOff Source # | |
| Eq ByteOff Source # | |
| Ord ByteOff Source # | |
Instances
| Enum WordOff Source # | |
| Num WordOff Source # | |
| Integral WordOff Source # | |
Defined in GHC.ByteCode.Types | |
| Real WordOff Source # | |
Defined in GHC.ByteCode.Types Methods toRational :: WordOff -> Rational # | |
| Show WordOff Source # | |
| Outputable WordOff Source # | |
| Eq WordOff Source # | |
| Ord WordOff Source # | |
data UnlinkedBCO Source #
Constructors
| UnlinkedBCO | |
Fields
| |
Instances
| NFData UnlinkedBCO Source # | |
Defined in GHC.ByteCode.Types Methods rnf :: UnlinkedBCO -> () # | |
| Outputable UnlinkedBCO Source # | |
Defined in GHC.ByteCode.Types Methods ppr :: UnlinkedBCO -> SDoc Source # | |
Constructors
| BCOPtrName !Name | |
| BCOPtrPrimOp !PrimOp | |
| BCOPtrBCO !UnlinkedBCO | |
| BCOPtrBreakArray |
Constructors
| BCONPtrWord !Word | |
| BCONPtrLbl !FastString | |
| BCONPtrItbl !Name | |
| BCONPtrStr !ByteString |
Constructors
| ItblPtr (RemotePtr StgInfoTable) |
data CgBreakInfo Source #
Information about a breakpoint that we know at code-generation time
In order to be used, this needs to be hydrated relative to the current HscEnv by
hydrateCgBreakInfo. Everything here can be fully forced and that's critical for
preventing space leaks (see #22530)
Constructors
| CgBreakInfo | |
Fields
| |
Instances
| Outputable CgBreakInfo Source # | |
Defined in GHC.ByteCode.Types Methods ppr :: CgBreakInfo -> SDoc Source # | |
All the information about the breakpoints for a module
Constructors
| ModBreaks | |
Fields
| |
type BreakIndex = Int Source #
Breakpoint index
emptyModBreaks :: ModBreaks Source #
Construct an empty ModBreaks
data CCostCentre Source #
C CostCentre type