< prev index next >

src/hotspot/share/opto/phasetype.hpp

Print this page

 51   PHASE_GLOBAL_CODE_MOTION,
 52   PHASE_FINAL_CODE,
 53   PHASE_AFTER_EA,
 54   PHASE_BEFORE_CLOOPS,
 55   PHASE_AFTER_CLOOPS,
 56   PHASE_BEFORE_BEAUTIFY_LOOPS,
 57   PHASE_AFTER_BEAUTIFY_LOOPS,
 58   PHASE_BEFORE_MATCHING,
 59   PHASE_MATCHING,
 60   PHASE_INCREMENTAL_INLINE,
 61   PHASE_INCREMENTAL_INLINE_STEP,
 62   PHASE_INCREMENTAL_INLINE_CLEANUP,
 63   PHASE_INCREMENTAL_BOXING_INLINE,
 64   PHASE_CALL_CATCH_CLEANUP,
 65   PHASE_INSERT_BARRIER,
 66   PHASE_MACRO_EXPANSION,
 67   PHASE_BARRIER_EXPANSION,
 68   PHASE_ADD_UNSAFE_BARRIER,
 69   PHASE_END,
 70   PHASE_FAILURE,


 71   PHASE_DEBUG,
 72 
 73   PHASE_NUM_TYPES
 74 };
 75 
 76 class CompilerPhaseTypeHelper {
 77   public:
 78   static const char* to_string(CompilerPhaseType cpt) {
 79     switch (cpt) {
 80       case PHASE_BEFORE_STRINGOPTS:          return "Before StringOpts";
 81       case PHASE_AFTER_STRINGOPTS:           return "After StringOpts";
 82       case PHASE_BEFORE_REMOVEUSELESS:       return "Before RemoveUseless";
 83       case PHASE_AFTER_PARSING:              return "After Parsing";
 84       case PHASE_ITER_GVN1:                  return "Iter GVN 1";
 85       case PHASE_EXPAND_VUNBOX:              return "Expand VectorUnbox";
 86       case PHASE_SCALARIZE_VBOX:             return "Scalarize VectorBox";
 87       case PHASE_INLINE_VECTOR_REBOX:        return "Inline Vector Rebox Calls";
 88       case PHASE_EXPAND_VBOX:                return "Expand VectorBox";
 89       case PHASE_ELIMINATE_VBOX_ALLOC:       return "Eliminate VectorBoxAllocate";
 90       case PHASE_PHASEIDEAL_BEFORE_EA:       return "PhaseIdealLoop before EA";
 91       case PHASE_ITER_GVN_AFTER_VECTOR:      return "Iter GVN after vector box elimination";
 92       case PHASE_ITER_GVN_BEFORE_EA:         return "Iter GVN before EA";

102       case PHASE_GLOBAL_CODE_MOTION:         return "Global code motion";
103       case PHASE_FINAL_CODE:                 return "Final Code";
104       case PHASE_AFTER_EA:                   return "After Escape Analysis";
105       case PHASE_BEFORE_CLOOPS:              return "Before CountedLoop";
106       case PHASE_AFTER_CLOOPS:               return "After CountedLoop";
107       case PHASE_BEFORE_BEAUTIFY_LOOPS:      return "Before beautify loops";
108       case PHASE_AFTER_BEAUTIFY_LOOPS:       return "After beautify loops";
109       case PHASE_BEFORE_MATCHING:            return "Before matching";
110       case PHASE_MATCHING:                   return "After matching";
111       case PHASE_INCREMENTAL_INLINE:         return "Incremental Inline";
112       case PHASE_INCREMENTAL_INLINE_STEP:    return "Incremental Inline Step";
113       case PHASE_INCREMENTAL_INLINE_CLEANUP: return "Incremental Inline Cleanup";
114       case PHASE_INCREMENTAL_BOXING_INLINE:  return "Incremental Boxing Inline";
115       case PHASE_CALL_CATCH_CLEANUP:         return "Call catch cleanup";
116       case PHASE_INSERT_BARRIER:             return "Insert barrier";
117       case PHASE_MACRO_EXPANSION:            return "Macro expand";
118       case PHASE_BARRIER_EXPANSION:          return "Barrier expand";
119       case PHASE_ADD_UNSAFE_BARRIER:         return "Add barrier to unsafe op";
120       case PHASE_END:                        return "End";
121       case PHASE_FAILURE:                    return "Failure";


122       case PHASE_DEBUG:                      return "Debug";
123       default:
124         ShouldNotReachHere();
125         return NULL;
126     }
127   }
128 };
129 
130 #endif // SHARE_OPTO_PHASETYPE_HPP

 51   PHASE_GLOBAL_CODE_MOTION,
 52   PHASE_FINAL_CODE,
 53   PHASE_AFTER_EA,
 54   PHASE_BEFORE_CLOOPS,
 55   PHASE_AFTER_CLOOPS,
 56   PHASE_BEFORE_BEAUTIFY_LOOPS,
 57   PHASE_AFTER_BEAUTIFY_LOOPS,
 58   PHASE_BEFORE_MATCHING,
 59   PHASE_MATCHING,
 60   PHASE_INCREMENTAL_INLINE,
 61   PHASE_INCREMENTAL_INLINE_STEP,
 62   PHASE_INCREMENTAL_INLINE_CLEANUP,
 63   PHASE_INCREMENTAL_BOXING_INLINE,
 64   PHASE_CALL_CATCH_CLEANUP,
 65   PHASE_INSERT_BARRIER,
 66   PHASE_MACRO_EXPANSION,
 67   PHASE_BARRIER_EXPANSION,
 68   PHASE_ADD_UNSAFE_BARRIER,
 69   PHASE_END,
 70   PHASE_FAILURE,
 71   PHASE_SPLIT_INLINES_ARRAY,
 72   PHASE_SPLIT_INLINES_ARRAY_IGVN,
 73   PHASE_DEBUG,

 74   PHASE_NUM_TYPES
 75 };
 76 
 77 class CompilerPhaseTypeHelper {
 78   public:
 79   static const char* to_string(CompilerPhaseType cpt) {
 80     switch (cpt) {
 81       case PHASE_BEFORE_STRINGOPTS:          return "Before StringOpts";
 82       case PHASE_AFTER_STRINGOPTS:           return "After StringOpts";
 83       case PHASE_BEFORE_REMOVEUSELESS:       return "Before RemoveUseless";
 84       case PHASE_AFTER_PARSING:              return "After Parsing";
 85       case PHASE_ITER_GVN1:                  return "Iter GVN 1";
 86       case PHASE_EXPAND_VUNBOX:              return "Expand VectorUnbox";
 87       case PHASE_SCALARIZE_VBOX:             return "Scalarize VectorBox";
 88       case PHASE_INLINE_VECTOR_REBOX:        return "Inline Vector Rebox Calls";
 89       case PHASE_EXPAND_VBOX:                return "Expand VectorBox";
 90       case PHASE_ELIMINATE_VBOX_ALLOC:       return "Eliminate VectorBoxAllocate";
 91       case PHASE_PHASEIDEAL_BEFORE_EA:       return "PhaseIdealLoop before EA";
 92       case PHASE_ITER_GVN_AFTER_VECTOR:      return "Iter GVN after vector box elimination";
 93       case PHASE_ITER_GVN_BEFORE_EA:         return "Iter GVN before EA";

103       case PHASE_GLOBAL_CODE_MOTION:         return "Global code motion";
104       case PHASE_FINAL_CODE:                 return "Final Code";
105       case PHASE_AFTER_EA:                   return "After Escape Analysis";
106       case PHASE_BEFORE_CLOOPS:              return "Before CountedLoop";
107       case PHASE_AFTER_CLOOPS:               return "After CountedLoop";
108       case PHASE_BEFORE_BEAUTIFY_LOOPS:      return "Before beautify loops";
109       case PHASE_AFTER_BEAUTIFY_LOOPS:       return "After beautify loops";
110       case PHASE_BEFORE_MATCHING:            return "Before matching";
111       case PHASE_MATCHING:                   return "After matching";
112       case PHASE_INCREMENTAL_INLINE:         return "Incremental Inline";
113       case PHASE_INCREMENTAL_INLINE_STEP:    return "Incremental Inline Step";
114       case PHASE_INCREMENTAL_INLINE_CLEANUP: return "Incremental Inline Cleanup";
115       case PHASE_INCREMENTAL_BOXING_INLINE:  return "Incremental Boxing Inline";
116       case PHASE_CALL_CATCH_CLEANUP:         return "Call catch cleanup";
117       case PHASE_INSERT_BARRIER:             return "Insert barrier";
118       case PHASE_MACRO_EXPANSION:            return "Macro expand";
119       case PHASE_BARRIER_EXPANSION:          return "Barrier expand";
120       case PHASE_ADD_UNSAFE_BARRIER:         return "Add barrier to unsafe op";
121       case PHASE_END:                        return "End";
122       case PHASE_FAILURE:                    return "Failure";
123       case PHASE_SPLIT_INLINES_ARRAY:        return "Split inlines array";
124       case PHASE_SPLIT_INLINES_ARRAY_IGVN:   return "IGVN after split inlines array";
125       case PHASE_DEBUG:                      return "Debug";
126       default:
127         ShouldNotReachHere();
128         return NULL;
129     }
130   }
131 };
132 
133 #endif // SHARE_OPTO_PHASETYPE_HPP
< prev index next >