63 class PhaseRegAlloc; 64 class PhaseCCP; 65 class PhaseCCP_DCE; 66 class RootNode; 67 class relocInfo; 68 class Scope; 69 class StartNode; 70 class SafePointNode; 71 class JVMState; 72 class TypeData; 73 class TypePtr; 74 class TypeFunc; 75 class Unique_Node_List; 76 class nmethod; 77 class WarmCallInfo; 78 79 //------------------------------Compile---------------------------------------- 80 // This class defines a top-level Compiler invocation. 81 82 class Compile : public Phase { 83 public: 84 // Fixed alias indexes. (See also MergeMemNode.) 85 enum { 86 AliasIdxTop = 1, // pseudo-index, aliases to nothing (used as sentinel value) 87 AliasIdxBot = 2, // pseudo-index, aliases to everything 88 AliasIdxRaw = 3 // hard-wired index for TypeRawPtr::BOTTOM 89 }; 90 91 // Variant of TraceTime(NULL, &_t_accumulator, TimeCompiler); 92 // Integrated with logging. If logging is turned on, and dolog is true, 93 // then brackets are put into the log, with time stamps and node counts. 94 // (The time collection itself is always conditionalized on TimeCompiler.) 95 class TracePhase : public TraceTime { 96 private: 97 Compile* C; 98 CompileLog* _log; 99 public: 100 TracePhase(const char* name, elapsedTimer* accumulator, bool dolog); 101 ~TracePhase(); 102 }; | 63 class PhaseRegAlloc; 64 class PhaseCCP; 65 class PhaseCCP_DCE; 66 class RootNode; 67 class relocInfo; 68 class Scope; 69 class StartNode; 70 class SafePointNode; 71 class JVMState; 72 class TypeData; 73 class TypePtr; 74 class TypeFunc; 75 class Unique_Node_List; 76 class nmethod; 77 class WarmCallInfo; 78 79 //------------------------------Compile---------------------------------------- 80 // This class defines a top-level Compiler invocation. 81 82 class Compile : public Phase { 83 friend class VMStructs; 84 85 public: 86 // Fixed alias indexes. (See also MergeMemNode.) 87 enum { 88 AliasIdxTop = 1, // pseudo-index, aliases to nothing (used as sentinel value) 89 AliasIdxBot = 2, // pseudo-index, aliases to everything 90 AliasIdxRaw = 3 // hard-wired index for TypeRawPtr::BOTTOM 91 }; 92 93 // Variant of TraceTime(NULL, &_t_accumulator, TimeCompiler); 94 // Integrated with logging. If logging is turned on, and dolog is true, 95 // then brackets are put into the log, with time stamps and node counts. 96 // (The time collection itself is always conditionalized on TimeCompiler.) 97 class TracePhase : public TraceTime { 98 private: 99 Compile* C; 100 CompileLog* _log; 101 public: 102 TracePhase(const char* name, elapsedTimer* accumulator, bool dolog); 103 ~TracePhase(); 104 }; |