Displaying 2 results from an estimated 2 matches for "toplevelloops".
2008 Mar 18
2
[LLVMdev] Build problem in TOT llvm
I'm getting a lot of these from TOT make:
/Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h: In
instantiation of 'llvm::LoopInfoBase<llvm::BasicBlock>':
/Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h:886:
instantiated from here
/Volumes/MacOS9/gcc/llvm/include/llvm/Analysis/LoopInfo.h:573:
warning: 'class
2008 Mar 18
0
[LLVMdev] Build problem in TOT llvm
...) { }
~LoopInfoBase() { releaseMemory(); }
- /// isAnalysis - Return true if this pass is implementing an
analysis pass.
- virtual bool isAnalysis() const { return true; }
-
void releaseMemory() {
for (typename std::vector<LoopBase<BlockT>* >::iterator I =
TopLevelLoops.begin(), E = TopLevelLoops.end(); I != E; ++I)
@@ -922,6 +919,9 @@
return LI->isLoopHeader(BB);
}
+ /// isAnalysis - Return true if this pass is implementing an
analysis pass.
+ bool isAnalysis() const { return true; }
+
/// runOnFunction - Calculate the natural loop informat...