diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-04-03 04:06:14 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-04-03 04:06:14 +0000 |
commit | 95f8d303ab27d853382116d2546d71b6c5fec94c (patch) | |
tree | 430cc17357e8872ef57fca2fd8a27890d294afd5 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | d3b522f5197df708e42e6debc718b3eb70e30f60 (diff) | |
download | bcm5719-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