diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-12-13 23:59:44 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-12-13 23:59:44 +0000 |
commit | b8cd4a1199e98b6596b4e22fcaef4e8aa3f41a9a (patch) | |
tree | 3c6d6df4c6b77fdba9aee03f1d97354ea7dc201b /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 120701f1371dcc7e0e6b60a72041a7d9f95fda20 (diff) | |
download | llvm-b8cd4a1199e98b6596b4e22fcaef4e8aa3f41a9a.zip llvm-b8cd4a1199e98b6596b4e22fcaef4e8aa3f41a9a.tar.gz llvm-b8cd4a1199e98b6596b4e22fcaef4e8aa3f41a9a.tar.bz2 |
[block-freq] Add a print method on BlockFrequencyImpl for printing block frequencies and a convenience method for the common case of getting/printing a basic block.
BlockFrequencies can only be printed relative to their entry frequency. Thus
since the entry frequency is no longer necessarily a static constant on the
BlockFrequency class and is instead a potentially dynamic value taken from
BlockFrequencyImpl, we must necessarily print it via a method on
BlockFrequencyImpl.
llvm-svn: 197285
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions