|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.mdf.MacroFlowGraph.ControlBranch
This class individuate each conditional branches.
| Constructor Summary | |
(package private) |
MacroFlowGraph.ControlBranch(MacroFlowGraph mfg)
Constructor: Collect the macro tasks which have the conditional branches and inidividuate them. |
| Method Summary | |
(package private) MacroTask[] |
branchPair(int num)
Get a pair of macro task, that consist of source and target of the conditional branch. |
(package private) int |
branchUniqueNum(MacroTask src,
MacroTask dst)
Get the unique number of the conditinal branches. |
(package private) int |
size()
Get the number of macro tasks which have the conditional branches. |
(package private) int[] |
whichCond(MacroTask src,
MacroTask dst)
Get the decision which way to branch. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
MacroFlowGraph.ControlBranch(MacroFlowGraph mfg)
| Method Detail |
int size()
MacroTask[] branchPair(int num)
num - The unique number for the conditional branches
int branchUniqueNum(MacroTask src,
MacroTask dst)
src - The source macro task of the conditional branchdst - The target macro task of the conditional branch
int[] whichCond(MacroTask src,
MacroTask dst)
src - The macro task which `dst' is control dependeddst - The macro task which control depend on `src'
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||