< prev index next >

src/share/vm/opto/regmask.hpp

Print this page




  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  *
  23  */
  24 
  25 #ifndef SHARE_VM_OPTO_REGMASK_HPP
  26 #define SHARE_VM_OPTO_REGMASK_HPP
  27 
  28 #include "code/vmreg.hpp"
  29 #include "libadt/port.hpp"
  30 #include "opto/optoreg.hpp"
  31 #ifdef TARGET_ARCH_MODEL_x86_32


  32 # include "adfiles/adGlobals_x86_32.hpp"
  33 #endif
  34 #ifdef TARGET_ARCH_MODEL_x86_64
  35 # include "adfiles/adGlobals_x86_64.hpp"
  36 #endif
  37 #ifdef TARGET_ARCH_MODEL_sparc
  38 # include "adfiles/adGlobals_sparc.hpp"
  39 #endif
  40 #ifdef TARGET_ARCH_MODEL_zero
  41 # include "adfiles/adGlobals_zero.hpp"
  42 #endif
  43 #ifdef TARGET_ARCH_MODEL_arm
  44 # include "adfiles/adGlobals_arm.hpp"
  45 #endif
  46 #ifdef TARGET_ARCH_MODEL_ppc_32
  47 # include "adfiles/adGlobals_ppc_32.hpp"
  48 #endif
  49 #ifdef TARGET_ARCH_MODEL_ppc_64
  50 # include "adfiles/adGlobals_ppc_64.hpp"
  51 #endif
  52 
  53 // Some fun naming (textual) substitutions:
  54 //
  55 // RegMask::get_low_elem() ==> RegMask::find_first_elem()
  56 // RegMask::Special        ==> RegMask::Empty
  57 // RegMask::_flags         ==> RegMask::is_AllStack()
  58 // RegMask::operator<<=()  ==> RegMask::Insert()
  59 // RegMask::operator>>=()  ==> RegMask::Remove()
  60 // RegMask::Union()        ==> RegMask::OR
  61 // RegMask::Inter()        ==> RegMask::AND
  62 //
  63 // OptoRegister::RegName   ==> OptoReg::Name
  64 //
  65 // OptoReg::stack0()       ==> _last_Mach_Reg  or ZERO in core version
  66 //
  67 // numregs in chaitin      ==> proper degree in chaitin
  68 
  69 //-------------Non-zero bit search methods used by RegMask---------------------




  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  *
  23  */
  24 
  25 #ifndef SHARE_VM_OPTO_REGMASK_HPP
  26 #define SHARE_VM_OPTO_REGMASK_HPP
  27 
  28 #include "code/vmreg.hpp"
  29 #include "libadt/port.hpp"
  30 #include "opto/optoreg.hpp"
  31 #if defined ADGLOBALS_MD_HPP
  32 # include ADGLOBALS_MD_HPP
  33 #elif defined TARGET_ARCH_MODEL_x86_32
  34 # include "adfiles/adGlobals_x86_32.hpp"
  35 #elif defined TARGET_ARCH_MODEL_x86_64

  36 # include "adfiles/adGlobals_x86_64.hpp"
  37 #elif defined TARGET_ARCH_MODEL_sparc

  38 # include "adfiles/adGlobals_sparc.hpp"
  39 #elif defined TARGET_ARCH_MODEL_zero

  40 # include "adfiles/adGlobals_zero.hpp"
  41 #elif defined TARGET_ARCH_MODEL_ppc_64







  42 # include "adfiles/adGlobals_ppc_64.hpp"
  43 #endif
  44 
  45 // Some fun naming (textual) substitutions:
  46 //
  47 // RegMask::get_low_elem() ==> RegMask::find_first_elem()
  48 // RegMask::Special        ==> RegMask::Empty
  49 // RegMask::_flags         ==> RegMask::is_AllStack()
  50 // RegMask::operator<<=()  ==> RegMask::Insert()
  51 // RegMask::operator>>=()  ==> RegMask::Remove()
  52 // RegMask::Union()        ==> RegMask::OR
  53 // RegMask::Inter()        ==> RegMask::AND
  54 //
  55 // OptoRegister::RegName   ==> OptoReg::Name
  56 //
  57 // OptoReg::stack0()       ==> _last_Mach_Reg  or ZERO in core version
  58 //
  59 // numregs in chaitin      ==> proper degree in chaitin
  60 
  61 //-------------Non-zero bit search methods used by RegMask---------------------


< prev index next >