summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-06-28 18:23:42 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-06-28 18:23:42 +0000
commitc506e5d98cd558fc9769133696c8ab9451b090fa (patch)
tree94efa358d50a0ea5698fee6b9f80343ec011d4a1 /llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp
parentafe8b967cc196bb276078bbc3fe6a8381b7ecfbe (diff)
downloadbcm5719-llvm-c506e5d98cd558fc9769133696c8ab9451b090fa.tar.gz
bcm5719-llvm-c506e5d98cd558fc9769133696c8ab9451b090fa.zip
Add a division operator to BlockFrequency.
Allow a BlockFrequency to be divided by a non-zero BranchProbability with saturating arithmetic. This will be used to compute the frequency of a loop header given the probability of leaving the loop. Our long division algorithm already saturates on overflow, so that was a freebie. llvm-svn: 185184
Diffstat (limited to 'llvm/lib/Support/SearchForAddressOfSpecialSymbol.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud