|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcoins.flow.DefUseListImpl
DefUseListImpl class Def-use list representaing list of definitions of a symbol where each definition has list of its use points. DefUseList will be accessed from Var, Reg, ExpId, etc.
| Field Summary | |
protected java.util.List |
fDefUseChainList
|
protected java.util.HashMap |
fDefUseMap
|
protected java.util.HashMap |
fDefUseMapOfSym
|
protected FlowAnalSym |
fDefUseSym
|
FlowRoot |
flowRoot
|
| Constructor Summary | |
DefUseListImpl(FlowRoot pFlowRoot)
|
|
| Method Summary | |
DefUseChain |
addDefUseChain(IR pDefNode)
addDefUseChain Add DefUseChain instance which will be created by pDefNode that defines some symbol. |
DefUseChain |
getDefUseChain(IR pDefNode)
getDefUseChain Get DefUseChain having pDefNode as its definie node. |
java.util.List |
getDefUseChainList()
getDefUseChain Get the list of DefUseChains in this DefUseList. |
java.util.List |
getDefUseChainListOfSym(FlowAnalSym pSym)
Get the list of DefUseChains having pSym as its define node symbol. |
(package private) DefUseChain |
getOrAddDefUseChain(IR pDefNode)
|
void |
print()
print Print this DefUseList. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public final FlowRoot flowRoot
protected java.util.List fDefUseChainList
protected java.util.HashMap fDefUseMap
protected final FlowAnalSym fDefUseSym
protected java.util.HashMap fDefUseMapOfSym
| Constructor Detail |
public DefUseListImpl(FlowRoot pFlowRoot)
| Method Detail |
public DefUseChain addDefUseChain(IR pDefNode)
DefUseList
addDefUseChain in interface DefUseListpublic DefUseChain getDefUseChain(IR pDefNode)
getDefUseChain in interface DefUseListpDefNode - definition node of a DefUseChain.
public java.util.List getDefUseChainList()
DefUseList
getDefUseChainList in interface DefUseListpublic java.util.List getDefUseChainListOfSym(FlowAnalSym pSym)
DefUseList
getDefUseChainListOfSym in interface DefUseListpSym - definition node symbol of DefUseChain.
DefUseChain getOrAddDefUseChain(IR pDefNode)
public void print()
DefUseList
print in interface DefUseList
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||