|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.ir.GenericPhysicalRegisterSet
public abstract class GenericPhysicalRegisterSet
This class represents a set of Registers corresponding to the physical register set. This class holds the architecture-independent functionality
Implementation Note: Each register has an integer field Register.number. This class must number the physical registers so that get(n) returns an Register r with r.number = n!
Constructor Summary | |
---|---|
GenericPhysicalRegisterSet()
|
Method Summary | |
---|---|
abstract Enumeration<Register> |
enumerateAll()
Enumerate all the physical registers in this set. |
abstract Enumeration<Register> |
enumerateGPRs()
Enumerate all the GPRs in this set. |
abstract Enumeration<Register> |
enumerateNonvolatileFPRs()
Enumerate all the nonvolatile FPRs in this set. |
Enumeration<Register> |
enumerateNonvolatileFPRsBackwards()
Enumerate all the nonvolatile FPRs in this set, backwards. |
abstract Enumeration<Register> |
enumerateNonvolatileGPRs()
Enumerate all the nonvolatile GPRs in this set. |
Enumeration<Register> |
enumerateNonvolatileGPRsBackwards()
Enumerate all the nonvolatile GPRs in this set, backwards |
abstract Enumeration<Register> |
enumerateVolatileFPRs()
Enumerate all the volatile FPRs in this set. |
abstract Enumeration<Register> |
enumerateVolatileGPRs()
Enumerate all the volatile GPRs in this set. |
abstract Enumeration<Register> |
enumerateVolatiles()
Enumerate all the volatile physical registers |
abstract Register |
get(int n)
|
abstract Register |
getFirstReturnGPR()
|
abstract Register |
getFP()
|
abstract Register |
getFPR(int n)
|
abstract Register |
getGPR(int n)
|
int |
getMappedIndex(Object o)
Return the number of a given object. |
Object |
getMappedObject(int n)
Return the object numbered n. |
int |
getMappingSize()
Return the size of the domain of the bijection. |
abstract int |
getNumberOfPhysicalRegisters()
Return the total number of physical registers. |
abstract Register |
getTR()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericPhysicalRegisterSet()
Method Detail |
---|
public abstract int getNumberOfPhysicalRegisters()
public abstract Register getFP()
public abstract Register getTR()
public abstract Register getGPR(int n)
public abstract Register getFirstReturnGPR()
public abstract Register getFPR(int n)
public abstract Register get(int n)
public abstract Enumeration<Register> enumerateAll()
public abstract Enumeration<Register> enumerateGPRs()
public abstract Enumeration<Register> enumerateVolatileGPRs()
public abstract Enumeration<Register> enumerateNonvolatileGPRs()
public abstract Enumeration<Register> enumerateVolatileFPRs()
public abstract Enumeration<Register> enumerateNonvolatileFPRs()
public abstract Enumeration<Register> enumerateVolatiles()
public Enumeration<Register> enumerateNonvolatileGPRsBackwards()
public Enumeration<Register> enumerateNonvolatileFPRsBackwards()
public final Object getMappedObject(int n)
BitSetMapping
getMappedObject
in interface BitSetMapping
public final int getMappedIndex(Object o)
BitSetMapping
getMappedIndex
in interface BitSetMapping
public final int getMappingSize()
BitSetMapping
getMappingSize
in interface BitSetMapping
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |