|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.regalloc.GenericRegisterRestrictions.RestrictedRegisterSet
private static final class GenericRegisterRestrictions.RestrictedRegisterSet
An instance of this class represents restrictions on physical register assignment.
Field Summary | |
---|---|
private BitSet |
bitset
The set of registers to which assignment is forbidden. |
private boolean |
noVolatiles
additionally, are all volatile registers forbidden? |
Constructor Summary | |
---|---|
GenericRegisterRestrictions.RestrictedRegisterSet(ArchitectureSpecificOpt.PhysicalRegisterSet phys)
Default constructor |
Method Summary | |
---|---|
(package private) void |
add(Register r)
Add a particular physical register to the set. |
(package private) void |
addAll(BitSet set)
Add a set of physical registers to this set. |
(package private) boolean |
contains(Register r)
Does this set contain a particular register? |
(package private) boolean |
getNoVolatiles()
|
(package private) void |
setNoVolatiles()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final BitSet bitset
private boolean noVolatiles
Constructor Detail |
---|
GenericRegisterRestrictions.RestrictedRegisterSet(ArchitectureSpecificOpt.PhysicalRegisterSet phys)
Method Detail |
---|
boolean getNoVolatiles()
void setNoVolatiles()
void add(Register r)
void addAll(BitSet set)
boolean contains(Register r)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |