< prev index next >

src/hotspot/share/opto/phasetype.hpp

Print this page




  35   PHASE_ITER_GVN_AFTER_EA,
  36   PHASE_ITER_GVN_AFTER_ELIMINATION,
  37   PHASE_PHASEIDEALLOOP1,
  38   PHASE_PHASEIDEALLOOP2,
  39   PHASE_PHASEIDEALLOOP3,
  40   PHASE_CPP1,
  41   PHASE_ITER_GVN2,
  42   PHASE_PHASEIDEALLOOP_ITERATIONS,
  43   PHASE_OPTIMIZE_FINISHED,
  44   PHASE_GLOBAL_CODE_MOTION,
  45   PHASE_FINAL_CODE,
  46   PHASE_AFTER_EA,
  47   PHASE_BEFORE_CLOOPS,
  48   PHASE_AFTER_CLOOPS,
  49   PHASE_BEFORE_BEAUTIFY_LOOPS,
  50   PHASE_AFTER_BEAUTIFY_LOOPS,
  51   PHASE_BEFORE_MATCHING,
  52   PHASE_MATCHING,
  53   PHASE_INCREMENTAL_INLINE,
  54   PHASE_INCREMENTAL_BOXING_INLINE,
  55   PHASE_CALL_CATCH_CLEANUP,
  56   PHASE_INSERT_BARRIER,
  57   PHASE_MACRO_EXPANSION,
  58   PHASE_BARRIER_EXPANSION,
  59   PHASE_ADD_UNSAFE_BARRIER,
  60   PHASE_END,
  61   PHASE_FAILURE,
  62 
  63   PHASE_NUM_TYPES
  64 };
  65 
  66 class CompilerPhaseTypeHelper {
  67   public:
  68   static const char* to_string(CompilerPhaseType cpt) {
  69     switch (cpt) {
  70       case PHASE_BEFORE_STRINGOPTS:          return "Before StringOpts";
  71       case PHASE_AFTER_STRINGOPTS:           return "After StringOpts";
  72       case PHASE_BEFORE_REMOVEUSELESS:       return "Before RemoveUseless";
  73       case PHASE_AFTER_PARSING:              return "After Parsing";
  74       case PHASE_ITER_GVN1:                  return "Iter GVN 1";
  75       case PHASE_PHASEIDEAL_BEFORE_EA:       return "PhaseIdealLoop before EA";
  76       case PHASE_ITER_GVN_AFTER_EA:          return "Iter GVN after EA";
  77       case PHASE_ITER_GVN_AFTER_ELIMINATION: return "Iter GVN after eliminating allocations and locks";
  78       case PHASE_PHASEIDEALLOOP1:            return "PhaseIdealLoop 1";
  79       case PHASE_PHASEIDEALLOOP2:            return "PhaseIdealLoop 2";
  80       case PHASE_PHASEIDEALLOOP3:            return "PhaseIdealLoop 3";
  81       case PHASE_CPP1:                       return "PhaseCPP 1";
  82       case PHASE_ITER_GVN2:                  return "Iter GVN 2";
  83       case PHASE_PHASEIDEALLOOP_ITERATIONS:  return "PhaseIdealLoop iterations";
  84       case PHASE_OPTIMIZE_FINISHED:          return "Optimize finished";
  85       case PHASE_GLOBAL_CODE_MOTION:         return "Global code motion";
  86       case PHASE_FINAL_CODE:                 return "Final Code";
  87       case PHASE_AFTER_EA:                   return "After Escape Analysis";
  88       case PHASE_BEFORE_CLOOPS:              return "Before CountedLoop";
  89       case PHASE_AFTER_CLOOPS:               return "After CountedLoop";
  90       case PHASE_BEFORE_BEAUTIFY_LOOPS:      return "Before beautify loops";
  91       case PHASE_AFTER_BEAUTIFY_LOOPS:       return "After beautify loops";
  92       case PHASE_BEFORE_MATCHING:            return "Before matching";
  93       case PHASE_MATCHING:                   return "After matching";
  94       case PHASE_INCREMENTAL_INLINE:         return "Incremental Inline";
  95       case PHASE_INCREMENTAL_BOXING_INLINE:  return "Incremental Boxing Inline";
  96       case PHASE_CALL_CATCH_CLEANUP:         return "Call catch cleanup";
  97       case PHASE_INSERT_BARRIER:             return "Insert barrier";
  98       case PHASE_MACRO_EXPANSION:            return "Macro expand";
  99       case PHASE_BARRIER_EXPANSION:          return "Barrier expand";
 100       case PHASE_ADD_UNSAFE_BARRIER:         return "Add barrier to unsafe op";
 101       case PHASE_END:                        return "End";
 102       case PHASE_FAILURE:                    return "Failure";
 103       default:
 104         ShouldNotReachHere();
 105         return NULL;
 106     }
 107   }
 108 };
 109 
 110 #endif // SHARE_OPTO_PHASETYPE_HPP


  35   PHASE_ITER_GVN_AFTER_EA,
  36   PHASE_ITER_GVN_AFTER_ELIMINATION,
  37   PHASE_PHASEIDEALLOOP1,
  38   PHASE_PHASEIDEALLOOP2,
  39   PHASE_PHASEIDEALLOOP3,
  40   PHASE_CPP1,
  41   PHASE_ITER_GVN2,
  42   PHASE_PHASEIDEALLOOP_ITERATIONS,
  43   PHASE_OPTIMIZE_FINISHED,
  44   PHASE_GLOBAL_CODE_MOTION,
  45   PHASE_FINAL_CODE,
  46   PHASE_AFTER_EA,
  47   PHASE_BEFORE_CLOOPS,
  48   PHASE_AFTER_CLOOPS,
  49   PHASE_BEFORE_BEAUTIFY_LOOPS,
  50   PHASE_AFTER_BEAUTIFY_LOOPS,
  51   PHASE_BEFORE_MATCHING,
  52   PHASE_MATCHING,
  53   PHASE_INCREMENTAL_INLINE,
  54   PHASE_INCREMENTAL_BOXING_INLINE,
  55   PHASE_BEFORE_BARRIER_EXPAND,
  56   PHASE_BEFORE_MACRO_EXPANSION,



  57   PHASE_END,
  58   PHASE_FAILURE,
  59 
  60   PHASE_NUM_TYPES
  61 };
  62 
  63 class CompilerPhaseTypeHelper {
  64   public:
  65   static const char* to_string(CompilerPhaseType cpt) {
  66     switch (cpt) {
  67       case PHASE_BEFORE_STRINGOPTS:          return "Before StringOpts";
  68       case PHASE_AFTER_STRINGOPTS:           return "After StringOpts";
  69       case PHASE_BEFORE_REMOVEUSELESS:       return "Before RemoveUseless";
  70       case PHASE_AFTER_PARSING:              return "After Parsing";
  71       case PHASE_ITER_GVN1:                  return "Iter GVN 1";
  72       case PHASE_PHASEIDEAL_BEFORE_EA:       return "PhaseIdealLoop before EA";
  73       case PHASE_ITER_GVN_AFTER_EA:          return "Iter GVN after EA";
  74       case PHASE_ITER_GVN_AFTER_ELIMINATION: return "Iter GVN after eliminating allocations and locks";
  75       case PHASE_PHASEIDEALLOOP1:            return "PhaseIdealLoop 1";
  76       case PHASE_PHASEIDEALLOOP2:            return "PhaseIdealLoop 2";
  77       case PHASE_PHASEIDEALLOOP3:            return "PhaseIdealLoop 3";
  78       case PHASE_CPP1:                       return "PhaseCPP 1";
  79       case PHASE_ITER_GVN2:                  return "Iter GVN 2";
  80       case PHASE_PHASEIDEALLOOP_ITERATIONS:  return "PhaseIdealLoop iterations";
  81       case PHASE_OPTIMIZE_FINISHED:          return "Optimize finished";
  82       case PHASE_GLOBAL_CODE_MOTION:         return "Global code motion";
  83       case PHASE_FINAL_CODE:                 return "Final Code";
  84       case PHASE_AFTER_EA:                   return "After Escape Analysis";
  85       case PHASE_BEFORE_CLOOPS:              return "Before CountedLoop";
  86       case PHASE_AFTER_CLOOPS:               return "After CountedLoop";
  87       case PHASE_BEFORE_BEAUTIFY_LOOPS:      return "Before beautify loops";
  88       case PHASE_AFTER_BEAUTIFY_LOOPS:       return "After beautify loops";
  89       case PHASE_BEFORE_MATCHING:            return "Before matching";
  90       case PHASE_MATCHING:                   return "After matching";
  91       case PHASE_INCREMENTAL_INLINE:         return "Incremental Inline";
  92       case PHASE_INCREMENTAL_BOXING_INLINE:  return "Incremental Boxing Inline";
  93       case PHASE_BEFORE_BARRIER_EXPAND:      return "Before Barrier Expand";
  94       case PHASE_BEFORE_MACRO_EXPANSION:     return "Before macro expansion";



  95       case PHASE_END:                        return "End";
  96       case PHASE_FAILURE:                    return "Failure";
  97       default:
  98         ShouldNotReachHere();
  99         return NULL;
 100     }
 101   }
 102 };
 103 
 104 #endif // SHARE_OPTO_PHASETYPE_HPP
< prev index next >