public class InputTable extends StaticTable<java.lang.Integer>
| Modifier and Type | Field and Description |
|---|---|
com.ibm.wala.ssa.IR |
ir |
private boolean |
isMethodRegion |
| Modifier | Constructor and Description |
|---|---|
private |
InputTable(boolean isMethodRegion,
com.ibm.wala.ssa.IR ir) |
|
InputTable(com.ibm.wala.ssa.IR ir,
boolean isMethodRegion,
SlotParamTable slotParamTable,
Stmt stmt) |
| Modifier and Type | Method and Description |
|---|---|
private void |
computeMethodInputVars(SlotParamTable slotParamTable)
This populates the InputTable for a methodRegion using the SlotParamTable since the InputTable for methodRegions is contains the same elements of the SlotParamTable.
|
private void |
computeRegionInput(SlotParamTable slotParamTable,
Stmt stmt)
Computes inputs by visiting statement of the region and figuring out the first use of every stack slot that has no def as its first use.
|
void |
print()
Basic print of the table.
|
getKeys, mergeTable, updateKeyadd, lookup, mergeTable, removepublic InputTable(com.ibm.wala.ssa.IR ir,
boolean isMethodRegion,
SlotParamTable slotParamTable,
Stmt stmt)
private InputTable(boolean isMethodRegion,
com.ibm.wala.ssa.IR ir)
private void computeMethodInputVars(SlotParamTable slotParamTable)
slotParamTable - Parameter table for a methodRegion.private void computeRegionInput(SlotParamTable slotParamTable, Stmt stmt)
slotParamTable - Table of vars to stack slots.stmt - Statement of the region.