diff options
author | Michael Kruse <llvm@meinersbur.de> | 2017-03-15 22:16:43 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2017-03-15 22:16:43 +0000 |
commit | 5545407fa4c1353a212166846fe0cad47a770e67 (patch) | |
tree | 80328715bc545ba854bd66e3085b325aa39fbd00 /llvm/lib | |
parent | 17ce8a2f5e1d6f9d13fade285ec1b80fad0bf711 (diff) | |
download | bcm5719-llvm-5545407fa4c1353a212166846fe0cad47a770e67.tar.gz bcm5719-llvm-5545407fa4c1353a212166846fe0cad47a770e67.zip |
[ScopInfo] Introduce ScopStmt::getSurroundingLoop(). NFC.
Introduce ScopStmt::getSurroundingLoop() to replace getFirstNonBoxedLoopFor.
getSurroundingLoop() returns the precomputed surrounding/first non-boxed
loop. Except in ScopDetection, the list of boxed loops is only used to
get the surrounding loop. getFirstNonBoxedLoopFor also requires LoopInfo
at every use which is not necessarily available everywhere where we may
want to use it.
Differential Revision: https://reviews.llvm.org/D30985
llvm-svn: 297899
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions