Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
CFG
Documentation
plot :: ASTRoot -> SemanticInfo -> Either [CompileError] String Source #
data CFGContext Source #
Constructors
CFGContext | |
Fields |
Instances
Generic CFGContext Source # | |
MonadReader CFGContext CFGBuild Source # | |
Defined in CFG.Build Methods ask :: CFGBuild CFGContext # local :: (CFGContext -> CFGContext) -> CFGBuild a -> CFGBuild a # reader :: (CFGContext -> a) -> CFGBuild a # | |
type Rep CFGContext Source # | |
Defined in CFG.Build type Rep CFGContext = D1 ('MetaData "CFGContext" "CFG.Build" "decaf-0.1.0.0-GF5ZfPyXbr16gB58O7mLnT" 'False) (C1 ('MetaCons "CFGContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "semantic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SemanticInfo))) |
data BasicBlock Source #
Constructors
BasicBlock | |
Instances
Generic BasicBlock Source # | |
Show BasicBlock Source # | |
Defined in CFG.Types Methods showsPrec :: Int -> BasicBlock -> ShowS # show :: BasicBlock -> String # showList :: [BasicBlock] -> ShowS # | |
type Rep BasicBlock Source # | |
Defined in CFG.Types type Rep BasicBlock = D1 ('MetaData "BasicBlock" "CFG.Types" "decaf-0.1.0.0-GF5ZfPyXbr16gB58O7mLnT" 'False) (C1 ('MetaCons "BasicBlock" 'PrefixI 'True) (S1 ('MetaSel ('Just "bbid") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BBID) :*: (S1 ('MetaSel ('Just "sid") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ScopeID) :*: S1 ('MetaSel ('Just "statements") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [SSA])))) |
Constructors
CFG | |
Instances
Generic CFG Source # | |
type Rep CFG Source # | |
Defined in CFG.Types type Rep CFG = D1 ('MetaData "CFG" "CFG.Types" "decaf-0.1.0.0-GF5ZfPyXbr16gB58O7mLnT" 'False) (C1 ('MetaCons "CFG" 'PrefixI 'True) ((S1 ('MetaSel ('Just "graph") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Graph BBID BasicBlock CFGEdge)) :*: S1 ('MetaSel ('Just "entry") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BBID)) :*: (S1 ('MetaSel ('Just "exit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BBID) :*: (S1 ('MetaSel ('Just "arguments") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Var]) :*: S1 ('MetaSel ('Just "sig") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MethodSig))))) |
data SingleFileCFG Source #
Constructors
SingleFileCFG | |
Instances
Generic SingleFileCFG Source # | |
type Rep SingleFileCFG Source # | |
Defined in CFG.Types type Rep SingleFileCFG = D1 ('MetaData "SingleFileCFG" "CFG.Types" "decaf-0.1.0.0-GF5ZfPyXbr16gB58O7mLnT" 'False) (C1 ('MetaCons "SingleFileCFG" 'PrefixI 'True) (S1 ('MetaSel ('Just "declares") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Name]) :*: (S1 ('MetaSel ('Just "global") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Var, Type)]) :*: S1 ('MetaSel ('Just "cfgs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map Name CFG))))) |