public class DefaultShimpleFactory extends java.lang.Object implements ShimpleFactory
Modifier and Type | Field and Description |
---|---|
protected BlockGraph |
bg |
protected Body |
body |
protected CallGraph |
cg |
protected DominatorsFinder<Block> |
dFinder |
protected DominanceFrontier<Block> |
dFrontier |
protected DominatorTree<Block> |
dTree |
protected GlobalValueNumberer |
gvn |
protected PointsToAnalysis |
pta |
protected ReversibleGraph<Block> |
rbg |
protected DominatorsFinder<Block> |
rdFinder |
protected DominanceFrontier<Block> |
rdFrontier |
protected DominatorTree<Block> |
rdTree |
protected SideEffectAnalysis |
sea |
protected UnitGraph |
ug |
Constructor and Description |
---|
DefaultShimpleFactory(Body body) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Constructors should memoize their return value.
|
BlockGraph |
getBlockGraph() |
Body |
getBody() |
DominanceFrontier<Block> |
getDominanceFrontier() |
DominatorsFinder<Block> |
getDominatorsFinder() |
DominatorTree<Block> |
getDominatorTree() |
GlobalValueNumberer |
getGlobalValueNumberer() |
ReversibleGraph<Block> |
getReverseBlockGraph() |
DominanceFrontier<Block> |
getReverseDominanceFrontier() |
DominatorsFinder<Block> |
getReverseDominatorsFinder() |
DominatorTree<Block> |
getReverseDominatorTree() |
UnitGraph |
getUnitGraph() |
protected final Body body
protected BlockGraph bg
protected UnitGraph ug
protected DominatorsFinder<Block> dFinder
protected DominatorTree<Block> dTree
protected DominanceFrontier<Block> dFrontier
protected PointsToAnalysis pta
protected CallGraph cg
protected SideEffectAnalysis sea
protected GlobalValueNumberer gvn
protected ReversibleGraph<Block> rbg
protected DominatorTree<Block> rdTree
protected DominanceFrontier<Block> rdFrontier
protected DominatorsFinder<Block> rdFinder
public DefaultShimpleFactory(Body body)
public void clearCache()
ShimpleFactory
clearCache
in interface ShimpleFactory
public Body getBody()
public ReversibleGraph<Block> getReverseBlockGraph()
getReverseBlockGraph
in interface ShimpleFactory
public DominatorsFinder<Block> getReverseDominatorsFinder()
getReverseDominatorsFinder
in interface ShimpleFactory
public DominatorTree<Block> getReverseDominatorTree()
getReverseDominatorTree
in interface ShimpleFactory
public DominanceFrontier<Block> getReverseDominanceFrontier()
getReverseDominanceFrontier
in interface ShimpleFactory
public BlockGraph getBlockGraph()
getBlockGraph
in interface ShimpleFactory
public UnitGraph getUnitGraph()
getUnitGraph
in interface ShimpleFactory
public DominatorsFinder<Block> getDominatorsFinder()
getDominatorsFinder
in interface ShimpleFactory
public DominatorTree<Block> getDominatorTree()
getDominatorTree
in interface ShimpleFactory
public DominanceFrontier<Block> getDominanceFrontier()
getDominanceFrontier
in interface ShimpleFactory
public GlobalValueNumberer getGlobalValueNumberer()
getGlobalValueNumberer
in interface ShimpleFactory