< prev index next >

src/hotspot/share/opto/node.hpp

Print this page




  55 class CatchNode;
  56 class CatchProjNode;
  57 class CheckCastPPNode;
  58 class ClearArrayNode;
  59 class CmpNode;
  60 class CodeBuffer;
  61 class ConstraintCastNode;
  62 class ConNode;
  63 class CompareAndSwapNode;
  64 class CompareAndExchangeNode;
  65 class CountedLoopNode;
  66 class CountedLoopEndNode;
  67 class DecodeNarrowPtrNode;
  68 class DecodeNNode;
  69 class DecodeNKlassNode;
  70 class EncodeNarrowPtrNode;
  71 class EncodePNode;
  72 class EncodePKlassNode;
  73 class FastLockNode;
  74 class FastUnlockNode;

  75 class IfNode;
  76 class IfProjNode;
  77 class IfFalseNode;
  78 class IfTrueNode;
  79 class InitializeNode;
  80 class JVMState;
  81 class JumpNode;
  82 class JumpProjNode;
  83 class LoadNode;
  84 class LoadBarrierNode;
  85 class LoadBarrierSlowRegNode;
  86 class LoadStoreNode;
  87 class LoadStoreConditionalNode;
  88 class LockNode;
  89 class LoopNode;
  90 class MachBranchNode;
  91 class MachCallDynamicJavaNode;
  92 class MachCallJavaNode;
  93 class MachCallLeafNode;
  94 class MachCallNode;


 698 
 699     DEFINE_CLASS_ID(Region, Node, 5)
 700       DEFINE_CLASS_ID(Loop, Region, 0)
 701         DEFINE_CLASS_ID(Root,                Loop, 0)
 702         DEFINE_CLASS_ID(CountedLoop,         Loop, 1)
 703         DEFINE_CLASS_ID(OuterStripMinedLoop, Loop, 2)
 704 
 705     DEFINE_CLASS_ID(Sub,   Node, 6)
 706       DEFINE_CLASS_ID(Cmp,   Sub, 0)
 707         DEFINE_CLASS_ID(FastLock,   Cmp, 0)
 708         DEFINE_CLASS_ID(FastUnlock, Cmp, 1)
 709 
 710     DEFINE_CLASS_ID(MergeMem, Node, 7)
 711     DEFINE_CLASS_ID(Bool,     Node, 8)
 712     DEFINE_CLASS_ID(AddP,     Node, 9)
 713     DEFINE_CLASS_ID(BoxLock,  Node, 10)
 714     DEFINE_CLASS_ID(Add,      Node, 11)
 715     DEFINE_CLASS_ID(Mul,      Node, 12)
 716     DEFINE_CLASS_ID(Vector,   Node, 13)
 717     DEFINE_CLASS_ID(ClearArray, Node, 14)

 718 
 719     _max_classes  = ClassMask_ClearArray
 720   };
 721   #undef DEFINE_CLASS_ID
 722 
 723   // Flags are sorted by usage frequency.
 724   enum NodeFlags {
 725     Flag_is_Copy                     = 0x01, // should be first bit to avoid shift
 726     Flag_rematerialize               = Flag_is_Copy << 1,
 727     Flag_needs_anti_dependence_check = Flag_rematerialize << 1,
 728     Flag_is_macro                    = Flag_needs_anti_dependence_check << 1,
 729     Flag_is_Con                      = Flag_is_macro << 1,
 730     Flag_is_cisc_alternate           = Flag_is_Con << 1,
 731     Flag_is_dead_loop_safe           = Flag_is_cisc_alternate << 1,
 732     Flag_may_be_short_branch         = Flag_is_dead_loop_safe << 1,
 733     Flag_avoid_back_to_back_before   = Flag_may_be_short_branch << 1,
 734     Flag_avoid_back_to_back_after    = Flag_avoid_back_to_back_before << 1,
 735     Flag_has_call                    = Flag_avoid_back_to_back_after << 1,
 736     Flag_is_reduction                = Flag_has_call << 1,
 737     Flag_is_scheduled                = Flag_is_reduction << 1,




  55 class CatchNode;
  56 class CatchProjNode;
  57 class CheckCastPPNode;
  58 class ClearArrayNode;
  59 class CmpNode;
  60 class CodeBuffer;
  61 class ConstraintCastNode;
  62 class ConNode;
  63 class CompareAndSwapNode;
  64 class CompareAndExchangeNode;
  65 class CountedLoopNode;
  66 class CountedLoopEndNode;
  67 class DecodeNarrowPtrNode;
  68 class DecodeNNode;
  69 class DecodeNKlassNode;
  70 class EncodeNarrowPtrNode;
  71 class EncodePNode;
  72 class EncodePKlassNode;
  73 class FastLockNode;
  74 class FastUnlockNode;
  75 class GetFPNode;
  76 class IfNode;
  77 class IfProjNode;
  78 class IfFalseNode;
  79 class IfTrueNode;
  80 class InitializeNode;
  81 class JVMState;
  82 class JumpNode;
  83 class JumpProjNode;
  84 class LoadNode;
  85 class LoadBarrierNode;
  86 class LoadBarrierSlowRegNode;
  87 class LoadStoreNode;
  88 class LoadStoreConditionalNode;
  89 class LockNode;
  90 class LoopNode;
  91 class MachBranchNode;
  92 class MachCallDynamicJavaNode;
  93 class MachCallJavaNode;
  94 class MachCallLeafNode;
  95 class MachCallNode;


 699 
 700     DEFINE_CLASS_ID(Region, Node, 5)
 701       DEFINE_CLASS_ID(Loop, Region, 0)
 702         DEFINE_CLASS_ID(Root,                Loop, 0)
 703         DEFINE_CLASS_ID(CountedLoop,         Loop, 1)
 704         DEFINE_CLASS_ID(OuterStripMinedLoop, Loop, 2)
 705 
 706     DEFINE_CLASS_ID(Sub,   Node, 6)
 707       DEFINE_CLASS_ID(Cmp,   Sub, 0)
 708         DEFINE_CLASS_ID(FastLock,   Cmp, 0)
 709         DEFINE_CLASS_ID(FastUnlock, Cmp, 1)
 710 
 711     DEFINE_CLASS_ID(MergeMem, Node, 7)
 712     DEFINE_CLASS_ID(Bool,     Node, 8)
 713     DEFINE_CLASS_ID(AddP,     Node, 9)
 714     DEFINE_CLASS_ID(BoxLock,  Node, 10)
 715     DEFINE_CLASS_ID(Add,      Node, 11)
 716     DEFINE_CLASS_ID(Mul,      Node, 12)
 717     DEFINE_CLASS_ID(Vector,   Node, 13)
 718     DEFINE_CLASS_ID(ClearArray, Node, 14)
 719     DEFINE_CLASS_ID(GetFP,    Node, 15)
 720 
 721     _max_classes  = ClassMask_ClearArray
 722   };
 723   #undef DEFINE_CLASS_ID
 724 
 725   // Flags are sorted by usage frequency.
 726   enum NodeFlags {
 727     Flag_is_Copy                     = 0x01, // should be first bit to avoid shift
 728     Flag_rematerialize               = Flag_is_Copy << 1,
 729     Flag_needs_anti_dependence_check = Flag_rematerialize << 1,
 730     Flag_is_macro                    = Flag_needs_anti_dependence_check << 1,
 731     Flag_is_Con                      = Flag_is_macro << 1,
 732     Flag_is_cisc_alternate           = Flag_is_Con << 1,
 733     Flag_is_dead_loop_safe           = Flag_is_cisc_alternate << 1,
 734     Flag_may_be_short_branch         = Flag_is_dead_loop_safe << 1,
 735     Flag_avoid_back_to_back_before   = Flag_may_be_short_branch << 1,
 736     Flag_avoid_back_to_back_after    = Flag_avoid_back_to_back_before << 1,
 737     Flag_has_call                    = Flag_avoid_back_to_back_after << 1,
 738     Flag_is_reduction                = Flag_has_call << 1,
 739     Flag_is_scheduled                = Flag_is_reduction << 1,


< prev index next >