ghc-7.0.3: The GHC API

StgSyn

Documentation

data GenStgArg occ Source

Instances

data GenStgBinding bndr occ Source

Constructors

StgNonRec bndr (GenStgRhs bndr occ) 
StgRec [(bndr, GenStgRhs bndr occ)] 

Instances

(Outputable bndr, Outputable bdee, Ord bdee) => Outputable (GenStgBinding bndr bdee) 

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) 

Instances

(Outputable bndr, Outputable bdee, Ord bdee) => Outputable (GenStgExpr bndr bdee) 

data GenStgRhs bndr occ Source

Instances

(Outputable bndr, Outputable bdee, Ord bdee) => Outputable (GenStgRhs bndr bdee) 

type GenStgAlt bndr occ = (AltCon, [bndr], [Bool], GenStgExpr bndr occ)Source

data SRT Source

Constructors

NoSRT 
SRTEntries IdSet 
SRT !Int !Int !Bitmap