public abstract class PrimitiveStamp extends ArithmeticStamp
SpeculationReasonGroup.SpeculationContextObject.Visitor| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveStamp(int bits,
ArithmeticOpTable ops) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SpeculationReasonGroup.SpeculationContextObject.Visitor v) |
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.
|
protected JavaConstant |
readJavaConstant(MemoryAccessProvider provider,
Constant base,
long displacement,
int accessBits) |
deserialize, getOps, improveWithalwaysDistinct, asConstant, constant, empty, getLIRKind, getStackKind, hasValues, isCompatible, isCompatible, isEmpty, isPointerStamp, isUnrestricted, javaType, join, makeSymbolic, meet, neverDistinct, readConstant, toString, tryImproveWith, unrestrictedprotected PrimitiveStamp(int bits,
ArithmeticOpTable ops)
public void accept(SpeculationReasonGroup.SpeculationContextObject.Visitor v)
public int getBits()
public static int getBits(Stamp stamp)
public Constant readConstant(MemoryAccessProvider provider,
Constant base,
long displacement)
StampreadConstant in class Stampprotected JavaConstant readJavaConstant(MemoryAccessProvider provider,
Constant base,
long displacement,
int accessBits)
accessBits - the number of bits to read from memory (must be 8, 16, 32 or 64)public int hashCode()
hashCode in class ArithmeticStamppublic boolean equals(Object obj)
equals in class ArithmeticStamp