Search in sources :

Example 6 with JumpOp

use of org.graalvm.compiler.lir.StandardOp.JumpOp in project graal by oracle.

the class NodeLIRBuilder method visitEndNode.

@Override
public void visitEndNode(AbstractEndNode end) {
    AbstractMergeNode merge = end.merge();
    JumpOp jump = newJumpOp(getLIRBlock(merge));
    jump.setPhiValues(createPhiOut(merge, end));
    append(jump);
}
Also used : JumpOp(org.graalvm.compiler.lir.StandardOp.JumpOp) AbstractMergeNode(org.graalvm.compiler.nodes.AbstractMergeNode)

Aggregations

JumpOp (org.graalvm.compiler.lir.StandardOp.JumpOp)6 Value (jdk.vm.ci.meta.Value)2 LabelOp (org.graalvm.compiler.lir.StandardOp.LabelOp)2 RegisterValue (jdk.vm.ci.code.RegisterValue)1 ValueUtil.asRegisterValue (jdk.vm.ci.code.ValueUtil.asRegisterValue)1 AllocatableValue (jdk.vm.ci.meta.AllocatableValue)1 LIRInstruction (org.graalvm.compiler.lir.LIRInstruction)1 LIRValueUtil.isConstantValue (org.graalvm.compiler.lir.LIRValueUtil.isConstantValue)1 LIRValueUtil.isStackSlotValue (org.graalvm.compiler.lir.LIRValueUtil.isStackSlotValue)1 TraceUtil.asShadowedRegisterValue (org.graalvm.compiler.lir.alloc.trace.TraceUtil.asShadowedRegisterValue)1 TraceUtil.isShadowedRegisterValue (org.graalvm.compiler.lir.alloc.trace.TraceUtil.isShadowedRegisterValue)1 AbstractMergeNode (org.graalvm.compiler.nodes.AbstractMergeNode)1