private class ReadEliminationClosure.ReadEliminationMergeProcessor extends EffectsClosure.MergeProcessor
Modifier and Type | Field and Description |
---|---|
private HashMap<Object,ValuePhiNode> |
materializedPhis |
afterMergeEffects, mergeEffects, newState
Constructor and Description |
---|
ReadEliminationMergeProcessor(Block mergeBlock) |
Modifier and Type | Method and Description |
---|---|
protected <T> PhiNode |
getCachedPhi(T virtual,
Stamp stamp) |
protected void |
merge(List<ReadEliminationBlockState> states) |
private void |
mergeReadCache(List<ReadEliminationBlockState> states) |
private void |
mergeReadCachePhi(PhiNode phi,
ReadEliminationBlockState.CacheEntry<?> identifier,
List<ReadEliminationBlockState> states) |
commitEnds, createValuePhi, getPhis, getPhiValueAt, getPredecessor, getStateIndex, graph, setPhiInput, toString
private final HashMap<Object,ValuePhiNode> materializedPhis
public ReadEliminationMergeProcessor(Block mergeBlock)
protected <T> PhiNode getCachedPhi(T virtual, Stamp stamp)
protected void merge(List<ReadEliminationBlockState> states)
merge
in class EffectsClosure.MergeProcessor
states
- the states that should be merged.private void mergeReadCache(List<ReadEliminationBlockState> states)
private void mergeReadCachePhi(PhiNode phi, ReadEliminationBlockState.CacheEntry<?> identifier, List<ReadEliminationBlockState> states)