JDK 11 jdk.internal.vm.compiler.jmod - Internal VM Compiler Module

JDK 11 jdk.internal.vm.compiler.jmod is the JMOD file for JDK 11 Internal VM Compiler module.

JDK 11 Internal VM Compiler module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.internal.vm.compiler.jmod.

JDK 11 Internal VM Compiler module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.

JDK 11 Internal VM Compiler module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.internal.vm.compiler.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

org/graalvm/compiler/nodes/PluginFactory_PiNode.java

// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// GENERATORS: org.graalvm.compiler.replacements.processor.ReplacementsAnnotationProcessor, org.graalvm.compiler.replacements.processor.PluginGenerator
package org.graalvm.compiler.nodes;

import jdk.vm.ci.meta.ResolvedJavaMethod;

import java.lang.annotation.Annotation;
import org.graalvm.compiler.nodes.ValueNode;
import org.graalvm.compiler.nodes.graphbuilderconf.GraphBuilderContext;
import org.graalvm.compiler.nodes.graphbuilderconf.GeneratedInvocationPlugin;
import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugin;
import org.graalvm.compiler.nodes.graphbuilderconf.InvocationPlugins;
import org.graalvm.compiler.nodes.graphbuilderconf.NodeIntrinsicPluginFactory;

import jdk.vm.ci.meta.JavaKind;

public class PluginFactory_PiNode implements NodeIntrinsicPluginFactory {

    //        class: org.graalvm.compiler.nodes.PiNode
    //       method: asNonNullClassIntrinsic(java.lang.Object,java.lang.Class<?>,boolean,boolean)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$CustomFactoryPlugin
    private static final class PiNode_asNonNullClassIntrinsic extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            ValueNode arg0 = args[0];
            jdk.vm.ci.meta.ResolvedJavaType arg1;
            if (args[1].isConstant()) {
                arg1 = b.getConstantReflection().asJavaType(args[1].asConstant());
            } else {
                assert b.canDeferPlugin(this) : b.getClass().toString();
                return false;
            }
            boolean arg2;
            if (args[2].isConstant()) {
                arg2 = args[2].asJavaConstant().asInt() != 0;
            } else {
                assert b.canDeferPlugin(this) : b.getClass().toString();
                return false;
            }
            boolean arg3;
            if (args[3].isConstant()) {
                arg3 = args[3].asJavaConstant().asInt() != 0;
            } else {
                assert b.canDeferPlugin(this) : b.getClass().toString();
                return false;
            }
            return org.graalvm.compiler.nodes.PiNode.intrinsify(b, targetMethod, arg0, arg1, arg2, arg3);
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
        }
    }

    //        class: org.graalvm.compiler.nodes.PiNode
    //       method: piCast(java.lang.Object,java.lang.Class<?>,boolean,boolean)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$CustomFactoryPlugin
    private static final class PiNode_piCast extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            ValueNode arg0 = args[0];
            jdk.vm.ci.meta.ResolvedJavaType arg1;
            if (args[1].isConstant()) {
                arg1 = b.getConstantReflection().asJavaType(args[1].asConstant());
            } else {
                assert b.canDeferPlugin(this) : b.getClass().toString();
                return false;
            }
            boolean arg2;
            if (args[2].isConstant()) {
                arg2 = args[2].asJavaConstant().asInt() != 0;
            } else {
                assert b.canDeferPlugin(this) : b.getClass().toString();
                return false;
            }
            boolean arg3;
            if (args[3].isConstant()) {
                arg3 = args[3].asJavaConstant().asInt() != 0;
            } else {
                assert b.canDeferPlugin(this) : b.getClass().toString();
                return false;
            }
            return org.graalvm.compiler.nodes.PiNode.intrinsify(b, targetMethod, arg0, arg1, arg2, arg3);
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
        }
    }

    //        class: org.graalvm.compiler.nodes.PiNode
    //       method: piCastNonNull(java.lang.Object,org.graalvm.compiler.nodes.extended.GuardingNode)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$CustomFactoryPlugin
    private static final class PiNode_piCastNonNull extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            ValueNode arg0 = args[0];
            ValueNode arg1 = args[1];
            return org.graalvm.compiler.nodes.PiNode.intrinsify(b, targetMethod, arg0, arg1);
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
        }
    }

    //        class: org.graalvm.compiler.nodes.PiNode
    //       method: piCastNonNullClass(java.lang.Class<?>,org.graalvm.compiler.nodes.extended.GuardingNode)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$CustomFactoryPlugin
    private static final class PiNode_piCastNonNullClass extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            ValueNode arg0 = args[0];
            ValueNode arg1 = args[1];
            return org.graalvm.compiler.nodes.PiNode.intrinsify(b, targetMethod, arg0, arg1);
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
        }
    }

    //        class: org.graalvm.compiler.nodes.PiNode
    //       method: piCastToSnippetReplaceeStamp(java.lang.Object)
    // generated-by: org.graalvm.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
    private static final class PiNode_piCastToSnippetReplaceeStamp extends GeneratedInvocationPlugin {

        @Override
        public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
            ValueNode arg0 = args[0];
            org.graalvm.compiler.nodes.PiNode.Placeholder node = new org.graalvm.compiler.nodes.PiNode.Placeholder(arg0);
            b.addPush(JavaKind.Object, node);
            return true;
        }
        @Override
        public Class<? extends Annotation> getSource() {
            return org.graalvm.compiler.graph.Node.NodeIntrinsic.class;
        }
    }

    @Override
    public void registerPlugins(InvocationPlugins plugins, InjectionProvider injection) {
        plugins.register(new PiNode_asNonNullClassIntrinsic(), org.graalvm.compiler.nodes.PiNode.class, "asNonNullClassIntrinsic", java.lang.Object.class, java.lang.Class.class, boolean.class, boolean.class);
        plugins.register(new PiNode_piCast(), org.graalvm.compiler.nodes.PiNode.class, "piCast", java.lang.Object.class, java.lang.Class.class, boolean.class, boolean.class);
        plugins.register(new PiNode_piCastNonNull(), org.graalvm.compiler.nodes.PiNode.class, "piCastNonNull", java.lang.Object.class, org.graalvm.compiler.nodes.extended.GuardingNode.class);
        plugins.register(new PiNode_piCastNonNullClass(), org.graalvm.compiler.nodes.PiNode.class, "piCastNonNullClass", java.lang.Class.class, org.graalvm.compiler.nodes.extended.GuardingNode.class);
        plugins.register(new PiNode_piCastToSnippetReplaceeStamp(), org.graalvm.compiler.nodes.PiNode.class, "piCastToSnippetReplaceeStamp", java.lang.Object.class);
    }
}

org/graalvm/compiler/nodes/PluginFactory_PiNode.java

 

JDK 11 jdk.internal.vm.compiler.management.jmod - Internal VM Compiler Management Module

JDK 11 jdk.internal.vm.ci.jmod - Internal VM CI Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2018-11-10, 21712👍, 0💬