diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-07-12 00:21:30 +0000 | 
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-07-12 00:21:30 +0000 | 
| commit | 345c287da9bc502d7be580686c6273a16afcdfe7 (patch) | |
| tree | d152cf8ed28211b3b3fc3517f2f57b82c5b967bb /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | 9ef63b2836b0d0a0eda456f9d7cba35d731491f9 (diff) | |
| download | llvm-345c287da9bc502d7be580686c6273a16afcdfe7.zip llvm-345c287da9bc502d7be580686c6273a16afcdfe7.tar.gz llvm-345c287da9bc502d7be580686c6273a16afcdfe7.tar.bz2 | |
BFI: Clean up BlockMass
Implementation is small now -- the interesting logic was moved to
`BranchProbability` a while ago.  Move it into `bfi_detail` and get rid
of the related TODOs.
I was originally planning to define it within `BlockFrequencyInfoImpl`
(or `BFIIBase`), but it seems cleaner in a namespace.  Besides,
`isPodLike` needs to be specialized before `BlockMass` can be used in
some of the other data structures, and there isn't a clear way to do
that.
llvm-svn: 212866
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
