aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorSharmaRithik <rithiksh02@gmail.com>2021-07-13 04:52:47 +0000
committerSharmaRithik <rithiksh02@gmail.com>2021-07-13 04:52:47 +0000
commitcad9b7f708e2b2d19d7890494980c5e427d6d4ea (patch)
treeccd1690ab0f2fb43e08aa440da1ae8f466f84fa0 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent7987c46273c88a0370f5bfee2e3294a8a4c0f22a (diff)
downloadllvm-cad9b7f708e2b2d19d7890494980c5e427d6d4ea.zip
llvm-cad9b7f708e2b2d19d7890494980c5e427d6d4ea.tar.gz
llvm-cad9b7f708e2b2d19d7890494980c5e427d6d4ea.tar.bz2
[analyzer] Print time taken to analyze each function
Summary: This patch is a part of an attempt to obtain more timer data from the analyzer. In this patch, we try to use LLVM::TimeRecord to save time before starting the analysis and to print the time that a specific function takes while getting analyzed. The timer data is printed along with the -analyzer-display-progress outputs. ANALYZE (Syntax): test.c functionName : 0.4 ms ANALYZE (Path, Inline_Regular): test.c functionName : 2.6 ms Authored By: RithikSharma Reviewer: NoQ, xazax.hun, teemperor, vsavchenko Reviewed By: NoQ Differential Revision: https://reviews.llvm.org/D105565
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions