public final class AMD64AddressValue extends CompositeValue
CompositeValue.Component
Value.IllegalValue
Modifier and Type | Field and Description |
---|---|
protected AllocatableValue |
base |
protected int |
displacement |
private static EnumSet<LIRInstruction.OperandFlag> |
flags |
protected AllocatableValue |
index |
protected AMD64Address.Scale |
scale |
ILLEGAL
Constructor and Description |
---|
AMD64AddressValue(LIRKind kind,
AllocatableValue base,
AllocatableValue index,
AMD64Address.Scale scale,
int displacement) |
AMD64AddressValue(LIRKind kind,
AllocatableValue base,
int displacement) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected void |
forEachComponent(LIRInstruction inst,
LIRInstruction.OperandMode mode,
InstructionValueConsumer proc) |
CompositeValue |
forEachComponent(LIRInstruction inst,
LIRInstruction.OperandMode mode,
InstructionValueProcedure proc)
|
int |
hashCode() |
boolean |
isValidImplicitNullCheckFor(Value value,
int implicitNullCheckLimit) |
AMD64Address |
toAddress() |
private static Register |
toRegister(AllocatableValue value) |
String |
toString() |
visitValueArray
getKind, getKindSuffix, getLIRKind, getPlatformKind, identityEquals
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
identityEquals
protected AllocatableValue base
protected AllocatableValue index
protected final AMD64Address.Scale scale
protected final int displacement
private static final EnumSet<LIRInstruction.OperandFlag> flags
public AMD64AddressValue(LIRKind kind, AllocatableValue base, int displacement)
public AMD64AddressValue(LIRKind kind, AllocatableValue base, AllocatableValue index, AMD64Address.Scale scale, int displacement)
public CompositeValue forEachComponent(LIRInstruction inst, LIRInstruction.OperandMode mode, InstructionValueProcedure proc)
CompositeValue
proc
on each Value
element of this CompositeValue
. If
proc
replaces any value then a new CompositeValue should be returned.forEachComponent
in class CompositeValue
protected void forEachComponent(LIRInstruction inst, LIRInstruction.OperandMode mode, InstructionValueConsumer proc)
forEachComponent
in class CompositeValue
private static Register toRegister(AllocatableValue value)
public AMD64Address toAddress()
public String toString()
toString
in class CompositeValue
public boolean isValidImplicitNullCheckFor(Value value, int implicitNullCheckLimit)
public boolean equals(Object obj)
equals
in class CompositeValue
public int hashCode()
hashCode
in class CompositeValue