public final class IntegerEqualsNode extends CompareNode implements Canonicalizable.BinaryCommutative<ValueNode>
Modifier and Type | Class and Description |
---|---|
static class |
IntegerEqualsNode.IntegerEqualsOp |
CompareNode.CompareOp
Node.ConstantNodeParameter, Node.EdgeVisitor, Node.IndirectCanonicalization, Node.InjectedNodeParameter, Node.Input, Node.NodeInsertionStackTrace, Node.NodeIntrinsic, Node.NodeIntrinsicFactory, Node.OptionalInput, Node.Successor, Node.ValueNumberable
Canonicalizable.Binary<T extends Node>, Canonicalizable.BinaryCommutative<T extends Node>, Canonicalizable.Ternary<T extends Node>, Canonicalizable.Unary<T extends Node>
Modifier and Type | Field and Description |
---|---|
static NodeClass<IntegerEqualsNode> |
TYPE |
condition, unorderedIsTrue
x, y
NODE_LIST, NOT_ITERABLE, TRACK_CREATION_POSITION, WithAllEdges, WithNoEdges, WithOnlyInputEdges, WithOnlySucessorEdges
Constructor and Description |
---|
IntegerEqualsNode(ValueNode x,
ValueNode y) |
Modifier and Type | Method and Description |
---|---|
Node |
canonical(CanonicalizerTool tool,
ValueNode forX,
ValueNode forY)
Similar to
Canonicalizable.canonical(CanonicalizerTool) , except that
implementations should act as if the current input of the node was the given one, i.e.,
they should never look at the inputs via the this pointer. |
static LogicNode |
create(jdk.vm.ci.meta.ConstantReflectionProvider constantReflection,
jdk.vm.ci.meta.MetaAccessProvider metaAccess,
OptionValues options,
Integer smallestCompareWidth,
ValueNode x,
ValueNode y,
NodeView view) |
static LogicNode |
create(ValueNode x,
ValueNode y,
NodeView view) |
Stamp |
getSucceedingStampForX(boolean negated,
Stamp xStamp,
Stamp yStamp) |
Stamp |
getSucceedingStampForY(boolean negated,
Stamp xStamp,
Stamp yStamp) |
jdk.vm.ci.meta.TriState |
implies(boolean thisNegated,
LogicNode other)
Determines what this condition implies about the other.
|
jdk.vm.ci.meta.TriState |
tryFold(Stamp xStampGeneric,
Stamp yStampGeneric) |
condition, createCompareNode, createCompareNode, createCompareNode, createCompareNode, createFloatCompareNode, createFloatCompareNode, isIdentityComparison, tryConstantFold, tryConstantFoldPrimitive, unorderedIsTrue
generate, getX, getY, maybeCommuteInputs, verify
and, and, isContradiction, isTautology, or, or
asNode
asConstant, asJavaConstant, asSerializableConstant, getStackKind, graph, hasUsagesOtherThan, inferStamp, isAllowedUsageType, isConstant, isConstantPredicate, isDefaultConstant, isIllegalConstant, isJavaConstant, isNullConstant, isSerializableConstant, replaceAtAllUsages, replaceAtUsages, setStamp, stamp, updateStamp
afterClone, applyInputs, applySuccessors, assertFalse, assertTrue, cfgPredecessors, cfgSuccessors, clearInputs, clearNodeSourcePosition, clearSuccessors, copyWithInputs, copyWithInputs, dataFlowEquals, estimatedNodeCycles, estimatedNodeSize, fail, formatTo, getCreationPosition, getDebug, getDebugProperties, getDebugProperties, getInsertionPosition, getNodeClass, getNodeSourcePosition, getOptions, getUsageCount, hasExactlyOneUsage, hashCode, hasMoreThanOneUsage, hasNoUsages, hasOnlyUsagesOfType, hasUsages, inputPositions, inputs, isAlive, isDeleted, isUnregistered, markDeleted, maybeNotifyZeroUsages, modCount, predecessor, pushInputs, removeUsage, replaceAllInputs, replaceAndDelete, replaceAtMatchingUsages, replaceAtPredecessor, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsages, replaceAtUsagesAndDelete, replaceAtUsagesAndDelete, replaceFirstInput, replaceFirstInput, replaceFirstSuccessor, safeDelete, setCreationPosition, setInsertionPosition, setNodeSourcePosition, simplify, successorPositions, successors, toString, toString, updateNodeSourcePosition, updatePredecessor, updateUsages, updateUsagesInterface, usages, valueEquals, verifyEdges, verifyInputs, verifySourcePosition, withNodeSourcePosition
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
maybeCommuteInputs
canonical, getX, getY
public static final NodeClass<IntegerEqualsNode> TYPE
public static LogicNode create(jdk.vm.ci.meta.ConstantReflectionProvider constantReflection, jdk.vm.ci.meta.MetaAccessProvider metaAccess, OptionValues options, Integer smallestCompareWidth, ValueNode x, ValueNode y, NodeView view)
public Node canonical(CanonicalizerTool tool, ValueNode forX, ValueNode forY)
Canonicalizable.Binary
Canonicalizable.canonical(CanonicalizerTool)
, except that
implementations should act as if the current input of the node was the given one, i.e.,
they should never look at the inputs via the this pointer.canonical
in interface Canonicalizable.Binary<ValueNode>
public Stamp getSucceedingStampForX(boolean negated, Stamp xStamp, Stamp yStamp)
getSucceedingStampForX
in class BinaryOpLogicNode
public Stamp getSucceedingStampForY(boolean negated, Stamp xStamp, Stamp yStamp)
getSucceedingStampForY
in class BinaryOpLogicNode
public jdk.vm.ci.meta.TriState tryFold(Stamp xStampGeneric, Stamp yStampGeneric)
tryFold
in class BinaryOpLogicNode
public jdk.vm.ci.meta.TriState implies(boolean thisNegated, LogicNode other)
LogicNode
TriState.TRUE
TriState.FALSE