summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2018-01-25 19:27:17 +0000
committerEaswaran Raman <eraman@google.com>2018-01-25 19:27:17 +0000
commitc73cec84c99e5a63dca961fef67998a677c53a3c (patch)
tree704fa86d10c8220cb72ecd5c867b540340ea70d8 /llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
parent7e9453d5837f70284244dca2143fa5d8e491f955 (diff)
downloadbcm5719-llvm-c73cec84c99e5a63dca961fef67998a677c53a3c.tar.gz
bcm5719-llvm-c73cec84c99e5a63dca961fef67998a677c53a3c.zip
Re-land "[ThinLTO] Add call edges' relative block frequency to per-module summary."
It was reverted after buildbot regressions. Original commit message: This allows relative block frequency of call edges to be passed to the thinlink stage where it will be used to compute synthetic entry counts of functions. llvm-svn: 323460
Diffstat (limited to 'llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp')
-rw-r--r--llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
index 7f20e136eef..fd673701943 100644
--- a/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
+++ b/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
@@ -306,6 +306,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
return nullptr;
STRINGIFY_CODE(FS, PERMODULE)
STRINGIFY_CODE(FS, PERMODULE_PROFILE)
+ STRINGIFY_CODE(FS, PERMODULE_RELBF)
STRINGIFY_CODE(FS, PERMODULE_GLOBALVAR_INIT_REFS)
STRINGIFY_CODE(FS, COMBINED)
STRINGIFY_CODE(FS, COMBINED_PROFILE)
OpenPOWER on IntegriCloud