|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.ir.IREnumeration
public abstract class IREnumeration
This class is not meant to be instantiated. It simply serves as a place to collect the implementation of primitive IR enumerations. None of these functions are meant to be called directly from anywhere except IR, Instruction, and BasicBlock. General clients should use the higher level interfaces provided by those classes
| Nested Class Summary | |
|---|---|
static class |
IREnumeration.AllDefsEnum
This class implements an OperandEnumeration. |
static class |
IREnumeration.AllInstructionsEnum
This class implements an InstructionEnumeration over
all instructions for a basic block. |
static class |
IREnumeration.AllUsesEnum
This class implements an OperandEnumeration. |
| Constructor Summary | |
|---|---|
IREnumeration()
|
|
| Method Summary | |
|---|---|
private static void |
fail(String msg)
|
static BasicBlockEnumeration |
forwardBE(IR ir)
A forward enumeration of all the basic blocks in the IR. |
static InstructionEnumeration |
forwardGlobalIE(IR ir)
A forward enumeration of all the instructions in the IR. |
static InstructionEnumeration |
forwardIntraBlockIE(Instruction start,
Instruction end)
Forward intra basic block instruction enumerations from from start...last inclusive. |
static BasicBlockEnumeration |
reverseBE(IR ir)
A reverse enumeration of all the basic blocks in the IR. |
static InstructionEnumeration |
reverseGlobalIE(IR ir)
A reverse enumeration of all the instructions in the IR. |
static InstructionEnumeration |
reverseIntraBlockIE(Instruction start,
Instruction end)
Reverse intra basic block instruction enumerations from from start...last inclusive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IREnumeration()
| Method Detail |
|---|
public static InstructionEnumeration forwardIntraBlockIE(Instruction start,
Instruction end)
start - the instruction to start withend - the instruction to end with
public static InstructionEnumeration reverseIntraBlockIE(Instruction start,
Instruction end)
start - the instruction to start withend - the instruction to end with
public static InstructionEnumeration forwardGlobalIE(IR ir)
ir - the IR to walk over
public static InstructionEnumeration reverseGlobalIE(IR ir)
ir - the IR to walk over
public static BasicBlockEnumeration forwardBE(IR ir)
ir - the IR to walk over
public static BasicBlockEnumeration reverseBE(IR ir)
ir - the IR to walk over
private static void fail(String msg)
throws NoSuchElementException
NoSuchElementException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||