74 option(ReplayInline, "ReplayInline", Bool) \
75 option(DumpReplay, "DumpReplay", Bool) \
76 option(DumpInline, "DumpInline", Bool) \
77 option(CompileThresholdScaling, "CompileThresholdScaling", Double) \
78 option(ControlIntrinsic, "ControlIntrinsic", Ccstrlist) \
79 option(DisableIntrinsic, "DisableIntrinsic", Ccstrlist) \
80 option(BlockLayoutByFrequency, "BlockLayoutByFrequency", Bool) \
81 option(TraceOptoPipelining, "TraceOptoPipelining", Bool) \
82 option(TraceOptoOutput, "TraceOptoOutput", Bool) \
83 option(TraceSpilling, "TraceSpilling", Bool) \
84 NOT_PRODUCT(option(TraceEscapeAnalysis, "TraceEscapeAnalysis", Bool)) \
85 NOT_PRODUCT(option(PrintIdeal, "PrintIdeal", Bool)) \
86 NOT_PRODUCT(option(PrintIdealPhase, "PrintIdealPhase", Ccstrlist)) \
87 NOT_PRODUCT(option(IGVPrintLevel, "IGVPrintLevel", Intx)) \
88 NOT_PRODUCT(option(TraceAutoVectorization, "TraceAutoVectorization", Ccstrlist)) \
89 NOT_PRODUCT(option(TraceMergeStores, "TraceMergeStores", Ccstrlist)) \
90 option(Vectorize, "Vectorize", Bool) \
91 option(CloneMapDebug, "CloneMapDebug", Bool) \
92 option(IncrementalInlineForceCleanup, "IncrementalInlineForceCleanup", Bool) \
93 option(MaxNodeLimit, "MaxNodeLimit", Intx) \
94 NOT_PRODUCT(option(TestOptionInt, "TestOptionInt", Intx)) \
95 NOT_PRODUCT(option(TestOptionUint, "TestOptionUint", Uintx)) \
96 NOT_PRODUCT(option(TestOptionBool, "TestOptionBool", Bool)) \
97 NOT_PRODUCT(option(TestOptionBool2, "TestOptionBool2", Bool)) \
98 NOT_PRODUCT(option(TestOptionStr, "TestOptionStr", Ccstr)) \
99 NOT_PRODUCT(option(TestOptionList, "TestOptionList", Ccstrlist)) \
100 NOT_PRODUCT(option(TestOptionDouble, "TestOptionDouble", Double)) \
101 option(Option, "option", Unknown) \
102 option(Unknown, "unknown", Unknown)
103
104 enum class CompileCommandEnum : int {
105 #define enum_of_options(option, name, ctype) option,
106 COMPILECOMMAND_OPTIONS(enum_of_options)
107 #undef enum_of_options
108 Count
109 };
110
111 enum class OptionType {
112 #define enum_of_types(type, name) type,
113 OPTION_TYPES(enum_of_types)
|
74 option(ReplayInline, "ReplayInline", Bool) \
75 option(DumpReplay, "DumpReplay", Bool) \
76 option(DumpInline, "DumpInline", Bool) \
77 option(CompileThresholdScaling, "CompileThresholdScaling", Double) \
78 option(ControlIntrinsic, "ControlIntrinsic", Ccstrlist) \
79 option(DisableIntrinsic, "DisableIntrinsic", Ccstrlist) \
80 option(BlockLayoutByFrequency, "BlockLayoutByFrequency", Bool) \
81 option(TraceOptoPipelining, "TraceOptoPipelining", Bool) \
82 option(TraceOptoOutput, "TraceOptoOutput", Bool) \
83 option(TraceSpilling, "TraceSpilling", Bool) \
84 NOT_PRODUCT(option(TraceEscapeAnalysis, "TraceEscapeAnalysis", Bool)) \
85 NOT_PRODUCT(option(PrintIdeal, "PrintIdeal", Bool)) \
86 NOT_PRODUCT(option(PrintIdealPhase, "PrintIdealPhase", Ccstrlist)) \
87 NOT_PRODUCT(option(IGVPrintLevel, "IGVPrintLevel", Intx)) \
88 NOT_PRODUCT(option(TraceAutoVectorization, "TraceAutoVectorization", Ccstrlist)) \
89 NOT_PRODUCT(option(TraceMergeStores, "TraceMergeStores", Ccstrlist)) \
90 option(Vectorize, "Vectorize", Bool) \
91 option(CloneMapDebug, "CloneMapDebug", Bool) \
92 option(IncrementalInlineForceCleanup, "IncrementalInlineForceCleanup", Bool) \
93 option(MaxNodeLimit, "MaxNodeLimit", Intx) \
94 option(PrecompileRecorded, "PrecompileRecorded", Uintx) \
95 option(DontPrecompile, "DontPrecompile", Bool) \
96 option(DontPreload, "DontPreload", Bool) \
97 option(IgnorePrecompiled, "IgnorePrecompiled", Bool) \
98 option(IgnoreRecordedProfile, "IgnoreRecordedProfile", Bool) \
99 option(TooManyTrapsAtBCI, "TooManyTrapsAtBCI", Ccstrlist) \
100 NOT_PRODUCT(option(TestOptionInt, "TestOptionInt", Intx)) \
101 NOT_PRODUCT(option(TestOptionUint, "TestOptionUint", Uintx)) \
102 NOT_PRODUCT(option(TestOptionBool, "TestOptionBool", Bool)) \
103 NOT_PRODUCT(option(TestOptionBool2, "TestOptionBool2", Bool)) \
104 NOT_PRODUCT(option(TestOptionStr, "TestOptionStr", Ccstr)) \
105 NOT_PRODUCT(option(TestOptionList, "TestOptionList", Ccstrlist)) \
106 NOT_PRODUCT(option(TestOptionDouble, "TestOptionDouble", Double)) \
107 option(Option, "option", Unknown) \
108 option(Unknown, "unknown", Unknown)
109
110 enum class CompileCommandEnum : int {
111 #define enum_of_options(option, name, ctype) option,
112 COMPILECOMMAND_OPTIONS(enum_of_options)
113 #undef enum_of_options
114 Count
115 };
116
117 enum class OptionType {
118 #define enum_of_types(type, name) type,
119 OPTION_TYPES(enum_of_types)
|