[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 08:06:02 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:

I ended up not adding any TODOs. It didn't seem necessary.

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


More information about the flang-commits mailing list