public abstract class PrimitiveStamp extends ArithmeticStamp
Modifier and Type | Field and Description |
---|---|
private int |
bits |
Modifier | Constructor and Description |
---|---|
protected |
PrimitiveStamp(int bits,
ArithmeticOpTable ops) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getBits()
The width in bits of the value described by this stamp.
|
static int |
getBits(Stamp stamp) |
int |
hashCode() |
Constant |
readConstant(MemoryAccessProvider provider,
Constant base,
long displacement)
Read a value of this stamp from memory.
|
deserialize, getOps, improveWith
alwaysDistinct, asConstant, constant, empty, getLIRKind, getStackKind, hasValues, isCompatible, isEmpty, javaType, join, meet, neverDistinct, tryImproveWith, unrestricted
private final int bits
protected PrimitiveStamp(int bits, ArithmeticOpTable ops)
public int getBits()
public Constant readConstant(MemoryAccessProvider provider, Constant base, long displacement)
Stamp
readConstant
in class Stamp
public int hashCode()
hashCode
in class ArithmeticStamp
public boolean equals(Object obj)
equals
in class ArithmeticStamp