abstract static class HotSpotReplacementsUtil.HotSpotOptimizingLocationIdentity extends NamedLocationIdentity implements CanonicalizableLocation
ARRAY_LENGTH_LOCATION, FINAL_LOCATION
ANY_LOCATION
Constructor and Description |
---|
HotSpotOptimizingLocationIdentity(String name) |
Modifier and Type | Method and Description |
---|---|
abstract ValueNode |
canonicalizeRead(ValueNode read,
AddressNode location,
ValueNode object,
CanonicalizerTool tool) |
protected ValueNode |
findReadHub(ValueNode object) |
protected static ValueNode |
foldIndirection(ValueNode read,
ValueNode object,
LocationIdentity otherLocation)
Fold reads that convert from Class -> Hub -> Class or vice versa.
|
any, getArrayLocation, immutable, isImmutable, mutable, toString
isAny, isMutable, isSingle, overlaps
HotSpotOptimizingLocationIdentity(String name)
public abstract ValueNode canonicalizeRead(ValueNode read, AddressNode location, ValueNode object, CanonicalizerTool tool)
canonicalizeRead
in interface CanonicalizableLocation
protected ValueNode findReadHub(ValueNode object)
protected static ValueNode foldIndirection(ValueNode read, ValueNode object, LocationIdentity otherLocation)
read
- object
- otherLocation
- read