Path: blob/master/src/hotspot/share/opto/classes.cpp
40930 views
/*1* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*22*/2324#include "precompiled.hpp"25#include "opto/addnode.hpp"26#include "opto/arraycopynode.hpp"27#include "opto/callnode.hpp"28#include "opto/castnode.hpp"29#include "opto/cfgnode.hpp"30#include "opto/connode.hpp"31#include "opto/convertnode.hpp"32#include "opto/countbitsnode.hpp"33#include "opto/divnode.hpp"34#include "opto/intrinsicnode.hpp"35#include "opto/locknode.hpp"36#include "opto/loopnode.hpp"37#include "opto/machnode.hpp"38#include "opto/memnode.hpp"39#include "opto/mathexactnode.hpp"40#include "opto/movenode.hpp"41#include "opto/mulnode.hpp"42#include "opto/multnode.hpp"43#include "opto/narrowptrnode.hpp"44#include "opto/node.hpp"45#include "opto/opaquenode.hpp"46#include "opto/rootnode.hpp"47#include "opto/subnode.hpp"48#include "opto/subtypenode.hpp"49#include "opto/vectornode.hpp"50#include "utilities/macros.hpp"51#if INCLUDE_SHENANDOAHGC52#include "gc/shenandoah/c2/shenandoahBarrierSetC2.hpp"53#endif5455// ----------------------------------------------------------------------------56// Build a table of virtual functions to map from Nodes to dense integer57// opcode names.58int Node::Opcode() const { return Op_Node; }59#define macro(x) int x##Node::Opcode() const { return Op_##x; }60#define optionalmacro(x)61#include "classes.hpp"62#undef macro63#undef optionalmacro646566