src/share/vm/opto/multnode.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/opto

src/share/vm/opto/multnode.hpp

Print this page
rev 8006 : 8073480: C2 should optimize explicit range checks
Summary: explicit range checks should be recognized by C2
Reviewed-by:


  72       init_flags(Flag_is_dead_loop_safe);
  73     debug_only(check_con());
  74   }
  75   const uint _con;              // The field in the tuple we are projecting
  76   const bool _is_io_use;        // Used to distinguish between the projections
  77                                 // used on the control and io paths from a macro node
  78   virtual int Opcode() const;
  79   virtual bool      is_CFG() const;
  80   virtual bool depends_only_on_test() const { return false; }
  81   virtual const Type *bottom_type() const;
  82   virtual const TypePtr *adr_type() const;
  83   virtual bool pinned() const;
  84   virtual const Type *Value( PhaseTransform *phase ) const;
  85   virtual uint ideal_reg() const;
  86   virtual const RegMask &out_RegMask() const;
  87 
  88 #ifndef PRODUCT
  89   virtual void dump_spec(outputStream *st) const;
  90 #endif
  91 
  92   // Return true if proj is for "proj->[region->..]call_uct"
  93   bool is_uncommon_trap_proj(Deoptimization::DeoptReason reason);
  94   // Return true for    "if(test)-> proj -> ...

  95   //                          |
  96   //                          V
  97   //                      other_proj->[region->..]call_uct"
  98   bool is_uncommon_trap_if_pattern(Deoptimization::DeoptReason reason);




  99 };
 100 
 101 #endif // SHARE_VM_OPTO_MULTNODE_HPP


  72       init_flags(Flag_is_dead_loop_safe);
  73     debug_only(check_con());
  74   }
  75   const uint _con;              // The field in the tuple we are projecting
  76   const bool _is_io_use;        // Used to distinguish between the projections
  77                                 // used on the control and io paths from a macro node
  78   virtual int Opcode() const;
  79   virtual bool      is_CFG() const;
  80   virtual bool depends_only_on_test() const { return false; }
  81   virtual const Type *bottom_type() const;
  82   virtual const TypePtr *adr_type() const;
  83   virtual bool pinned() const;
  84   virtual const Type *Value( PhaseTransform *phase ) const;
  85   virtual uint ideal_reg() const;
  86   virtual const RegMask &out_RegMask() const;
  87 
  88 #ifndef PRODUCT
  89   virtual void dump_spec(outputStream *st) const;
  90 #endif
  91 
  92   // Return uncommon trap call node if proj is for "proj->[region->..]call_uct"
  93   // NULL otherwise
  94   CallStaticJavaNode* is_uncommon_trap_proj(Deoptimization::DeoptReason reason);
  95   // Return uncommon trap call node for    "if(test)-> proj -> ...
  96   //                                                 |
  97   //                                                 V
  98   //                                             other_proj->[region->..]call_uct"
  99   // NULL otherwise
 100   CallStaticJavaNode* is_uncommon_trap_if_pattern(Deoptimization::DeoptReason reason);
 101   
 102   // Return other proj node when this is a If proj node
 103   ProjNode* other_if_proj() const;
 104 };
 105 
 106 #endif // SHARE_VM_OPTO_MULTNODE_HPP
src/share/vm/opto/multnode.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File