[flang-commits] [clang] [flang] [flang][Driver] Preliminary support for -ftime-report (PR #107270)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Thu Sep 5 07:45:06 PDT 2024


================
@@ -143,6 +144,14 @@ class CompilerInvocation : public CompilerInvocationBase {
       },
   };
 
+  /// Whether to time the invocation. Set when -ftime-report or -ftime-report=
+  /// is enabled.
+  bool enableTimers;
+
+  /// Whether to report the timing of each run of an LLVM pass. Set when
+  /// -ftime-report=per-pass-run is enabled.
+  bool timeLLVMPassesPerRun;
----------------
tarunprabhu wrote:

That is reasonable. I will remove some of the related code and add TODO's in their place.

https://github.com/llvm/llvm-project/pull/107270


More information about the flang-commits mailing list