|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.dms.backend.TreeWalker
at.dms.backend.RegisterAllocation
public class RegisterAllocation
This class allocate the the temporary to a minimal number of registers
| Constructor Summary | |
|---|---|
RegisterAllocation(at.dms.backend.MethodEnv env,
at.dms.backend.BasicBlock[] bblocks,
at.dms.backend.BasicBlock[] eblocks,
LivenessAnalysis live)
Creates a new instruction handle. |
|
| Method Summary | |
|---|---|
at.dms.backend.InferenceNode[] |
getInferenceGraph()
Returns the inference Graph |
protected void |
processNode(at.dms.backend.QNode node)
Processes the node |
void |
run()
Runs the register allocation algorithm |
| Methods inherited from class at.dms.backend.TreeWalker |
|---|
getBasicBlock, kill, removeNode, traverse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegisterAllocation(at.dms.backend.MethodEnv env,
at.dms.backend.BasicBlock[] bblocks,
at.dms.backend.BasicBlock[] eblocks,
LivenessAnalysis live)
| Method Detail |
|---|
public void run()
public at.dms.backend.InferenceNode[] getInferenceGraph()
protected void processNode(at.dms.backend.QNode node)
TreeWalker
processNode in class TreeWalkernode - the node to be processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||