< prev index next >

src/share/vm/opto/matcher.cpp

Print this page




  33 #include "opto/opcodes.hpp"
  34 #include "opto/regmask.hpp"
  35 #include "opto/rootnode.hpp"
  36 #include "opto/runtime.hpp"
  37 #include "opto/type.hpp"
  38 #include "opto/vectornode.hpp"
  39 #include "runtime/atomic.hpp"
  40 #include "runtime/os.hpp"
  41 #if defined AD_MD_HPP
  42 # include AD_MD_HPP
  43 #elif defined TARGET_ARCH_MODEL_x86_32
  44 # include "adfiles/ad_x86_32.hpp"
  45 #elif defined TARGET_ARCH_MODEL_x86_64
  46 # include "adfiles/ad_x86_64.hpp"
  47 #elif defined TARGET_ARCH_MODEL_sparc
  48 # include "adfiles/ad_sparc.hpp"
  49 #elif defined TARGET_ARCH_MODEL_zero
  50 # include "adfiles/ad_zero.hpp"
  51 #elif defined TARGET_ARCH_MODEL_ppc_64
  52 # include "adfiles/ad_ppc_64.hpp"


  53 #endif
  54 
  55 OptoReg::Name OptoReg::c_frame_pointer;
  56 
  57 const RegMask *Matcher::idealreg2regmask[_last_machine_leaf];
  58 RegMask Matcher::mreg2regmask[_last_Mach_Reg];
  59 RegMask Matcher::STACK_ONLY_mask;
  60 RegMask Matcher::c_frame_ptr_mask;
  61 const uint Matcher::_begin_rematerialize = _BEGIN_REMATERIALIZE;
  62 const uint Matcher::_end_rematerialize   = _END_REMATERIALIZE;
  63 
  64 //---------------------------Matcher-------------------------------------------
  65 Matcher::Matcher()
  66 : PhaseTransform( Phase::Ins_Select ),
  67 #ifdef ASSERT
  68   _old2new_map(C->comp_arena()),
  69   _new2old_map(C->comp_arena()),
  70 #endif
  71   _shared_nodes(C->comp_arena()),
  72   _reduceOp(reduceOp), _leftOp(leftOp), _rightOp(rightOp),




  33 #include "opto/opcodes.hpp"
  34 #include "opto/regmask.hpp"
  35 #include "opto/rootnode.hpp"
  36 #include "opto/runtime.hpp"
  37 #include "opto/type.hpp"
  38 #include "opto/vectornode.hpp"
  39 #include "runtime/atomic.hpp"
  40 #include "runtime/os.hpp"
  41 #if defined AD_MD_HPP
  42 # include AD_MD_HPP
  43 #elif defined TARGET_ARCH_MODEL_x86_32
  44 # include "adfiles/ad_x86_32.hpp"
  45 #elif defined TARGET_ARCH_MODEL_x86_64
  46 # include "adfiles/ad_x86_64.hpp"
  47 #elif defined TARGET_ARCH_MODEL_sparc
  48 # include "adfiles/ad_sparc.hpp"
  49 #elif defined TARGET_ARCH_MODEL_zero
  50 # include "adfiles/ad_zero.hpp"
  51 #elif defined TARGET_ARCH_MODEL_ppc_64
  52 # include "adfiles/ad_ppc_64.hpp"
  53 #elif defined TARGET_ARCH_MODEL_aarch32
  54 # include "adfiles/ad_aarch32.hpp"
  55 #endif
  56 
  57 OptoReg::Name OptoReg::c_frame_pointer;
  58 
  59 const RegMask *Matcher::idealreg2regmask[_last_machine_leaf];
  60 RegMask Matcher::mreg2regmask[_last_Mach_Reg];
  61 RegMask Matcher::STACK_ONLY_mask;
  62 RegMask Matcher::c_frame_ptr_mask;
  63 const uint Matcher::_begin_rematerialize = _BEGIN_REMATERIALIZE;
  64 const uint Matcher::_end_rematerialize   = _END_REMATERIALIZE;
  65 
  66 //---------------------------Matcher-------------------------------------------
  67 Matcher::Matcher()
  68 : PhaseTransform( Phase::Ins_Select ),
  69 #ifdef ASSERT
  70   _old2new_map(C->comp_arena()),
  71   _new2old_map(C->comp_arena()),
  72 #endif
  73   _shared_nodes(C->comp_arena()),
  74   _reduceOp(reduceOp), _leftOp(leftOp), _rightOp(rightOp),


< prev index next >