coins.flow
Class UseDefListImpl
java.lang.Object
coins.flow.UseDefListImpl
- All Implemented Interfaces:
- UseDefList
- public class UseDefListImpl
- extends java.lang.Object
- implements UseDefList
UseDefListImpl class
Use-def list representaing list of use nodes of a symbol
where each use node has a list of its def points.
UseDefList will be accessed from Var, Reg, ExpId, etc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
flowRoot
public final FlowRoot flowRoot
fUseDefChainMap
protected java.util.Map fUseDefChainMap
fUseDefChainList
protected java.util.List fUseDefChainList
UseDefListImpl
public UseDefListImpl(FlowRoot pFlowRoot)
addUseDefChain
public UseDefChain addUseDefChain(IR pUseNode)
- Description copied from interface:
UseDefList
- addUseDefChain
Add UseDefChain which will be created by pUseNode that
uses some symbol.
- Specified by:
addUseDefChain in interface UseDefList
getUseDefChain
public UseDefChain getUseDefChain(IR pUseNode)
- getUseDefChain
Get UseDefChain having pUseDefNode as its use node.
- Specified by:
getUseDefChain in interface UseDefList
getOrAddUseDefChain
public UseDefChain getOrAddUseDefChain(IR pUseNode)
getUseDefChainList
public java.util.List getUseDefChainList()
print
public void print()
- Description copied from interface:
UseDefList
- print
Print this DefUseList.
- Specified by:
print in interface UseDefList
toString
public java.lang.String toString()
- Specified by:
toString in interface UseDefList
toStringByName
public java.lang.String toStringByName()
- Specified by:
toStringByName in interface UseDefList