summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-05-17 15:49:45 +0000
committerZachary Turner <zturner@google.com>2017-05-17 15:49:45 +0000
commitba60e3dd6134412c62a0963f882b512f25945f88 (patch)
tree0c8c621b9ce5e1b288999762e55c69500de4e12b /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parentc1bcd4c1f280e40d25dada5573e1a51de69a991a (diff)
downloadbcm5719-llvm-ba60e3dd6134412c62a0963f882b512f25945f88.tar.gz
bcm5719-llvm-ba60e3dd6134412c62a0963f882b512f25945f88.zip
[BitVector] Add find_[first,last]_[set,unset]_in.
A lot of code is duplicated between the first_last and the next / prev methods. All of this code can be shared if they are implemented in terms of find_first_in(Begin, End) etc, in which case find_first = find_first_in(0, Size) and find_next is find_first_in(Prev+1, Size), with similar reductions for the other methods. Differential Revision: https://reviews.llvm.org/D33104 llvm-svn: 303269
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud