|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jikesrvm.compilers.opt.ir.AbstractRegisterPool
org.jikesrvm.compilers.opt.ir.GenericRegisterPool
public class GenericRegisterPool
Pool of symbolic registers. Each IR contains has exactly one register pool object associated with it.
Register| Field Summary | |
|---|---|
protected ArchitectureSpecificOpt.PhysicalRegisterSet |
physical
|
| Fields inherited from class org.jikesrvm.compilers.opt.ir.AbstractRegisterPool |
|---|
currentNum |
| Constructor Summary | |
|---|---|
protected |
GenericRegisterPool(RVMMethod meth)
Initializes a new register pool for the method meth. |
| Method Summary | |
|---|---|
Register |
getFP()
Get the Framepointer (FP) |
int |
getNumberOfSymbolicRegisters()
Return the number of symbolic registers (doesn't count physical ones) |
ArchitectureSpecificOpt.PhysicalRegisterSet |
getPhysicalRegisterSet()
|
RegisterOperand |
makeFPOp()
Get a temporary that represents the FP register |
RegisterOperand |
makeTROp()
Get a temporary that represents the PR register |
| Methods inherited from class org.jikesrvm.compilers.opt.ir.AbstractRegisterPool |
|---|
getAddress, getCondition, getDouble, getFirstSymbolicRegister, getFloat, getInteger, getLong, getReg, getReg, getReg, getSecondReg, getValidation, makeTemp, makeTemp, makeTemp, makeTempAddress, makeTempBoolean, makeTempCondition, makeTempDouble, makeTempFloat, makeTempInt, makeTempLong, makeTempOffset, makeTempValidation, release, removeRegister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final ArchitectureSpecificOpt.PhysicalRegisterSet physical
| Constructor Detail |
|---|
protected GenericRegisterPool(RVMMethod meth)
meth - the RVMMethod of the outermost method| Method Detail |
|---|
public ArchitectureSpecificOpt.PhysicalRegisterSet getPhysicalRegisterSet()
public int getNumberOfSymbolicRegisters()
public Register getFP()
public RegisterOperand makeFPOp()
public RegisterOperand makeTROp()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||