|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.ir.IREnumeration.AllDefsEnum
public static final class IREnumeration.AllDefsEnum
This class implements an Enumeration of Operands. It used
for holding the definitions of a particular instruction and being
used as an enumeration for iterating over. It differs from other
enumerations of Operand as it iterates over both implicit
and explicit operands.
SSADictionary| Field Summary | |
|---|---|
private int |
curHeapOperand
Current heap operand we're upto for the enumeration |
private HeapOperand<?>[] |
heapOperands
Array of heap operands defined by the instruction |
private PhysicalDefUse.PDUEnumeration |
implicitDefs
Implicit definitions from the operator |
private Instruction |
instr
Defining instruction |
private Enumeration<Operand> |
instructionOperands
Enumeration of non-heap operands defined by the instruction |
| Constructor Summary | |
|---|---|
IREnumeration.AllDefsEnum(IR ir,
Instruction instr)
Construct/initialize object |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Are there any more elements in the enumeration |
Operand |
nextElement()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Enumeration<Operand> instructionOperands
private final HeapOperand<?>[] heapOperands
private int curHeapOperand
private final PhysicalDefUse.PDUEnumeration implicitDefs
private final Instruction instr
| Constructor Detail |
|---|
public IREnumeration.AllDefsEnum(IR ir,
Instruction instr)
ir - Containing IRinstr - Instruction to get definitions for| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<Operand>public Operand nextElement()
nextElement in interface Enumeration<Operand>
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||