< prev index next >

src/hotspot/share/opto/callnode.hpp

Print this page


   1 /*
   2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 778   virtual void  calling_convention( BasicType* sig_bt, VMRegPair *parm_regs, uint argcnt ) const;
 779 
 780 #ifndef PRODUCT
 781   virtual void  dump_spec(outputStream *st) const;
 782 #endif
 783 };
 784 
 785 //------------------------------CallLeafNode-----------------------------------
 786 // Make a direct subroutine call node into compiled C++ code, without
 787 // safepoints
 788 class CallLeafNode : public CallRuntimeNode {
 789 public:
 790   CallLeafNode(const TypeFunc* tf, address addr, const char* name,
 791                const TypePtr* adr_type)
 792     : CallRuntimeNode(tf, addr, name, adr_type)
 793   {
 794     init_class_id(Class_CallLeaf);
 795   }
 796   virtual int   Opcode() const;
 797   virtual bool        guaranteed_safepoint()  { return false; }

 798 #ifndef PRODUCT
 799   virtual void  dump_spec(outputStream *st) const;
 800 #endif
 801 };
 802 
 803 //------------------------------CallLeafNoFPNode-------------------------------
 804 // CallLeafNode, not using floating point or using it in the same manner as
 805 // the generated code
 806 class CallLeafNoFPNode : public CallLeafNode {
 807 public:
 808   CallLeafNoFPNode(const TypeFunc* tf, address addr, const char* name,
 809                    const TypePtr* adr_type)
 810     : CallLeafNode(tf, addr, name, adr_type)
 811   {
 812   }
 813   virtual int   Opcode() const;
 814 };
 815 
 816 
 817 //------------------------------Allocate---------------------------------------


   1 /*
   2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *


 778   virtual void  calling_convention( BasicType* sig_bt, VMRegPair *parm_regs, uint argcnt ) const;
 779 
 780 #ifndef PRODUCT
 781   virtual void  dump_spec(outputStream *st) const;
 782 #endif
 783 };
 784 
 785 //------------------------------CallLeafNode-----------------------------------
 786 // Make a direct subroutine call node into compiled C++ code, without
 787 // safepoints
 788 class CallLeafNode : public CallRuntimeNode {
 789 public:
 790   CallLeafNode(const TypeFunc* tf, address addr, const char* name,
 791                const TypePtr* adr_type)
 792     : CallRuntimeNode(tf, addr, name, adr_type)
 793   {
 794     init_class_id(Class_CallLeaf);
 795   }
 796   virtual int   Opcode() const;
 797   virtual bool        guaranteed_safepoint()  { return false; }
 798   virtual Node *Ideal(PhaseGVN *phase, bool can_reshape);
 799 #ifndef PRODUCT
 800   virtual void  dump_spec(outputStream *st) const;
 801 #endif
 802 };
 803 
 804 //------------------------------CallLeafNoFPNode-------------------------------
 805 // CallLeafNode, not using floating point or using it in the same manner as
 806 // the generated code
 807 class CallLeafNoFPNode : public CallLeafNode {
 808 public:
 809   CallLeafNoFPNode(const TypeFunc* tf, address addr, const char* name,
 810                    const TypePtr* adr_type)
 811     : CallLeafNode(tf, addr, name, adr_type)
 812   {
 813   }
 814   virtual int   Opcode() const;
 815 };
 816 
 817 
 818 //------------------------------Allocate---------------------------------------


< prev index next >