public final class MethodCountersPointerStamp extends MetaspacePointerStamp
SpeculationReasonGroup.SpeculationContextObject.Visitor| Modifier and Type | Method and Description |
|---|---|
Stamp |
constant(Constant c,
MetaAccessProvider meta)
If it is possible to represent single value stamps of this kind, this method returns the
stamp representing the single value c.
|
protected AbstractPointerStamp |
copyWith(boolean newNonNull,
boolean newAlwaysNull) |
boolean |
isCompatible(Stamp otherStamp)
Check that the constant
other is compatible with this stamp. |
static MethodCountersPointerStamp |
methodCounters() |
static MethodCountersPointerStamp |
methodCountersNonNull() |
Constant |
readConstant(MemoryAccessProvider provider,
Constant base,
long displacement)
Read a value of this stamp from memory.
|
String |
toString() |
appendString, empty, getLIRKind, hasValues, javaType, joinaccept, alwaysNull, asAlwaysNull, asConstant, asMaybeNull, asNonNull, defaultPointerJoin, equals, getStackKind, hashCode, improveWith, isCompressed, meet, nonNull, nullConstant, pointerAlwaysNull, pointerMaybeNull, pointerNonNull, unrestrictedalwaysDistinct, isEmpty, isPointerStamp, isUnrestricted, makeSymbolic, neverDistinct, readConstant, tryImproveWithpublic static MethodCountersPointerStamp methodCounters()
public static MethodCountersPointerStamp methodCountersNonNull()
protected AbstractPointerStamp copyWith(boolean newNonNull, boolean newAlwaysNull)
copyWith in class AbstractPointerStamppublic boolean isCompatible(Stamp otherStamp)
Stampother is compatible with this stamp.isCompatible in class MetaspacePointerStamppublic Stamp constant(Constant c, MetaAccessProvider meta)
StampIf it is not possible to represent single value stamps, this method returns a stamp that includes c, and is otherwise as narrow as possible.
public Constant readConstant(MemoryAccessProvider provider,
Constant base,
long displacement)
StampreadConstant in class Stamp