public final class RegisterValue extends AllocatableValue
RegisterValue for each (Register, Kind) pair. Use
Register.asValue(LIRKind) to retrieve the canonical RegisterValue instance for a
given (register,kind) pair.Value.IllegalValue| Modifier and Type | Field and Description |
|---|---|
private Register |
reg |
NONEILLEGAL| Modifier | Constructor and Description |
|---|---|
protected |
RegisterValue(LIRKind kind,
Register register)
Should only be called from
Register.Register(int, int, java.lang.String, jdk.internal.jvmci.code.Register.RegisterCategory) to ensure canonicalization. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Register |
getRegister() |
int |
hashCode() |
String |
toString() |
getKind, getKindSuffix, getLIRKind, getPlatformKind, identityEqualsclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetKindidentityEqualsprotected RegisterValue(LIRKind kind, Register register)
Register.Register(int, int, java.lang.String, jdk.internal.jvmci.code.Register.RegisterCategory) to ensure canonicalization.public Register getRegister()
public int hashCode()
hashCode in class AbstractValuepublic boolean equals(Object obj)
equals in class AbstractValue