All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jdk.graal.compiler.truffle.nodes.PluginFactory_IsCompilationConstantNode Maven / Gradle / Ivy

There is a newer version: 24.1.1
Show newest version
// CheckStyle: stop header check
// CheckStyle: stop line length check
// GENERATED CONTENT - DO NOT EDIT
// GENERATORS: jdk.graal.compiler.replacements.processor.ReplacementsAnnotationProcessor, jdk.graal.compiler.replacements.processor.PluginGenerator
package jdk.graal.compiler.truffle.nodes;


import java.lang.annotation.Annotation;
import jdk.graal.compiler.nodes.ValueNode;
import jdk.graal.compiler.nodes.graphbuilderconf.GeneratedNodeIntrinsicInvocationPlugin;
import jdk.graal.compiler.nodes.graphbuilderconf.GeneratedPluginFactory;
import jdk.graal.compiler.nodes.graphbuilderconf.GeneratedPluginInjectionProvider;
import jdk.graal.compiler.nodes.graphbuilderconf.GraphBuilderContext;
import jdk.graal.compiler.nodes.graphbuilderconf.InvocationPlugin;
import jdk.graal.compiler.nodes.graphbuilderconf.InvocationPlugins;
import jdk.vm.ci.meta.JavaKind;
import jdk.vm.ci.meta.ResolvedJavaMethod;

//        class: jdk.graal.compiler.truffle.nodes.IsCompilationConstantNode
//       method: check(java.lang.Object)
// generated-by: jdk.graal.compiler.replacements.processor.GeneratedNodeIntrinsicPlugin$ConstructorPlugin
final class Plugin_IsCompilationConstantNode_check extends GeneratedNodeIntrinsicInvocationPlugin {

    @Override
    public boolean execute(GraphBuilderContext b, ResolvedJavaMethod targetMethod, InvocationPlugin.Receiver receiver, ValueNode[] args) {
        if (!b.isPluginEnabled(this)) {
            return false;
        }
        ValueNode arg0 = args[0];
        jdk.graal.compiler.truffle.nodes.IsCompilationConstantNode node = new jdk.graal.compiler.truffle.nodes.IsCompilationConstantNode(arg0);
        b.addPush(JavaKind.Int, node);
        return true;
    }
    @Override
    public Class getSource() {
        return jdk.graal.compiler.graph.Node.NodeIntrinsic.class;
    }

    Plugin_IsCompilationConstantNode_check() {
        super("check", java.lang.Object.class);
    }
}

public class PluginFactory_IsCompilationConstantNode implements GeneratedPluginFactory {
    @Override
    public void registerPlugins(InvocationPlugins plugins, GeneratedPluginInjectionProvider injection) {
        plugins.register(jdk.graal.compiler.truffle.nodes.IsCompilationConstantNode.class, new Plugin_IsCompilationConstantNode_check());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy