public abstract class GenericRegisterPool extends AbstractRegisterPool
Register
Modifier and Type | Field and Description |
---|---|
protected GenericPhysicalRegisterSet |
physical |
currentNum
Modifier | Constructor and Description |
---|---|
protected |
GenericRegisterPool(RVMMethod meth)
Initializes a new register pool for the method meth.
|
Modifier and Type | Method and Description |
---|---|
Register |
getFP()
Get the Framepointer (FP)
|
int |
getNumberOfSymbolicRegisters()
Return the number of symbolic registers (doesn't count physical ones)
|
GenericPhysicalRegisterSet |
getPhysicalRegisterSet() |
int |
getTotalNumberOfRegisters() |
RegisterOperand |
makeFPOp()
Get a temporary that represents the FP register
|
abstract Operand |
makeJTOCOp() |
abstract Operand |
makeTocOp() |
RegisterOperand |
makeTROp()
Get a temporary that represents the PR register
|
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
protected final GenericPhysicalRegisterSet physical
protected GenericRegisterPool(RVMMethod meth)
meth
- the RVMMethod of the outermost methodpublic GenericPhysicalRegisterSet getPhysicalRegisterSet()
public int getNumberOfSymbolicRegisters()
public int getTotalNumberOfRegisters()
public RegisterOperand makeFPOp()
public RegisterOperand makeTROp()
public abstract Operand makeJTOCOp()