summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-03-15 22:16:43 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-03-15 22:16:43 +0000
commit5545407fa4c1353a212166846fe0cad47a770e67 (patch)
tree80328715bc545ba854bd66e3085b325aa39fbd00 /llvm/lib
parent17ce8a2f5e1d6f9d13fade285ec1b80fad0bf711 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud