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 |
NONE
ILLEGAL
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, identityEquals
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getKind
identityEquals
protected 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 AbstractValue
public boolean equals(Object obj)
equals
in class AbstractValue