27 #include "opto/addnode.hpp" 28 #include "opto/callnode.hpp" 29 #include "opto/connode.hpp" 30 #include "opto/idealGraphPrinter.hpp" 31 #include "opto/matcher.hpp" 32 #include "opto/memnode.hpp" 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 ), | 27 #include "opto/addnode.hpp" 28 #include "opto/callnode.hpp" 29 #include "opto/connode.hpp" 30 #include "opto/idealGraphPrinter.hpp" 31 #include "opto/matcher.hpp" 32 #include "opto/memnode.hpp" 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_aarch64 48 # include "adfiles/ad_aarch64.hpp" 49 #elif defined TARGET_ARCH_MODEL_sparc 50 # include "adfiles/ad_sparc.hpp" 51 #elif defined TARGET_ARCH_MODEL_zero 52 # include "adfiles/ad_zero.hpp" 53 #elif defined TARGET_ARCH_MODEL_ppc_64 54 # include "adfiles/ad_ppc_64.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 ), |