[clang] Add time profile for constant evaluation
authorEvgeny Shulgin <izaronplatz@gmail.com>
Sat, 15 Oct 2022 17:11:40 +0000 (17:11 +0000)
committerEvgeny Shulgin <izaronplatz@gmail.com>
Fri, 21 Oct 2022 23:24:44 +0000 (23:24 +0000)
commit27d8eedd5a3cd7fd644be4f06225ffa1ff04cccf
treefcaa278f19e79d6ba562f63f6f747644b5c95719
parentb430a352eff30ae9bedb3c5510c984abe578801b
[clang] Add time profile for constant evaluation

Add time profiler for various constexpr evaluation events
so that slow event could be visible on the visualized flame chart.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D136022
clang/docs/ReleaseNotes.rst
clang/lib/AST/ExprConstant.cpp
clang/unittests/CMakeLists.txt
clang/unittests/Support/CMakeLists.txt [new file with mode: 0644]
clang/unittests/Support/TimeProfilerTest.cpp [new file with mode: 0644]