protected class EffectsClosure.MergeProcessor extends Object
Modifier and Type | Field and Description |
---|---|
protected GraphEffectList |
afterMergeEffects |
private AbstractMergeNode |
merge |
private Block |
mergeBlock |
protected GraphEffectList |
mergeEffects |
protected BlockT |
newState |
private int[] |
stateIndexes |
Constructor and Description |
---|
MergeProcessor(Block mergeBlock) |
Modifier and Type | Method and Description |
---|---|
protected void |
commitEnds(List<BlockT> states) |
protected ValuePhiNode |
createValuePhi(Stamp stamp) |
protected NodeIterable<PhiNode> |
getPhis() |
protected ValueNode |
getPhiValueAt(PhiNode phi,
int index) |
protected Block |
getPredecessor(int index) |
protected int |
getStateIndex(int i) |
protected StructuredGraph |
graph() |
protected void |
merge(List<BlockT> states) |
private void |
setNewState(BlockT state) |
protected void |
setPhiInput(PhiNode phi,
int index,
ValueNode value) |
private void |
setStateIndexes(int[] stateIndexes) |
String |
toString() |
private final Block mergeBlock
private final AbstractMergeNode merge
protected final GraphEffectList mergeEffects
protected final GraphEffectList afterMergeEffects
private int[] stateIndexes
protected BlockT extends EffectsBlockState<BlockT> newState
public MergeProcessor(Block mergeBlock)
protected void merge(List<BlockT> states)
states
- the states that should be merged.private void setNewState(BlockT state)
private void setStateIndexes(int[] stateIndexes)
protected void commitEnds(List<BlockT> states)
protected final Block getPredecessor(int index)
protected final NodeIterable<PhiNode> getPhis()
protected final ValueNode getPhiValueAt(PhiNode phi, int index)
protected final ValuePhiNode createValuePhi(Stamp stamp)
protected final void setPhiInput(PhiNode phi, int index, ValueNode value)
protected final int getStateIndex(int i)
protected final StructuredGraph graph()