public final class AddressConstantOperand extends ConstantOperand
Operand| Modifier and Type | Field and Description |
|---|---|
Address |
value
Value of this operand.
|
instruction| Constructor and Description |
|---|
AddressConstantOperand(Address v)
Constructs a new address constant operand with the specified value.
|
AddressConstantOperand(Extent v)
Constructs a new address constant operand with the specified offset value.
|
AddressConstantOperand(Offset v)
Constructs a new address constant operand with the specified offset value.
|
AddressConstantOperand(Word v)
Constructs a new address constant operand with the specified offset value.
|
| Modifier and Type | Method and Description |
|---|---|
Operand |
copy()
Return a new operand that is semantically equivalent to
this. |
boolean |
equals(Object o) |
TypeReference |
getType()
Return the
TypeReference of the value represented by the operand. |
int |
hashCode() |
boolean |
isAddress()
Does the operand represent a value of the address data type?
|
boolean |
similar(Operand op)
Are two operands semantically equivalent?
|
String |
toString()
Returns the string representation of this operand.
|
asAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, isAddressConstant, isBlock, isBranch, isClassConstant, isConstant, isDefinitelyNull, isDouble, isDoubleConstant, isFloat, isFloatConstant, isInt, isIntConstant, isIntLike, isLocation, isLong, isLongConstant, isMemory, isMethod, isMovableObjectConstant, isNullConstant, isObjectConstant, isRef, isRegister, isStackLocation, isStringConstant, isTIBConstant, isTrueGuard, isType, meetpublic AddressConstantOperand(Address v)
v - valuepublic AddressConstantOperand(Offset v)
v - value
TODO: make a separte OffsetConstantOperandpublic AddressConstantOperand(Extent v)
v - value
TODO: make a separate OffsetConstantOperandpublic AddressConstantOperand(Word v)
v - value
TODO: make a separate OffsetConstantOperandpublic Operand copy()
Operandthis.public TypeReference getType()
OperandTypeReference of the value represented by the operand.getType in class OperandTypeReference.Addresspublic boolean isAddress()
Operandpublic boolean similar(Operand op)
Operand