@@ -73,24 +73,15 @@ def : Joined<["--", "-"], "plugin-opt=emit-llvm">,
73
73
def : Joined<["--", "-"], "plugin-opt=emit-asm">,
74
74
Flags<[WrapperOnlyOption]>, Alias<lto_emit_asm>;
75
75
76
- def opt_remarks_filename : Separate <["--"], "opt-remarks-filename">,
76
+ def opt_remarks_filename : Joined <["--", "-" ], "plugin- opt=opt -remarks-filename= ">,
77
77
Flags<[WrapperOnlyOption]>, HelpText<"YAML output file for optimization remarks">;
78
- def opt_remarks_format : Separate <["--"], "opt-remarks-format">,
78
+ def opt_remarks_format : Joined <["--", "-" ], "plugin- opt=opt -remarks-format= ">,
79
79
Flags<[WrapperOnlyOption]>, HelpText<"The format used for serializing remarks (default: YAML)">;
80
- def opt_remarks_filter : Separate <["--"], "opt-remarks-filter">,
80
+ def opt_remarks_filter : Joined <["--", "-" ], "plugin- opt=opt -remarks-filter= ">,
81
81
Flags<[WrapperOnlyOption]>, HelpText<"Regex for the passes that need to be serialized to the output file">;
82
- def opt_remarks_with_hotness : Flag<["--"], "opt-remarks-with-hotness">,
82
+ def opt_remarks_with_hotness : Flag<["--", "-" ], "plugin-opt= opt-remarks-with-hotness">,
83
83
Flags<[WrapperOnlyOption]>, HelpText<"Include hotness information in the optimization remarks file">;
84
84
85
- def : Joined<["--", "-"], "plugin-opt=opt-remarks-filename=">,
86
- Flags<[WrapperOnlyOption]>, Alias<opt_remarks_filename>;
87
- def : Joined<["--", "-"], "plugin-opt=opt-remarks-format=">,
88
- Flags<[WrapperOnlyOption]>, Alias<opt_remarks_format>;
89
- def : Joined<["--", "-"], "plugin-opt=opt-remarks-filter=">,
90
- Flags<[WrapperOnlyOption]>, Alias<opt_remarks_filter>;
91
- def : Flag<["--", "-"], "plugin-opt=opt-remarks-with-hotness">,
92
- Flags<[WrapperOnlyOption]>, Alias<opt_remarks_with_hotness>;
93
-
94
85
def plugin_opt : Joined<["--", "-"], "plugin-opt=">, Flags<[WrapperOnlyOption]>,
95
86
HelpText<"Options passed to LLVM, not including the Clang invocation. Use "
96
87
"'--plugin-opt=--help' for a list of options.">;
0 commit comments