summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitcodeReader.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-29 16:31:29 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-29 16:31:29 +0000
commit07f96126af8dc4b6a2081d55ebcca2d113528cf3 (patch)
tree2913507dfb67a00f3e6dfbb322d2ddf869279843 /lib/Bitcode/Reader/BitcodeReader.h
parent18f4763a081b4b4f9c843bc9cc513f5b5254ca3c (diff)
downloadllvm-07f96126af8dc4b6a2081d55ebcca2d113528cf3.tar.gz
llvm-07f96126af8dc4b6a2081d55ebcca2d113528cf3.tar.bz2
llvm-07f96126af8dc4b6a2081d55ebcca2d113528cf3.tar.xz
blockfreq: Defer to BranchProbability::scale() (again)
Change `BlockFrequency` to defer to `BranchProbability::scale()` and `BranchProbability::scaleByInverse()`. This removes `BlockFrequency::scale()` from its API (and drops the ability to see the remainder), but the only user was the unit tests. If some code in the future needs an API that exposes the remainder, we can add something to `BranchProbability`, but I find that unlikely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207550 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions