< 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  *


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

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


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


< prev index next >