< prev index next >

src/hotspot/share/opto/compile.hpp

Print this page

        

@@ -88,10 +88,20 @@
 class nmethod;
 class WarmCallInfo;
 class Node_Stack;
 struct Final_Reshape_Counts;
 
+enum LoopOptsMode {
+  LoopOptsDefault = 0,
+  LoopOptsNone = 1,
+  LoopOptsSkipSplitIf = 2,
+  LoopOptsShenandoahExpand = 3,
+  LoopOptsShenandoahPostExpand = 4,
+  LoopOptsVerify = 5,
+  LoopOptsZgcLastRound = 6
+};
+
 typedef unsigned int node_idx_t;
 class NodeCloneInfo {
  private:
   uint64_t _idx_clone_orig;
  public:

@@ -1077,10 +1087,11 @@
 
   void inline_incrementally_one(PhaseIterGVN& igvn);
   void inline_incrementally(PhaseIterGVN& igvn);
   void inline_string_calls(bool parse_time);
   void inline_boxing_calls(PhaseIterGVN& igvn);
+  bool optimize_loops(int& loop_opts_cnt, PhaseIterGVN& igvn, LoopOptsMode mode);
 
   // Matching, CFG layout, allocation, code generation
   PhaseCFG*         cfg()                       { return _cfg; }
   bool              select_24_bit_instr() const { return _select_24_bit_instr; }
   bool              in_24_bit_fp_mode() const   { return _in_24_bit_fp_mode; }
< prev index next >