public final class LongConstantOperand extends ConstantOperand
Operand
Modifier and Type | Field and Description |
---|---|
private boolean |
convertedFromRef
Converted from a reference?
|
long |
value
Value of this operand.
|
static LongConstantOperand |
zero
Constant 0, can be copied as convenient
|
instruction
Constructor and Description |
---|
LongConstantOperand(long v)
Constructs a new long constant operand with the specified value.
|
LongConstantOperand(long v,
boolean convertedFromRef) |
Modifier and Type | Method and Description |
---|---|
boolean |
convertedFromRef() |
Operand |
copy()
Return a new operand that is semantically equivalent to
this . |
TypeReference |
getType()
Return the
TypeReference of the value represented by the operand. |
boolean |
isLong()
Does the operand represent a value of the long data type?
|
int |
lower32() |
boolean |
similar(Operand op)
Are two operands semantically equivalent?
|
String |
toString()
Returns the string representation of this operand.
|
int |
upper32() |
asAddressConstant, asBlock, asBranch, asClassConstant, asCondition, asDoubleConstant, asFloatConstant, asIntConstant, asLocation, asLongConstant, asMemory, asMethod, asNullConstant, asObjectConstant, asRegister, asStackLocation, asStringConstant, asTIBConstant, asType, conservativelyApproximates, getIndexInInstruction, isAddress, isAddressConstant, isBlock, isBranch, isClassConstant, isConstant, isDefinitelyNull, isDouble, isDoubleConstant, isFloat, isFloatConstant, isInt, isIntConstant, isIntLike, isLocation, isLongConstant, isMemory, isMethod, isMovableObjectConstant, isNullConstant, isObjectConstant, isRef, isRegister, isStackLocation, isStringConstant, isTIBConstant, isTrueGuard, isType, meet
public static final LongConstantOperand zero
public long value
private boolean convertedFromRef
public LongConstantOperand(long v)
v
- valuepublic LongConstantOperand(long v, boolean convertedFromRef)
public TypeReference getType()
Operand
TypeReference
of the value represented by the operand.getType
in class Operand
TypeReference.Long
public boolean isLong()
Operand
public int lower32()
public int upper32()
public boolean convertedFromRef()
public Operand copy()
Operand
this
.public boolean similar(Operand op)
Operand