public final class AMD64AddressValue extends CompositeValue
CompositeValue.Component| Modifier and Type | Field and Description |
|---|---|
protected AllocatableValue |
base |
protected int |
displacement |
protected AllocatableValue |
index |
protected AMD64Address.Scale |
scale |
| Constructor and Description |
|---|
AMD64AddressValue(<any> kind,
AllocatableValue base,
AllocatableValue index,
AMD64Address.Scale scale,
int displacement) |
AMD64AddressValue(<any> kind,
AllocatableValue base,
AllocatableValue index,
AMD64Address.Scale scale,
int displacement,
Object displacementAnnotation) |
AMD64AddressValue(<any> kind,
AllocatableValue base,
int displacement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CompositeValue |
forEachComponent(LIRInstruction inst,
LIRInstruction.OperandMode mode,
InstructionValueProcedure proc)
|
AllocatableValue |
getBase() |
AllocatableValue |
getIndex() |
int |
hashCode() |
boolean |
isValidImplicitNullCheckFor(Value value,
int implicitNullCheckLimit) |
AMD64Address |
toAddress() |
String |
toString() |
protected void |
visitEachComponent(LIRInstruction inst,
LIRInstruction.OperandMode mode,
InstructionValueConsumer proc) |
AMD64AddressValue |
withKind(<any> newKind) |
visitValueArrayprotected AllocatableValue base
protected AllocatableValue index
protected final AMD64Address.Scale scale
protected final int displacement
public AMD64AddressValue(<any> kind,
AllocatableValue base,
int displacement)
public AMD64AddressValue(<any> kind,
AllocatableValue base,
AllocatableValue index,
AMD64Address.Scale scale,
int displacement)
public AMD64AddressValue(<any> kind,
AllocatableValue base,
AllocatableValue index,
AMD64Address.Scale scale,
int displacement,
Object displacementAnnotation)
public AllocatableValue getBase()
public AllocatableValue getIndex()
public CompositeValue forEachComponent(LIRInstruction inst, LIRInstruction.OperandMode mode, InstructionValueProcedure proc)
CompositeValueproc on each Value element of this CompositeValue. If
proc replaces any value then a new CompositeValue should be returned.forEachComponent in class CompositeValueprotected void visitEachComponent(LIRInstruction inst, LIRInstruction.OperandMode mode, InstructionValueConsumer proc)
visitEachComponent in class CompositeValuepublic AMD64AddressValue withKind(<any> newKind)
public AMD64Address toAddress()
public String toString()
toString in class CompositeValuepublic boolean isValidImplicitNullCheckFor(Value value,
int implicitNullCheckLimit)
public boolean equals(Object obj)
equals in class CompositeValuepublic int hashCode()
hashCode in class CompositeValue