public abstract class NarrowOopStamp extends AbstractObjectStamp
SpeculationReasonGroup.SpeculationContextObject.Visitor| Modifier | Constructor and Description |
|---|---|
protected |
NarrowOopStamp(ResolvedJavaType type,
boolean exactType,
boolean nonNull,
boolean alwaysNull,
boolean alwaysArray,
CompressEncoding encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(SpeculationReasonGroup.SpeculationContextObject.Visitor v) |
protected abstract AbstractObjectStamp |
copyWith(ResolvedJavaType type,
boolean exactType,
boolean nonNull,
boolean alwaysNull,
boolean alwaysArray) |
boolean |
equals(Object obj) |
CompressEncoding |
getEncoding() |
LIRKind |
getLIRKind(LIRKindTool tool)
Gets a platform dependent
LIRKind that can be used to store a value of this stamp. |
int |
hashCode() |
abstract boolean |
isCompatible(Constant other)
Check that the constant
other is compatible with this stamp. |
boolean |
isCompatible(Stamp other)
Check that the constant
other is compatible with this stamp. |
boolean |
isCompressed() |
abstract Constant |
readConstant(MemoryAccessProvider provider,
Constant base,
long displacement)
Read a value of this stamp from memory.
|
String |
toString() |
Stamp |
uncompressed() |
appendString, asAlwaysArray, constant, copyWith, empty, getStackKind, hasValues, improveWith, isAlwaysArray, isConcreteType, isExactType, javaType, join, meet, type, unrestrictedalwaysNull, asAlwaysNull, asConstant, asMaybeNull, asNonNull, defaultPointerJoin, nonNull, nullConstant, pointerAlwaysNull, pointerMaybeNull, pointerNonNullalwaysDistinct, isEmpty, isPointerStamp, isUnrestricted, makeSymbolic, neverDistinct, readConstant, tryImproveWithprotected NarrowOopStamp(ResolvedJavaType type,
boolean exactType,
boolean nonNull,
boolean alwaysNull,
boolean alwaysArray,
CompressEncoding encoding)
public void accept(SpeculationReasonGroup.SpeculationContextObject.Visitor v)
accept in interface SpeculationReasonGroup.SpeculationContextObjectaccept in class AbstractObjectStampprotected abstract AbstractObjectStamp copyWith(ResolvedJavaType type, boolean exactType, boolean nonNull, boolean alwaysNull, boolean alwaysArray)
copyWith in class AbstractObjectStamppublic Stamp uncompressed()
public CompressEncoding getEncoding()
public LIRKind getLIRKind(LIRKindTool tool)
StampLIRKind that can be used to store a value of this stamp.getLIRKind in class Stamppublic boolean isCompatible(Stamp other)
Stampother is compatible with this stamp.isCompatible in class Stamppublic abstract Constant readConstant(MemoryAccessProvider provider,
Constant base,
long displacement)
StampreadConstant in class Stamppublic int hashCode()
hashCode in class AbstractObjectStamppublic boolean equals(Object obj)
equals in class AbstractObjectStamppublic abstract boolean isCompatible(Constant other)
Stampother is compatible with this stamp.isCompatible in class Stamppublic boolean isCompressed()
isCompressed in class AbstractPointerStamp