coins.aflow
Class AssignHashBasedFlowExpId
java.lang.Object
coins.aflow.AssignHashBasedFlowExpId
- All Implemented Interfaces:
- AssignFlowExpId
- Direct Known Subclasses:
- AssignHashBasedFlowExpIdHir
- public abstract class AssignHashBasedFlowExpId
- extends java.lang.Object
- implements AssignFlowExpId
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXP_ID_HASH_SIZE
public static final int EXP_ID_HASH_SIZE
- See Also:
- Constant Field Values
fFlowExpIdHashtable
final HashBasedFlowExpId[] fFlowExpIdHashtable
fFlowExpIdTable
FAList fFlowExpIdTable
fSubpFlow
SubpFlow fSubpFlow
flowRoot
public final FlowRoot flowRoot
ioRoot
public final IoRoot ioRoot
fResults
protected final FlowResults fResults
AssignHashBasedFlowExpId
public AssignHashBasedFlowExpId(SubpFlow pSubpFlow)
assign
public void assign()
- Assigns
FlowExpIds to nodes over SubpFlow.
- Specified by:
assign in interface AssignFlowExpId
assignForBBlock
void assignForBBlock(BBlock pBBlock)
assignForSetRefRepr
void assignForSetRefRepr(SetRefRepr pSetRefRepr)
assignToNode
public FlowExpId assignToNode(IR pIR)
- Description copied from interface:
AssignFlowExpId
- Assigns a
FlowExpId to the node pIR.
- Specified by:
assignToNode in interface AssignFlowExpId
- Returns:
- the assigned
FlowExpId.
newHashBasedFlowExpId
abstract HashBasedFlowExpId newHashBasedFlowExpId(IR pIR,
int pIndex,
SubpFlow pSubpFlow)
shouldAssignFlowExpId
public static boolean shouldAssignFlowExpId(IR pIR)
- Returns true if the given node should be assigned a FlowExpId.