ghc-6.12.1: The GHC API
Source code
Contents
Index
StgSyn
Documentation
data
GenStgArg
occ
Source
Constructors
StgVarArg
occ
StgLitArg
Literal
StgTypeArg
Type
type
GenStgLiveVars
occ =
UniqSet
occ
Source
data
GenStgBinding
bndr occ
Source
Constructors
StgNonRec
bndr (
GenStgRhs
bndr occ)
StgRec
[(bndr,
GenStgRhs
bndr occ)]
data
GenStgExpr
bndr occ
Source
Constructors
StgApp
occ [
GenStgArg
occ]
StgLit
Literal
StgConApp
DataCon
[
GenStgArg
occ]
StgOpApp
StgOp
[
GenStgArg
occ]
Type
StgLam
Type
[bndr]
StgExpr
StgCase
(
GenStgExpr
bndr occ) (
GenStgLiveVars
occ) (
GenStgLiveVars
occ) bndr
SRT
AltType
[
GenStgAlt
bndr occ]
StgLet
(
GenStgBinding
bndr occ) (
GenStgExpr
bndr occ)
StgLetNoEscape
(
GenStgLiveVars
occ) (
GenStgLiveVars
occ) (
GenStgBinding
bndr occ) (
GenStgExpr
bndr occ)
StgSCC
CostCentre
(
GenStgExpr
bndr occ)
StgTick
Module
Int
(
GenStgExpr
bndr occ)
data
GenStgRhs
bndr occ
Source
Constructors
StgRhsClosure
CostCentreStack
StgBinderInfo
[occ] !
UpdateFlag
SRT
[bndr] (
GenStgExpr
bndr occ)
StgRhsCon
CostCentreStack
DataCon
[
GenStgArg
occ]
type
GenStgAlt
bndr occ = (
AltCon
, [bndr], [
Bool
],
GenStgExpr
bndr occ)
Source
data
AltType
Source
Constructors
PolyAlt
UbxTupAlt
TyCon
AlgAlt
TyCon
PrimAlt
TyCon
data
UpdateFlag
Source
Constructors
ReEntrant
Updatable
SingleEntry
isUpdatable
::
UpdateFlag
->
Bool
Source
data
StgBinderInfo
Source
noBinderInfo
::
StgBinderInfo
Source
stgSatOcc
::
StgBinderInfo
Source
stgUnsatOcc
::
StgBinderInfo
Source
satCallsOnly
::
StgBinderInfo
->
Bool
Source
combineStgBinderInfo
::
StgBinderInfo
->
StgBinderInfo
->
StgBinderInfo
Source
type
StgArg
=
GenStgArg
Id
Source
type
StgLiveVars
=
GenStgLiveVars
Id
Source
type
StgBinding
=
GenStgBinding
Id
Id
Source
type
StgExpr
=
GenStgExpr
Id
Id
Source
type
StgRhs
=
GenStgRhs
Id
Id
Source
type
StgAlt
=
GenStgAlt
Id
Id
Source
data
StgOp
Source
Constructors
StgPrimOp
PrimOp
StgPrimCallOp
PrimCall
StgFCallOp
ForeignCall
Unique
data
SRT
Source
Constructors
NoSRT
SRTEntries
IdSet
SRT
!
Int
!
Int
!
Bitmap
stgBindHasCafRefs
::
GenStgBinding
bndr
Id
->
Bool
Source
stgArgHasCafRefs
::
GenStgArg
Id
->
Bool
Source
stgRhsArity
::
StgRhs
->
Int
Source
isDllConApp
::
PackageId
->
DataCon
-> [
StgArg
] ->
Bool
Source
isStgTypeArg
::
StgArg
->
Bool
Source
stgArgType
::
StgArg
->
Type
Source
pprStgBinding
::
StgBinding
->
SDoc
Source
pprStgBindings
:: [
StgBinding
] ->
SDoc
Source
pprStgBindingsWithSRTs
:: [(
StgBinding
, [(
Id
, [
Id
])])] ->
SDoc
Source
Produced by
Haddock
version 2.6.0