================
@@ -360,6 +360,34 @@ defm prefetch_inputs : B<"prefetch-inputs",
"possible, to improve link times",
"Do not prefetch input files (default)">;
+def opt_remarks_filename: Separate<["-"], "opt-remarks-filename">,
+ HelpText<"YAML output file for optimization remarks">;
+def opt_remarks_passes: Separate<["-"], "opt-remarks-passes">,
+ HelpText<"Regex for the passes that need to be serialized to the output
file">;
+def opt_remarks_format: Separate<["-"], "opt-remarks-format">,
+ HelpText<"The format used for serializing remarks (default: YAML)">;
+def opt_remarks_with_hotness: F<"opt-remarks-with-hotness">,
+ HelpText<"Include hotness information in the optimization remarks file">;
+def opt_remarks_hotness_threshold: P<"opt-remarks-hotness-threshold",
+ "Minimum profile count required for an optimization remark to be output. "
+ "Use 'auto' to apply the threshold from profile summary.">;
+
+def: F<"plugin-opt=opt-remarks-filename=">,
----------------
mstorsjo wrote:
Having `F<>` for an option that actually does take a value seems odd - but
perhaps it doesn't make any difference when it's an alias?
https://github.com/llvm/llvm-project/pull/205390
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits