73 option(RepeatCompilation, "RepeatCompilation", Intx) \
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 option(Vectorize, "Vectorize", Bool) \
90 option(CloneMapDebug, "CloneMapDebug", Bool) \
91 option(IncrementalInlineForceCleanup, "IncrementalInlineForceCleanup", Bool) \
92 option(MaxNodeLimit, "MaxNodeLimit", Intx) \
93 NOT_PRODUCT(option(TestOptionInt, "TestOptionInt", Intx)) \
94 NOT_PRODUCT(option(TestOptionUint, "TestOptionUint", Uintx)) \
95 NOT_PRODUCT(option(TestOptionBool, "TestOptionBool", Bool)) \
96 NOT_PRODUCT(option(TestOptionBool2, "TestOptionBool2", Bool)) \
97 NOT_PRODUCT(option(TestOptionStr, "TestOptionStr", Ccstr)) \
98 NOT_PRODUCT(option(TestOptionList, "TestOptionList", Ccstrlist)) \
99 NOT_PRODUCT(option(TestOptionDouble, "TestOptionDouble", Double)) \
100 option(Option, "option", Unknown) \
101 option(Unknown, "unknown", Unknown)
102
103 enum class CompileCommandEnum : int {
104 #define enum_of_options(option, name, ctype) option,
105 COMPILECOMMAND_OPTIONS(enum_of_options)
106 #undef enum_of_options
107 Count
108 };
109
110 enum class OptionType {
111 #define enum_of_types(type, name) type,
112 OPTION_TYPES(enum_of_types)
|
73 option(RepeatCompilation, "RepeatCompilation", Intx) \
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 option(Vectorize, "Vectorize", Bool) \
90 option(CloneMapDebug, "CloneMapDebug", Bool) \
91 option(IncrementalInlineForceCleanup, "IncrementalInlineForceCleanup", Bool) \
92 option(MaxNodeLimit, "MaxNodeLimit", Intx) \
93 option(PrecompileRecorded, "PrecompileRecorded", Uintx) \
94 option(DontPrecompile, "DontPrecompile", Bool) \
95 option(DontPreload, "DontPreload", Bool) \
96 option(IgnorePrecompiled, "IgnorePrecompiled", Bool) \
97 option(IgnoreRecordedProfile, "IgnoreRecordedProfile", Bool) \
98 option(TooManyTrapsAtBCI, "TooManyTrapsAtBCI", Ccstrlist) \
99 NOT_PRODUCT(option(TestOptionInt, "TestOptionInt", Intx)) \
100 NOT_PRODUCT(option(TestOptionUint, "TestOptionUint", Uintx)) \
101 NOT_PRODUCT(option(TestOptionBool, "TestOptionBool", Bool)) \
102 NOT_PRODUCT(option(TestOptionBool2, "TestOptionBool2", Bool)) \
103 NOT_PRODUCT(option(TestOptionStr, "TestOptionStr", Ccstr)) \
104 NOT_PRODUCT(option(TestOptionList, "TestOptionList", Ccstrlist)) \
105 NOT_PRODUCT(option(TestOptionDouble, "TestOptionDouble", Double)) \
106 option(Option, "option", Unknown) \
107 option(Unknown, "unknown", Unknown)
108
109 enum class CompileCommandEnum : int {
110 #define enum_of_options(option, name, ctype) option,
111 COMPILECOMMAND_OPTIONS(enum_of_options)
112 #undef enum_of_options
113 Count
114 };
115
116 enum class OptionType {
117 #define enum_of_types(type, name) type,
118 OPTION_TYPES(enum_of_types)
|