|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.Analysis.IPSSA.Utils.SimpleDominatorQuery
public class SimpleDominatorQuery
A pretty obvious implementation of DominatorQuery, nothing fancy here. Needs to be optimized for future use.
SimpleDominatorQuery.TestSimpleDominatorQuery
Nested Class Summary | |
---|---|
static class |
SimpleDominatorQuery.TestSimpleDominatorQuery
|
Constructor Summary | |
---|---|
SimpleDominatorQuery(jq_Method m)
|
Method Summary | |
---|---|
BasicBlock |
getBasicBlock(Quad quad)
|
void |
getDominanceFrontier(Quad q,
Set set)
Fills set with the dominance frontier of q |
Quad |
getImmediateDominator(Quad q)
The result is null for the top node of the CFG. |
void |
getIteratedDominanceFrontier(Quad q,
Set set)
Fills set with the iterated dominance frontier of q |
boolean |
isTop(Quad q)
Checks if the node is the top node of the CFG. |
void |
printDot(PrintStream out)
Prints the dominator tree on Quads in dot format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDominatorQuery(jq_Method m)
Method Detail |
---|
public Quad getImmediateDominator(Quad q)
DominatorQuery
getImmediateDominator
in interface DominatorQuery
public boolean isTop(Quad q)
DominatorQuery
isTop
in interface DominatorQuery
public void getDominanceFrontier(Quad q, Set set)
DominatorQuery
getDominanceFrontier
in interface DominatorQuery
public void getIteratedDominanceFrontier(Quad q, Set set)
DominatorQuery
getIteratedDominanceFrontier
in interface DominatorQuery
public void printDot(PrintStream out)
printDot
in interface DominatorQuery
public BasicBlock getBasicBlock(Quad quad)
getBasicBlock
in interface DominatorQuery
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |