diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-27 23:49:43 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-27 23:49:43 +0000 |
commit | 3069b3193de74bb8b76e5c0f612b4a97abf9dea6 (patch) | |
tree | 8196b3dedbd068046f8e1856cb56e9261bf21356 /include | |
parent | 9702901a1efb85792c35dc33831583e9e4045cf7 (diff) | |
download | external_llvm-3069b3193de74bb8b76e5c0f612b4a97abf9dea6.zip external_llvm-3069b3193de74bb8b76e5c0f612b4a97abf9dea6.tar.gz external_llvm-3069b3193de74bb8b76e5c0f612b4a97abf9dea6.tar.bz2 |
Extract the code for inserting a loop into the loop queue into
a separate function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LoopPass.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h index 7659b5b..2eb329f 100644 --- a/include/llvm/Analysis/LoopPass.h +++ b/include/llvm/Analysis/LoopPass.h @@ -111,9 +111,13 @@ public: // Delete loop from the loop queue and loop nest (LoopInfo). void deleteLoopFromQueue(Loop *L); - // Insert loop into the loop nest(LoopInfo) and loop queue(LQ). + // Insert loop into the loop queue and add it as a child of the + // given parent. void insertLoop(Loop *L, Loop *ParentLoop); + // Insert a loop into the loop queue. + void insertLoopIntoQueue(Loop *L); + // Reoptimize this loop. LPPassManager will re-insert this loop into the // queue. This allows LoopPass to change loop nest for the loop. This // utility may send LPPassManager into infinite loops so use caution. |