diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-08-04 08:17:26 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-08-04 08:17:26 +0000 |
commit | 721d95713a9e143eafdb411481012a2da0752157 (patch) | |
tree | 9b5a8fa7fb22d04d8ef2706c7d40490ebd937c8e /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | 8b5de48d62872ce16848fd9f207faf904b8d1c0e (diff) | |
download | llvm-721d95713a9e143eafdb411481012a2da0752157.zip llvm-721d95713a9e143eafdb411481012a2da0752157.tar.gz llvm-721d95713a9e143eafdb411481012a2da0752157.tar.bz2 |
[ADT] Add an early-increment iterator-like type and range adaptor.
This allows us to model the common LLVM idiom of incrementing
immediately after dereferencing so that we can remove or update the
entity w/o losing our ability to reach the "next".
However, these are not real or proper iterators. They are just enough to
allow range based for loops and very simple range algorithms to work,
but should not be considered full general.
Differential Revision: https://reviews.llvm.org/D49956
llvm-svn: 338955
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions