summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-04-03 04:06:14 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-04-03 04:06:14 +0000
commit95f8d303ab27d853382116d2546d71b6c5fec94c (patch)
tree430cc17357e8872ef57fca2fd8a27890d294afd5 /llvm/lib/Analysis/ScalarEvolution.cpp
parentd3b522f5197df708e42e6debc718b3eb70e30f60 (diff)
downloadbcm5719-llvm-95f8d303ab27d853382116d2546d71b6c5fec94c.tar.gz
bcm5719-llvm-95f8d303ab27d853382116d2546d71b6c5fec94c.zip
Use OffsetMap in getSectionPiece.
OffsetMap maps to a SectionPiece index, but we were not taking advantage of that in getSectionPiece. With this patch both getOffset and getSectionPiece use OffsetMap and the binary search is moved to findSectionPiece. llvm-svn: 329044
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud