|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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)
Implementation of the BitSetMapping interface. |
Object |
getMappedObject(int n)
Implementation of the BitSetMapping interface. |
int |
getMappingSize()
Implementation of the BitSetMapping interface. |
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)
getMappedObject in interface BitSetMappingpublic final int getMappedIndex(Object o)
getMappedIndex in interface BitSetMappingpublic final int getMappingSize()
getMappingSize in interface BitSetMapping
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||