diff options
author | Devang Patel <dpatel@apple.com> | 2007-03-06 19:00:02 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-03-06 19:00:02 +0000 |
commit | a885c06bdf87a0003c23e15b3467fc7c1d4767d9 (patch) | |
tree | c12efad94a34f43727f82354016881866cb62592 /include | |
parent | a31bd27f12d9279d59d0560f6452c48f384bf02c (diff) | |
download | external_llvm-a885c06bdf87a0003c23e15b3467fc7c1d4767d9.zip external_llvm-a885c06bdf87a0003c23e15b3467fc7c1d4767d9.tar.gz external_llvm-a885c06bdf87a0003c23e15b3467fc7c1d4767d9.tar.bz2 |
Add LPPassManager::insertLoop().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LoopPass.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopPass.h b/include/llvm/Analysis/LoopPass.h index fde65c1..108e8b7 100644 --- a/include/llvm/Analysis/LoopPass.h +++ b/include/llvm/Analysis/LoopPass.h @@ -101,9 +101,11 @@ public: } public: - // Delete loop from the loop queue. This is used by Loop pass to inform - // Loop Pass Manager that it should skip rest of the passes for this loop. + // Delete loop from the loop queue and loop nest (LoopInfo). void deleteLoopFromQueue(Loop *L); + + // Inset loop into the loop nest(LoopInfo) and loop queue(LQ). + void insertLoop(Loop *L, Loop *ParentLoop); // Reoptimize this loop. LPPassManager will re-insert this loop into the // queue. This allows LoopPass to change loop nest for the loop. This |