public final class FloatConvertNode extends UnaryArithmeticNode<ArithmeticOpTable.FloatConvertOp> implements ConvertNode, Lowerable, ArithmeticLIRLowerable
FloatConvert
converts between integers and floating point numbers according to Java
semantics.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 |
---|---|
protected FloatConvert |
op |
static NodeClass<FloatConvertNode> |
TYPE |
NODE_LIST, NOT_ITERABLE, TRACK_CREATION_POSITION, WithAllEdges, WithNoEdges, WithOnlyInputEdges, WithOnlySucessorEdges
Constructor and Description |
---|
FloatConvertNode(FloatConvert op,
ValueNode input) |
Modifier and Type | Method and Description |
---|---|
ValueNode |
canonical(CanonicalizerTool tool,
ValueNode forValue)
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. |
jdk.vm.ci.meta.Constant |
convert(jdk.vm.ci.meta.Constant c,
jdk.vm.ci.meta.ConstantReflectionProvider constantReflection) |
static ValueNode |
create(FloatConvert op,
ValueNode input,
NodeView view) |
void |
generate(NodeLIRBuilderTool nodeValueMap,
ArithmeticLIRGeneratorTool gen) |
FloatConvert |
getFloatConvert() |
protected ArithmeticOpTable.UnaryOp<ArithmeticOpTable.FloatConvertOp> |
getOp(ArithmeticOpTable table) |
boolean |
isLossless()
Check whether a conversion is lossless.
|
boolean |
mayNullCheckSkipConversion()
Checks whether a null check may skip the conversion.
|
jdk.vm.ci.meta.Constant |
reverse(jdk.vm.ci.meta.Constant c,
jdk.vm.ci.meta.ConstantReflectionProvider constantReflection) |
findSynonym, foldStamp, getArithmeticOp, getOp
getValue, inferStamp, setValue
asNode
asConstant, asJavaConstant, asSerializableConstant, getStackKind, graph, hasUsagesOtherThan, 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, verify, verifyEdges, verifyInputs, verifySourcePosition, withNodeSourcePosition
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
getValue, preservesOrder, preservesOrder
asNode
generate
canonical
public static final NodeClass<FloatConvertNode> TYPE
protected final FloatConvert op
public FloatConvertNode(FloatConvert op, ValueNode input)
public static ValueNode create(FloatConvert op, ValueNode input, NodeView view)
protected ArithmeticOpTable.UnaryOp<ArithmeticOpTable.FloatConvertOp> getOp(ArithmeticOpTable table)
getOp
in class UnaryArithmeticNode<ArithmeticOpTable.FloatConvertOp>
public FloatConvert getFloatConvert()
public jdk.vm.ci.meta.Constant convert(jdk.vm.ci.meta.Constant c, jdk.vm.ci.meta.ConstantReflectionProvider constantReflection)
convert
in interface ConvertNode
public jdk.vm.ci.meta.Constant reverse(jdk.vm.ci.meta.Constant c, jdk.vm.ci.meta.ConstantReflectionProvider constantReflection)
reverse
in interface ConvertNode
public boolean isLossless()
ConvertNode
isLossless
in interface ConvertNode
public ValueNode canonical(CanonicalizerTool tool, ValueNode forValue)
Canonicalizable.Unary
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.Unary<ValueNode>
canonical
in class UnaryArithmeticNode<ArithmeticOpTable.FloatConvertOp>
public void generate(NodeLIRBuilderTool nodeValueMap, ArithmeticLIRGeneratorTool gen)
generate
in interface ArithmeticLIRLowerable
public boolean mayNullCheckSkipConversion()
ConvertNode
mayNullCheckSkipConversion
in interface ConvertNode