|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.regalloc.GenericRegisterPreferences
public abstract class GenericRegisterPreferences
This class helps manage register preferences for coalescing and register allocation.
| Field Summary | |
|---|---|
private CoalesceGraph |
graph
The main backing data structure; |
| Constructor Summary | |
|---|---|
GenericRegisterPreferences()
|
|
| Method Summary | |
|---|---|
protected void |
addAffinity(int w,
Register r1,
Register r2)
Add a affinity of weight w between two registers. |
CoalesceGraph |
getGraph()
Return the backing graph holding the preferences. |
abstract void |
initialize(IR ir)
Set up register preferences for an IR. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final CoalesceGraph graph
| Constructor Detail |
|---|
public GenericRegisterPreferences()
| Method Detail |
|---|
protected void addAffinity(int w,
Register r1,
Register r2)
public abstract void initialize(IR ir)
public CoalesceGraph getGraph()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||