Mercurial > hg > Members > tobaru > cbc > CbC_llvm
diff include/llvm/Analysis/LoopPass.h @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line diff
--- a/include/llvm/Analysis/LoopPass.h Fri Nov 25 19:14:25 2016 +0900 +++ b/include/llvm/Analysis/LoopPass.h Fri Oct 27 17:07:41 2017 +0900 @@ -126,9 +126,11 @@ } public: - // Add a new loop into the loop queue as a child of the given parent, or at - // the top level if \c ParentLoop is null. - Loop &addLoop(Loop *ParentLoop); + // Add a new loop into the loop queue. + void addLoop(Loop &L); + + // Mark \p L as deleted. + void markLoopAsDeleted(Loop &L); //===--------------------------------------------------------------------===// /// SimpleAnalysis - Provides simple interface to update analysis info @@ -153,6 +155,7 @@ std::deque<Loop *> LQ; LoopInfo *LI; Loop *CurrentLoop; + bool CurrentLoopDeleted; }; // This pass is required by the LCSSA transformation. It is used inside