aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2017-01-13 01:34:00 +0000
committerEaswaran Raman <eraman@google.com>2017-01-13 01:34:00 +0000
commitb035f914e42c83955054ff0b09ca910a958db604 (patch)
tree2c48048a078373a1d61fc94572c23f8de8573862 /llvm/lib/CodeGen/MachineFunctionPass.cpp
parent5adfb5a814768b76855a6ed90becae4331e09285 (diff)
downloadllvm-b035f914e42c83955054ff0b09ca910a958db604.zip
llvm-b035f914e42c83955054ff0b09ca910a958db604.tar.gz
llvm-b035f914e42c83955054ff0b09ca910a958db604.tar.bz2
ProfileSummaryInfo improvements.
* Add is{Hot|Cold}CallSite methods * Fix a bug in isHotBB where it was looking for MD_prof on a return instruction * Use MD_prof data only if sample profiling was used to collect profiles. * Add an unit test to ProfileSummaryInfo Differential Revision: https://reviews.llvm.org/D28584 llvm-svn: 291878
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions