|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ir.IREnumeration.AllUsesEnum
public static final class IREnumeration.AllUsesEnum
This class implements an Enumeration
of Operand
. It used
for holding the uses 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 |
implicitUses
Implicit uses from the operator |
private Instruction |
instr
Defining instruction |
private Enumeration<Operand> |
instructionOperands
Enumeration of non-heap operands defined by the instruction |
Constructor Summary | |
---|---|
IREnumeration.AllUsesEnum(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 implicitUses
private final Instruction instr
Constructor Detail |
---|
public IREnumeration.AllUsesEnum(IR ir, Instruction instr)
ir
- Containing IRinstr
- Instruction to get uses forMethod 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 |